6 ms·
Neural Chip Plays Doom Using a Thousandth of a Watt
- viraptor 4y agoA slightly related question: There's been a few articles in the recent years about ways to reduce the size of NNs. Does anyone know how efficiently packed are the new models like GPT? Essentially, what percentage of weights could be thrown out post-training without much impact on the quality?
- mxkopy 4y agoSparse matrices (i.e. filled mostly with zeroes) are apt to represent discrete structures, since you can interpret them as binary/n-hot vectors as opposed to points in space. I'd imagine there's some potential to do sparse matrix optimization on GPT since natural language has a tree-like structure, but it's a well known technique and I'm sure the big players are already doing it
- p1esk 4y agowhat percentage of weights could be thrown out post-training At least 60% according to this paper: https://arxiv.org/abs/2301.00774 https://arxiv.org/abs/2301.00774
- nwoli 4y agoThe silly theoretical lower bound is finding a seed for a random number generator that unrolls weights in the order they’re used. So down to 32 bits minimum :) Silly answer but with enough compute you could find it and enable enormous models like that
- detrites 4y agoIt's an attractive idea but I believe that probability says "no". Assuming a perfect RNG, the odds are stacked that you can assume any length(index), into the correct set of data, will be longer than that data you're seeking a location of. More background here: https://math.stackexchange.com/questions/432017/can-random-number-generators-be-used-in-compression https://math.stackexchange.com/questions/432017/can-random-n... I'm sure there may be isolated exceptions where this wouldn't happen and it'd be fascinating to learn about what they'd be. To my knowledge none have been found yet. If you know of any, do share.
- nwoli 4y agoI guess one counter argument is lossy compression. Another argument is to think about how rng generators are constructed in some cases (algebraic curves) and imagine instead of finding a seed, solving for an algebraic curve with the desired properties. More data necessary (the curve data) and tons of compute still (solving multivariate polynomials) but less so than finding a seed. Then there’s also ideas like creating the weights out of another network (basically moving around in that sub space) which is a much more feasible idea and something Hardmaru has a cool article about
- p1esk 4y agoSuch “random number generator” would be equivalent to the training algorithm.
- viraptor 4y agoThat would reduce the storage requirement, but not energy/CPU. After decompressing you'd need to still process the original network. I was interested in dropping the weights for processing on smaller devices.
- tiedieconderoga 4y agoThat's a verbose way to say 1mW, and I wouldn't have guessed from the title that the chip is being trained to play Doom, rather than running the game at that power level. Thing is, Watts don't have a time dimension. It sounds like this is how much power was being consumed by the chip while it ran the model to play the game in realtime, but it also sounds like they were using the chip to train the model. From the linked IEEE Spectrum article: >"After its first kill, it unloads the clip, but then it figures out that’s not a good strategy,” ... It sounds cool, but some more details would be nice. This chip seems to use a custom Tensilica core like the ESP8266/32 family started with, but we'll also have ARM Cortex-M CPUs with neural accelerators soon, so this space will be interesting to watch.
- mock-possum 4y agoYeah, the title is really misleading - > Syntiant trained the NDP200's neural network using VizDoom, a version of Doom used for AI research and reinforcement learning from raw visual information. Training required understanding what the neural network was seeing, primarily identifying the enemy and ultimately defining a response. In this case, see demon, shoot demon. The "player" is tasked with defending a circular room that is under constant attack. > The purpose of the demo is not to show how well it can play Doom, but to demonstrate how efficient the NDP200 is at "bounding-box person detection" So like... it's playing a DOOM mod that teaches it to turn in circles and aim and shoot when it sees an enemy - until it runs out of ammo and it dies because it's standing still and the enemies walk up and kill it. It's not that that's not an accomplishment, it's more that that's not really 'playing DOOM' as far as anyone who's ever played DOOM would understand it. You know?
- jeeeb 4y ago> The purpose of the demo is not to show how well it can play Doom, but to demonstrate how efficient the NDP200 is at "bounding-box person detection" Personally this part seemed like a tall claim to me as well. Bounding box detection in the environment shown would be incredibly easy. There is no visual complexity at all. Just detecting patches of a certain colour would do the job.
- 4y ago
- fnordpiglet 4y agoA key achievement on the road to pervasive killbots. Something to celebrate!
- LesZedCB 4y agoeco-friendly killbots! that's important.
- teddyh 4y agoNow run it on a potato.
- yjftsjthsd-h 4y agoIt's hard to get hard numbers, but https://www.worldrecordacademy.org/2023/1/most-power-generated-by-a-potato-battery-world-record-set-in-los-angeles-california-423110 https://www.worldrecordacademy.org/2023/1/most-power-generat... lists > 8,580 Lay’s potatoes connected together to generate an initial 11.43W (Watts) of Power which divides to 0.0013 Watts per potato, so you probably literally could. (Meta: this is one of the weirdest comments I've written in a while, though "can you literally run AI on a potato in hard numbers" is very Hacker news feeling)
- detrites 4y agoIf you attached a camera, and trained the NN running on the potato to recognise potatoes, then put a mirror in front of it have you made a self-aware potato? (And what a time to be alive)
- lukas099 4y agoMaybe having many specialized neural chips on a motherboard is the next step on the way to making an artificial brain. Then, we will have just a few large chips running several functions in parallel, with those functions having the opportunity to integrate and modify each other as needed.
- deafpolygon 4y ago500 years in the future, spaceship technology will be tested by playing DOOM through it's AI.
- imhoguy 4y agowith that progess we will rather have Hell on Earth /s
- deafpolygon 4y agoin 500 years, we will have hell on earth
- Quequau 4y agoThere has got to be a better article about this device than this.
- nabla9 4y agoDoom was released 30 years ago 1993. The minimum system requirement was a 66 Hz 486 processor running at 3.50 Watts. 3500X increase in power efficiency, equal to over 30% annual increase in power efficiency.
- Lorin 4y agoHere's actual talk from last year that goes into detail... I found the article lackluster. https://www.youtube.com/watch?v=QammxdPqP4g https://www.youtube.com/watch?v=QammxdPqP4g
- gillesjacobs 4y agoThe article confuses training, inference and running the game environment. Best guess is the NDP2000 chip does just inference based on the serialised visual data it receives from another machine running Doom. I seriously doubt it would be efficient to train the model on that chip either. Don't get me wrong: Inferencing a 600k parameter model at 1mW is more efficient than probably anything else out there, so it's impressive and great for IoT and edge inference use-cases. Edit: Seems I was wrong about training, it does do it, more details: https://youtu.be/QammxdPqP4g?t=08m57s https://youtu.be/QammxdPqP4g?t=08m57s Good for active learning or fine-tuning at the edge, but it is to slow for model development in practice.
- bagels 4y agoThat is the only plausible interpretation. It doesn't say it plays it well. Could just be a few neurons to wiggle the wasd keys.
- ZunarJ5 4y agoHow long until Skyrim is ported?