arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.13145cs.CV
收藏

全局相关性感知的困难负样本生成

Globally Correlation-Aware Hard Negative Generation

Guangdong University of Technology(广东工业大学);South China University of Technology(华南理工大学)

Wenjie Peng, Hongxiang Huang, Tianshui Chen, Quhui Ke, Gang Dai, Shuangping Huang

AI总结:

本文提出GCA-HNG框架,通过构建结构化图并迭代传播消息从全局视角学习样本相关性,以通道自适应方式融合锚点与多个负样本,生成硬度与多样性更优的困难负样本,并在四个图像检索基准上验证了其优越性。

摘要:

困难负样本生成旨在生成具有信息量的负样本,以帮助确定决策边界,从而推动深度度量学习的发展。当前方法选择成对/三元组样本,学习它们之间的相关性,并将其融合以生成困难负样本。然而,这些方法仅考虑所选样本的局部相关性,忽略了全局样本相关性,而全局相关性能够提供更重要的信息,从而生成更具信息量的负样本。在本工作中,我们提出了一种全局相关性感知的困难负样本生成(GCA-HNG)框架,该框架首先从全局视角学习样本相关性,并利用这些相关性来指导生成硬度自适应且多样化的负样本。具体而言,该方法首先构建一个结构化图来建模样本相关性,其中每个节点表示一个特定样本,每条边表示相应样本之间的相关性。然后,我们引入迭代图消息传播机制,在整个图中传播节点和边的消息,从而全局地学习样本相关性。最后,在所学全局相关性的指导下,我们提出了一种通道自适应方式,将锚点与多个负样本相结合以进行困难负样本生成。与现有方法相比,GCA-HNG能够从全局和全面的视角感知大量负样本之间的样本相关性,并生成具有更好硬度和多样性的负样本。大量实验结果表明,所提出的GCA-HNG在四个图像检索基准数据集上优于相关方法。代码和训练模型可在\url{https://github.com/PWenJay/GCA-HNG}获取。

英文摘要:

Hard negative generation aims to generate informative negative samples that help to determine the decision boundaries and thus facilitate advancing deep metric learning. Current works select pair/triplet samples, learn their correlations, and fuse them to generate hard negatives. However, these works merely consider the local correlations of selected samples, ignoring global sample correlations that would provide more significant information to generate more informative negatives. In this work, we propose a Globally Correlation-Aware Hard Negative Generation (GCA-HNG) framework, which first learns sample correlations from a global perspective and exploits these correlations to guide generating hardness-adaptive and diverse negatives. Specifically, this approach begins by constructing a structured graph to model sample correlations, where each node represents a specific sample and each edge represents the correlations between corresponding samples. Then, we introduce an iterative graph message propagation to propagate the messages of node and edge through the whole graph and thus learn the sample correlations globally. Finally, with the guidance of the learned global correlations, we propose a channel-adaptive manner to combine an anchor and multiple negatives for HNG. Compared to current methods, GCA-HNG allows perceiving sample correlations with numerous negatives from a global and comprehensive perspective and generates the negatives with better hardness and diversity. Extensive experiment results demonstrate that the proposed GCA-HNG is superior to related methods on four image retrieval benchmark datasets. Codes and trained models are available at \url{https://github.com/PWenJay/GCA-HNG}.

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

↑