arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.08977cs.CV
收藏

基于Coreset的高效且有效的上下文内演示选择

Efficient and Effective In-context Demonstration Selection with Coreset

Zihua Wang, Jiarui Wang, Haiyang Xu, Ming Yan, Fei Huang, Xu Yang, Xiu-Shen Wei, Siya Mi, Yu Zhang

AI总结:

针对大型视觉语言模型上下文内学习中演示选择NP难、传统策略难平衡效率与有效性的问题,提出基于Coreset的双重检索框架CoDR,通过聚类剪枝构建多样化coreset并结合双重检索机制,显著提升ICL性能。

摘要:

上下文内学习(ICL)已成为大型视觉语言模型(LVLMs)的强大范式,使其能够直接从输入上下文中利用少量示例。然而,这种方法的有效性在很大程度上依赖于演示的选择,而该过程是NP难的。传统策略包括随机采样、基于相似性的采样和基于信息分数的采样,这些策略往往导致效率低下或性能欠佳,难以在演示选择中平衡效率和有效性。在本文中,我们提出了一种名为基于Coreset的双重检索(CoDR)的新型演示选择框架。我们证明,多样化子集内的样本能获得更高的预期互信息。为实现这一点,我们引入了一种聚类剪枝方法来构建多样化的coreset,使其在保持多样性的同时更有效地与查询对齐。此外,我们开发了一种双重检索机制,通过实现全局演示选择同时保持效率来增强选择过程。实验结果表明,与现有策略相比,我们的方法显著提高了ICL性能,为高效且有效的演示选择提供了稳健的解决方案。

英文摘要:

In-context learning (ICL) has emerged as a powerful paradigm for Large Visual Language Models (LVLMs), enabling them to leverage a few examples directly from input contexts. However, the effectiveness of this approach is heavily reliant on the selection of demonstrations, a process that is NP-hard. Traditional strategies, including random, similarity-based sampling and infoscore-based sampling, often lead to inefficiencies or suboptimal performance, struggling to balance both efficiency and effectiveness in demonstration selection. In this paper, we propose a novel demonstration selection framework named Coreset-based Dual Retrieval (CoDR). We show that samples within a diverse subset achieve a higher expected mutual information. To implement this, we introduce a cluster-pruning method to construct a diverse coreset that aligns more effectively with the query while maintaining diversity. Additionally, we develop a dual retrieval mechanism that enhances the selection process by achieving global demonstration selection while preserving efficiency. Experimental results demonstrate that our method significantly improves the ICL performance compared to the existing strategies, providing a robust solution for effective and efficient demonstration selection.

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

↑