[Paper Review] Campfire: Compressible, Regularization-Free, Structured Sparse Training for Hardware Accelerators
Campfire proposes a regularization-free, structured sparse training method for CNNs that enforces sparsity early in training via fixed pruning masks at kernel, filter, and combined granularities. It achieves 70% sparsity in ResNet-50 on ImageNet with under 1% accuracy loss and maintains robustness against FGSM adversarial attacks.
This paper studies structured sparse training of CNNs with a gradual pruning technique that leads to fixed, sparse weight matrices after a set number of epochs. We simplify the structure of the enforced sparsity so that it reduces overhead caused by regularization. The proposed training methodology Campfire explores pruning at granularities within a convolutional kernel and filter. We study various tradeoffs with respect to pruning duration, level of sparsity, and learning rate configuration. We show that our method creates a sparse version of ResNet-50 and ResNet-50 v1.5 on full ImageNet while remaining within a negligible <1% margin of accuracy loss. To ensure that this type of sparse training does not harm the robustness of the network, we also demonstrate how the network behaves in the presence of adversarial attacks. Our results show that with 70% target sparsity, over 75% top-1 accuracy is achievable.
Motivation & Objective
- Address the high computational and memory overhead of regularization in sparse training for hardware accelerators.
- Achieve high sparsity (60–70%) in CNNs without sacrificing model accuracy or robustness.
- Enable efficient, fixed-structure sparsity from early training to support hardware compression and compute speedups.
- Ensure structured sparsity is compatible with existing accelerator architectures by minimizing irregular computations.
- Evaluate adversarial robustness of sparse models to ensure real-world viability beyond accuracy metrics.
Proposed method
- Apply magnitude-based pruning during an early 'pruning era' (20–30 epochs) to fix sparse weight masks permanently for the remainder of training.
- Enforce structured sparsity at three granularities: within convolutional kernel windows (R×S), across feature maps (CK), and in combined configurations.
- Eliminate regularization terms (e.g., norm-based penalties) to reduce computational overhead and improve hardware efficiency.
- Fix the sparsity pattern early to allow consistent weight compression and enable hardware to skip zero multiplications.
- Use a fixed sparsity mask throughout training to maintain a consistent parameter budget and reduce memory access overhead.
- Leverage early dense training (at least 20 epochs) before pruning to preserve model capacity and convergence accuracy.
Experimental results
Research questions
- RQ1Can structured sparsity be enforced early in training without regularization to reduce hardware-computation overhead?
- RQ2What is the optimal trade-off between pruning duration, sparsity level, and learning rate schedule for maintaining high accuracy?
- RQ3How does early, fixed sparsity affect adversarial robustness compared to dense models?
- RQ4To what extent can sparsity be increased (e.g., 60–70%) while maintaining minimal accuracy degradation on ImageNet?
- RQ5Can fixed, structured sparsity enable efficient hardware acceleration without recompression or decompression overhead?
Key findings
- Campfire achieves 70% sparsity in ResNet-50 on ImageNet with less than 1% top-1 accuracy degradation compared to the dense baseline.
- The method maintains robustness against FGSM adversarial attacks, with sparse models performing comparably to dense models under adversarial conditions.
- Delaying pruning until at least epoch 20 is critical for high convergence accuracy, highlighting the importance of early dense training.
- An additional 10 epochs of training after pruning can yield around 1% accuracy gain, compensating for sparsity-induced performance loss.
- The proposed window, CK, and combined sparsity schemes enable efficient hardware mapping due to fixed, structured sparsity patterns.
- Regularization-free training reduces computational irregularity and supports energy-efficient, accelerator-friendly inference and training.
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.