Train Flat, Then Compress: Sharpness-Aware Minimization Learns More Compressible Models
원문 초록
Model compression by way of parameter pruning, quantization, or distillation has recently gained popularity as an approach for reducing the computational requirements of modern deep neural network models for NLP. Inspired by prior works suggesting a connection between simpler, more generalizable models and those that lie within wider loss basins, we hypothesize that optimizing for flat minima should lead to simpler parameterizations and thus more compressible models. We propose to combine sharpness-aware minimization (SAM) with various task-specific model compression methods, including iterative magnitude pruning (IMP), structured pruning with a distillation objective, and post-training dynamic quantization. Empirically, we show that optimizing for flatter minima consistently leads to greater compressibility of parameters compared to vanilla Adam when fine-tuning BERT models, with little to no loss in accuracy on the GLUE text classification and SQuAD question answering benchmarks. Moreover, SAM finds superior winning tickets during IMP that 1) are amenable to vanilla Adam optimization, and 2) transfer more effectively across tasks.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
mSTEB: Massively Multilingual Evaluation of LLMs on Speech and Text Tasks
Making Language Model a Hierarchical Classifier and Generator
Robustness of Misinformation Classification Systems to Adversarial Examples Through BeamAttack
FIMA-Q: Post-Training Quantization for Vision Transformers by Fisher Information Matrix Approximation
Prompt Candidates, then Distill: A Teacher-Student Framework for LLM-driven Data Annotation
GNN-CNN: An Efficient Hybrid Model of Convolutional and Graph Neural Networks for Text Representation
토론
이 논문과 연결된 포럼 글이 아직 없습니다.