Pruning via Causal Attribution Preserves Reasoning Performance in Large Language Models
This paper introduces Causal Attribution Pruning (CAP), a training-free method that preserves large language model reasoning performance at moderate sparsity levels by identifying and pruning weights based on the causal impact of attention heads rather than simple magnitude or activation metrics.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine a Large Language Model (LLM) as a massive, bustling library containing billions of books (parameters). To answer a complex question, the library sends a team of researchers (attention heads) to find the right information and piece it together. The problem is that this library is so huge that it takes a long time and a lot of energy to run, making it hard to use on everyday devices.
The paper introduces a new way to shrink this library without breaking its ability to solve hard puzzles. They call this method Causal Attribution Pruning (CAP).
Here is how it works, using simple analogies:
The Problem with Old Methods
Previous ways of shrinking these models were like a librarian who just throws away books with the thinnest spines or the least amount of ink on the cover. They assumed, "If a book looks small or unimportant, it must not be needed."
But in the world of reasoning, this is a mistake. A tiny, thin book might contain the one crucial fact needed to solve a math problem, while a huge, thick book might just be full of fluff. If you throw away the thin book based on its size, the model loses its ability to think logically.
The New Solution: The "What If?" Test
CAP takes a different approach. Instead of guessing based on size, it runs a series of "What If?" experiments.
The Calibration Phase (The Test Run):
The researchers give the model a small set of tricky logic puzzles (like math word problems or science questions). Then, they play a game of "hide and seek" with the model's internal researchers (the attention heads).- They temporarily "mask" (hide) one specific researcher.
- They ask the model to solve the puzzles again.
- The Score: If hiding that one researcher causes the model to fail the puzzles, that researcher is marked as "Critical." If the model solves the puzzles just fine without them, that researcher is marked as "Redundant."
The Pruning Phase (The Cleanup):
Once they know which researchers are critical, they don't just fire whole teams. Instead, they look at the individual notes and tools (weights) inside every researcher's desk.- If a researcher is Critical, their tools are protected, even if the tools look small or unimportant.
- If a researcher is Redundant, their tools are fair game to be thrown away.
- They then remove the specific tools that are least important, creating a "sparse" model that is much smaller but still keeps the key thinkers intact.
The Results: Saving the Logic
The researchers tested this on two popular models (Llama-3 and Mistral) and compared it to the old "size-based" method (called Wanda).
- The Sweet Spot (10% to 20% shrinkage): When they shrank the models by a moderate amount, CAP was a huge winner. On a science reasoning test called ARC-Challenge, the new method kept the model's intelligence 61% better than the old method. It successfully kept the "logic circuits" alive while removing the fluff.
- The Limit (50% shrinkage): When they tried to shrink the model by half, things got messy. The method worked well for the "thinking" parts (attention heads) but struggled with the "fact-storing" parts (MLP layers). Because the method didn't have a fine-grained way to test the fact-storing parts, it accidentally threw away too much, causing the model to collapse.
The Bottom Line
Think of CAP as a smart editor who doesn't just cut text based on font size. Instead, the editor reads the story, asks, "What happens if I delete this sentence?" and only cuts the sentences that don't change the plot.
This allows the model to become smaller and faster while keeping its ability to solve complex, multi-step reasoning problems intact—but only if you don't cut too deep. If you try to cut too much, the method breaks down because it doesn't fully understand how to protect the model's memory banks.
Key Takeaway: To keep an AI good at thinking, you need to measure what it actually does when parts are missing, not just how big those parts look.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.