Multi-Objective One-Shot Pruning for Large Language Models

Weiyu Chen, Hansi Yang, Yunhao Gou, Han Shi, En-Liang Hu, Zhenguo Li, James KwokNeurIPS 2025

TL;DR

MOSP (Multi-Objective One-Shot Pruning) is a new framework that prunes Large Language Models (LLMs) while simultaneously optimizing for multiple tasks like coding, math, and general prose. Instead of producing a single "average" model, MOSP generates a Pareto set of solutions, allowing users to deploy specialized sparse models tailored to their specific performance preferences without any expensive retraining.

What Problem Does This Paper Address?

As LLMs grow, so does the need to prune them for deployment on resource-constrained hardware. "One-shot" pruning—which removes weights without the need for costly iterative fine-tuning—has become the standard for massive models. However, current one-shot methods typically optimize for a single objective, usually general language perplexity.

The reality is that LLMs are multi-talented; a developer might want a model that is exceptionally good at Python even if it’s slightly worse at creative writing, while a tutor might prioritize mathematical reasoning. Existing "hacks" to address this—like concatenating different datasets or independently pruning and then merging models—often lead to significant performance degradation or lack the flexibility to adapt to specific user needs.

Methods

The authors introduce Multi-Objective One-Shot Pruning (MOSP), which treats pruning as a multi-objective optimization problem.

MOSP Framework Stages

The framework operates in three distinct stages:

  1. Dual ADMM for Core Support Identification: Using a bilevel optimization approach, MOSP identifies a "core support"—a set of weights that are essential across all tasks—nested within a larger "primary support." This ensures that the fundamental "brain" of the model is preserved while leaving room for specialization.
  2. Task-Specific ADMM: With the core support fixed, the algorithm performs a simplified optimization for each individual task (e.g., math, code, general text). This identifies which additional weights are most important for specific capabilities.
  3. Refinement: Each task-specific model is polished using Projected Conjugate Gradient (PCG) to ensure the remaining weights are mathematically optimal for the chosen sparsity pattern.

The "On-the-Fly" Advantage: At inference time, a user provides a preference vector ($\lambda$). MOSP uses a clever mapping function to interpolate between the global model and task-specific corrections, generating a tailored model on-the-fly.

Datasets

The researchers evaluated MOSP using several representative benchmarks:

  • C4 (Colossal Clean Crawled Corpus): For general English language understanding.
  • GSM8K: For mathematical reasoning.
  • Python Code (Code Alpaca): For code generation capabilities.
  • ChineseWebText 2.0: Used in an extended experiment to test a four-objective scenario (adding multilingual support).

The study utilized various model families, including LLaMA-2 (7B, 13B), LLaMA-3 (8B), and the OPT series (2.7B to 30B).

Key Insights and Ideas

  • The "Core" is Sacred: The most important insight is that multi-task pruning fails if you don't explicitly protect a shared foundation of weights. By identifying a "core support" that serves all objectives, MOSP prevents the "catastrophic forgetting" that happens when task-specific pruning patterns conflict.
  • Pruning as a Pareto Problem: The paper shifts the perspective of pruning from "how much can we cut?" to "what trade-offs are we willing to make?" It demonstrates that the "best" sparse model depends entirely on the end-user's priorities.
  • Efficiency Matters: Despite handling multiple objectives, MOSP is computationally efficient. It uses eigen-decomposition and Cholesky decomposition to pre-compute heavy math, making the per-task optimization much faster than running a standard pruner multiple times.

Key Results

  • Superior Trade-offs: MOSP consistently outperformed state-of-the-art baselines like SparseGPT and ALPS in terms of Hypervolume (HV)—a metric that measures how well a method finds the best possible trade-offs (the Pareto front).
Performance Trade-offs on GSM8K vs C4
  • Specialization without Loss: In a 70% sparsity test on LLaMA-2, MOSP could produce a model that favored C4 (general text), achieving a perplexity of 18.80, significantly better than the 20.44 achieved by the single-objective ALPS baseline.
  • Low Overhead: MOSP only adds a minor computational cost. For example, pruning a LLaMA-2-7B model took 1.36 hours with MOSP compared to 1.09 hours for the single-objective ALPS.
  • Scalability: The method proved effective across different sparsity levels (from 50% to 80%) and different model sizes, showing that the multi-objective approach becomes even more valuable at higher compression rates where trade-offs are more severe.

Limitations and Future Work

The authors acknowledge a few areas for further exploration:

  • Dataset Scope: The evaluation was limited to a few representative datasets. Testing on a wider array of niche tasks (e.g., medical or legal domains) would further validate the model's flexibility.
  • Objective Scaling: While the paper successfully demonstrated four objectives, the complexity of navigating the Pareto front grows as more objectives are added.
  • Structured Pruning: This paper focused on unstructured and semi-structured (N:M) pruning. Applying these multi-objective principles to structured pruning (removing entire neurons or heads) remains an open challenge for future research.

Summary updated

BibTeX
@inproceedings{chen2025multi,
  author = {Weiyu Chen and Hansi Yang and Yunhao GOU and Han Shi and En-Liang Hu and Zhenguo Li and James Kwok},
  title = {{Multi-Objective One-Shot Pruning for Large Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=aNpj43Uh35},
}
Figure