Skip to main content
QUICK REVIEW

[Paper Review] RaSa: Relation and Sensitivity Aware Representation Learning for Text-based Person Search

Yang Bai, Min Cao|arXiv (Cornell University)|May 23, 2023
Multimodal Machine Learning ApplicationsComputer Science55 references6 citations
TL;DR

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.

ABSTRACT

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.
Figure 1: Illustration of (a) two types of positive relations for relation-aware learning, where the noise interference in the weak positive pairs is highlighted in red, (b) replaced token detection for sensitivity-aware learning, in which word replacement is used as the sensitive transformation and
Figure 1: Illustration of (a) two types of positive relations for relation-aware learning, where the noise interference in the weak positive pairs is highlighted in red, (b) replaced token detection for sensitivity-aware learning, in which word replacement is used as the sensitive transformation and

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).
Figure 2: Model architecture of RaSa. It consists of an image encoder, a text encoder and a cross-modal encoder. An intra- and cross-modal CL task is attached after the unimodal encoders for unimodal representation learning. RA and SA tasks are tied after the cross-modal encoders for multi-modal rep
Figure 2: Model architecture of RaSa. It consists of an image encoder, a text encoder and a cross-modal encoder. An intra- and cross-modal CL task is attached after the unimodal encoders for unimodal representation learning. RA and SA tasks are tied after the cross-modal encoders for multi-modal rep

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.