Learning CLIP Guided Visual-Text Fusion Transformer for Video-based Pedestrian Attribute Recognition

Jun Zhu, Jiandong Jin, Zihan Yang, Xiaohao Wu, Xiao Wang
4/20/2023
18 citations
cs.CVcs.MM
transformer-attention

Official code: Event-AHU/VTF_PAR (30 stars, Python, MIT, last commit 2025-03-20).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Event-AHU/VTF_PAROfficial100%
MIT

[CVPR-2023 Workshop@NFVLR] Official PyTorch implementation of Learning CLIP Guided Visual-Text Fusion Transformer for Video-based Pedestrian Attribute Recognition

303PythonApr 14, 20231 years agoMIT
multi-modal-fusionpedestrian-attribute-recognitiontransformervideo-based-attribute-recognitionvisual-text-fusion

Similar Papers

Cite this paper

@article{zhu2023learning,
  title  = {Learning CLIP Guided Visual-Text Fusion Transformer for Video-based Pedestrian Attribute Recognition},
  author = {Jun Zhu and Jiandong Jin and Zihan Yang and Xiaohao Wu and Xiao Wang},
  year   = {2023},
  eprint = {2304.10091},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.10091v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.10091.svg)](https://codeofpaper.com/paper/2304.10091)

Discussion