LAMP: Layerwise Adaptive Mixing of Predictors for Training-Free Few-Shot Vision-Language Adaptation
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: We're looking at the paper: "LAMP: Layerwise Adaptive Mixing of Predictors for Training-Free Few-Shot Vision-Language Adaptation".
Jane: The gist The LAMP framework proposes a training-free method that combines global and regional information from multiple encoder layers to improve few-shot vision-language adaptation.
Tom: First, who's behind it and why it matters.
Paper summary: Jane: So to summarize the paper LAMP: Layerwise Adaptive Mixing of Predictors for Training-Free Few-Shot Vision–Language Adaptation, it introduces a training-free framework that combines global and regional information from multiple encoder layers using independently fitted kernel predictors.
Tom: The main thing they claim is that this method uses complementary information from frozen encoders—the intermediate layers—to improve few-shot classification without needing any additional training steps for adaptation.
Lu: They show that this works by fitting these predictors separately to the same label residuals, and then selecting the mixture based on validation data in class-score space while preserving native feature dimensions without learned projections.
Meng: What this means practically is that you don't have to rely solely on the final global representation from one layer; you can look at those intermediate layers more effectively even if they have different dimensions.
Lalam: The mechanism involves a single forward pass per view supplying all descriptors, and then global and support-calibrated regional kernel predictors independently fit the same label residuals.
Tom: So they are fitting these predictors separately to the same label residuals, which is defined as the difference between support labels and CLIP’s initial scores.
Jane: Labeled validation data then select their mixture in class-score space, and this process preserves native feature dimensions without any learned projections.
Lu: LAMP-F extends this by adapting text-anchored class prototypes using those same global and regional predictors specifically with a cached response to update the fixed kernel residual predictions exactly.
Meng: That means they use a cached response to update the fixed kernel residual predictions exactly, avoiding repeated matrix factorization during prototype evaluation.
Tom: So ultimately, the paper is showing that combining these layer-specific predictions allows you to exploit complementary features from frozen encoders without gradient optimization or learned feature projections.
Conclusion: Jane: Wrapping up this discussion on LAMP: Layerwise Adaptive Mixing of Predictors for Training-Free Few-Shot Vision–Language Adaptation, the authors introduce both LAMP and its extension LAMP-F.
Tom: The main thing they claim is a training-free method that combines global and regional information from multiple encoder layers using independently fitted kernel predictors.
Lu: They show that this combination works by fitting these predictors separately to the same label residuals, and then selecting the mixture based on validation data in class-score space.
Meng: The implication for us is that you can leverage complementary visual information from frozen encoders without needing any expensive training steps for adaptation.
Jane: It means we don't have to rely solely on the final global representation; we can look at those intermediate layers more effectively, even if they are different dimensions.
Tom: And LAMP-F adds prototype adaptation with cached response updates to make that process even more efficient, so you can adapt class directions without recalculating everything from scratch.
Lu: So ultimately, this shows that separating the branch fitting from mixture selection makes predictions reusable across different candidates for a mixture.
Jane: It’s about showing how combining layer specific predictions can exploit complementary features from frozen encoders to improve few-shot classification.
Tom: And the results show state-of-the-art mean accuracy in their published training-free ResNet-fifty comparison at four, eight, and sixteen shots across eleven datasets.
Lu: The authors also noted that LAMP improves accuracy in all twelve combinations of seed, target dataset, and backbone under distribution shifts.
Jane: So for anyone listening who doesn't read the paper, it means we can get better performance by looking deeper into the encoder structure without needing to retrain the whole thing.
Zhipeng Yea, Feng Jianga, Qiufeng Wangb, Hao Lic
Taizhou Institute of Science and Technology · Xi’an Jiaotong-Liverpool University · University of Arizona
cs.CV
Submitted: 2026-10-15
Updated: 2026-10-15
License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
Importance score: 92/100
The gist: The gist The LAMP framework proposes a training-free method that combines global and regional information from multiple encoder layers to improve few-shot vision-language adaptation.
Key concepts
- Global and Regional Information
- This refers to the different types of visual descriptors obtained from an image. Global information comes from a single forward pass, like the final output of a Vision Transformer. Regional information is extracted from intermediate layers within the encoder, capturing finer details.
- Kernel Predictors
- These are independently fitted models that predict label residuals. The global predictor and regional predictors are trained separately to fit the same residual error. This allows each layer's prediction to be useful for correcting the initial score without needing a shared learned projection.
- LAMP-F Extension
- This extension adapts text-anchored class prototypes by using a cached response. It precisely updates fixed-kernel residual predictions by accounting for both the initial scores and residual corrections through a cached linear response, avoiding repeated calculations.
Terminology
Summary
The gist The LAMP framework proposes a training-free method that combines global and regional information from multiple encoder layers to improve few-shot vision-language adaptation.
How it works
LAMP introduces a training-free framework that combines global and regional information from multiple encoder layers using independently fitted kernel predictors LAMP, Layerwise Adaptive Mixing of Predictors for Training-Free Few-Shot Vision–Language Adaptation, page 1. A single forward pass per view supplies all descriptors A single forward pass per view supplies all descriptors, page 1. Global and support-calibrated regional kernel predictors independently fit the same label residuals Global and support-calibrated regional kernel predictors independently fit the same label residuals, page 1. Labeled validation data select their mixture in class-score space, preserving native feature dimensions without learned projections Labeled validation data select their mixture in class-score space, preserving native feature dimensions without learned projections, page 1. LAMP uses complementary information from several layers without gradient optimization or learned feature projections LAMP uses complementary information from several layers without gradient optimization or learned feature projections, page 1.
Key Components and Mechanism
The core idea is to combine predictions from different layers in a shared class-score space, where each predictor outputs a score for the same set of classes Different layers provide different measures of image similarity, but each predictor outputs a score for the same set of classes. The method leverages the fact that predictions can be combined while preserving the original feature dimensions Fitting these predictors separately also allows their outputs to be reused when selecting the mixture, so each candidate mixture does not require a new fit.
The process involves several steps for a single query q, where frozen CLIP encodes visual representations and regional descriptors are extracted from intermediate layers A single encoder pass per view yields a global descriptor and regional descriptors from three layers of a Vision Transformer (ViT) or ResNet. The global predictor and three regional predictors independently fit the same label residual, which is defined as the difference between the support labels and CLIP’s initial scores
Each regional kernel is calibrated against the support set Labeled validation data select the mixture of global and regional corrections.
LAMP-F Extension
The extension, LAMP-F, adapts text-anchored class prototypes while retaining the selected kernels and mixture weights LAMP-F further adapts text-anchored class prototypes while retaining the selected kernels and mixture weights, page 1. It uses a cached response to update the fixed-kernel residual predictions exactly
LAMP-F uses a cached response to update the fixed-kernel residual predictions exactly, page 1. This is achieved by accounting for both the initial scores and residual corrections through a cached linear response, avoiding repeated matrix factorization during prototype evaluation LAMP-F further adapts text-anchored class prototypes while retaining the selected kernels and mixture weights, page 1.
Performance and Contributions
LAMP achieves state-of-the-art mean accuracy among the compared training-free ResNet-50 methods at 4, 8, and 16 shots, reaching 78.73% at 16 shots
LAMP achieves state-of-the art mean accuracy among the compared training-free ResNet-50 methods at 4, 8, and 16 shots, reaching 78.73% at 16 shots
, page 1. LAMP improves over a paired global-feature-only baseline by an average of 1.14 and 1.59 percentage points on ViT and ResNet-50
Averaged across five support budgets, LAMP improves over a paired global-feature-only baseline by an average of 1.14 and 1.59 percentage points on ViT and ResNet-50
page 2. LAMP achieves state-of-the art mean accuracy among the compared training-free ResNet-50 methods at 4, 8, and 16 shots, reaching 78.73% at 16 shots
, page 1.
The contributions include:
We introduce LAMP, a training-free method that combines global and regional information from multiple encoder layers using independently fitted kernel predictors
We develop LAMP-F, which combines prototype adaptation with the same global and regional predictors
We demonstrate state-of-the art mean accuracy in the published training-free RN50 comparison at 4, 8, and 16 shots across eleven datasets
Analysis of Gains
Controlled experiments identify multi-layer integration as the main source of improvement
Controlled experiments identify multi-layer integration as the main source of improvement, page 1. The paper demonstrates that combining layer-specific predictions can exploit complementary features from frozen encoders to improve few-shot classification
These findings show that combining layer-specific predictions can exploit complementary features from frozen encoders to improve few-shot classification, page 1.
The analysis of performance gains shows that prototype adaptation and native-layer integration thus benefit different tasks: the former adjusts class directions, while the latter changes how support evidence is used to correct the initial CLIP scores
Prototype adaptation benefits a different set of tasks, with its largest 4-shot gains occurring on SUN397, at 5.620 points with ViT and 6.715 with RN50
LAMP-F further improves the means to 68.83
for RN50 LAMP-F further improves the means to 68.83
for RN50, page 12.
Computational Considerations
The computational cost is noted, stating that LAMP increases single-image latency from 14.22 to 64.83 ms on ViT-B/16
LAMP increases single-image latency from 14.22 to 64.83 ms on ViT-B/16, page 20. Dense fitting requires O(N 2) storage and O(N 3) factorization per branch
Dense fitting requires O(N 2) storage and O(N 3) factorization per branch
, page 20. LAMP-F also stores prototype responses, increasing peak allocated GPU memory to 8.56 GiB
with ViT LAMP-F also stores prototype responses, increasing peak allocated GPU memory to 8.56 GiB
with ViT, page 20.
The paper concludes that LAMP provides a way to combine features of different dimensions without learning a shared projection Beyond these accuracy gains, LAMP provides a way to combine features of different dimensions without learning a shared projection, page 22. The separation of branch fitting, score fusion, and prototype updates offers a foundation for studying task-specific layer selection and developing more scalable residual prediction methods The separation of branch fitting, score fusion, and prototype updates offers a foundation for studying task-specific layer selection and developing more scalable residual prediction methods, page 22.
Future Directions
The work examines adaptation across encoder architectures, depths, and patch sizes
To examine adaptation across encoder architectures, depths, and patch sizes, page 18. The results demonstrate that native-layer corrections remain useful under both distribution shifts
LAMP improves accuracy in all twelve combinations of seed, target dataset, and backbone LAMP improves accuracy in all twelve combinations of seed, target dataset, and backbone, page 20.
The paper also tests transfer to new domains without fitting on target data and measures deployment costs The paper also tests transfer to new domains without fitting on target data and measures deployment costs, page 18. LAMP improves accuracy in all twelve combinations of seed, target dataset, and backbone, page 20.
The final results show that native-layer corrections remain useful under both distribution shifts
LAMP improves accuracy in all twelve combinations of seed, target dataset, and backbone under distribution shifts LAMP improves accuracy in all twelve combinations of seed, target dataset, and backbone under distribution shifts.
The paper is supported by the Young Scientific and Technological Talent Support Program under the Taizhou Fengcheng Talent Plan This work was supported by the Young Scientific and Technological Talent Support Program under the Taizhou Fengcheng Talent Plan, page 23. The authors used OpenAI ChatGPT/Codex to assist with language editing, document organization, experimental-code preparation, and consistency checks against the recorded experiments During manuscript preparation, the authors used OpenAI ChatGPT/Codex to assist with language editing, document organization, experimental-code preparation, and consistency checks against the recorded experiments. The paper is supported by the Young Scientific and Technological Talent Support Program under the Taizhou Fengcheng Talent Plan This work was supported by the Young Scientific and Technological Talent Support Program under the Taizhou Fengcheng Talent Plan, page 23.
Improvements for AI systems
- Bold header: Training-Free Multi-Layer Feature Fusion
This system can combine global and regional information from multiple encoder layers
to create a richer representation, which is shown to improve performance by leveraging complementary features from frozen encoders.
- Bold header: Independent Kernel Prediction and Score Fusion
The framework allows for Global and support-calibrated regional kernel predictors independently fit the same label residuals,
enabling the system to combine predictions in class-score space while preserving native feature dimensions without learned projections.
- Bold header: Prototype Adaptation with Cached Response
The LAMP-F extension enables adaptation by using a cached response to exactly update both the initial class scores and residual corrections
when prototypes change, allowing for efficient and exact updates to class representations.
Sources
- Fine-Grained Visual Classification of Aircraft
- UCF101: A Dataset of 101 Human Actions Classes From Videos in The Wild
Related papers
- Loss Knows Best: Detecting Annotation Errors in Videos via Loss Trajectories
- AnchorWeave: World-Consistent Video Generation with Retrieved Local Spatial Memories
- Benchmarking the Robustness of Foundation Models for Mammography under Domain Shift
- MambaX-Net: Dual-Input Mamba-Enhanced Cross-Attention Network for Longitudinal MRI Segmentation
- TeleOCR: Navigating Document Parsing Across Digital and Camera-Captured Documents
- A Survey on Efficient Vision-Language-Action Models