Learning Robust Visual-Semantic Embedding for Generalizable Person Re-identification

Suncheng Xiang, Jingsheng Gao, Mengyuan Guan, Jiacheng Ruan, Chengfeng Zhou, Ting Liu, Dahong Qian, Yuzhuo FuarXiv 2023 · DOI

Abstract

Generalizable Person Re-identification (Re-ID) aims to recognize individuals across unseen camera networks. Traditional visual-only models often fail due to the "domain gap"—variations in lighting and background across different locations. This paper introduces the Multi-Modal Equivalent Transformer (MMET), which leverages stable textual descriptions as semantic anchors. By employing a novel Masked Multimodal Modeling (MMM) strategy that targets pedestrian regions, MMET learns robust features that generalize effectively to new environments.

Introduction

Person Re-identification (Re-ID) is the task of matching a specific individual across different cameras and locations. While deep learning has made Re-ID highly accurate within single datasets, these models often fail in real-world deployments due to the domain gap. Visual data is inherently noisy and varies wildly between domains. In contrast, semantic features—textual descriptions like "wearing a blue shirt"—are much more stable across environments. The challenge lies in effectively fusing these modalities to improve generalization without requiring retraining for every new location.

The MMET Framework

The authors introduce the Multi-Modal Equivalent Transformer (MMET). Unlike traditional models that fuse data early, MMET uses a two-stream architecture designed for robust feature extraction and cross-modal reasoning:

  1. Image Encoder: A Vision Transformer (ViT) that decomposes images into patches.
  2. Text Encoder: A Transformer-based model for tokenizing descriptive captions.
  3. Multi-modal Encoder: A fusion module that performs cross-modal reasoning on the outputs of both encoders to produce a joint embedding.
Architecture of the Multi-Modal Equivalent Transformer (MMET).

Masked Multimodal Modeling (MMM)

The core innovation of MMET is the Masked Multimodal Modeling (MMM) strategy. While standard masking (like in BERT) hides random words or pixels, MMM specifically targets the pedestrian region. By masking parts of the person's body in the image and corresponding tokens in the text, the model is forced to "fill in the blanks" using context from the other modality. This forces the network to learn the underlying relationship between appearance and description, prioritizing discriminative human features (like clothing patterns or accessories) over environmental noise.

Comparison of masking strategies: (a) Original, (b) Random, and (c) the proposed MMM strategy targeting the pedestrian region.

Experimental Results

The study utilized large-scale benchmarks including Market-1501, DukeMTMC-reID, and CUHK03, along with synthetic datasets like FineGPR (containing over 2 million image-text pairs) for pretraining. Key results include:

  • Generalization Boost: On the Market-1501 dataset, the MMET+MMM approach improved the mean Average Precision (mAP) from 15.4% (baseline) to 28.8%.
  • Rank-1 Accuracy: On DukeMTMC-reID, the model achieved a Rank-1 accuracy of 43.6%, outperforming several specialized unsupervised domain adaptation methods.
  • Ablation Success: Experiments confirmed that joint image and text masking (MMM) is significantly more effective than unimodal masking, proving the modalities are mutually beneficial.

Conclusion

MMET demonstrates that semantic anchors and targeted multimodal masking are essential for building robust, generalizable Re-ID systems. By focusing on the pedestrian region and leveraging large-scale synthetic data, the framework effectively bridges the domain gap. Future work will address the quality of textual descriptions and scaling the Vision Transformer backbone to even larger datasets.

Summary updated

BibTeX
@misc{xiang2023learning,
  author = {Suncheng Xiang and Jingsheng Gao and Mengyuan Guan and Jiacheng Ruan and Chengfeng Zhou and Ting Liu and Dahong Qian and Yuzhuo Fu},
  title = {{Learning Robust Visual-Semantic Embedding for Generalizable Person Re-identification}},
  year = {2023},
  eprint = {2304.09498},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.09498},
}
Figure