MOONSHOT : A Framework for Multi-Objective Pruning of Vision and Large Language Models

Gabriel Afriat, Xiang Meng, Shibal Ibrahim, Hussein Hazimeh, Rahul Mazumder

Neural network pruning is the art of "trimming the fat" from massive models like Llama or Vision Transformers (ViTs) to make them faster and leaner. But in the "one-shot" setting—where we compress a model without any expensive retraining—how do we decide which weights are actually "fat" and which are muscle?

Existing methods usually pick one of two philosophies:

  1. Local: Minimize the change in a specific layer's output (Layer-wise reconstruction).
  2. Global: Minimize the impact on the final training loss (Second-order Taylor approximation).

A new paper from researchers at MIT, Google, and OpenAI argues that picking just one is a mistake. They introduce MOONSHOT, a framework that proves these two objectives are complementary and that models perform significantly better when we optimize for both simultaneously.

What Problem Does This Paper Address?

As models scale to billions of parameters, the computational cost of inference becomes a bottleneck. Pruning helps, but "one-shot" pruning is notoriously difficult because you don't get a second chance to "heal" the model via fine-tuning.

The authors observed a curious inconsistency in existing state-of-the-art (SOTA) pruners. Some models (like ResNets) preferred the local reconstruction objective, while others (like ViTs) performed better with the global training loss objective. There was no "one size fits all" criterion. MOONSHOT addresses this by providing a unified framework that treats pruning as a multi-objective optimization problem, capturing signals that single-objective methods miss.

Methods

MOONSHOT (Multi-Objective ONe-SHOT pruning) acts as a "wrapper" around existing pruning algorithms like SparseGPT, Wanda, or CAP.

The core technical contribution is a weighted objective function: $$ \mathcal{L}_{\lambda} = \lambda (\text{Local Reconstruction Error}) + (1 - \lambda) (\text{Global Fisher Loss}) $$

By tuning $\lambda$, the user can balance these two signals. However, combining these objectives introduces a massive computational headache. Standard LLM pruners are fast because they assume the "Hessian" (a matrix representing weight importance) has a very specific, repeating structure. When you mix two different objectives, that structure breaks, making the math prohibitively expensive for billion-parameter models.

To solve this, the authors introduced:

  • Structural Alignment: They developed modeling decisions to force the different Hessian structures to align, preserving the efficiency of the underlying pruner (see Figure 2).
  • The Woodbury Trick: They utilized the Woodbury matrix identity to compute the inverse Hessian. This allows MOONSHOT to prune a Llama-3.2-3B model in under 40 minutes on a single GPU—a feat that would be impossible with naive matrix inversion.
MOONSHOT aligns the block-diagonal structures of different objectives to maintain computational efficiency.

Datasets

The authors performed an extensive evaluation across:

  • Large Language Models: Llama-3.2 (1B, 3B) and Llama-2 (13B), evaluated on the C4 dataset for perplexity and seven zero-shot benchmarks (like HellaSwag and BoolQ) for reasoning.
  • Vision Models: ImageNet-1k was used to test Vision Transformers (DeiT-Tiny, Small, Base) and ResNet-50.

Key Insights and Ideas

  • Complementary Strengths: The "aha moment" is that local reconstruction preserves the functional behavior of individual layers, while the global Fisher loss ensures the model still "remembers" how to perform its end task.
  • The Intermediate Optimum: The best performance almost never happens at $\lambda=0$ or $\lambda=1$. As shown in Figure 3, there is a clear "sweet spot" where the combination of objectives outperforms either one in isolation.
  • Additive Gains: MOONSHOT is orthogonal to other compression tricks. If you use it alongside non-uniform sparsity allocation (like OWL), the benefits stack, leading to even better models.
Performance peaks at intermediate values of λ, proving that neither objective is sufficient on its own.

Key Results

MOONSHOT consistently pushed the Pareto frontier of accuracy vs. sparsity:

  • LLMs: On Llama-3.2, it reduced C4 perplexity by up to 32.6% at 2:4 semi-structured sparsity and boosted zero-shot accuracy by up to 4.9 points.
  • Vision: For DeiT-Small at 70% sparsity, it improved ImageNet accuracy by over 5 points compared to the single-objective baseline. On ResNet-50, it yielded a 4-point gain at 90% sparsity.
  • Efficiency: Despite the extra math, the framework remains highly scalable. Pruning a 1B parameter model takes only about 8 minutes.
MOONSHOT consistently outperforms baselines across different models and sparsity regimes.

Limitations and Future Work

While MOONSHOT is powerful, it does introduce a new hyperparameter ($\lambda$). Although the authors suggest sensible defaults (0.5 for vision, 0.9 for LLMs), finding the absolute optimum requires some trial and error.

Additionally, the current implementation focuses on the self-attention layers of LLMs for maximum efficiency. While they showed that extending it to all layers provides further gains, it comes at a higher computational cost. Future work could focus on further optimizing the "Woodbury" procedure to make multi-objective pruning even faster for the largest projection layers.

Summary updated

BibTeX
@article{afriat2026moonshot,
  author = {Gabriel Afriat and Xiang Meng and Shibal Ibrahim and Hussein Hazimeh and Rahul Mazumder},
  title = {{MOONSHOT : A Framework for Multi-Objective Pruning of Vision and Large Language Models}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2026},
}
Figure