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

E-InMeMo:面向视觉上下文学习的增强提示方法

E-InMeMo: Enhanced Prompting for Visual In-Context Learning

D3 Center, The University of Osaka(大阪大学D3中心);The University of Osaka(大阪大学);SANKEN, The University of Osaka(大阪大学SANKEN);School of Informatics, Xiamen University(厦门大学信息学院);Meetyou AI Lab, Xiamen Meet You Co., Ltd(厦门Meet You人工智能实验室)

Jiahao Zhang, Bowen Wang, Hong Liu, Liangzhi Li, Yuta Nakashima, Hajime Nagahara

AI总结:

针对视觉上下文学习中提示质量影响性能的问题,提出E-InMeMo方法,通过在上下文对中引入可学习扰动优化提示,显著提升了前景分割和单目标检测性能,是一种轻量有效的增强策略。

摘要:

在庞大数据集上训练的大规模模型因其在多样任务中强大的泛化能力已成为标准。自然语言处理中广泛使用的上下文学习(ICL)通过提供任务特定提示而不修改模型参数来利用这些模型。这一范式正越来越多地被应用于计算机视觉领域,模型接收一个输入-输出图像对(称为上下文对)以及一个查询图像,以说明所需的输出。然而,视觉ICL的成功在很大程度上取决于这些提示的质量。为解决这一问题,我们提出了Enhanced Instruct Me More(E-InMeMo),这是一种将可学习扰动纳入上下文对以优化提示的新颖方法。在标准视觉任务上的广泛实验表明,E-InMeMo的性能优于现有的最先进方法。值得注意的是,与无可学习提示的基线相比,它将前景分割的mIoU分数提高了7.99,将单一目标检测的mIoU分数提高了17.04。这些结果凸显了E-InMeMo作为增强视觉ICL的轻量级且有效的策略。代码公开于:https://github.com/Jackieam/E-InMeMo

英文摘要:

Large-scale models trained on extensive datasets have become the standard due to their strong generalizability across diverse tasks. In-context learning (ICL), widely used in natural language processing, leverages these models by providing task-specific prompts without modifying their parameters. This paradigm is increasingly being adapted for computer vision, where models receive an input-output image pair, known as an in-context pair, alongside a query image to illustrate the desired output. However, the success of visual ICL largely hinges on the quality of these prompts. To address this, we propose Enhanced Instruct Me More (E-InMeMo), a novel approach that incorporates learnable perturbations into in-context pairs to optimize prompting. Through extensive experiments on standard vision tasks, E-InMeMo demonstrates superior performance over existing state-of-the-art methods. Notably, it improves mIoU scores by 7.99 for foreground segmentation and by 17.04 for single object detection when compared to the baseline without learnable prompts. These results highlight E-InMeMo as a lightweight yet effective strategy for enhancing visual ICL. Code is publicly available at: https://github.com/Jackieam/E-InMeMo

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

↑