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

通过可学习多尺度嵌入与注意力机制增强小样本图像分类

Enhancing Few-Shot Image Classification through Learnable Multi-Scale Embedding and Attention Mechanisms

School of Computer Engineering, Iran University of Science and Technology (IUST)(伊朗科技大学计算机工程学院)

Fatemeh Askari, Amirreza Fateh, Mohammad Reza Mohammadi

AI总结:

本文提出一种多输出嵌入网络,结合自注意力机制和可学习阶段权重,通过多尺度特征空间提升小样本图像分类性能,并在MiniImageNet、FC100及跨域任务中验证了有效性。

摘要:

在小样本分类背景下,目标是在样本数量有限的情况下训练分类器,同时保持令人满意的性能。然而,传统的基于度量的方法在实现这一目标时表现出一定的局限性。这些方法通常仅依赖查询特征与支持特征之间的单一距离值,从而忽略了浅层特征的贡献。为克服这一挑战,本文提出了一种新方法。我们的方法采用多输出嵌入网络,将样本映射到不同的特征空间。所提方法在不同阶段提取特征向量,使模型能够同时捕获全局特征和抽象特征。通过利用这些多样化的特征空间,模型性能得到增强。此外,采用自注意力机制改善了每个阶段特征的细化,从而产生更稳健的表示并进一步提升整体性能。更进一步,为每个阶段分配可学习权重显著提升了性能和结果。我们在MiniImageNet和FC100数据集上进行了全面评估,具体针对5-way 1-shot和5-way 5-shot场景。此外,我们在八个基准数据集上执行了跨域任务,在测试域中取得了高准确率。这些评估证明了所提方法与最先进方法相比的有效性。

英文摘要:

In the context of few-shot classification, the goal is to train a classifier using a limited number of samples while maintaining satisfactory performance. However, traditional metric-based methods exhibit certain limitations in achieving this objective. These methods typically rely on a single distance value between the query feature and support feature, thereby overlooking the contribution of shallow features. To overcome this challenge, we propose a novel approach in this paper. Our approach involves utilizing a multi-output embedding network that maps samples into distinct feature spaces. The proposed method extracts feature vectors at different stages, enabling the model to capture both global and abstract features. By utilizing these diverse feature spaces, our model enhances its performance. Moreover, employing a self-attention mechanism improves the refinement of features at each stage, leading to even more robust representations and improved overall performance. Furthermore, assigning learnable weights to each stage significantly improved performance and results. We conducted comprehensive evaluations on the MiniImageNet and FC100 datasets, specifically in the 5-way 1-shot and 5-way 5-shot scenarios. Additionally, we performed cross-domain tasks across eight benchmark datasets, achieving high accuracy in the testing domains. These evaluations demonstrate the efficacy of our proposed method in comparison to state-of-the-art approaches. https://github.com/FatemehAskari/MSENet

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

↑