PLOT: Text-Based Person Search with Part Slot Attention for Corresponding Part Discovery

Jicheol Park, Dongwon Kim, Boseung Jeong, Suha Kwak

Abstract

Text-based person search (TBPS) involves retrieving a specific person from a large image database based on a natural language description. A key challenge in TBPS is achieving fine-grained alignment between visual features and textual attributes. Existing methods often rely on rigid spatial partitioning or external tools like pose estimators, which can be inflexible or computationally expensive. We propose PLOT (Part sLOT attention), a novel framework that autonomously discovers and aligns human body parts across modalities using a shared slot mechanism. PLOT achieves state-of-the-art results on major benchmarks, demonstrating the effectiveness of unsupervised part discovery and dynamic attention in cross-modal retrieval.

Introduction

The core difficulty in TBPS lies in distinguishing individuals with similar global appearances but different fine-grained details, such as specific shoe colors or bag types. Traditional approaches typically use heuristic partitioning, such as horizontal strips, which often fail under varying poses, viewpoints, or occlusions. Alternatively, some methods utilize external pose estimators or attribute segmentors, which introduce additional computational overhead and potential error propagation from the external tools.

PLOT addresses these issues by introducing a Part Discovery Module (PDM) that learns to segment the human body into semantic parts without explicit labels. By leveraging a competition-based slot attention mechanism and a dynamic weighting strategy, PLOT ensures that corresponding parts in images and text are accurately matched in a shared semantic space.

Methodology

The PLOT architecture is built upon a dual-encoder backbone (CLIP ViT-B/16) and incorporates several key innovations for part-level alignment.

Overall architecture of the PLOT framework, showing the dual-encoder backbone, Part Discovery Module (PDM), and Text-Based Dynamic Part Attention (TDPA).

Part Discovery Module (PDM)

The PDM is the heart of the PLOT framework. It utilizes the "Slot Attention" mechanism, where a set of learnable vectors, termed "part slots," compete to bind to specific image regions or text tokens. This competition forces the slots to specialize in distinct, non-overlapping entities, effectively performing unsupervised part discovery. The module uses PSA Blocks to iteratively refine these slots.

Detailed view of the Part Discovery Module (PDM) featuring PSA Blocks that iteratively refine part slots through competition.

Slot Sharing and Correspondence

To ensure cross-modal alignment, PLOT uses the same set of initial part slots for both image and text encoders. This shared semantic space forces the model to associate specific slots with consistent concepts (e.g., "Slot 1" representing the head/hat area) across both pixels and words, facilitating direct comparison between modalities.

Text-Based Dynamic Part Attention (TDPA)

Recognizing that not all parts are equally relevant to a specific query, the TDPA module dynamically assigns importance weights to each slot based on the global text representation. For instance, if a query emphasizes a "yellow bag," TDPA prioritizes the corresponding bag slot, enhancing the retrieval focus on the most descriptive elements of that specific search.

Training Objectives

The model is optimized using a combination of global alignment losses, a part-level contrastive loss (PartNCE) to refine slot-specific features, and a cross-modal masked language modeling (CMLM) task to improve the interaction between visual and textual features.

Experiments and Results

PLOT was evaluated on three standard benchmarks: CUHK-PEDES, ICFG-PEDES, and RSTPReid. The model significantly outperformed previous state-of-the-art (SOTA) methods across all metrics.

Dataset Rank-1 Accuracy Improvement over SOTA
CUHK-PEDES 75.28% +1.9%
ICFG-PEDES 65.76% +1.7%
RSTPReid 61.80% +1.6%

Qualitative analysis shows that PLOT successfully ignores background noise and focuses on distinctive details like ponytails or specific footwear, even when these items appear in varied positions across different images.

Conclusion

PLOT demonstrates that unsupervised part alignment is not only possible but highly effective for TBPS. By replacing rigid partitioning with a flexible, competition-based slot mechanism, the model achieves superior accuracy and greater interpretability. Future work will explore more explicit foreground-background separation to further enhance the robustness of part embeddings against complex environmental noise.

Summary updated

BibTeX
@inproceedings{park2024plot,
  author = {Jicheol Park and Dongwon Kim and Boseung Jeong and Suha Kwak},
  title = {{PLOT: Text-Based Person Search with Part Slot Attention for Corresponding Part Discovery}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72664-4\_27},
}
Figure