Learning Semantic-Aligned Feature Representation for Text-based Person Search

Shiping Li, Min Cao, Min Zhang
12/13/2021
cs.CVcs.AIcs.MM
transformer-attention

Official code: reallsp/SAF (13 stars, Python, MIT, last commit 2023-09-06).

Abstract

Text-based person search aims to retrieve images of a certain pedestrian by a textual description. The key challenge of this task is to eliminate the inter-modality gap and achieve the feature alignment across modalities.

Show full abstract

In this paper, we propose a semantic-aligned embedding method for text-based person search, in which the feature alignment across modalities is achieved by automatically learning the semantic-aligned visual features and textual features. First, we introduce two Transformer-based backbones to encode robust feature representations of the images and texts. Second, we design a semantic-aligned feature aggregation network to adaptively select and aggregate features with the same semantics into part-aware features, which is achieved by a multi-head attention module constrained by a cross-modality part alignment loss and a diversity loss. Experimental results on the CUHK-PEDES and Flickr30K datasets show that our method achieves state-of-the-art performances.

View on arXivView PDF

Code Implementations(1)

reallsp/SAFOfficial100%
MIT
133Python, ShellApr 9, 20223 years agoMIT

Similar Papers

Cite this paper

@article{li2021learning,
  title  = {Learning Semantic-Aligned Feature Representation for Text-based Person Search},
  author = {Shiping Li and Min Cao and Min Zhang},
  year   = {2021},
  eprint = {2112.06714},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.06714}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.06714.svg)](https://codeofpaper.com/paper/2112.06714)

Discussion