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

迈向上下文场景理解

Towards In-context Scene Understanding

Google DeepMind(谷歌DeepMind)

Ivana Balažević, David Steiner, Nikhil Parthasarathy, Relja Arandjelović, Olivier J. Hénaff

AI总结:

本文提出 Hummingbird 模型,通过最近邻检索和跨图像注意力预训练实现场景理解任务的上下文学习,无需微调即可接近专用模型性能,并支持高效配置新任务。

摘要:

上下文学习——即通过不同提示配置模型行为的能力——已经彻底改变了自然语言处理领域,减少了对任务专用模型的需求,并为能够协助处理任何查询的通用模型铺平了道路。相比之下,计算机视觉在很大程度上仍停留在前一种模式:执行语义分割和深度估计等密集任务通常需要专用解码器和微调协议。在这项工作中,我们探索了一种用于此类场景理解任务上下文学习的简单机制:从标注特征的提示中进行最近邻检索。我们提出了一种新的预训练协议——利用图像内部和图像之间的注意力——该协议产生的表示在此机制下特别有用。由此得到的 Hummingbird 模型在适当提示下,无需修改即可执行各种场景理解任务,同时接近为每个任务微调的专用模型的性能。此外,Hummingbird 可以比微调模型更高效地配置以执行新任务,从而提高了在交互式助手机制下进行场景理解的可能性。

英文摘要:

In-context learning$\unicode{x2013}$the ability to configure a model's behavior with different prompts$\unicode{x2013}$has revolutionized the field of natural language processing, alleviating the need for task-specific models and paving the way for generalist models capable of assisting with any query. Computer vision, in contrast, has largely stayed in the former regime: specialized decoders and finetuning protocols are generally required to perform dense tasks such as semantic segmentation and depth estimation. In this work we explore a simple mechanism for in-context learning of such scene understanding tasks: nearest neighbor retrieval from a prompt of annotated features. We propose a new pretraining protocol$\unicode{x2013}$leveraging attention within and across images$\unicode{x2013}$which yields representations particularly useful in this regime. The resulting Hummingbird model, suitably prompted, performs various scene understanding tasks without modification while approaching the performance of specialists that have been finetuned for each task. Moreover, Hummingbird can be configured to perform new tasks much more efficiently than finetuned models, raising the possibility of scene understanding in the interactive assistant regime.

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

↑