多尺度视觉变换器结合二分匹配实现高效单阶段动作定位
Multiscale Vision Transformers meet Bipartite Matching for efficient single-stage Action Localization
AI总结:
本文提出BMViT,将二分匹配损失直接应用于视觉变换器输出令牌,实现单阶段动作定位,无需额外解码器头,在AVA2.2上超越两阶段MViTv2-S,获得+3 mAP提升。
摘要:
动作定位是一个具有挑战性的问题,它结合了检测和识别任务,而这两者通常被分开处理。最先进的方法依赖于预先在高分辨率下计算好的现成边界框检测结果,并提出仅专注于分类任务的变换器模型。这种两阶段解决方案对于实时部署来说是不切实际的。另一方面,单阶段方法通过将网络的一部分(通常是主干网络)用于分担大部分工作负载来同时处理这两个任务,从而以性能换取速度。这些方法基于添加一个带有可学习查询的DETR头部,在交叉注意力和自注意力之后,可以将这些查询发送到相应的MLP以检测人的边界框和动作。然而,类似DETR的架构训练起来具有挑战性,并且可能导致较大的复杂性。\n在本文中,我们观察到\textbf{可以直接将二分匹配损失应用于视觉变换器的输出令牌}。这产生了一个主干网络+MLP的架构,无需额外的编码器-解码器头部和可学习查询即可完成这两个任务。我们展示了使用二分匹配训练来执行这两个任务的单个MViTv2-S架构,在预先计算的边界框上使用RoI对齐训练的相同MViTv2-S相比,性能更优。通过精心设计的令牌池化和所提出的训练流程,我们的二分匹配视觉变换器模型\textbf{BMViT}在AVA2.2上相对于两阶段MViTv2-S对应模型取得了+3 mAP的提升。代码可在\ref{https://github.com/IoannaNti/BMViT}{https://github.com/IoannaNti/BMViT}获取。
英文摘要:
Action Localization is a challenging problem that combines detection and recognition tasks, which are often addressed separately. State-of-the-art methods rely on off-the-shelf bounding box detections pre-computed at high resolution, and propose transformer models that focus on the classification task alone. Such two-stage solutions are prohibitive for real-time deployment. On the other hand, single-stage methods target both tasks by devoting part of the network (generally the backbone) to sharing the majority of the workload, compromising performance for speed. These methods build on adding a DETR head with learnable queries that after cross- and self-attention can be sent to corresponding MLPs for detecting a person's bounding box and action. However, DETR-like architectures are challenging to train and can incur in big complexity. In this paper, we observe that \textbf{a straight bipartite matching loss can be applied to the output tokens of a vision transformer}. This results in a backbone + MLP architecture that can do both tasks without the need of an extra encoder-decoder head and learnable queries. We show that a single MViTv2-S architecture trained with bipartite matching to perform both tasks surpasses the same MViTv2-S when trained with RoI align on pre-computed bounding boxes. With a careful design of token pooling and the proposed training pipeline, our Bipartite-Matching Vision Transformer model, \textbf{BMViT}, achieves +3 mAP on AVA2.2. w.r.t. the two-stage MViTv2-S counterpart. Code is available at \href{https://github.com/IoannaNti/BMViT}{https://github.com/IoannaNti/BMViT}
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。