[Paper Review] Learning CLIP Guided Visual-Text Fusion Transformer for Video-based Pedestrian Attribute Recognition
This paper proposes a CLIP-guided Visual-Text Fusion Transformer for video-based pedestrian attribute recognition, leveraging temporal video frames and attribute descriptions as input to enhance feature learning through multimodal fusion. By integrating CLIP embeddings with a dedicated fusion Transformer, the model achieves state-of-the-art performance, outperforming prior methods by +3.62 F1-score on the MARS dataset.
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.
Motivation & Objective
- To address the limitations of static image-based pedestrian attribute recognition under challenging conditions such as occlusion and motion blur.
- To leverage temporal information from video sequences to improve attribute recognition robustness and accuracy.
- To formulate video-based PAR as a vision-language fusion problem using pre-trained CLIP for joint visual and textual representation learning.
- To design a fusion Transformer that enables interactive learning between visual and textual tokens for enhanced feature representation.
- To achieve state-of-the-art performance on large-scale video-based PAR benchmarks through end-to-end training and prompt engineering.
Proposed method
- Input video frames are resized to 224×224 and embedded into visual tokens using a pre-trained ViT-B/16-based CLIP model, producing a 197×512 feature tensor per frame.
- The attribute list is transformed into natural language descriptions via split, expand, and prompt engineering to generate semantically rich text inputs.
- Text embeddings are extracted using CLIP's text encoder, producing 197×512-dimensional sentence representations.
- Visual and text tokens are concatenated and fed into a fusion Transformer with layer normalization, multi-head attention, and MLP for cross-modal interaction.
- The fused token representations are pooled and passed through a classification head for pedestrian attribute prediction.
- The model is trained end-to-end using cross-entropy loss on binary attribute labels, with CLIP weights fine-tuned on the video PAR dataset.
Experimental results
Research questions
- RQ1Can temporal information in video sequences significantly improve pedestrian attribute recognition under challenging visual conditions?
- RQ2Does vision-language fusion using pre-trained CLIP embeddings lead to better generalization and robustness in video-based PAR?
- RQ3How effective is a dedicated fusion Transformer in modeling cross-modal interactions between visual and textual features for attribute recognition?
- RQ4To what extent does prompt engineering of attribute descriptions enhance semantic alignment with visual features?
- RQ5How does the proposed method compare to image-based and video-based baselines in terms of accuracy and robustness?
Key findings
- The proposed model achieves an F1-score of 81.94 on the MARS video-based PAR dataset, outperforming the previous state-of-the-art VideoPAR (video version) by +3.62 F1-score.
- The model improves precision by +2.80 and recall by +4.53 over the VTB baseline, demonstrating consistent gains across all metrics.
- Ablation studies confirm that both the CLIP backbone and the fusion Transformer are critical, with performance dropping to 78.69 F1-score when the fusion module is removed.
- Increasing the number of input video frames from 1 to 6 improves F1-score from 77.27 to 81.94, indicating strong dependency on temporal context.
- Qualitative visualization shows accurate attribute predictions across diverse attributes, including fine-grained ones like 'motion' and 'age', which are challenging for prior methods.
- The model achieves a remarkable 97.26% F1-score on 'top length' and 97.21% on 'bottom type', indicating strong performance on fine-grained attributes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.