TL;DR
HESSO (Hybrid Efficient Structured Sparse Optimizer) is a "one-shot" framework that trains and prunes neural networks simultaneously. By introducing the Corrective Redundant Identification Cycle (CRIC), it automatically protects critical layers, preventing performance collapse in complex models like LLMs and Super-Resolution networks without requiring extensive hyperparameter tuning.
The Challenge of Structured Pruning
As Deep Learning models grow, structured pruning—removing entire neurons or channels—becomes essential for edge deployment. However, existing methods face three major hurdles:
- Engineering Burden: Multi-stage processes (train, prune, fine-tune) require significant expertise.
- Hyperparameter Sensitivity: One-shot optimizers often need extensive tuning for each new architecture.
- Irreversible Collapse: Automated tools may accidentally prune "indispensable" layers, causing unrecoverable performance loss.
Proposed Methods
HESSO: Hybrid Efficient Structured Sparse Optimizer
HESSO moves beyond implicit sparsity by using progressive pruning. It identifies redundant groups based on saliency scores and employs a hybrid training schema. While important network components learn via standard gradients, redundant parts are gradually "faded out." This mechanism facilitates an in-place knowledge transfer from the components being deleted to those being retained, maintaining model stability.
CRIC: Corrective Redundant Identification Cycle
CRIC serves as a "safety net" for the pruning process. Standard pruning often relies on Taylor-series approximations that can be inaccurate early in training. CRIC implements a voting mechanism that samples saliency scores multiple times. If a group initially marked as redundant shows high importance during the "fade out" phase, CRIC identifies it as an outlier and prevents its pruning, protecting critical model structures.
Experimental Validation
The researchers tested HESSO-CRIC across diverse tasks to demonstrate its "any neural network" capability:
- Image Classification: ResNet50 on ImageNet.
- Object Detection: YOLOv5l on COCO.
- Super-Resolution: CARNx2 on DIV2K.
- Language Modeling: BERT on SQuAD.
- LLMs: Phi-2 (2.7B parameters) on zero-shot benchmarks (BoolQ, PIQA, etc.).
Key Results and Insights
- Tuning-Free Operation: HESSO utilizes a "General Recipe" that worked across nearly all tested architectures without changes, significantly reducing the human effort required for model compression.
- Superior LLM Compression: On the Phi-2 model, HESSO-CRIC outperformed specialized tools like SliceGPT and LLM-Pruner, maintaining higher accuracy at 20-25% sparsity.
- Preventing Collapse in Super-Resolution: In CARNx2 models, HESSO-CRIC automatically identified the critical penultimate layer, maintaining high image quality (PSNR) where standard methods failed.
- Efficiency: The computational overhead of CRIC is negligible, making it a practical addition to standard production pipelines.
Conclusion and Future Work
HESSO-CRIC addresses the brittleness of automated pruning by combining hybrid training with a robust identification cycle. While it currently relies on base saliency scores, future work may involve integrating HESSO with other techniques like quantization to further push the boundaries of model efficiency on ultra-large "frontier" models.
Summary updated