-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Neural noise #274
Comments
Hi @Pugavkomm! Thanks for bringing this to our attention. Do you have a link/reference to an implementation or a model describing this? Concerning input noise, I think this could be added as a separate layer, which I would imagine being a little cleaner than adding it directly to the neurons (found this example https://discuss.pytorch.org/t/writing-a-simple-gaussian-noise-layer-in-pytorch/4694/8). But maybe you're talking about other dynamics? |
This is a good idea, I've considered integrating with https://github.com/google-research/torchsde. It would be relatively straightforward to implement a simplified version of that as well. |
Reference Explanation Implementation |
Right, so it'll be a 1:1 mapping? I think that could be done as a separate module fairly easily. There is also the option of creating some kind of parameterized module within a neuron layer, but that quickly explodes in complexity if the goal is to implement it for all types of neurons. |
Yes, it will. A 1:1 mapping + noise is a good idea. |
I think that makes a lot of sense, a clean way to add this would be to implement a naive https://en.wikipedia.org/wiki/Euler–Maruyama_method stepper, and then rewrite the time integration of the neuron models in terms of this. |
The advantage of this approach would be that it a) would be to eliminate the duplication of the solver implementation and that b) Euler and Euler-Maruyama are compatible by just setting the noise term to the "zero" function. |
At the moment, there is a lack of the ability to include neural noise in the neuron model. Usually, white Gaussian noise is added to spike neurons with small standard deviation and zero mean. Usually noise is added as an additional term of the membrane potential.
The text was updated successfully, but these errors were encountered: