TL;DR
This paper extends the Optimal Brain Surgeon (OBS) network pruning technique to handle more general error measures and introduces a computationally cheaper version using eigenspace decomposition. They demonstrate that OBS, unlike its predecessor Optimal Brain Damage (OBD), effectively reduces test error even in networks that have already been trained to a minimum validation error, suggesting that retraining in OBD can reintroduce overfitting.
What Problem Does This Paper Address?
Neural networks often suffer from overfitting, meaning they perform well on training data but poorly on unseen data. Pruning, a technique to remove redundant weights from a trained network, aims to improve generalization. While methods like Optimal Brain Damage (OBD) exist, they have limitations. This paper addresses the need for a more robust pruning method that can handle various error functions and is computationally feasible for larger networks. Specifically, they investigate whether pruning can further improve performance even after a network has been trained to its minimum validation error, a common stopping criterion that doesn't guarantee optimal generalization.
Methods
The authors extend the Optimal Brain Surgeon (OBS) method, a second-order pruning technique that uses the Hessian matrix to estimate the impact of removing a weight on the network's error. The key extensions are:
- General Error Measures: OBS is generalized to work with any twice-differentiable distance norm, not just sum-squared errors. This is achieved by adapting the calculation of the Hessian and introducing a parameter
akthat weights gradients based on the error measure. - Eigenspace Decomposition: To reduce the computational and storage burden of the full Hessian, they propose an approximation using the dominant eigenspace of the Hessian. This allows for a low-rank approximation of the inverse Hessian, significantly reducing complexity.
- t → 0 Approximation: The paper validates the use of the
t → 0approximation in OBS, which assumes that after pruning a weight and retraining, the network's response should remain close to its original state. They argue this approximation helps avoid reinjecting training set noise.
Datasets
The paper evaluates their methods on:
- Monk's Problems: A suite of three benchmark datasets for evaluating machine learning algorithms.
- Artificial Gaussian Classification Problem: A custom two-category classification problem with a five-dimensional input space, designed to be challenging and exhibit non-linearities.
- Copier Control Application: A real-world dataset used to model copier image density control.
Key Insights and Ideas
- Retraining in OBD can be detrimental: The paper strongly suggests that the retraining step in OBD can reintroduce overfitting by reinforcing patterns from the training data, leading to worse generalization than OBS, which doesn't rely on extensive retraining.
- Pruning can improve "stopped" networks: Even networks trained to a minimum validation error (a common stopping point) can often be further improved by pruning with OBS, indicating that these networks still suffer from overfitting.
- OBS is more robust to noise: The
t → 0approximation in OBS is shown to be crucial for preventing the reinjection of training set noise, a problem that can occur with retraining-based methods like OBD. - Eigenspace approximation is computationally beneficial but may sacrifice accuracy: While the dominant eigenspace decomposition significantly reduces computational cost, it can lead to less effective pruning, suggesting that off-diagonal terms beyond the dominant eigenspace are still important.
Key Results
- Improved Generalization: OBS consistently outperformed OBD in terms of generalization error across various tested problems, particularly on the Gaussian classification task and the copier control application.
- Further Improvement on Stopped Networks: For networks trained to a minimum validation error, OBS was able to reduce test error, whereas OBD struggled to consistently achieve this.
- Eigenspace Pruning Performance: The 5-dimensional eigenspace approximation of OBS showed poor pruning performance on the Monk's problems, indicating that a larger subspace or a different approximation might be needed.
- Quantitative Improvements: In the copier control application, OBS reduced the RMS error from 0.023 (OBD) to 0.012 at 34 remaining weights.
Limitations and Future Work
- Eigenspace Approximation Limitations: The paper acknowledges that the dominant eigenspace decomposition, while computationally efficient, did not perform as well as full OBS on the Monk's problems. This suggests that the choice of subspace dimension or the specific approximation method needs further investigation.
- No Universal Stopping Criteria: The authors note that theoretical stopping criteria for pruning are lacking, and practical methods like using validation error can be misleading, especially with retraining.
- Future Work: The paper implies that further research into more effective eigenspace approximations or alternative computational reductions for OBS would be valuable. Investigating the exact breakdown point of the second-order approximation in OBS when networks are heavily pruned is also suggested.
Summary updated