Skip to main content
QUICK REVIEW

[论文解读] Learning CLIP Guided Visual-Text Fusion Transformer for Video-based Pedestrian Attribute Recognition

Jun Zhu, Jiandong Jin|arXiv (Cornell University)|Apr 20, 2023
Video Surveillance and Tracking MethodsComputer Science被引用 3
一句话总结

本文提出了一种CLIP引导的视觉-文本融合Transformer模型,用于基于视频的行人属性识别,通过利用时间视频帧和属性描述作为输入,借助多模态融合增强特征学习。通过将CLIP嵌入与专用融合Transformer相结合,该模型实现了最先进性能,在MARS数据集上的F1得分较之前方法提升了+3.62。

ABSTRACT

Existing pedestrian attribute recognition (PAR) algorithms are mainly developed based on a static image. However, the performance is not reliable for images with challenging factors, such as heavy occlusion, motion blur, etc. In this work, we propose to understand human attributes using video frames that can make full use of temporal information. Specifically, we formulate the video-based PAR as a vision-language fusion problem and adopt pre-trained big models CLIP to extract the feature embeddings of given video frames. To better utilize the semantic information, we take the attribute list as another input and transform the attribute words/phrase into the corresponding sentence via split, expand, and prompt. Then, the text encoder of CLIP is utilized for language embedding. The averaged visual tokens and text tokens are concatenated and fed into a fusion Transformer for multi-modal interactive learning. The enhanced tokens will be fed into a classification head for pedestrian attribute prediction. Extensive experiments on a large-scale video-based PAR dataset fully validated the effectiveness of our proposed framework.

研究动机与目标

  • 解决在遮挡和运动模糊等挑战性条件下,基于静态图像的行人属性识别方法的局限性。
  • 利用视频序列中的时间信息,提升属性识别的鲁棒性与准确性。
  • 将基于视频的PAR问题建模为视觉-语言融合问题,利用预训练的CLIP实现视觉与文本表征的联合学习。
  • 设计一种融合Transformer,实现视觉与文本标记之间的交互式学习,以增强特征表征。
  • 通过端到端训练与提示工程,在大规模基于视频的PAR基准上实现最先进性能。

提出的方法

  • 输入视频帧被缩放至224×224,并通过基于预训练ViT-B/16的CLIP模型嵌入为视觉标记,每帧生成197×512的特征张量。
  • 通过拆分、扩展与提示工程,将属性列表转化为自然语言描述,生成语义丰富的文本输入。
  • 使用CLIP的文本编码器提取文本嵌入,生成197×512维的句子表征。
  • 将视觉与文本标记拼接后输入融合Transformer,该网络包含层归一化、多头注意力与MLP,用于跨模态交互。
  • 将融合后的标记表征进行池化,并通过分类头进行行人属性预测。
  • 模型通过二元属性标签的交叉熵损失进行端到端训练,同时对CLIP权重在视频PAR数据集上进行微调。

实验结果

研究问题

  • RQ1视频序列中的时间信息是否能显著提升在挑战性视觉条件下的行人属性识别性能?
  • RQ2使用预训练CLIP嵌入的视觉-语言融合是否能提升基于视频的PAR任务中的泛化能力与鲁棒性?
  • RQ3专用融合Transformer在建模视觉与文本特征之间跨模态交互方面对属性识别的效率如何?
  • RQ4对属性描述进行提示工程在多大程度上能增强其与视觉特征的语义对齐?
  • RQ5与基于图像与基于视频的基线方法相比,所提方法在准确率与鲁棒性方面表现如何?

主要发现

  • 所提模型在MARS基于视频的PAR数据集上取得81.94的F1得分,较之前最先进方法(VideoPAR视频版)提升+3.62 F1得分。
  • 相较于VTB基线,模型在精确率上提升+2.80,召回率提升+4.53,各项指标均实现一致提升。
  • 消融实验表明,CLIP主干网络与融合Transformer均至关重要,当移除融合模块后性能下降至78.69 F1得分。
  • 将输入视频帧数从1增加到6,F1得分从77.27提升至81.94,表明对时间上下文存在强依赖性。
  • 定性可视化显示,模型在多种属性上均实现准确预测,包括“运动”与“年龄”等细粒度属性,这些属性对先前方法具有挑战性。
  • 模型在“上衣长度”上取得97.26%的F1得分,在“下装类型”上取得97.21%的F1得分,表明在细粒度属性上表现优异。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。