向邻居学习:面向长尾学习的类别外推
Learning from Neighbors: Category Extrapolation for Long-Tail Learning
AI总结:
针对长尾学习中样本多样性不足的问题,提出通过类别外推引入开放集辅助类提升数据集粒度的方法,结合LLM自动构建辅助数据与邻居抑制损失,在三个长尾基准上性能优于同数据量的强基线。
摘要:
在长尾数据分布上实现均衡训练始终是深度学习领域的一项长期挑战。尽管重加权、重采样等方法有助于缓解类别不平衡问题,但样本多样性有限仍持续阻碍模型学习到鲁棒且具有泛化性的特征表示,尤其是对于尾部类别而言。\n与现有方法不同,我们受一项观察启发,为长尾学习提出了全新视角:粒度更细的数据集受数据不平衡的影响往往更小。本文通过定量与定性研究对这一现象展开探究,证明粒度提升能够增强尾部类别所学习特征的泛化能力。基于这些发现,我们提出一种通过类别外推提升数据集粒度的方法。具体而言,我们引入与现有类别视觉相似的开放集辅助类,旨在增强头部与尾部类别的表示学习,这是本方法的核心贡献与核心洞见。\n为实现辅助数据的自动化构建,我们利用大语言模型(LLMs)作为知识库搜索辅助类别,并通过网络爬虫检索相关图像。为避免辅助类的大量出现扰乱训练,我们提出邻居抑制损失(neighbor-silencing loss),促使模型聚焦于目标数据集内的类别区分。推理阶段会掩码掉辅助类别的分类器权重,仅保留目标类别权重用于预测。我们在三个标准长尾基准上开展了大量实验与消融研究,结果证明了本方法的有效性,其性能显著优于使用相同数据量的强基线方法。代码将公开发布。
英文摘要:
Balancing training on long-tail data distributions remains a long-standing challenge in deep learning. While methods such as re-weighting and re-sampling help alleviate the imbalance issue, limited sample diversity continues to hinder models from learning robust and generalizable feature representations, particularly for tail classes. In contrast to existing methods, we offer a novel perspective on long-tail learning, inspired by an observation: datasets with finer granularity tend to be less affected by data imbalance. In this paper, we investigate this phenomenon through both quantitative and qualitative studies, showing that increased granularity enhances the generalization of learned features in tail categories. Motivated by these findings, we propose a method to increase dataset granularity through category extrapolation. Specifically, we introduce open-set auxiliary classes that are visually similar to existing ones, aiming to enhance representation learning for both head and tail classes. This forms the core contribution and insight of our approach. To automate the curation of auxiliary data, we leverage large language models (LLMs) as knowledge bases to search for auxiliary categories and retrieve relevant images through web crawling. To prevent the overwhelming presence of auxiliary classes from disrupting training, we introduce a neighbor-silencing loss that encourages the model to focus on class discrimination within the target dataset. During inference, the classifier weights for auxiliary categories are masked out, leaving only the target class weights for use. Extensive experiments and ablation studies on three standard long-tail benchmarks demonstrate the effectiveness of our approach, notably outperforming strong baseline methods that use the same amount of data. The code will be made publicly available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。