Why Are Eight Bits Enough for Deep Neural Networks?
petewarden.com
Why Are Eight Bits Enough for Deep Neural Networks?
1–10 of 47 posts
Re: Why Are Eight Bits Enough for Deep Neural Networks?
#2For me, the place we'll eventually end up is obviously custom deep learning / evaluation chips that perform analogue operations using transistors in their linear regime (like how op-amps work). These chips would be programmed merely to express the tensor operation graph, essentially analogue tensor FPGAs.
This should bring multiple order-of-magnitude reductions in power consumption and increases in evaluation speed. And when you don't have a clock there might also be interesting ways of dealing with time in which you don't discretize and unroll, like one currently does with GRUs or LSTMs.
Re: Why Are Eight Bits Enough for Deep Neural Networks?
#3The bits per node just determine the 'resolution' of your individual nodes; while the network as a whole determines how many states can be represented.
Re: Why Are Eight Bits Enough for Deep Neural Networks?
#4I had wondered this myself -- it seems reasonable to see limiting the precision of activation as a form of regularization, as the author alludes to. For me, the place we'll eventually end up is obviously custom deep learning / evaluation chips that perform analogue operations using transistors in their linear regime (like how op-amps work). These chips would be programmed merely to express the tensor operation graph,…
It's still not clear whether the future of AI will even involve neural networks at all. Intuitively, they seem so inefficient.
Re: Why Are Eight Bits Enough for Deep Neural Networks?
#5Re: Why Are Eight Bits Enough for Deep Neural Networks?
#6I had wondered this myself -- it seems reasonable to see limiting the precision of activation as a form of regularization, as the author alludes to. For me, the place we'll eventually end up is obviously custom deep learning / evaluation chips that perform analogue operations using transistors in their linear regime (like how op-amps work). These chips would be programmed merely to express the tensor operation graph,…
Re: Why Are Eight Bits Enough for Deep Neural Networks?
#7I had wondered this myself -- it seems reasonable to see limiting the precision of activation as a form of regularization, as the author alludes to. For me, the place we'll eventually end up is obviously custom deep learning / evaluation chips that perform analogue operations using transistors in their linear regime (like how op-amps work). These chips would be programmed merely to express the tensor operation graph,…
Re: Why Are Eight Bits Enough for Deep Neural Networks?
#8Re: Why Are Eight Bits Enough for Deep Neural Networks?
#9Re: Why Are Eight Bits Enough for Deep Neural Networks?
#10it's interesting, NN degrade at about 6bit, and that's mostly because the transfer function become stable and the training gets stuck more often in local minimums.
we built a training methodology in two step, first you trained them in 16bit precision, finding the absolute minimum, then retrain them with 6bit precision, and the NN basically learned to cope with the precision loss on its own.
funny part is, the less bit you have, the more robust the network became, because error correcting became a normal part of its transfer function.
we couldn't make the network solution converge on 4bit however. we tried using different transfer function, but then ran out of time before getting meaningful results (Each function needs it's own back propagation adjustment and things like that take time, I'm not a mathematician :D)