arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2611.07063cs.CVcs.AI
收藏

SD-LoRA:将训练时结构蒸馏融入LoRA的小样本视觉语言适配方法

SD-LoRA: Training-Time Structural Distillation into LoRA for Few-Shot Vision-Language Adaptation

Edge Hill University(边山大学)

Mohammed Rahman Sherif Khan Mohammad, Ardhendu Behera, Sandip Pradhan, Swagat Kumar, Yonghuai Liu

AI总结:

提出SD-LoRA框架,仅训练时用异构图教师建模ViT令牌间关系,通过隐式蒸馏将结构偏差迁移到CLIP-LoRA,推理时弃用图教师,在11个小样本基准上较CLIP-LoRA基线获显著性能提升且推理无额外计算。

摘要:

小样本视觉语言模型适配需平衡两个相互竞争的目标:从极有限的监督中学习细粒度视觉区分,以及保留使冻结CLIP类模型适合部署的效率。现有轻量适配方法(包括提示调优、LoRA和基于缓存的适配器)通常监督全局图像嵌入,因此未充分利用令牌级结构。相反,感知结构的方法会利用局部证据,但通常会引入额外的推理时计算。我们提出SD-LoRA,这是一种结构蒸馏框架,仅在训练期间使用令牌级图推理,并将其效果迁移到轻量LoRA适配的CLIP模型中。训练期间,异构图教师在高分辨率ViT令牌上建模补丁-补丁、全局-局部以及视觉-文本关系。SD-LoRA不在测试时保留该图,而是通过隐式蒸馏和原型预测对齐将其结构偏差迁移到共享CLIP-LoRA主干,其中原型预测对齐将图条件表示与源自支持集的类原型对齐。推理时,图教师被丢弃;预测仅需单次CLIP-LoRA前向传播和基于缓存的分类器。在11个小样本基准上,SD-LoRA在1/2/4/8/16-shot设置下分别比强CLIP-LoRA基线提升2.4/1.8/3.0/2.4/2.0个百分点,且推理时无需额外图计算。在基类到新类泛化、跨数据集迁移、分布外鲁棒性和校准方面的结果进一步表明,训练时结构监督可同时提升准确性和迁移可靠性。代码可在该https URL获取。

英文摘要:

Few-shot adaptation of vision-language models must balance two competing goals: learning fine-grained visual distinctions from very limited supervision and preserving the efficiency that makes frozen CLIP-like models attractive for deployment. Existing lightweight adaptation methods, including prompt tuning, LoRA, and cache-based adapters, typically supervise global image embeddings and therefore underuse token-level structure. Conversely, structure-aware methods exploit local evidence but often introduce additional inference-time computation. We propose SD-LoRA, a structural distillation framework that uses token-level graph reasoning only during training and transfers its effects into a lightweight LoRA-adapted CLIP model. During training, a heterogeneous graph teacher models patch-patch, global-local, and visual-text relations over high-resolution ViT tokens. Rather than retaining this graph at test time, SD-LoRA transfers its structural bias into the shared CLIP-LoRA backbone through implicit distillation and Prototype Predictive Alignment, which aligns graph-conditioned representations with support-derived class prototypes. At inference, the graph teacher is discarded; prediction requires only a single CLIP-LoRA forward pass and a cache-based classifier. Across 11 few-shot benchmarks, SD-LoRA improves over a strong CLIP-LoRA baseline by 2.4/1.8/3.0/2.4/2.0 percentage points in the 1/2/4/8/16-shot settings, respectively, without additional graph computation at test time. Results on base-to-novel generalization, cross-dataset transfer, out-of-distribution robustness, and calibration further show that training-time structural supervision improves both accuracy and transfer reliability. Code is available at https://github.com/MR-Sherif/SD-LoRA.git.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑