NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Back-Propagation Algorithm with Optimal Use of Hidden Units

Yves ChauvinNeurIPS 1988

Introduction

In the late 1980s, the standard back-propagation algorithm was the gold standard for training neural networks, but it suffered from a significant "black box" problem. Researchers often did not know how many hidden units were actually necessary for a given task. If a network was provisioned with too many units, it would use them all, creating redundant, complex representations that were difficult to interpret and potentially poor at generalizing to new data.

Yves Chauvin addressed this issue by asking a fundamental question: Can we force a network to be "lazy"? Instead of allowing every neuron to fire freely, Chauvin proposed incentivizing the network to solve problems using the absolute minimum amount of neural activity. This paper introduces a modified back-propagation algorithm that automatically finds the most efficient neural network architecture by penalizing "energy" consumption in hidden units. By adding a cost to hidden unit activations, the network learns to solve tasks using the smallest number of neurons possible, effectively "pruning" redundant units during training.

Methods: The Cost of Energy

The core innovation of this approach is a modification of the standard cost function. In traditional back-propagation, the network only cares about minimizing the error term (the difference between the desired and actual output). Chauvin adds an energy term to the equation:

$$C = \mu_{er} \cdot \text{Error} + \mu_{en} \cdot \text{Energy}$$

The "energy" is defined as a function of the squared activations of the hidden units. The algorithm performs gradient descent on this combined cost.

Learning curves showing the reduction of error and energy over training epochs.

Key technical details of this approach include:

  • Energy Functions: The paper explores different ways to penalize activation, such as linear penalties ($o^2$), logarithmic penalties ($\log(1+o^2)$), or asymptotic penalties where "high energy" units aren't penalized significantly more than "middle energy" units.
  • Local Implementation: Crucially, this is not a complex global optimization. The "energy delta" is simply added to the standard "error delta" during the back-propagation phase, making it computationally efficient and easy to implement in existing systems.
  • The Repellor Trick: In a clever twist, Chauvin shows that by inverting the sign of the energy gradient, you can turn a "zero-energy" state from an attractor into a "repellor." This pushes the network away from local minima (like the dead [0,0] zone in some activation functions) during early training.

Key Insights and Ideas

By treating neural activation as a scarce resource, the network develops more efficient, compressed representations of data. This leads to several important insights:

  • Architecture as an Emergent Property: Instead of the researcher guessing the number of hidden units, the network "discovers" the optimal architecture. If a unit's contribution to reducing error is less than its "energy cost," the algorithm effectively suppresses it.
  • Dynamic Constraints: The paper suggests a "trajectory" of constraints—using the energy term as a repellor early on to explore the space, then as an attractor to prune the network, and finally as a repulsor again to force binary (on/off) activations.
  • Interpretability: Minimal networks are easier to analyze. When the network is forced to use only two units for a task, those units' roles become much clearer than if the work were spread across twelve units.

Experimental Validation and Results

The algorithm was validated on several classic connectionist benchmarks, including Boolean functions (XOR and Parity-3), the Symmetry problem, and a Phonetic Labeling task involving spectrograms of syllables.

  • XOR Efficiency: In a network starting with 4 hidden units, the algorithm consistently reduced the active set to the "minimum logic" of just 2 units.
  • Solving Local Minima: In the Parity-3 problem, standard back-propagation got stuck in local minima 65% of the time. By using the "repulsion" constraint, the failure rate dropped to 0%.
  • Phonetic Compression: For the phonetic labeling task, the algorithm started with 12 hidden units but successfully reduced the functional network to just 3 units. This matched the results of other researchers who had manually tuned their architectures to 3 units, proving the algorithm could find the "right" size automatically.
Hidden unit activation patterns for four distinct input states, illustrating the minimal, pruned architecture.

Limitations and Future Work

While highly effective, the approach is not without its limitations:

  • Weight Compensation: The author noted that in the Symmetry problem, the network sometimes "cheated": weights would grow very large to compensate for tiny hidden unit activations, effectively bypassing the energy penalty. Chauvin solved this by adding a standard "weight decay" term, highlighting that activation pruning and weight pruning are two sides of the same coin.
  • Parameter Sensitivity: The balance between the error rate ($\mu_{er}$) and energy rate ($\mu_{en}$) is a hyperparameter that requires careful tuning.
  • Generalization Theory: The paper hints that smaller networks generalize better (the "curve-fitting analogy"), but notes that a complete formal theory of how this specific energy minimization affects generalization was not yet fully developed at the time of publication.

Summary updated

BibTeX
@inproceedings{chauvin1988back,
  author = {Yves Chauvin},
  title = {{A Back-Propagation Algorithm with Optimal Use of Hidden Units}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1988},
}
Figure