Synthetic-To-Real Video Person Re-ID

Xiangqun Zhang, Wei Feng, Ruize Han, Likai Wang, Linqi Song, Junhui Hou

TL;DR

This paper introduces a novel framework for synthetic-to-real video person re-identification (Re-ID), significantly reducing the need for expensive manual video annotations. By leveraging highly diverse synthetic data from game engines and a multi-level adversarial training strategy, the authors demonstrate the surprising result that models trained on synthetic videos can actually outperform those trained on real-world datasets in cross-domain scenarios.

What Problem Does This Paper Address?

Person Re-ID—identifying the same individual across different non-overlapping camera views—is a cornerstone of modern surveillance and forensics. While image-based Re-ID has matured, video-based Re-ID offers richer temporal cues (like gait) but suffers from a massive data bottleneck: collecting and labeling thousands of hours of real-world video is prohibitively expensive and raises privacy concerns.

The authors tackle the "domain gap" between synthetic data (easy to generate and label) and real-world video (the deployment target). The challenge is twofold:

  1. Feature Invariance: How do we ensure the model learns features that aren't specific to the "look" of a video game engine?
  2. Temporal Consistency: How do we maintain stable identity representations across frames when we have no labels for the real-world target data?
Fig. 1. Illustration of different settings for person Re-ID tasks, including the (single domain) image/video person Re-ID and unsupervised domain adaptive (UDA) image person Re-ID in previous works. In this work, we focus on a new task of video-based UDA person Re-ID. Specifically, we are interested in the scene using synthetic videos as the source domain, which is more economical and practical.

Methods

The proposed framework uses a Student-Teacher architecture combined with multi-level adversarial learning.

  1. Multi-level Domain-Invariant Feature Learning: To bridge the synthetic-real gap, the authors use a Gradient Reversal Layer (GRL) to perform adversarial training at three granularities:
  2. Frame-level: Ensuring individual frames look "domain-neutral" to the feature extractor.
  3. Video-level: Aligning temporal sequences.
  4. Stitched Video-level: A novel "random stitch" technique that combines multiple sequences to force the model to learn long-term, domain-invariant distribution patterns.
  5. Self-Supervised ID Consistency: On the unlabeled real-world data, the model uses a Mean-Teacher scheme. The "Teacher" network (an exponential moving average of the "Student") provides stable pseudo-targets. To handle the lack of ground-truth IDs, the authors use a clustering-based consistency loss, grouping similar features in the target domain to enforce that the Student and Teacher agree on person identities.
The proposed framework featuring the Student-Teacher networks and the multi-level self-supervised losses.

Datasets

The authors introduce a new benchmark, SVReID, derived from a large-scale GTA-V based dataset.

  • SVReID / SVReID+: Synthetic datasets featuring 333 to 612 identities with diverse gaits, viewpoints, and lighting. It includes a specific subset for clothes-changing scenarios.
  • Real-world Evaluation: The model was tested on five prominent real-world datasets: MARS, iLIDS-VID, PRID-2011, LS-VID, and CCVID.
Fig. 3. Illustration of some examples in SVReID of the same identity with various view angles, lighting conditions, occlusion/clutters, and clothes changing.

Key Insights and Ideas

  • Variety Trumps Scale: A key finding is that the diversity of synthetic data (controlled lighting, extreme angles, varied occlusions) is more important for generalization than the sheer number of samples.
  • Synthetic > Real for Cross-Domain: In many tests, training on synthetic data led to better performance on a third, unseen real dataset than training on a different real dataset. This suggests synthetic data can be "richer" and less prone to the specific biases of any single real-world camera setup.
  • Adversarial Stitching: By randomly stitching video features and using a regression-based domain discriminator, the model learns to ignore domain-specific "styles" that might persist across a single video sequence.

Key Results

The proposed method achieved state-of-the-art results in the UDA (Unsupervised Domain Adaptation) setting:

  • Performance Boost: Outperformed the previous best method (TF-CLIP) by over 10% mAP on the iLIDS-VID dataset.
  • Robustness: On the challenging clothes-changing CCVID dataset, the method achieved 72.4% mAP, significantly higher than methods specifically designed for clothes-changing but trained on less diverse data.
  • Qualitative Success: Qualitative analysis shows the model successfully handles complex backgrounds and heavy occlusions where baseline models fail.
Qualitative comparison showing the proposed method correctly identifying individuals under occlusion and lighting changes compared to the baseline.

Limitations and Future Work

While the results are promising, the authors note that the current datasets for clothes-changing video Re-ID are still relatively small. They suggest that future work should focus on building even larger, more unified synthetic datasets that cover a wider array of real-world edge cases. Additionally, they point toward diffusion models as a potential next step for generating even more realistic and varied training sequences to further narrow the synthetic-to-real gap.

Summary updated

BibTeX
@article{zhang2025synthetic,
  author = {Xiangqun Zhang and Wei Feng and Ruize Han and Likai Wang and Linqi Song and Junhui Hou},
  title = {{Synthetic-To-Real Video Person Re-ID}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2025},
  doi = {10.1109/tifs.2025.3574972},
}
Figure