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

再多给我些指令!用于视觉上下文学习的随机提示方法

Instruct Me More! Random Prompting for Visual In-Context Learning

Osaka University(大阪大学)

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

AI总结:

针对视觉上下文学习效果依赖提示质量的问题,提出InMeMo方法,通过可学习扰动增强上下文对,仅需轻量级训练即可在前景分割、单目标检测等主流任务上显著超越现有最优性能。

摘要:

在大规模数据集上训练的大模型因在各类任务中具备高泛化性,已成为首选方案。上下文学习(ICL)是自然语言处理领域的流行策略,它通过提供指导性提示来调用这类模型完成不同任务,且无需更新模型参数。目前这一思路正被引入计算机视觉领域:向模型输入一对输入输出图像(称为上下文对)和一张查询图像作为提示,以此示例期望的输出结果。视觉ICL的效果往往取决于提示的质量。为此,我们提出了名为Instruct Me More(InMeMo,意为“再多给我些指令”)的方法,通过可学习的扰动(提示)对上下文对进行增强,以挖掘视觉ICL的潜力。我们在主流任务上开展的实验表明,InMeMo的性能超越了当前最优水平。具体而言,与无可学习提示的基线模型相比,InMeMo在前景分割和单目标检测任务上的mIoU得分分别提升了7.35和15.13。研究结果表明,InMeMo提供了一种通用且高效的方式,仅需轻量级训练即可提升视觉ICL的性能。代码已开源至https://github.com/Jackieam/InMeMo。

英文摘要:

Large-scale models trained on extensive datasets, have emerged as the preferred approach due to their high generalizability across various tasks. In-context learning (ICL), a popular strategy in natural language processing, uses such models for different tasks by providing instructive prompts but without updating model parameters. This idea is now being explored in computer vision, where an input-output image pair (called an in-context pair) is supplied to the model with a query image as a prompt to exemplify the desired output. The efficacy of visual ICL often depends on the quality of the prompts. We thus introduce a method coined Instruct Me More (InMeMo), which augments in-context pairs with a learnable perturbation (prompt), to explore its potential. Our experiments on mainstream tasks reveal that InMeMo surpasses the current state-of-the-art performance. Specifically, compared to the baseline without learnable prompt, InMeMo boosts mIoU scores by 7.35 and 15.13 for foreground segmentation and single object detection tasks, respectively. Our findings suggest that InMeMo offers a versatile and efficient way to enhance the performance of visual ICL with lightweight training. Code is available at https://github.com/Jackieam/InMeMo.

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

↑