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

少之又少:使用更少基类从少量样本中学习得更好

Few and Fewer: Learning Better from Few Examples Using Fewer Base Classes

IMT Atlantique(IMT大西洋);Lab-STICC, UMR CNRS 6285(Lab-STICC实验室,法国国家科学研究中心UMR 6285);Australian Institute for Machine Learning, University of Adelaide(阿德莱德大学澳大利亚机器学习研究所);CNRS, IRL CROSSING(法国国家科学研究中心,IRL CROSSING)

Raphael Lafargue, Yassir Bendou, Bastien Pasdeloup, Jean-Philippe Diguet, Ian Reid, Vincent Gripon, Jack Valmadre

AI总结:

针对少样本学习中预训练特征适配性不足的问题,提出通过精选少量基类微调来提升效果的方法,在8个跨域场景验证有效并开源代码。

摘要:

当训练数据稀缺时,通常会使用在大型基数据集上预训练的特征提取器,要么在“目标”数据集上微调其参数,要么直接将其表征作为简单分类器的特征。微调在少样本学习中效果不佳,因为目标数据集仅包含少量样本。然而,不经过微调直接采用特征的做法,依赖于基分布与目标分布足够相似,以使这些特征实现可分性与泛化性。本文研究能否通过在更少的基类上训练,获得更适合目标数据集的特征,旨在为给定任务找出更有用的基数据集。我们针对来自Meta-Dataset的8个不同领域开展跨域少样本图像分类研究,并考虑多种真实场景(领域已知、任务已知、无先验信息),这些场景中对目标任务的已知细节逐步减少。据我们所知,这是首次证明在精心挑选的基类子集上进行微调可显著提升少样本学习效果。我们的贡献是可在任何少样本解决方案中实现的简单直观方法,同时还阐明了这些解决方案可能提升准确率的条件。我们在GitHub上发布了可复现本文所有实验的代码:https://github.com/RafLaf/Few-and-Fewer.git

英文摘要:

When training data is scarce, it is common to make use of a feature extractor that has been pre-trained on a large base dataset, either by fine-tuning its parameters on the ``target'' dataset or by directly adopting its representation as features for a simple classifier. Fine-tuning is ineffective for few-shot learning, since the target dataset contains only a handful of examples. However, directly adopting the features without fine-tuning relies on the base and target distributions being similar enough that these features achieve separability and generalization. This paper investigates whether better features for the target dataset can be obtained by training on fewer base classes, seeking to identify a more useful base dataset for a given task.We consider cross-domain few-shot image classification in eight different domains from Meta-Dataset and entertain multiple real-world settings (domain-informed, task-informed and uninformed) where progressively less detail is known about the target task. To our knowledge, this is the first demonstration that fine-tuning on a subset of carefully selected base classes can significantly improve few-shot learning. Our contributions are simple and intuitive methods that can be implemented in any few-shot solution. We also give insights into the conditions in which these solutions are likely to provide a boost in accuracy. We release the code to reproduce all experiments from this paper on GitHub. https://github.com/RafLaf/Few-and-Fewer.git

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

↑