DRPruning: Efficient Large Language Model Pruning through Distributionally Robust Optimization
Hexuan Deng, Wenxiang Jiao, Xuebo Liu, Jing Li, Min Zhang, Zhaopeng Tu
TL;DR
DRPruning addresses the problem of uneven domain degradation during structured pruning of large language models by integrating distributionally robust optimization (DRO) with pruning and continued pretraining. It dynamically adjusts the data distribution and uses a learned reference loss to steer training toward underperforming domains, resulting in faster convergence, better preservation of original capabilities, and improved downstream performance in both monolingual and multilingual settings. Across pruning, continued pretraining, and instruction-tuning, DRPruning demonstrates lower perplexity, higher task performance, and stronger domain robustness, with automatic estimation of optimal reference losses and data ratios. The approach has broad potential beyond pruning, offering a principled way to balance training across heterogeneous data and tasks in large-scale NLP systems.
Abstract
Large language models (LLMs) deliver impressive results but face challenges from increasing model sizes and computational costs. Structured pruning reduces model size and speeds up inference but often causes uneven degradation across domains, leading to biased performance. To address this, we propose DRPruning, a method that dynamically adjusts the data distribution during training to restore balanced performance across heterogeneous and multi-tasking data. Experiments in monolingual and multilingual settings show that DRPruning surpasses similarly sized models in both pruning and continued pretraining over perplexity, downstream tasks, and instruction tuning. Further analysis demonstrates the robustness of DRPruning towards various domains and distribution shifts. Furthermore, DRPruning can determine optimal reference losses and data ratios automatically, suggesting potential for broader applications. Code and scripts are available at https://github.com/hexuandeng/DRPruning.
