Progressive Feature Mining and External Knowledge-Assisted Text-Pedestrian Image Retrieval

Huafeng Li, Shedan Yang, Yafei Zhang, Dapeng Tao, Zhengtao Yu · DOI

TL;DR

This paper introduces a novel method for text-pedestrian image retrieval that tackles the challenges of differing modalities between text and images, and the variability in how pedestrians are described. By progressively mining discriminative features and using knowledge from similar samples, the model achieves state-of-the-art results, even surpassing larger pre-trained models.

What Problem Does This Paper Address?

Text-pedestrian image retrieval aims to find a specific pedestrian in surveillance footage using a textual description. This is a crucial task for public safety, especially in areas with monitoring blind spots. However, this task faces two main hurdles:

  1. Modality Discrepancy: Images and text are inherently different forms of data, making it difficult to directly compare them.
  2. Textual Diversity: Even for the same pedestrian, different witnesses might describe them using varied language, focusing on different attributes, or using different sentence structures. This variability can confuse retrieval models.

Existing methods have made progress, but they often fail to comprehensively address both these challenges simultaneously, leading to suboptimal retrieval performance.

Methods

The proposed method, Progressive Feature Mining and External Knowledge-Assisted Feature Purification (PFM-EKFP), tackles these issues in two main stages:

  1. Progressive Feature Mining (PFM): This module aims to extract richer, more discriminative features from both images and text. It operates in two stages:
  2. Stage I (DRAM): A Dual Reverse Attention Module (DRAM) is used to identify both shared and non-shared features between text and image pairs. The non-shared features are then further processed to extract discriminative information, which is combined with the shared features.
  3. Stage II (SRAM): A Single Reverse Attention Module (SRAM) further refines these features by focusing on identity-relevant information that might be inconsistent with the primary features but still useful for identification. This stage helps in extracting subtle, fine-grained details.
  4. Transformer Encoders: New Transformer Encoder layers are introduced after the initial feature extraction to further mine discriminative features from the outputs of DRAM and SRAM.
  5. External Knowledge-Assisted Feature Representation (EKFR): This module leverages information from other samples within the same batch to improve the representation of the current sample.
  6. For Text: It uses descriptions of other pedestrians with the same identity to highlight consistent identity-related features and suppress variations in writing style.
  7. For Images: It uses images of other pedestrians with the same identity to emphasize consistent visual features and downplay variations due to different viewpoints or lighting.
  8. This approach effectively "purifies" the features by emphasizing what makes a pedestrian unique and consistent across different descriptions or views, while downplaying irrelevant variations.

The entire model is trained end-to-end using a combination of cross-modal projection matching (CMPM) and classification (CMPC) losses, along with an ID loss to ensure identity consistency.

Datasets

The proposed method was evaluated on three standard text-pedestrian image retrieval datasets:

  • CUHK-PEDES: A widely used large-scale dataset with 40,206 images and 80,412 text descriptions for 13,003 pedestrians.
  • ICFG-PEDES: A dataset with more detailed descriptions, containing 54,522 images and 54,522 text descriptions for 4,102 pedestrians.
  • RSTPReid: A dataset designed for real-world scenarios, featuring 20,505 images of 4,101 pedestrians, with each pedestrian having multiple images from different cameras and two text descriptions per image.

Key Insights and Ideas

  • Progressive Mining is Key: The paper highlights that simply extracting features isn't enough. A progressive approach, where features are mined in stages and refined, is crucial for capturing subtle discriminative information that might be missed by standard methods.
  • Leveraging "Neighbors": The idea of using knowledge from other samples of the same identity within a batch is a powerful way to enhance identity-specific features and suppress noise from superficial differences (like writing style or minor pose variations). This is akin to learning by comparing with similar examples.
  • No Need for Large Pre-trained Models: A significant insight is that the proposed method achieves superior performance without relying on massive, pre-trained vision-language models (like CLIP or ALBEF), which often require substantial computational resources. This makes the method more practical for deployment.
  • Fine-grained Details Matter: The qualitative results suggest that while the model is good, differentiating between very similar fine-grained attributes (e.g., shorts vs. long pants) remains a challenge, pointing towards future research directions.

Key Results

The PFM-EKFP method demonstrated strong performance across all three datasets:

  • CUHK-PEDES: Achieved 77.24% Rank-1 accuracy, outperforming existing methods and even surpassing large-scale VLP-based methods. It showed a significant improvement of 4.10% in mAP over the previous best approach (RaSa).
  • ICFG-PEDES: Achieved 69.29% Rank-1 accuracy and 47.15% mAP, outperforming all compared methods, including those using large-scale VLP models.
  • RSTPReid: Achieved 48.65% Rank-1 accuracy and 43.08% mAP. While slightly outperformed by methods using large VLP models on this smaller dataset, it still showed significant improvements over other non-VLP methods.
  • Ablation Studies: Confirmed the effectiveness of both PFM and EKFR modules, with their combination yielding the best results. PFM alone improved Rank-1 accuracy by over 8% on CUHK-PEDES, and EKFR further boosted performance significantly.

Limitations and Future Work

  • Limitations:
    • The paper notes that on smaller datasets like RSTPReid, pre-trained large-scale models can offer a performance advantage due to their extensive prior knowledge.
  • Qualitative results indicate that differentiating between very similar fine-grained attributes (e.g., subtle differences in clothing or accessories) remains a challenge for hard negative samples.
  • Future Work:
    • The authors plan to focus on mining even finer-grained discriminative features to improve the differentiation of hard negative samples and further enhance retrieval performance.

Summary updated

BibTeX
@misc{li2023progressive,
  author = {Huafeng Li and Shedan Yang and Yafei Zhang and Dapeng Tao and Zhengtao Yu},
  title = {{Progressive Feature Mining and External Knowledge-Assisted Text-Pedestrian Image Retrieval}},
  year = {2023},
  eprint = {2308.11994},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.11994},
}
Figure