TL;DR
This paper introduces Conditional Generation Accuracy (CGA), a new evaluation framework that moves away from misleading proxy metrics like Perplexity. By using a teacher-forcing paradigm on real-world queries, CGA directly measures how faithfully a compressed model replicates the original model's token-by-token behavior, revealing that many "lossless" compression methods actually cause severe generative failures.
What Problem Does This Paper Address?
As Large Language Models (LLMs) grow, the demand for compression (quantization, pruning, etc.) to fit them on consumer GPUs has skyrocketed. However, there is a growing "evaluation gap." Many compression papers claim their methods are "nearly lossless" because they maintain low Perplexity (PPL) or high scores on multiple-choice benchmarks like MMLU.
In practice, users often find these compressed models suffer from "silent" degradations: they repeat themselves, produce nonsensical "word salad," or lose their ability to follow complex instructions. The authors argue that current metrics are too easy to "game." For example, a model can have great Perplexity while producing gibberish because PPL doesn't account for the cascading errors that happen during actual auto-regressive generation.
Methods
The authors propose a framework centered on Conditional Generation Accuracy (CGA).
Unlike standard evaluation where a model generates a full sequence on its own, CGA uses a teacher-forcing paradigm:
- The original (uncompressed) model generates a "golden" reference response to a prompt.
- The compressed model is then asked to predict the next token at every single step of that reference response, conditioned on the original model's prefix.
- The CGA score is simply the percentage of tokens the compressed model predicted correctly.
This approach is superior to metrics like Edit Distance or BERTScore because it isolates the model's predictive capability at every step. It prevents a single early mistake from "cascading" into a completely different (but potentially valid) sentence, which would unfairly penalize the model in traditional similarity checks.
Datasets
The researchers moved away from synthetic or multiple-choice datasets, opting for ShareGPT—a repository of real-world user prompts. To provide a granular view, they used DeepSeek R1 to categorize these prompts into ten domains (e.g., Math, Code, Law, Medicine, and various languages).
They also specifically curated Long-Context Subsets with prompts ranging from 8K to 24K tokens to test how compression holds up during extended reasoning or document analysis.
Key Insights and Ideas
- The Perplexity Trap: The paper proves that metrics like PPL can be deceptive. Methods like KV cache dropping can achieve "favorable" PPL scores while the actual output becomes incoherent.
- The Sparse Attention Surprise: One of the most surprising findings was that a simple Top-10% Sparse Attention baseline (retaining only the most important 10% of KV blocks) outperformed all evaluated INT4 quantization methods in terms of faithfulness.
- Negative Scaling in KV Dropping: While most compression methods perform better as the base model size increases (7B $\rightarrow$ 32B), SnapKV (a KV cache dropping method) showed "negative scaling"—it actually got worse at replicating the original model as the model grew larger.
- Context Length Sensitivity: Quantization and KV cache dropping show a marked decline in fidelity as the context window grows. Conversely, Sparse Attention actually improves with longer contexts, suggesting it is a more robust strategy for long-form tasks.
Key Results
The authors established a clear performance hierarchy across nine mainstream compression methods:
- Top Tier: Low-Precision Attention (specifically SageAttention and Top-10% Sparse).
- Middle Tier: INT4 Quantization (GPTQ consistently beat AWQ in fidelity) and 50% Pruning.
- Bottom Tier: KV Cache Dropping (SnapKV and H2O). These methods often had CGA scores so low they were deemed practically unusable for most tasks, despite what their original papers might claim.
Qualitatively, the paper provides "horror stories" of compression: AWQ models falling into infinite loops and SnapKV models producing entirely meaningless strings of characters (e.g., "!!!!!!!!!") when faced with specific prompts.
Limitations and Future Work
The authors acknowledge a few hurdles:
- Strictness: CGA requires exact token matching. If a compressed model chooses a perfect synonym that wasn't the original token, it is penalized. Future work could involve "semantically-aware" fidelity metrics.
- Computational Cost: Because CGA requires running both the original and compressed models (and uses teacher-forcing), it is more computationally expensive than a simple PPL check.
- Model Scope: The study focused on the Qwen2.5 family. While representative, the results might vary across different architectures like Llama or Mistral.
The authors have open-sourced their benchmark code and plan to launch a public leaderboard to encourage more honest reporting in the LLM compression community.
Summary updated