Skip to main content
QUICK REVIEW

[论文解读] ATRM: Attention-based Task-level Relation Module for GNN-based Few-shot Learning.

Yurong Guo, Zhanyu Ma|arXiv (Cornell University)|Jan 25, 2021
Domain Adaptation and Few-Shot LearningComputer Science参考文献 23被引用 1
一句话总结

本文提出 ATRM,一种基于注意力的任务级关系模块,通过利用任务级上下文而非直接的样本间嵌入来建模样本间关系,从而增强基于图神经网络(GNN)的小样本学习。通过可学习注意力机制捕捉样本与任务之间的关系,ATRM 在四个基准数据集上均提升了小样本分类的准确率。

ABSTRACT

Recently, graph neural networks (GNNs) have shown powerful ability to handle few-shot classification problem, which aims at classifying unseen samples when trained with limited labeled samples per class. GNN-based few-shot learning architectures mostly replace traditional metric with a learnable GNN. In the GNN, the nodes are set as the samples embedding, and the relationship between two connected nodes can be obtained by a network, the input of which is the difference of their embedding features. We consider this method of measuring relation of samples only models the sample-to-sample relation, while neglects the specificity of different tasks. That is, this method of measuring relation does not take the task-level information into account. To this end, we propose a new relation measure method, namely the attention-based task-level relation module (ATRM), to explicitly model the task-level relation of one sample to all the others. The proposed module captures the relation representations between nodes by considering the sample-to-task instead of sample-to-sample embedding features. We conducted extensive experiments on four benchmark datasets: mini-ImageNet, tiered-ImageNet, CUB-200-2011, and CIFAR-FS. Experimental results demonstrate that the proposed module is effective for GNN-based few-shot learning.

研究动机与目标

  • 为解决现有基于图神经网络的小样本学习方法仅建模样本间关系、忽略任务级上下文的局限性。
  • 通过在关系建模过程中显式引入任务级信息,提升小样本分类性能。
  • 开发一种可学习模块,基于样本与当前任务的相关性来捕捉样本间关系,而非仅依赖嵌入差异。

提出的方法

  • ATRM 模块用任务感知注意力机制替代传统的样本间关系计算,基于样本与任务的交互关系进行建模。
  • 关系计算的输入特征源自样本嵌入的差异,但注意力机制会关注特定于任务的上下文向量以加权关系。
  • 该模块通过从任务嵌入和样本特征中提取查询(query)、键(key)和值(value)投影,计算每个样本与任务之间的注意力分数。
  • 最终的关系表征是样本特征的加权聚合,其中权重由任务感知注意力决定,从而实现在每个任务上动态建模关系。
  • ATRM 集成于图神经网络框架中,其中节点代表支持集样本,边通过任务感知关系模块进行更新。

实验结果

研究问题

  • RQ1在基于图神经网络的框架中,建模任务级关系如何提升小样本分类性能?
  • RQ2基于注意力的模块能否有效捕捉超越简单嵌入差异的、与任务相关的样本间关系?
  • RQ3所提出的 ATRM 是否在多样化的小样本学习基准上具备良好的泛化能力?

主要发现

  • ATRM 模块在 mini-ImageNet、tiered-ImageNet、CUB-200-2011 和 CIFAR-FS 基准上均达到当前最优性能。
  • 该方法通过显式建模任务级上下文,显著优于仅依赖样本间关系的标准 GNN,从而提升了小样本分类准确率。
  • 消融实验验证了基于注意力的任务级关系建模对性能提升具有显著贡献。
  • 所提出的模块在全部四个基准数据集上均表现出一致的性能提升,表明其具备强大的泛化能力。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。