Beyond Pedestrians: Caption-Guided CLIP Framework for High-Difficulty Video-based Person Re-Identification
Organizations: Sony Group Corporation
Abstract
In recent years, video-based person Re-Identification (ReID) has gained attention for its ability to leverage spatiotemporal cues to match individuals across non-overlapping cameras. However, current methods struggle with high-difficulty scenarios, such as sports and dance performances, where multiple individuals wear similar clothing while performing dynamic movements. To overcome these challenges, we propose CG-CLIP, a novel caption-guided CLIP framework that leverages explicit textual descriptions and learnable tokens. Our method introduces two key components: Caption-guided Memory Refinement (CMR) and Token-based Feature Extraction (TFE). CMR utilizes captions generated by Multi-modal Large Language Models (MLLMs) to refine identity-specific features, capturing fine-grained details. TFE employs a cross-attention mechanism with fixed-length learnable tokens to efficiently aggregate spatiotemporal features, reducing computational overhead. We evaluate our approach on two standard datasets (MARS and iLIDS-VID) and two newly constructed high-difficulty datasets (SportsVReID and DanceVReID). Experimental results demonstrate that our method outperforms current state-of-the-art approaches, achieving significant improvements across all benchmarks.
Figures & tables
| Datasets | SportsV | DanceV | MARS [ 62 ] | iLIDS [ 45 ] |
|---|---|---|---|---|
| # Identities | 513 | 692 | 1,261 | 300 |
| # Tracklets | 13,061 | 12,330 | 20,715 | 600 |
| # Images | 599,332 | 574,078 | 1,067,516 | 42,460 |
| Methods | MARS | iLIDS-VID | SportsVReID | DanceVReID | ||||
|---|---|---|---|---|---|---|---|---|
| mAP | Rank-1 | Rank-1 | Rank-5 | mAP | Rank-1 | mAP | Rank-1 | |
| AP3D [ 16 ] | 85.1 | 90.1 | 88.7 | - | 65.4 | 84.2 | 37.9 | 62.0 |
| TCLNet [ 23 ] | 85.1 | 89.8 | 86.6 | - | 60.6 | 79.8 | 35.3 | 50.9 |
| MGH [ 52 ] | 85.8 | 90.0 | 85.6 | 97.1 | 72.6 | 90.1 | 42.9 | 70.1 |
| GRL [ 36 ] | 84.8 | 91.0 | 90.4 | 98.3 | 65.9 | 86.4 | 35.8 | 53.5 |
| BiCnet-TKS [ 22 ] | 86.0 | 90.2 | - | - | 62.2 | 80.2 | 34.7 | 47.6 |
| Model | Components | MARS | SportsVReID | |||
|---|---|---|---|---|---|---|
| CMR | TFE | mAP | Rank-1 | mAP | Rank-1 | |
| 1 | 88.5 | 91.2 | 75.5 | 88.6 | ||
| 2 | ✓ | 89.7 | 92.2 | 77.3 | 87.9 | |
| 3 | ✓ | 88.5 | 91.5 | 76.6 | 89.0 | |
| 4 | ✓ | ✓ | 89.8 | 92.5 | 77.7 | 90.4 |
| Memory | MARS | SportsVReID | ||
|---|---|---|---|---|
| mAP | Rank-1 | mAP | Rank-1 | |
| Image Mem. only | 88.5 | 91.5 | 76.6 | 89.0 |
| Text Mem. only | 86.8 | 90.6 | 73.1 | 84.6 |
| Image+Text Mem. (naive sum) | 89.3 | 92.2 | 77.2 | 87.9 |
| Refined Mem. (ours, w/ CMR) | 89.8 | 92.5 | 77.7 | 90.4 |
| # Token | MARS | SportsVReID | ||
|---|---|---|---|---|
| ( ) | mAP | Rank-1 | mAP | Rank-1 |
| 5 | 89.5 | 92.1 | 77.1 | 89.3 |
| 15 | 89.6 | 92.2 | 77.7 | 90.4 |
| 50 | 89.8 | 92.5 | 77.8 | 89.3 |
| 100 | 89.6 | 92.4 | 77.0 | 88.2 |
| 200 | 89.4 | 92.6 | 77.2 | 88.2 |
| Methods | MARS | SportsVReID | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 20% | 40% | 60% | 80% | 100% | 20% | 40% | 60% | 80% | 100% | |
| FT-CLIP [ 59 ] | 78.2 | 82.2 | 84.6 | 87.0 | 87.8 | 63.9 | 68.6 | 70.8 | 74.7 | 74.4 |
| VSLA-CLIP [ 59 ] | 78.1 | 83.2 | 86.1 | 87.7 | 88.2 | 57.8 | 68.6 | 70.2 | 73.7 | 74.1 |
| TF-CLIP [ 55 ] | 79.5 | 84.1 | 87.0 | 88.1 | 89.4 | 65.4 | 70.5 | 73.3 | 76.3 | 77.3 |
| CG-CLIP (Ours) | 81.1 | 85.6 | 87.7 | 88.7 | 89.8 | 66.6 | 72.8 | 74.2 | 76.3 | 77.7 |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| ID | Sports | Gender | Uniform | Number | Others |
|---|---|---|---|---|---|
| 1 | basketball | woman | yellow | 5 | bun hair |
| 2 | basketball | woman | blue | 10 | red shoes |
| 91 | soccer | man | gray, blue | 32 | black socks |
| 92 | soccer | man | white | 1 | red shoes |
| Dataset | Images | Caption |
|---|---|---|
| A female basketball player is wearing a blue uniform with the number 3. She has a ponytail. | ||
| SportsVReID | A woman basketball player is seen in a blue uniform with the number 7, and she also wears black shoes. | |
| A man soccer player, in a white uniform with the number 32, also has black shoes. | ||
| A female is dressed in a white cropped T-shirt with a black inner layer and white track pants. She wears white sneakers and her hair is styled in a half-updo. | ||
| DanceVReID | A male is wearing a shirt with red, white, and black stripes on the upper body and red, white, and black striped pants on the lower body. He also has on white socks and white sneakers with black accents, and his hair is short. | |
| She is a woman dressed in a red, white, and black top and matching red, white, and black pants. She also wears white socks and white sneakers with black accents, and her hair is in a ponytail. She is wearing a short jacket. |
| Method | MARS | SportsVReID | ||
|---|---|---|---|---|
| mAP | Rank-1 | mAP | Rank-1 | |
| (a) Self-attn (concat) | 89.6 | 92.0 | 76.9 | 87.1 |
| (b) Self-attn Cross-attn | 89.7 | 92.4 | 77.2 | 88.2 |
| (c) Cross-attn Self-attn | 89.8 | 92.5 | 77.7 | 90.4 |
| # Blocks | MARS | SportsVReID | ||
|---|---|---|---|---|
| mAP | Rank-1 | mAP | Rank-1 | |
| 1 | 89.5 | 91.9 | 77.5 | 90.1 |
| 2 | 89.8 | 92.5 | 77.7 | 90.4 |
| 3 | 89.6 | 91.9 | 76.8 | 87.1 |
| 4 | 89.6 | 92.4 | 77.8 | 88.2 |
| Input text type | MARS | iLIDS-VID | ||||
|---|---|---|---|---|---|---|
| Caption | ID text | ID emb | mAP | Rank-1 | Rank-1 | Rank-5 |
| ✓ | 89.7 | 92.3 | 96.0 | 99.9 | ||
| ✓ | 89.5 | 92.3 | 94.7 | 99.9 | ||
| ✓ | 89.6 | 92.3 | 95.3 | 99.3 | ||
| ✓ | ✓ | 89.8 | 92.5 | 96.7 | 99.9 | |
| ✓ | ✓ | 89.8 | 92.4 | 96.0 | 99.9 | |
| Method | SportsVReID | DanceVReID | ||
|---|---|---|---|---|
| mAP | Rank-1 | mAP | Rank-1 | |
| TF-CLIP [ 55 ] (w/o caption) | 77.3 | 89.7 | 51.7 | 70.8 |
| Ours: MLLM only | 77.5 | 89.3 | 53.5 | 74.2 |
| Ours: Manual + MLLM | 77.7 | 90.4 | 53.8 | 76.0 |
| Hyperparameter | Settings | ||
|---|---|---|---|
| MARS | iLIDS-VID | Others | |
| Batch size | 32 | 32 | 32 |
| # Identities per batch | 8 | 8 | 8 |
| # Tracklets per identity | 4 | 4 | 4 |
| # Frames per tracklet | 8 | 8 | 8 |
| Patch size | 16 | 16 | 16 |
Person Re-Identification
Person re-identification matches the same individual across camera views, times, clothing, and sensing modalities despite changes in appearance.
See all 90 papers