Skip to main content
QUICK REVIEW

[Paper Review] CPCL: Cross-Modal Prototypical Contrastive Learning for Weakly Supervised Text-based Person Retrieval

Xinpeng Zhao, Yanwei Zheng|arXiv (Cornell University)|Jan 18, 2024
Video Surveillance and Tracking MethodsComputer Science3 citations
TL;DR

This paper proposes Cross-Modal Prototypical Contrastive Learning (CPCL), a novel method for weakly supervised text-based person re-identification that leverages modality-specific prototypes to reduce intra-class variations and bridge cross-modal semantic gaps. By introducing a Prototypical Multi-modal Memory (PMM) module with momentum-updated prototypes and an Outlier Pseudo Label Mining (OPLM) module, CPCL achieves state-of-the-art performance, improving Rank@1 accuracy by 11.58%, 8.77%, and 5.25% on CUHK-PEDES, ICFG-PEDES, and RSTPReid, respectively.

ABSTRACT

Weakly supervised text-based person retrieval seeks to retrieve images of a target person using textual descriptions, without relying on identity annotations and is more challenging and practical. The primary challenge is the intra-class differences, encompassing intra-modal feature variations and cross-modal semantic gaps. Prior works have focused on instance-level samples and ignored prototypical features of each person which are intrinsic and invariant. Toward this, we propose a Cross-Modal Prototypical Contrastive Learning (CPCL) method. In practice, the CPCL introduces the CLIP model to weakly supervised text-based person retrieval to map visual and textual instances into a shared latent space. Subsequently, the proposed Prototypical Multi-modal Memory (PMM) module captures associations between heterogeneous modalities of image-text pairs belonging to the same person through the Hybrid Cross-modal Matching (HCM) module in a many-to-many mapping fashion. Moreover, the Outlier Pseudo Label Mining (OPLM) module further distinguishes valuable outlier samples from each modality, enhancing the creation of more reliable clusters by mining implicit relationships between image-text pairs. We conduct extensive experiments on popular benchmarks of weakly supervised text-based person retrieval, which validate the effectiveness, generalizability of CPCL.

Motivation & Objective

  • To address the challenge of intra-class variations in weakly supervised text-based person re-identification (TPRe-ID), where identity annotations are absent.
  • To overcome the limitations of instance-level contrastive learning by modeling prototypical features that are invariant to intra-modal variations and cross-modal gaps.
  • To improve clustering quality and representation learning by dynamically maintaining prototypical features using a momentum-based memory module.
  • To enhance model robustness by identifying and integrating valuable unclustered (outlier) image-text pairs through pseudo label mining.
  • To achieve state-of-the-art performance in weakly supervised TPRe-ID without relying on identity annotations.

Proposed method

  • Introduces Cross-Modal Prototypical Contrastive Learning (CPCL), which aligns image and text instances to their respective modality-specific prototypes instead of relying solely on instance-level contrastive loss.
  • Employs a Prototypical Multi-modal Memory (PMM) module that maintains and updates dynamic prototypes using a momentum update scheme to stabilize training and improve feature representation.
  • Utilizes a Hybrid Cross-modal Matching (HCM) module that computes both Prototypical Contrastive Matching (PCM) loss between instance and prototype features and Instance-level Cross-modal Projection Matching (ICPM) loss using pseudo-labeled positive and negative pairs.
  • Proposes an Outlier Pseudo Label Mining (OPLM) module to identify and integrate unclustered image-text pairs into the training process, improving cluster quality and model generalization.
  • Adopts CLIP as the backbone encoder to enable strong zero-shot transfer and cross-modal alignment in a shared latent space.
  • Applies DBSCAN for initial pseudo-labeling of image and text clusters, followed by iterative refinement using the proposed CPCL framework.

Experimental results

Research questions

  • RQ1Can modeling prototypical features instead of instance-level features improve performance in weakly supervised text-based person re-identification?
  • RQ2How does dynamic prototype updating via a momentum-based memory mechanism affect model stability and performance in weakly supervised settings?
  • RQ3To what extent can unclustered (outlier) image-text pairs contribute to better clustering and representation learning in the absence of identity annotations?
  • RQ4Does combining prototype-level and instance-level contrastive learning lead to better intra-class compactness and inter-class separability than instance-level learning alone?
  • RQ5How does the proposed method compare to existing baselines in terms of robustness and generalization across diverse weakly supervised TPRe-ID benchmarks?

Key findings

  • CPCL achieves state-of-the-art performance on all three benchmark datasets: CUHK-PEDES, ICFG-PEDES, and RSTPReid, with a 11.58% improvement in Rank@1 over the baseline.
  • The PCM_c variant of the prototypical contrastive loss outperforms PCM_s, demonstrating that cross-modal prototype alignment is more effective than instance-to-prototype matching alone.
  • The momentum updating scheme for the PMM module significantly improves model performance, as disabling it leads to instability and reduced accuracy.
  • The two-stage OPLM training scheme outperforms one-stage OPLM, indicating that iterative mining of unclustered image-text pairs enhances model learning and generalization.
  • t-SNE visualization confirms that CPCL achieves better intra-class compactness and inter-class separability compared to the baseline, especially for image samples.
  • Grad-CAM saliency maps show that CPCL focuses more on relevant body attributes described in the text, indicating improved cross-modal attention alignment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.