Entropy Reveals Block Importance in Masked Self-Supervised Vision Transformers
This paper introduces Gardener, a data-free, one-shot pruning method that leverages the information entropy of pretrained block weights to identify and remove redundant blocks in masked self-supervised vision transformers, achieving significant model compression with minimal impact on downstream performance.
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 you have a massive, incredibly smart robot brain (a "Vision Transformer") that has spent years learning to understand the world just by looking at millions of unlabeled videos. This brain is huge, containing 12 distinct layers of thinking blocks, and it's so big that it's hard to fit into smaller devices like phones or drones.
The big question the authors asked was: Do we really need all 12 of these thinking blocks to do a good job? Or are some of them just "dead weight" that we could throw away?
The Problem: The "Oracle" is Too Slow
Usually, to figure out which blocks are important, you have to play a game of "remove and test." You take out one block, test the robot, take out another, test again, and repeat this 12 times. This is like trying to find the best ingredients in a giant soup by tasting the soup after removing one ingredient at a time. It works, but it takes forever and requires a lot of computing power (and often, you need a specific dataset to test on).
The Solution: The "Gardener" Method
The authors, Peihao Xiang and his team, came up with a clever shortcut called Gardener.
Instead of tasting the soup (testing the model with data), they decided to just look at the recipe (the model's internal weights) and guess which ingredients are essential.
They discovered a secret code hidden in the math of the robot's brain: Entropy.
- The Analogy: Imagine each thinking block is a library of books.
- Low Entropy (The "Boring" Block): This library only has copies of the exact same book. It's very repetitive and uniform. The authors found these blocks are like "redundant librarians"—you can fire them, and the library still runs fine.
- High Entropy (The "Busy" Block): This library has a huge, diverse mix of different books, scattered all over the shelves. It's chaotic and varied. The authors found these blocks are the "super-librarians" that hold the most unique and important knowledge.
How Gardener Works
- No Data Needed: Gardener doesn't need to see a single video or image. It just looks at the numbers inside the pre-trained model.
- One-Shot Decision: It calculates a "chaos score" (entropy) for every single block.
- The Pruning: It immediately identifies the blocks with the lowest "chaos scores" (the most repetitive ones) and removes them. It does this in a single pass, instantly.
The Results
The team tested this on a video recognition model called VideoMAE.
- The Shock: They found that you could cut out up to 91.7% of the blocks (leaving only a tiny fraction) and the robot could still recognize human actions almost as well as the full-sized version!
- The Comparison: Their "Gardener" method was just as good as the slow, expensive "taste-the-soup" method (sensitivity-based pruning) but was thousands of times faster because it didn't need any data or retraining.
Why This Matters
This paper proves that these giant AI brains are full of redundancy. They aren't all equally important. By using a simple mathematical measurement of "how mixed up" the numbers are, we can instantly trim the fat off these massive models, making them small enough to run on everyday devices without needing to retrain them or access private data.
In short: You don't need to taste the soup to know which ingredients are useless; you just need to look at how the ingredients are stored.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.