Skip to main content
QUICK REVIEW

[论文解读] Channel Importance Matters in Few-Shot Image Classification

Xu Luo, Jing Xu|arXiv (Cornell University)|Jun 16, 2022
Domain Adaptation and Few-Shot LearningComputer Science被引用 25
一句话总结

该论文表明,一种简单的测试时通道级特征变换可以通过解决不同任务对通道重要性敏感度的通道偏差,显著提升少样本图像分类。该方法与数据集和算法无关,并揭示了迁移到新任务时存在的通道偏差问题。

ABSTRACT

Few-Shot Learning (FSL) requires vision models to quickly adapt to brand-new classification tasks with a shift in task distribution. Understanding the difficulties posed by this task distribution shift is central to FSL. In this paper, we show that a simple channel-wise feature transformation may be the key to unraveling this secret from a channel perspective. When facing novel few-shot tasks in the test-time datasets, this transformation can greatly improve the generalization ability of learned image representations, while being agnostic to the choice of training algorithms and datasets. Through an in-depth analysis of this transformation, we find that the difficulty of representation transfer in FSL stems from the severe channel bias problem of image representations: channels may have different importance in different tasks, while convolutional neural networks are likely to be insensitive, or respond incorrectly to such a shift. This points out a core problem of the generalization ability of modern vision systems and needs further attention in the future. Our code is available at https://github.com/Frankluox/Channel_Importance_FSL.

研究动机与目标

  • 推动研究少样本学习中的任务分布偏移及其对表征泛化的影响。
  • 识别一个通道偏差问题,其中通道的重要性与任务相关。
  • 提出一个简单的测试时通道级变换,在不同数据集和训练算法上提升性能。
  • 分析为何通道强调会发生变化,以及平滑通道幅值如何影响迁移性。

提出的方法

  • 在测试时引入一个简单的通道级变换 phi_k,作用于非负特征通道:phi_k(lambda) = 1 / ln^k(1/lambda + 1) 当 lambda > 0,且 lambda = 0 时为 0。
  • 在目标任务测试时,在全局池化之后对所有特征通道应用 phi_k,无论支持集/查询集的组成如何。
  • 在 19 个测试时数据集上进行评估,使用多种训练数据集(mini ImageNet、ImageNet、iNaturalist)和架构(Conv-4、ResNet 变体、WRN、SE-ResNet),以及多种训练算法(CE、ProtoNet、MetaBaseline、MetaOpt、S2M2、MoCo-v2)。
  • 证明当训练与测试之间存在任务分布偏移时,该变换能带来性能提升(跨任务的平均值)。
  • 提供分析,将该变换的效果与通道偏差现象以及通道均幅度(MMC)概念联系起来。
  • 讨论一个用于二分类任务的 Oracle MMC 调整,其将通道的权重 omega_l 最优地设为与 |mu1,l - mu2,l| / (sigma1,l + sigma2,l) 成正比。

实验结果

研究问题

  • RQ1测试时的通道级变换是否在不同任务偏移和模型类型下改善少样本分类?
  • RQ2迁移到新任务时通道偏差问题的本质是什么,训练与测试任务之间的通道强调有何差异?
  • RQ3是否有理论上有依据的通道调整(oracle MMC)可以解释或提高经验提升?
  • RQ4在不同的 shot 设置以及测试时是否进行微调的情况下,所提方法的表现如何?

主要发现

  • 测试时的通道变换在 5 选 5 距任务上对 19 个测试时数据集取得了平均提升(数据集包括 MetaDataset、BSCD-FSL、DomainNet)。
  • 当测试时的任务分布与训练分布不同(包括领域、类别和粒度的差异)时,该变换始终提升性能。
  • 均值幅值较小的通道被放大,而幅值较大的被抑制,产生更均匀的通道分布(MMC),解决通道偏差。
  • 一个从目标数据集的类别统计得到的 Oracle MMC 调整,进一步提升二分类任务的性能,且适用于 NCC 和线性分类器。
  • 测试时微调在很大程度上缓解了通道偏差问题,而在微调受限的少样本设置中,简单变换仍然有益。

阅读本论文

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

在 Nubint 中阅读本论文

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