[Paper Review] RaSa: Relation and Sensitivity Aware Representation Learning for Text-based Person Search
RaSa proposes a novel representation learning framework for text-based person search that introduces Relation-Aware (RA) and Sensitivity-Aware (SA) learning to improve multi-modal representation quality. By distinguishing strong from weak positive pairs and detecting word replacements under data augmentation, RaSa achieves state-of-the-art performance, outperforming prior methods by 6.94%, 4.45%, and 15.35% in Rank@1 on CUHK-PEDES, ICFG-PEDES, and RSTPReid, respectively.
Text-based person search aims to retrieve the specified person images given a textual description. The key to tackling such a challenging task is to learn powerful multi-modal representations. Towards this, we propose a Relation and Sensitivity aware representation learning method (RaSa), including two novel tasks: Relation-Aware learning (RA) and Sensitivity-Aware learning (SA). For one thing, existing methods cluster representations of all positive pairs without distinction and overlook the noise problem caused by the weak positive pairs where the text and the paired image have noise correspondences, thus leading to overfitting learning. RA offsets the overfitting risk by introducing a novel positive relation detection task (i.e., learning to distinguish strong and weak positive pairs). For another thing, learning invariant representation under data augmentation (i.e., being insensitive to some transformations) is a general practice for improving representation's robustness in existing methods. Beyond that, we encourage the representation to perceive the sensitive transformation by SA (i.e., learning to detect the replaced words), thus promoting the representation's robustness. Experiments demonstrate that RaSa outperforms existing state-of-the-art methods by 6.94%, 4.45% and 15.35% in terms of Rank@1 on CUHK-PEDES, ICFG-PEDES and RSTPReid datasets, respectively. Code is available at: https://github.com/Flame-Chasers/RaSa.
Motivation & Objective
- To address overfitting caused by noisy weak positive pairs in text-based person search.
- To improve representation robustness by making models sensitive to meaningful data transformations, rather than just invariant.
- To enhance cross-modal alignment between text and image embeddings through novel self-supervised tasks.
- To achieve state-of-the-art performance on standard text-based person search benchmarks.
Proposed method
- Introduces Relation-Aware (RA) learning with a probabilistic Image-Text Matching (p-ITM) task and a Positive Relation Detection (PRD) task to differentiate strong and weak positive pairs.
- Employs a momentum-based generator to produce realistic word replacements for the replaced token detection (m-RTD) task in Sensitivity-Aware (SA) learning.
- Uses contrastive learning (CL) as the backbone, integrating RA and SA tasks through multi-task optimization with learnable loss weights.
- Applies a masking ratio and input probability to balance noise and useful information during training, optimizing for robustness and generalization.
- Utilizes a momentum model to stabilize the generation of replaced tokens, progressively increasing the difficulty of the detection task.
- Employs a dual-branch architecture with shared encoder and momentum-updated key network to enable contrastive learning with dynamic augmentations.

Experimental results
Research questions
- RQ1How can we reduce overfitting caused by weak positive pairs in text-based person search?
- RQ2Can learning to detect sensitive transformations (e.g., word replacements) improve representation robustness beyond invariance?
- RQ3What is the impact of using a dynamic, momentum-based generator for data augmentation in self-supervised learning for person search?
- RQ4How do different training strategies for replaced token detection affect final retrieval performance?
- RQ5To what extent does the proposed method generalize across fine-grained and coarse-grained image-text retrieval benchmarks?
Key findings
- RaSa achieves a 6.94% absolute improvement in Rank@1 on the CUHK-PEDES dataset compared to the previous state-of-the-art method.
- On the ICFG-PEDES dataset, RaSa improves Rank@1 by 4.45% over the strongest baseline.
- The RSTPReid dataset sees the largest gain, with a 15.35% increase in Rank@1, demonstrating strong performance on challenging, fine-grained person search.
- The best-performing variant, m-RTD using a momentum generator, achieves 76.51% Rank@1, outperforming both online (75.99%) and fixed generator (75.13%) variants.
- Ablation studies confirm that the combination of RA and SA tasks yields the highest gain, with m-RTD providing the most effective token replacement detection.
- Hyperparameter analysis shows optimal performance at p^w = 0.1 (weak positive input probability), p^m = 0.3 (masking ratio), and λ1 = λ2 = λ3 = 0.5 (loss weights).

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.