Abstract
A biologically plausible method for training an Artificial Neural Network (ANN) involves treating each unit as a stochastic Reinforcement Learning (RL) agent. Consequently, all units can learn via REINFORCE, a local learning rule modulated by a global reward signal. Nevertheless, this method is often slow and scales poorly due to inefficient structural credit assignment. Weight Maximization (WM) attempts to solve this by replacing a unit's reward signal with the norm of its outgoing weight. This report analyzes the theoretical properties of WM and proposes Unbiased Weight Maximization (UWM). By utilizing an integration-based approach instead of Taylor expansions, UWM provides an unbiased learning rule that improves learning speed and asymptotic performance in networks of Bernoulli-logistic units.
Introduction
Training ANNs as a "team of agents" is biologically appealing but computationally challenging. The standard REINFORCE algorithm suffers from a severe structural credit assignment problem: as network size increases, individual neurons struggle to discern their specific contribution to a global reward signal amidst the noise of thousands of other units. While existing alternatives like Weight Maximization (WM) or Straight-Through Estimators (STE) provide local signals to accelerate learning, they are mathematically biased. These biases, often stemming from linear or deterministic assumptions, can lead to poor asymptotic performance or divergence in multi-layer architectures.
Methodology: The Natural Extension and Integration Trick
The core challenge in training stochastic units is estimating the difference in expected reward between a unit firing ($h=1$) and not firing ($h=0$). UWM addresses this by defining a "natural extension" of the reward function $r(h)$, allowing the binary firing state to be treated as a continuous value between 0 and 1.
Unlike standard WM, which relies on Taylor expansions that can fail when sigmoid derivatives explode, UWM applies the Fundamental Theorem of Calculus. It recognizes that the difference $r(1) - r(0)$ is the integral of the derivative $r'(u)$ from 0 to 1. To implement this practically, UWM samples a random point $U$ from a uniform distribution $[0, 1]$ and estimates the gradient at that point. This importance sampling approach provides a mathematically unbiased estimate of the true gradient.
Theoretical Pitfalls of Taylor-Based Approximations
A significant insight of this research is the failure mode of high-order Weight Maximization. While higher-order Taylor series might seem more accurate in theory, the derivatives of the sigmoid function are unbounded. As weights increase during training, the Taylor series used by standard WM diverges.
This divergence causes performance to deteriorate rapidly mid-training. By evaluating the gradient at a random point rather than relying on endpoint-based Taylor expansions, UWM maintains stability and unbiasedness throughout the learning process.
Experimental Results and Scaling
The algorithms were evaluated using a $k$-bit multiplexer task ($k=4$) on a three-layer network of Bernoulli-logistic units. The results highlighted several key findings:
- Scaling Performance: While REINFORCE performs well for very small networks (e.g., 8 units), its performance plateaus as the network scales. UWM was the only unbiased rule that continued to show improvement as the number of hidden units increased to 96.
- Stability: UWM remained stable throughout training, avoiding the performance "spikes" and subsequent crashes observed in high-order biased WM methods.
- Comparison to Continuous ANNs: Despite its advantages over other discrete rules, a performance gap remains between UWM and standard continuous ANNs trained with backpropagation, which still exhibit faster learning and higher peak performance.
Discussion and Limitations
While UWM provides a robust, unbiased gradient estimate, it comes with increased computational complexity. The cost is $O(m^2n)$ (where $m$ and $n$ are units in adjacent layers), compared to $O(mn)$ for biased methods. Furthermore, the high degree of coordination required between units in a layer to compute the sampling ratio may limit its direct biological plausibility. Future work should focus on reducing this computational overhead and extending the UWM framework to other discrete units, such as softmax units, or developing unbiased versions of backpropagation-like estimators.
Summary updated