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

Transformers中用于少样本学习的属性代理学习和谱令牌池

Attribute Surrogates Learning and Spectral Tokens Pooling in Transformers for Few-shot Learning

Fudan University(复旦大学);Shanghai Key Lab of Intelligent Information Processing(上海市智能信息处理重点实验室);The University of Hong Kong(香港大学)

Yangji He, Weihan Liang, Dongyang Zhao, Hong-Yu Zhou, Weifeng Ge, Yizhou Yu, Wenqiang Zhang

摘要:

本文提出了新的分层级联Transformers,可以通过属性代理学习和频谱令牌池来提高数据效率。视觉Transformer最近被认为是卷积神经网络用于视觉识别的有前途的替代方案。但是当没有足够的数据时,它会陷入过拟合,表现出较差的性能。为了提高数据效率,我们提出了分层级联的Transformers,利用内在的图像结构,通过频谱令牌池和优化可学习的参数,通过潜在的属性代理。利用图像的固有结构,通过频谱令牌池化来减少前景内容和背景噪声之间的模糊性。而属性替代学习方案的目的是受益于丰富的视觉信息的图像标签对,而不是简单的视觉概念分配的标签。我们的分层级联Transformers,称为HC Transformers,是建立在一个自监督学习框架DINO,并在几个流行的少样本学习基准测试。在归纳设置中,HCTransformers在miniImageNet上超过DINO基线9.7%的5向1次精度和9.17%的5向5次精度,这表明HCTransformers能够有效地提取区分特征。此外,HCTransformers在四个流行的基准数据集(包括miniImageNet,tieredImageNet,FC 100和CIFAR-FS)上的5路1次和5路5次设置中显示出明显优于SOTA Few-Shot分类方法的优势。训练的权重和代码可在https://github.com/StomachCold/HCTransformers上获得。

英文摘要:

This paper presents new hierarchically cascaded transformers that can improve data efficiency through attribute surrogates learning and spectral tokens pooling. Vision transformers have recently been thought of as a promising alternative to convolutional neural networks for visual recognition. But when there is no sufficient data, it gets stuck in overfitting and shows inferior performance. To improve data efficiency, we propose hierarchically cascaded transformers that exploit intrinsic image structures through spectral tokens pooling and optimize the learnable parameters through latent attribute surrogates. The intrinsic image structure is utilized to reduce the ambiguity between foreground content and background noise by spectral tokens pooling. And the attribute surrogate learning scheme is designed to benefit from the rich visual information in image-label pairs instead of simple visual concepts assigned by their labels. Our Hierarchically Cascaded Transformers, called HCTransformers, is built upon a self-supervised learning framework DINO and is tested on several popular few-shot learning benchmarks. In the inductive setting, HCTransformers surpass the DINO baseline by a large margin of 9.7% 5-way 1-shot accuracy and 9.17% 5-way 5-shot accuracy on miniImageNet, which demonstrates HCTransformers are efficient to extract discriminative features. Also, HCTransformers show clear advantages over SOTA few-shot classification methods in both 5-way 1-shot and 5-way 5-shot settings on four popular benchmark datasets, including miniImageNet, tieredImageNet, FC100, and CIFAR-FS. The trained weights and codes are available at https://github.com/StomachCold/HCTransformers.

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

↑