NeuromorphicProcessorProject / snn_toolbox

Toolbox for converting analog to spiking neural networks (ANN to SNN), and running them in a spiking neuron simulator.
MIT License
360 stars 105 forks source link

a question about your work in conversion of ANN to SNN #15

Closed Xingfush closed 6 years ago

Xingfush commented 6 years ago

Hello, I am trying to reproduce the result in paper theory and tools for the conversion of analog to spiking convolutional neural networks at Matlab platform and got a disturbing questions: The dynamics of output neurons is severely influenced by large biases. As simulation goes, the output result converge to neuron with largest biases. I have tried 'voltage clamp' method raised in your paper, but didn't got expected effect (little improvement). Thank you very much for your work in this paper. I have been confused by first problem for long time. Looking forward to your reply!

Xingfush commented 6 years ago

I have tried all tricks raised in your previous two papers, such as spiking max pooling, spiking softmax, analog input and normalization scale. They all achieved good conversion loss reduction. But once I add biases in network, the accuracy of SNN will be very bad. The classification result will converge to the output neuron with biggest bias. Also, I find the biases in fully-connected layer rather than convolutional layer cause this problem, as you talk in your paper.

rbodo commented 6 years ago

Hi,

Yes, large biases are a problem in SNNs. There is no simple way around it. We explored a number of options:

Best,

Bodo

On Sat, Jul 14, 2018 at 9:07 PM Xingfu notifications@github.com wrote:

Hello, I am trying to reproduce the result in paper theory and tools for the conversion of analog to spiking convolutional neural networks at Matlab platform and got a disturbing questions: The dynamics of output neurons is severely influenced by large biases. As simulation goes, the output result converge to neuron with largest biases. I have tried 'voltage clamp' method raised in your paper, but didn't got expected effect (little improvement). Thank you very much for your work in this paper. I have been confused by first problem for long time. Looking forward to your reply!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NeuromorphicProcessorProject/snn_toolbox/issues/15, or mute the thread https://github.com/notifications/unsubscribe-auth/AO9TCaZW5VsThJ4FtsfyFtx1YJq8JKupks5uGrH2gaJpZM4VQGDV .

-- Bodo Rückauer Kronwiesenstraße 68 8051 Zürich Switzerland +41 (0)78 882 41 61

Xingfush commented 6 years ago

Thank you very much, I'll try these methods you provide and make more exploration.