Introduction
In the early 1990s, the "Optimal Brain Damage" (OBD) algorithm emerged as a gold standard for making neural networks smaller and more efficient. By calculating the "saliency" of weights—how much the network's error would increase if a specific weight were removed—researchers could prune unnecessary parameters, effectively applying Occam’s Razor to deep learning.
However, OBD has a major theoretical blind spot: it assumes the network has already converged to a local minimum. In practice, both historically and in modern architectures, we frequently use early stopping to prevent overfitting. Training is halted when validation error begins to rise, even if the training error could theoretically go lower. Because the network is not at a local minimum at this point, the gradient is not zero, and the foundational mathematical assumptions of OBD fall apart.
"Early Brain Damage" (EBD) is an evolution of the classic OBD technique, specifically redesigned to bridge the gap between network pruning and early stopping. By accounting for the fact that weights haven't yet reached their local minimum, EBD provides a more accurate estimate of a weight's "potential," leading to better generalization and the unique ability to "revive" previously pruned connections.
Methodology: Decomposing Pruning Cost
To adapt pruning for early stopping, the authors decompose the cost of pruning a weight into three distinct components:
- $A_i$ (The Curvature): This is the standard OBD term, which looks at the second derivative (Hessian) of the cost function.
- $B_i$ (The Gradient): Since the network is not at a minimum, the gradient is non-zero. This term accounts for the immediate change in error if the weight is moved to zero.
- $C_i$ (The Potential): This is the core innovation of EBD. It estimates where the weight would have ended up if training had continued to convergence.
By summing these components ($A_i + B_i + C_i$), EBD estimates the saliency of a weight as if the network had reached its "optimal" state, but it does so using only local information available at the early stopping point.
This approach treats weights not just by their current value, but by their trajectory. A weight might be small at the early stopping point, but if it has high "potential" ($C_i$), EBD recognizes that it might become important later. Furthermore, unlike standard pruning which is often permanent, the $C_i$ term allows the algorithm to identify weights that were pruned too early and "revive" them if their estimated potential is high.
Experimental Setup and Key Results
The researchers validated EBD using three classic benchmarks from the UCI repository: Breast Cancer (binary classification), Diabetes (binary classification), and Boston Housing (regression).
In their procedure, they trained the networks to early stopping, pruned 50% of the weights, and then retrained. They compared standard OBD, ESP (Early Stopping Pruning, which only uses $A_i + B_i$), and the full EBD method.
As shown in the results table, EBD achieved the lowest test error across all three datasets. While the improvements over standard OBD were consistent rather than dramatic, they proved that accounting for the non-zero gradient at early stopping provides a more reliable ranking of weight importance.
Notably, in the Breast Cancer and Boston Housing experiments, the network's performance actually improved after pruning 50% of its weights compared to the original unpruned network at the early stopping point. This reinforces the concept that pruning is not merely a compression technique, but a powerful form of regularization that reduces variance in the network's predictions.
Limitations and Future Work
Despite its successes, EBD relies on several simplifying assumptions. Chief among these is the "diagonal" approximation of the Hessian, which assumes that weights do not interact with one another—an assumption that is rarely true in complex neural networks.
The authors also explored Early Brain Surgeon (EBS), an extension of the "Optimal Brain Surgeon" method that drops the diagonal assumption. However, they found that estimating the true "optimal" weight vector from an early stopping point was too noisy for EBS to be reliable in practice. Future advancements in this area would likely require finding more robust ways to estimate these second-order properties in larger, modern architectures without relying on the diagonal simplification.
Summary updated