Visual-Textual Association with Hardest and Semi-Hard Negative Pairs Mining for Person Search

Jing Ge, Guangyu Gao, Zhen LiuarXiv 2019

Introduction

Person search via natural language description is a critical task in surveillance and forensic analysis, where a target individual must be identified across a vast network of cameras based solely on a verbal description. Unlike traditional person re-identification (Re-ID) which uses image queries, this task requires bridging the "modality gap" between abstract linguistic concepts and high-dimensional visual data.

The Visual-Textual Association Challenge

The primary difficulty in person search is the discrepancy between text and images. Textual descriptions are often sparse and abstract (e.g., "a man in a blue polo shirt"), while images are detail-rich but contain significant noise, such as background clutter or other pedestrians. Standard models often fail to capture the fine-grained attributes necessary to distinguish between similar-looking individuals. Furthermore, training typically relies on random negative samples, which are often too "easy" for the model to learn meaningful discriminative features.

Proposed Methodology

The authors introduce a novel architecture designed to tighten the association between pixels and words through three key innovations:

1. Smoothed Global Maximum Pooling (S-GMP)

Traditional architectures often employ Global Average Pooling (GAP), which can dilute salient features, or Global Max Pooling (GMP), which is prone to noise. S-GMP provides a middle ground by using GMP to capture prominent features (like a specific logo or accessory) while weighting it with a sigmoid-activated GAP to maintain global context and feature smoothness.

2. Memory Attention Mechanism

To process textual input, the model utilizes a Bi-directional Long Short-Term Memory (Bi-LSTM) network. A memory attention mechanism, based on the LSTM's cell units, allows the network to dynamically focus on the most descriptive words in a sentence when calculating similarity with image features.

The proposed network architecture, illustrating the S-GMP visual module and the Bi-LSTM textual module with memory attention.

3. Hard and Semi-Hard Negative Mining

The core innovation of this work is its sophisticated negative mining strategy. Rather than using random pairs, the model identifies:

  • Hardest Negatives: The most similar "incorrect" image for a given description, or vice versa.
  • Semi-Hard Negatives: Samples that are highly similar to the target but belong to a different identity. This prevents the model from converging on local optima too early and provides a more stable gradient during training.

Experimental Results

The proposed method was evaluated primarily on the CUHK-PEDES benchmark, the largest dataset for this task. The results demonstrate a significant leap over previous state-of-the-art (SOTA) methods.

Performance comparison of the proposed method against state-of-the-art models on the CUHK-PEDES dataset.

Using a ResNet-50 backbone, the model achieved a Top-1 accuracy of 55.32%, representing a substantial improvement over previous benchmarks which typically hovered in the 43-44% range. Ablation studies further confirmed that the combination of triplet loss with both semi-hard and hardest negative mining is essential for achieving these results.

Conclusion

By combining specialized pooling techniques with a rigorous negative mining strategy, this research sets a new standard for person search. The "hardest and semi-hard" mining approach ensures that the model learns to distinguish subtle attributes, making it far more robust for real-world applications. Future work may extend these cross-modal retrieval techniques to broader image-captioning tasks.

Summary updated

BibTeX
@misc{ge2019visual,
  author = {Jing Ge and Guangyu Gao and Zhen Liu},
  title = {{Visual-Textual Association with Hardest and Semi-Hard Negative Pairs Mining for Person Search}},
  year = {2019},
  eprint = {1912.03083},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.03083},
}
Figure