LAMP:用于无训练小样本视觉-语言适配的预测器分层自适应混合
LAMP: Layerwise Adaptive Mixing of Predictors for Training-Free Few-Shot Vision-Language Adaptation
AI总结:
本研究提出无训练框架LAMP及变体LAMP-F,通过分层自适应混合编码器的全局与区域特征,在11个数据集及ViT、ResNet骨干网络上实现了小样本分类的最优性能。
摘要:
小样本适配通常依赖编码器的最终全局表示,导致中间层的互补信息未被充分利用。由于各层特征维度不同且对不同任务的有用性存在差异,将这些特征结合起来颇具挑战性。我们提出LAMP(Layerwise Adaptive Mixing of Predictors,预测器分层自适应混合),这是一种无训练框架,可结合多个编码器层的全局和区域信息。每个视图仅需一次前向传播即可提供所有描述符。全局和经支持集校准的区域核预测器会独立拟合相同的标签残差。带标签的验证数据在类别得分空间中选择它们的混合方式,保留原生特征维度,无需学习投影。LAMP-F进一步适配以文本为锚点的类别原型,利用缓存的响应精确更新固定核残差预测。实验覆盖11个数据集及ViT和ResNet骨干网络。在4、8、16样本设置下,LAMP在对比的已发表无训练ResNet-50方法中达到了最优平均准确率,16样本时为78.73%。在5种支持预算下取平均,LAMP相较于仅用全局特征的配对基线,在ViT-B/16和ResNet-50上分别提升1.14和1.59个百分点;LAMP-F将这些增益提升至1.96和2.54个百分点,16样本准确率分别达到83.57%和79.10%。控制实验确认多层集成是主要改进来源,并考察了池化、校准、验证标签及计算成本。这些发现表明,结合特定层的预测可利用冻结编码器的互补特征,提升小样本分类性能。
英文摘要:
Few-shot adaptation often relies on an encoder's final global representation, leaving complementary information in intermediate layers underused. Combining these features is challenging because their dimensions can differ and their usefulness varies across tasks. We propose LAMP, Layerwise Adaptive Mixing of Predictors, a training-free framework that combines global and regional information from multiple encoder layers. A single forward pass per view supplies all descriptors. Global and support-calibrated regional kernel predictors independently fit the same label residuals. Labeled validation data select their mixture in class-score space, preserving native feature dimensions without learned projections. LAMP-F further adapts text-anchored class prototypes, using a cached response to update the fixed-kernel residual predictions exactly. Experiments cover eleven datasets and ViT and ResNet backbones. LAMP achieves state-of-the-art mean accuracy among the compared published training-free ResNet-50 methods at 4, 8, and 16 shots, reaching 78.73% at 16 shots. Averaged across five support budgets, LAMP improves over a paired global-feature-only baseline by 1.14 and 1.59 percentage points on ViT-B/16 and ResNet-50; LAMP-F raises these gains to 1.96 and 2.54 points. LAMP-F reaches 16-shot accuracies of 83.57% and 79.10%, respectively. Controlled experiments identify multi-layer integration as the main source of improvement and examine pooling, calibration, validation labels, and computational cost. These findings show that combining layer-specific predictions can exploit complementary features from frozen encoders to improve few-shot classification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。