TL;DR
Blockwise distillation methods often assume that the performance impact of replacing multiple network blocks is simply the sum of individual impacts. This paper demonstrates that this "additive assumption" breaks down sharply at aggressive compression levels (below 60% latency) and introduces a "hybrid search" that repairs these errors at a fraction of the cost of modeling all block interactions.
What Problem Does This Paper Address?
Distillation-based Neural Architecture Search (NAS) is a popular recipe for compressing large models. The standard approach (used in methods like DNA, DONNA, and LANA) involves training cheaper alternatives for individual blocks, scoring them in isolation, and then assembling a "child" network by solving an Integer Linear Program (ILP) that minimizes the sum of these scores.
The core assumption is additivity: that the total "damage" to a model is the sum of the damage from each replacement. While plausible when only a few blocks change, this assumption is rarely tested for aggressive compression where half the network might be replaced. If additivity fails, the search systematically picks combinations that look harmless individually but interact disastrously, leading to significant accuracy drops that fine-tuning cannot fully recover.
Methods
The authors investigate this assumption using DeiT-S and DeiT-B models across seven latency budgets (70% down to 40%). Their methodology includes:
- Pairwise IQP: An interaction-aware baseline that uses an Integer Quadratic Program to account for pairwise block interactions, requiring the measurement of thousands of block pairs.
- Error Decomposition: A novel framework that splits the additivity error into two parts:
- Metric Component: Error arising because KL divergence is a non-linear function of logit changes (even if the logits themselves add up perfectly).
- Functional Component: Error capturing the actual non-additive changes in the logits themselves (true block interaction).
- Hybrid Search: A new, efficient search strategy. It uses a "logit-sum predictor" (which sums cached logits from single-block replacements) to rank potential moves. It then only performs "real" network evaluations on the top-ranked candidates. This avoids the massive cost of measuring all possible block pairs.
Datasets
The study primarily uses ImageNet-100 (a 100-class subset of ImageNet) for detailed diagnostic studies and follow-up experiments. To ensure the findings generalize, the main results are reproduced on the full ImageNet-1k dataset.
Key Insights and Ideas
- The 60% Cliff: The additive assumption holds reasonably well at mild compression. However, as the latency budget drops from 60% to 55%, the accuracy gap between additive search and interaction-aware search jumps dramatically.
- Model-Dependent Failure Modes: The source of the error differs by model size. In the smaller DeiT-S, 59–65% of the error is "metric" (just the math of the KL score). In the larger DeiT-B, the "functional" component dominates (73–76%), meaning the blocks are actively interacting in complex ways.
- Ranking vs. Measuring: You don't need to measure every interaction to fix the search. The logit-sum predictor is a surprisingly good ranker. By ranking moves cheaply and only measuring the best ones, the Hybrid Search often outperforms the expensive pairwise IQP.
- The Score Bottleneck: At very high compression, even "perfect" search on pre-fine-tuning scores hits a wall. The authors found that further reducing the initial KL divergence doesn't consistently lead to better final accuracy, suggesting the initial distillation score itself becomes the limiting factor.
Key Results
- Accuracy Gaps: At aggressive budgets (55%–40%), the additive ILP trails the interaction-aware IQP by 3.3 to 16.6 top-1 percentage points on ImageNet-100.
- Hybrid Efficiency: The Hybrid Search achieves superior or comparable accuracy to the IQP while costing only 13–27% of the IQP’s pair-measurement stage in terms of forward passes.
- Generalization: On full ImageNet-1k, the Hybrid Search was significantly better than the IQP in 13 out of 14 experimental settings.
Limitations and Future Work
- Model Scope: The study is restricted to the DeiT (Vision Transformer) family. Whether these specific "break points" and error decompositions hold for CNNs or LLMs remains to be seen.
- Fine-tuning Schedule: Most experiments used a relatively short fine-tuning budget (2,000 steps). While a 10,000-step check showed the gaps persist, extremely long fine-tuning might behave differently.
- Hardware Specificity: Latency was measured on a single GPU type (RTX 5090); different architectures might show different latency-accuracy trade-offs.
- Future Direction: The authors suggest that improving the fidelity of the score (perhaps through short proxy fine-tunes, though their initial attempt was unsuccessful) is a more promising path for future gains than developing even more complex search algorithms.
Summary updated