Is it possible to run a neural network in reverse?

与世无争的帅哥 提交于 2019-12-20 10:36:51

问题


If we have a neural network such as the multilayer perceptron back propagation neural network that uses sigmodial logistic activation functions is it possible to feed the network outputs and have it compute back a set of inputs? Since we can reverse the activation function by using the natural logarithm and inverse operations until we have a sum value that is made up of all the weights multiplied by their inputs i would think that it would be possible to at least get sets of possible inputs that will generate the specified output value.


回答1:


As there is an infinite number of possibilities to distribute the result to the feeding neurons this is only possible for each layer where the number of receiving neurons equals the number of the feeding neurons. There it is a simple linear equation which boils down to a Matrix multiplication/inversion problem, that can easily be solved.

If the number of neurons where the number of the receiving neurons (n) is smaller than the number of the feeding neurons (m), you have as solution space a manifold with m - n dimensions.



来源:https://stackoverflow.com/questions/6856964/is-it-possible-to-run-a-neural-network-in-reverse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!