arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.06993cs.LGcs.CV
收藏

CAPT:面向联邦长尾学习与视觉-语言模型的类感知提示微调

CAPT: Class-Aware Prompt Tuning for Federated Long-Tailed Learning with Vision-Language Model

Xiamen University(厦门大学);University College London(伦敦大学学院);University of Nottingham(诺丁汉大学);Zhejiang University(浙江大学)

Shihao Hou, Chikai Shang, Jiacheng Yang, Xinyi Shang, Shreyank N. Gowda, Yan Yan, Yang Lu

AI总结:

针对联邦学习中非IID数据与长尾分布并存导致尾部类别性能严重退化的问题,本文提出类感知提示学习框架CAPT,通过双提示机制与异构性感知客户端聚类策略,在保持整体准确率的同时显著提升尾部类别性能。

摘要:

有效处理非独立同分布(non-IID)数据与长尾分布同时出现的问题,仍然是联邦学习中的一个关键挑战。虽然微调视觉-语言模型(VLMs)(如 CLIP)已被证明在应对非 IID 数据挑战方面具有前景,但在联邦长尾场景中,这种方法会导致尾部类别的性能严重退化。在强非 IID 数据分布与长尾类别不平衡的复合影响下,VLM 微调甚至可能无法带来任何改进。为了解决这一问题,我们提出了面向联邦长尾学习的类感知提示学习(CAPT),这是一个利用预训练 VLM 来有效同时处理数据异构性和长尾分布的新型框架。CAPT 引入了一种双提示机制,将通用提示与类感知提示协同结合,使框架能够在保留类别特定知识的同时捕捉全局趋势。为了更好地在客户端之间聚合和共享知识,我们引入了一种异构性感知的客户端聚类策略,该策略根据客户端的数据分布对其进行分组,从而实现高效的协作与知识共享。在具有不同数据异构性程度的多个长尾数据集上进行的大量实验表明,CAPT 在不牺牲整体准确率的情况下显著提升了尾部类别性能,在联邦长尾学习场景中优于当前最先进的方法。

英文摘要:

Effectively addressing the joint effects of non-IID data and long-tailed distribution remains a key challenge in federated learning. While fine-tuning vision-language models (VLMs) like CLIP has shown promise in tackling non-IID scenarios, it often degrades tail-class performance when both heterogeneity and long-tailed distributions are present, even leading to overall performance falling below the zero-shot baseline. To overcome this, we propose Class-Aware Prompt Tuning (CAPT), a novel framework leveraging pre-trained VLMs to effectively learn from non-IID and long-tailed data. Specifically, CAPT introduces a dual-prompt mechanism that synergizes class-aware and general prompts, enabling the model to preserve class-specific information while capturing global trends. Furthermore, to guide the prompts in learning targeted knowledge, we propose a heterogeneity-aware clustering strategy with two key components: similarity-based clusters aggregate class-aware prompts to reinforce tail-specific knowledge, while heterogeneity-based clusters aggregate general prompts to balance diverse representations and promote robust generalization. Extensive experiments demonstrate that CAPT significantly outperforms state-of-the-art methods, e.g., by improving overall accuracy by 6.1% on ImageNet-LT and 8.8% on Places-LT over baselines, while also substantially enhancing tail-class performance across other benchmarks.

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

↑