[Paper Review] Sequence-based Person Attribute Recognition with Joint CTC-Attention Model
This paper proposes a joint CTC-Attention model (JCM) for sequence-based person attribute recognition that encodes both images and attribute labels into sequences, using connectionist temporal classification (CTC) loss to improve feature encoding and attention mechanisms to decode semantic relationships. The method achieves state-of-the-art performance on Market-1501, DukeMTMC, and PETA datasets, with 91.3% Rank-1 accuracy and 89.7% mAP on Market-1501, demonstrating robustness to attribute order and improved re-identification performance through joint learning.
Attribute recognition has become crucial because of its wide applications in many computer vision tasks, such as person re-identification. Like many object recognition problems, variations in viewpoints, illumination, and recognition at far distance, all make this task challenging. In this work, we propose a joint CTC-Attention model (JCM), which maps attribute labels into sequences to learn the semantic relationship among attributes. Besides, this network uses neural network to encode images into sequences, and employs connectionist temporal classification (CTC) loss to train the network with the aim of improving the encoding performance of the network. At the same time, it adopts the attention model to decode the sequences, which can realize aligning the sequences and better learning the semantic information from attributes. Extensive experiments on three public datasets, i.e., Market-1501 attribute dataset, Duke attribute dataset and PETA dataset, demonstrate the effectiveness of the proposed method.
Motivation & Objective
- To address the challenge of semantic correlation among pedestrian attributes in person re-identification and attribute recognition.
- To overcome limitations of existing methods that are sensitive to attribute order and suffer from weak sequence alignment.
- To improve robustness to variations in viewpoint, illumination, and long-range detection by modeling attribute relationships through sequence learning.
- To jointly learn re-identification and attribute recognition for mutual performance enhancement.
- To introduce CTC loss and attention-based decoding for end-to-end sequence modeling without manual attribute ordering.
Proposed method
- Maps all pedestrian attributes into a fixed-length sequence of numbers using a predefined mapping table to represent semantic relationships.
- Uses a convolutional neural network (CNN) to encode input images into sequential feature representations.
- Applies connectionist temporal classification (CTC) loss to train the network without requiring precise alignment between input and output sequences, enabling robust sequence encoding.
- Employs a Transformer-based attention mechanism to decode the attribute sequence in parallel, allowing full sequence prediction at once and improving semantic feature learning.
- Integrates joint training of attribute recognition and person re-identification using a weighted loss function with hyperparameter λ to balance both tasks.
- Utilizes hybrid training across multiple datasets (e.g., TownCenter and others from PETA) to enhance generalization and model robustness.
Experimental results
Research questions
- RQ1Can modeling pedestrian attributes as sequences improve recognition performance by capturing semantic correlations among attributes?
- RQ2Does using CTC loss enhance the network's ability to learn meaningful image-to-attribute sequence alignments without requiring precise ground-truth alignment?
- RQ3To what extent does attention-based sequence decoding improve attribute prediction accuracy and robustness to attribute order?
- RQ4How does joint learning of attribute recognition and person re-identification affect the performance of both tasks?
- RQ5Is the proposed method robust to variations in attribute order and dataset distribution due to hybrid training?
Key findings
- The joint CTC-Attention model (JCM) achieves 91.3% Rank-1 accuracy and 89.7% mAP on the Market-1501 dataset, outperforming state-of-the-art methods.
- The model maintains high performance even when individual attributes like 'age' and 'hat' are removed, with a 2.5% and 2.7% drop in Rank-1 accuracy respectively, indicating their strong contribution.
- The method is robust to attribute order, as shown by consistent performance across different mapping table configurations, confirming that CTC loss enables order-invariant learning.
- Joint training with both attribute recognition and person re-identification yields superior results: 91.3% Rank-1 and 89.7% mAP, compared to 89.0% and 88.8% when trained separately.
- Hybrid training across multiple PETA datasets significantly improves generalization, with 87.7% Rank-1 and 91.8% mAP on TownCenter, outperforming independent training (83.9% and 90.1%).
- Features extracted from the base CNN layer (28×2048) outperform those from the dense model (1024-dim) on both Market-1501 and PETA, indicating deeper features are more discriminative.
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.