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

用于密集预测的多查询Transformer多任务学习

Multi-Task Learning with Multi-Query Transformer for Dense Prediction

Wuhan University(武汉大学);Peking University(北京大学);JD Explore Academy(京东探索研究院)

Yangyang Xu, Xiangtai Li, Haobo Yuan, Yibo Yang, Lefei Zhang

AI总结:

提出MQTransformer,通过多查询机制简化跨任务交互,在密集预测数据集上取得SOTA效果。

摘要:

以往的多任务密集预测研究开发了复杂的流程,例如多阶段的多模态蒸馏或为每个任务搜索任务关系上下文。这些方法的核心见解是最大化每个任务的相互影响。受近期基于查询的Transformer启发,我们提出了一种名为多查询Transformer(MQTransformer)的简单流程,它配备了来自不同任务的多个查询,以促进多任务间的推理并简化跨任务交互流程。我们没有对不同任务间的密集逐像素上下文进行建模,而是寻找一个特定于任务的代理,通过多个查询执行跨任务推理,其中每个查询编码与任务相关的上下文。MQTransformer由三个关键组件组成:共享编码器、跨任务查询注意力模块和共享解码器。我们首先用与任务相关的查询对每个任务进行建模。然后,特征提取器输出的特定于任务的特征和与任务相关的查询都被输入到共享编码器中,从而根据特定于任务的特征对与任务相关的查询进行编码。其次,我们设计了一个跨任务查询注意力模块,以推理多个与任务相关的查询之间的依赖关系;这使得该模块能够仅专注于查询级别的交互。最后,我们使用共享解码器,利用来自不同任务的推理后的查询特征逐步细化图像特征。在两个密集预测数据集(NYUD-v2和PASCAL-Context)上的大量实验结果表明,所提出的方法是一种有效的方法,并取得了最先进的结果。代码和模型可在https://github.com/yangyangxu0/MQTransformer获取。

英文摘要:

Previous multi-task dense prediction studies developed complex pipelines such as multi-modal distillations in multiple stages or searching for task relational contexts for each task. The core insight beyond these methods is to maximize the mutual effects of each task. Inspired by the recent query-based Transformers, we propose a simple pipeline named Multi-Query Transformer (MQTransformer) that is equipped with multiple queries from different tasks to facilitate the reasoning among multiple tasks and simplify the cross-task interaction pipeline. Instead of modeling the dense per-pixel context among different tasks, we seek a task-specific proxy to perform cross-task reasoning via multiple queries where each query encodes the task-related context. The MQTransformer is composed of three key components: shared encoder, cross-task query attention module and shared decoder. We first model each task with a task-relevant query. Then both the task-specific feature output by the feature extractor and the task-relevant query are fed into the shared encoder, thus encoding the task-relevant query from the task-specific feature. Secondly, we design a cross-task query attention module to reason the dependencies among multiple task-relevant queries; this enables the module to only focus on the query-level interaction. Finally, we use a shared decoder to gradually refine the image features with the reasoned query features from different tasks. Extensive experiment results on two dense prediction datasets (NYUD-v2 and PASCAL-Context) show that the proposed method is an effective approach and achieves state-of-the-art results. Code and models are available at https://github.com/yangyangxu0/MQTransformer.

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

↑