[Paper Review] EigenDamage: Structured Pruning in the Kronecker-Factored Eigenbasis
EigenDamage proposes structured neural network pruning by reparameterizing layers in the Kronecker-factored eigenbasis (KFE), where the Hessian is approximately diagonal, enabling efficient Hessian-based structured pruning. This method achieves up to 10× model size reduction and 8× FLOPs reduction on wide ResNet32 with negligible accuracy loss, outperforming baselines especially on challenging datasets and networks.
Reducing the test time resource requirements of a neural network while preserving test accuracy is crucial for running inference on resource-constrained devices. To achieve this goal, we introduce a novel network reparameterization based on the Kronecker-factored eigenbasis (KFE), and then apply Hessian-based structured pruning methods in this basis. As opposed to existing Hessian-based pruning algorithms which do pruning in parameter coordinates, our method works in the KFE where different weights are approximately independent, enabling accurate pruning and fast computation. We demonstrate empirically the effectiveness of the proposed method through extensive experiments. In particular, we highlight that the improvements are especially significant for more challenging datasets and networks. With negligible loss of accuracy, an iterative-pruning version gives a 10$ imes$ reduction in model size and a 8$ imes$ reduction in FLOPs on wide ResNet32.
Motivation & Objective
- Address the challenge of efficient, structured neural network pruning for resource-constrained inference without sacrificing accuracy.
- Overcome the limitations of Hessian-based pruning in parameter space, where weight couplings reduce pruning accuracy and computational efficiency.
- Enable low-rank, bottleneck-structured network compression that naturally supports speedups with standard hardware and software.
- Develop a method that is loss-aware and automatically determines layer-specific ranks based on a global compression ratio, avoiding manual tuning.
- Demonstrate superior performance on challenging datasets like CIFAR100 and Tiny-ImageNet, where prior methods struggle due to high model complexity.
Proposed method
- Reparameterize fully connected and convolutional layers using the Kronecker-factored eigenbasis (KFE), which approximately diagonalizes the Hessian matrix.
- Apply Optimal Brain Damage (OBD) and Optimal Brain Surgeon (OBS) pruning criteria in the KFE coordinate system, where weights are approximately independent.
- Perform structured pruning at the channel level by removing entire channels based on their Hessian-based sensitivity in the KFE, resulting in low-rank, bottleneck-layer structures.
- Use a novel network reparameterization inspired by Desjardins et al. (2015) to explicitly represent each layer in terms of the KFE, enabling efficient computation.
- Introduce iterative pruning with a 50% per-layer pruning cap to avoid over-pruning, and allow for fine-tuning after each iteration.
- Calibrate the global pruning ratio to automatically determine the optimal rank for each layer, ensuring consistent compression across layers without manual rank specification.
Experimental results
Research questions
- RQ1Can Hessian-based structured pruning be made more accurate and efficient by transforming to a coordinate system where weight dependencies are minimized?
- RQ2Does pruning in the Kronecker-factored eigenbasis (KFE) lead to better generalization and lower FLOPs compared to standard parameter-space pruning?
- RQ3How does EigenDamage compare to low-rank approximation methods like CP-Decomposition in terms of accuracy, speedup, and loss-awareness?
- RQ4Can EigenDamage achieve significant compression with minimal accuracy drop on challenging datasets like Tiny-ImageNet and complex architectures like ResNet?
- RQ5Does the automatic rank selection mechanism in EigenDamage outperform manual rank tuning in low-rank methods under the same compression ratio?
Key findings
- EigenDamage achieves a 10× reduction in model size and 8× reduction in FLOPs on wide ResNet32 with negligible accuracy loss, demonstrating strong compression efficiency.
- On CIFAR100 and Tiny-ImageNet, EigenDamage significantly outperforms state-of-the-art baselines, including C-OBD, C-OBS, Kron-OBD, and Kron-OBS, especially on deeper networks like ResNet.
- Iterative pruning with EigenDamage yields consistent performance gains, with the largest improvements observed on more complex datasets and architectures.
- EigenDamage outperforms CP-Decomposition in both accuracy and speedup, even without fine-tuning, due to its loss-aware nature and automatic rank selection.
- The method produces a balanced pruning ratio across layers, retaining more filters in top layers (where feature compactness is critical) compared to methods like NN Slimming, which over-prune bottom layers.
- EigenDamage’s automatic rank selection eliminates the need for manual rank tuning, reducing search complexity compared to low-rank methods that require per-layer rank specification.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.