← Latest papers
🤖 machine learning

CAPA: Contribution-Aware Pruning and FFN Approximation for Efficient Large Vision-Language Models

This paper introduces CAPA, an efficient framework for Large Vision-Language Models that improves inference speed by pruning low-contribution visual tokens identified via attention contribution metrics and approximating redundant Feed-Forward Network computations in intermediate layers.

Original authors: Samyak Jha, Junho Kim

Published 2026-02-03
📖 5 min read🧠 Deep dive

Original authors: Samyak Jha, Junho Kim

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 Vision-Language Model (LVLM) as a highly intelligent, but incredibly busy, art critic. When you show it a picture and ask a question, it doesn't just "look" at the image; it breaks the image down into thousands of tiny puzzle pieces (called visual tokens). It then reads these pieces alongside your text, trying to figure out what's important.

The problem is that this critic is overwhelmed. It tries to process every single piece of the puzzle with the same intense focus, even the boring, empty background parts. This makes the process slow and expensive, like trying to read a whole encyclopedia just to find one specific fact.

The paper introduces a new method called CAPA (Contribution-Aware Pruning and FFN Approximation) to help this critic work faster without getting confused. Think of CAPA as a smart assistant that teaches the critic two new tricks:

Trick 1: The "Real Impact" Filter (Contribution-Aware Pruning)

The Old Way (The Flawed Intuition):
Previously, the critic decided which puzzle pieces to ignore based on how much "attention" they got. If a piece of the image (like a patch of blue sky) got a lot of attention from the text, the critic kept it. If it got little attention, the critic threw it away.

  • The Problem: This is like judging a movie scene only by how loudly the audience cheered. Sometimes, a character might get a lot of noise (attention) but actually say nothing important. In the paper's terms, these are called "Probability Dumps." They are loud but useless. Conversely, some quiet pieces might be doing all the heavy lifting but getting ignored because they weren't "loud" enough.

The CAPA Way (The Smart Filter):
CAPA changes the rule. Instead of just listening to the "noise" (attention score), it checks the "Real Impact" (Attention Contribution).

  • The Analogy: Imagine a construction site. The "noise" is how many people are shouting at a specific brick. The "impact" is how much weight that brick actually carries.
    • Type A (Probability Dumps): A brick that everyone is shouting at, but it's made of styrofoam. It carries no weight. CAPA says, "Throw this away; it's just noise."
    • Type B (Structural Anchors): A brick that no one is shouting at, but it's holding up the entire roof. CAPA says, "Keep this! It's doing the real work."
  • The Result: CAPA keeps the heavy-lifting bricks and throws away the styrofoam ones, ensuring the critic doesn't lose the important details while ignoring the empty space.

Trick 2: The "Shortcut" for Boring Tasks (FFN Approximation)

The Old Way (The Heavy Lifting):
After looking at the puzzle pieces, the model has to process them through a complex brain circuit called a Feed-Forward Network (FFN). Think of this as a very expensive, high-powered calculator that performs complex math on every single piece of data.

  • The Problem: The paper found that for image pieces (visual tokens), this complex calculator is often overkill. In the middle layers of the model, the math the calculator does is almost just a straight line (linear). It's like using a supercomputer to multiply 2 by 2. It's a waste of energy.

The CAPA Way (The Shortcut):
CAPA identifies these "boring" layers where the complex math isn't actually needed.

  • The Analogy: Imagine you have a chef who uses a $10,000 industrial blender to chop a single leaf of lettuce. It works, but it's inefficient. CAPA says, "In this specific step, just use a simple knife."
  • The Execution: Instead of running the expensive, complex math, CAPA replaces it with a simple, lightweight "Hadamard product" (a fancy term for a simple, element-by-element multiplication). It's like swapping the industrial blender for a quick hand-chop.
  • The Result: The model saves a massive amount of energy (computation) because it stops using the heavy machinery when a simple tool will do the job just as well.

The Grand Finale: How CAPA Wins

By combining these two tricks, CAPA creates a super-efficient system:

  1. It prunes the junk: It removes the "styrofoam bricks" (useless visual tokens) that were wasting time.
  2. It simplifies the math: It swaps the "industrial blender" (expensive calculations) for a "simple knife" (lightweight math) where it's safe to do so.

The Outcome:
The paper tested this on several popular AI models (like LLaVA and Qwen). The results showed that CAPA is like a marathon runner who sheds unnecessary weight and switches to a more efficient stride.

  • It runs much faster (up to 78% less computational work).
  • It doesn't trip over the finish line (it keeps the accuracy high).
  • It handles complex tasks (like reading text in an image or solving puzzles) better than other methods that just guess which pieces to throw away.

In short, CAPA teaches the AI to stop shouting at empty space and stop using a sledgehammer to crack a nut, making it faster and smarter without losing its edge.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →