A Convolutional Baseline for Person Re-Identification Using Vision and Language Descriptions

Ammarah Farooq, Muhammad Awais, Fei Yan, Josef Kittler, Ali Akbari, Syed Safwan KhalidarXiv 2020

Abstract

Person re-identification (ReID) typically relies on visual query-by-example. However, in many practical scenarios, such as forensic investigations, only verbal descriptions are available. This paper introduces a robust convolutional baseline that integrates both visual images and natural language descriptions for cross-modal ReID. By employing a two-stream CNN architecture with shared classifier weights and Canonical Correlation Analysis (CCA), we demonstrate that language serves as an effective supervisory signal. Our approach improves visual retrieval performance by 22% and enables successful retrieval using text-only queries.

Introduction

Traditional person re-identification (ReID) systems operate on a "query-by-example" basis, requiring an initial photograph of the target individual. In real-world surveillance, this requirement is often a bottleneck, as witnesses may only provide verbal descriptions (e.g., "a young girl in a white t-shirt and dark shorts"). While some systems utilize predefined attribute tags, these are often too rigid to capture the nuances of human appearance.

Overview of the cross-modal person re-identification framework using language and vision queries.

This work addresses the challenge of cross-modal ReID, where the system must handle queries in the form of images, text, or a combination of both, across disjoint camera views and varying poses.

Methodology

The proposed framework utilizes a two-stream deep convolutional neural network (CNN) architecture:

  1. Architecture: Both vision and language streams are based on a modified ResNet-50. The vision stream processes $224 \times 224$ images, while the language stream processes text converted via Word2vec. To ensure comparable levels of abstraction, the language stream employs a 1D-CNN with $1 \times 3$ filters, mirroring the depth of the visual network.
  2. Shared Weights: To align the two modalities, the weights of the final fully connected layer (the identity classifier) are shared. This forces the model to represent the "concept" of an identity identically, regardless of the input modality.
  3. Canonical Correlation Analysis (CCA): Post-training, CCA is applied to the learned features to further maximize the correlation between visual and textual embeddings in a joint latent space.
  4. Optimization: The system is trained using cross-entropy loss, treating ReID as a large-scale multi-class classification problem where each identity represents a unique class.

Datasets and Evaluation

The study evaluates the model on several benchmarks:

  • CUHK-PEDES: A large-scale dataset containing over 80,000 descriptions for 13,003 identities.
  • CUHK-SYSU: A benchmark for person search.
  • crossRe-ID Protocol: A new, stricter testing protocol for CUHK-PEDES introduced by the authors. It ensures that query and gallery sets are disjoint across different poses and cameras, providing a more realistic ReID scenario.

Key Insights

  • Language as Supervision: Training with language descriptions acts as a regularizer for visual features. It forces the vision network to prioritize semantically meaningful attributes (like clothing and accessories) over background noise, leading to more robust feature extraction.
  • Shared Logits Strategy: Sharing weights in the final classification layer creates a common "template" for each identity, effectively pulling $f_{img}$ and $f_{txt}$ feature vectors toward the same identity-specific point in the embedding space.
  • Robustness of Natural Language: Unlike attribute-based systems, which are highly sensitive to minor misidentifications, natural language descriptions offer redundancy and context that handle human ambiguity more gracefully.

Experimental Results

The jointly trained model demonstrates significant performance gains:

  • Vision-to-Vision (V x V): On the crossRe-ID protocol, the model achieved an 82.05% Rank@1 accuracy, a 22% improvement over vision-only baselines.
  • Language-to-Vision (L x V): For text-only queries, the system reached 27.9% Rank@1, significantly outperforming previous separate-training methods.
  • Multi-Modal Synergy (VL x V): Combining image and text queries yielded 84.7% Rank@1, highlighting the complementary nature of the two modalities.
  • State-of-the-Art: The model achieved 46.44% Rank@1 on the standard CUHK-PEDES benchmark, surpassing specialized architectures like the Dual-Path CNN (DPC).

Conclusion and Future Work

While the integration of language significantly boosts ReID performance, a "language gap" remains, as text-only retrieval still lags behind vision-based methods. Future research will explore more complex linguistic structures, such as adjective-noun associations and syntax, to further refine feature learning and address viewpoint sensitivity in verbal descriptions.

Summary updated

BibTeX
@misc{farooq2020convolutional,
  author = {Ammarah Farooq and Muhammad Awais and Fei Yan and Josef Kittler and Ali Akbari and Syed Safwan Khalid},
  title = {{A Convolutional Baseline for Person Re-Identification Using Vision and Language Descriptions}},
  year = {2020},
  eprint = {2003.00808},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.00808},
}
Figure