arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.03535cs.CVcs.LG
收藏

面向少样本学习的任务属性距离:理论分析与应用

Task Attribute Distance for Few-Shot Learning: Theoretical Analysis and Applications

University of Chinese Academy of Sciences(中国科学院大学);Peng Cheng Laboratory(鹏城实验室)

Minyang Hu, Hong Chang, Zong Guo, Bingpeng Ma, Shiguan Shan, Xilin Chen

AI总结:

该研究提出与模型无关的任务属性距离(TAD)以量化少样本学习中训练与新任务的相关性,推导泛化误差界建立其与任务适配难度的理论关联,经三个基准实验验证有效性,并拓展至数据增强等应用。

摘要:

少样本学习(FSL)旨在利用相关训练任务的经验,通过极少的标注样本学习新任务。本文通过深入探讨两个关键问题来理解少样本学习:(1)如何量化训练任务与新任务之间的关系?(2)这种关系如何影响不同模型在新任务上的适配难度?为回答这两个问题,我们提出了基于属性构建的任务属性距离(TAD),作为量化任务相关性的度量指标。与现有许多度量指标不同,TAD与模型无关,可适用于不同的少样本学习模型。随后,我们利用TAD度量建立了任务相关性与任务适配难度之间的理论关联。通过推导新任务上的泛化误差界,我们揭示了TAD如何衡量少样本学习模型在新任务上的适配难度。为验证我们的TAD度量及理论发现,我们在三个基准数据集上开展了实验。实验结果证实,TAD度量能够有效量化任务相关性,并反映各类少样本学习方法在新任务上的适配难度,即便其中部分方法并未显式学习属性,或无法获取人工标注的属性。最后,我们展示了所提TAD度量的两个应用场景:数据增强和测试时干预,进一步验证了其有效性与普遍适用性。源代码可在https://github.com/hu-my/TaskAttributeDistance获取。

英文摘要:

Few-shot learning (FSL) aims to learn novel tasks with very few labeled samples by leveraging experience from \emph{related} training tasks. In this paper, we try to understand FSL by delving into two key questions: (1) How to quantify the relationship between \emph{training} and \emph{novel} tasks? (2) How does the relationship affect the \emph{adaptation difficulty} on novel tasks for different models? To answer the two questions, we introduce Task Attribute Distance (TAD) built upon attributes as a metric to quantify the task relatedness. Unlike many existing metrics, TAD is model-agnostic, making it applicable to different FSL models. Then, we utilize TAD metric to establish a theoretical connection between task relatedness and task adaptation difficulty. By deriving the generalization error bound on a novel task, we discover how TAD measures the adaptation difficulty on novel tasks for FSL models. To validate our TAD metric and theoretical findings, we conduct experiments on three benchmarks. Our experimental results confirm that TAD metric effectively quantifies the task relatedness and reflects the adaptation difficulty on novel tasks for various FSL methods, even if some of them do not learn attributes explicitly or human-annotated attributes are not available. Finally, we present two applications of the proposed TAD metric: data augmentation and test-time intervention, which further verify its effectiveness and general applicability. The source code is available at https://github.com/hu-my/TaskAttributeDistance.

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

↑