Affiliation:
1. Ruhr University Bochum, 44801 Bochum, Germany jan.melchior@ini.rub.de
2. Ruhr University Bochum, 44801 Bochum, Germany robin.schiewer@ini.rub.de
3. Ruhr University Bochum, 44801 Bochum, Germany laurenz.wiskott@ini.rub.de
Abstract
Abstract
This study discusses the negative impact of the derivative of the activation functions in the output layer of artificial neural networks, in particular in continual learning. We propose Hebbian descent as a theoretical framework to overcome this limitation, which is implemented through an alternative loss function for gradient descent we refer to as Hebbian descent loss. This loss is effectively the generalized log-likelihood loss and corresponds to an alternative weight update rule for the output layer wherein the derivative of the activation function is disregarded. We show how this update avoids vanishing error signals during backpropagation in saturated regions of the activation functions, which is particularly helpful in training shallow neural networks and deep neural networks where saturating activation functions are only used in the output layer. In combination with centering, Hebbian descent leads to better continual learning capabilities. It provides a unifying perspective on Hebbian learning, gradient descent, and generalized linear models, for all of which we discuss the advantages and disadvantages. Given activation functions with strictly positive derivative (as often the case in practice), Hebbian descent inherits the convergence properties of regular gradient descent. While established pairings of loss and output layer activation function (e.g., mean squared error with linear or cross-entropy with sigmoid/softmax) are subsumed by Hebbian descent, we provide general insights for designing arbitrary loss activation function combinations that benefit from Hebbian descent. For shallow networks, we show that Hebbian descent outperforms Hebbian learning, has a performance similar to regular gradient descent, and has a much better performance than all other tested update rules in continual learning. In combination with centering, Hebbian descent implements a forgetting mechanism that prevents catastrophic interference notably better than the other tested update rules. When training deep neural networks, our experimental results suggest that Hebbian descent has better or similar performance as gradient descent.
Reference77 articles.
1. Avoiding catastrophic forgetting by coupling two reverberating neural networks;Ans;Comptes Rendus de l’Académie des Sciences, Series III: Sciences de la Vie,1997
2. Learning by on-line gradient descent;Biehl;Journal of Physics A: Mathematical and General,1995
3. Theory for the development of neuron selectivity: Orientation specificity and binocular interaction in visual cortex;Bienenstock;Journal of Neuroscience,1982
4. Probabilistic interpretation of feedforward classification network outputs, with relationships to statistical pattern recognition;Bridle,1990