Source-linked AI summary

Person Search with Natural Language Description

Shuang Li, Tong Xiao, Hongsheng Li, Bolei Zhou, Dayu Yue, Xiaogang Wang

arXiv:1702.05729v2cs.CV

TL;DR

The paper addresses person search from natural-language descriptions, motivated by the practical limits of image- and attribute-based queries. It builds the CUHK-PEDES benchmark, evaluates baselines, and proposes GNA-RNN, which achieves the best top-1 and top-10 accuracy among compared methods.

  • Problem

    Person search lacks a natural-language benchmark, while image-based queries require a photo and attribute-based queries have limited descriptive capability.

  • Method

    The paper constructs CUHK-PEDES and uses GNA-RNN to learn sentence–person-image affinities through visual units, unit-level attention, and word-level gates.

  • Results

    The proposed approach achieves the best performance in both top-1 and top-10 accuracies and outperforms compared methods by a large margin.

  • Takeaways & Limitations

    Natural-language person search is supported by a large-scale benchmark and a gated-attention recurrent model that establishes state-of-the-art performance on the benchmark.

  • Takeaways & Limitations

    Image-based queries require at least one photo, while predefined attributes have limited capability to describe person appearance.

Abstract

from arXiv · show

Searching persons in large-scale image databases with the query of natural language description has important applications in video surveillance. Existing methods mainly focused on searching persons with image-based or attribute-based queries, which have major limitations for a practical usage. In this paper, we study the problem of person search with natural language description. Given the textual description of a person, the algorithm of the person search is required to rank all the samples in the person database then retrieve the most relevant sample corresponding to the queried description. Since there is no person dataset or benchmark with textual description available, we collect a large-scale person description dataset with detailed natural language annotations and person samples from various sources, termed as CUHK Person Description Dataset (CUHK-PEDES). A wide range of possible models and baselines have been evaluated and compared on the person search benchmark. An Recurrent Neural Network with Gated Neural Attention mechanism (GNA-RNN) is proposed to establish the state-of-the art performance on person search.

1. Introduction

The paper frames natural-language person search as a challenging, practically motivated computer-vision problem that addresses limitations of image- and attribute-based queries. It introduces a large-scale language dataset and evaluates vision-language approaches, including GNA-RNN.

  • Problem setting: Natural-language person search ranks person samples in a large-scale database using a free-form description as the query.The setting targets applications including video surveillance and activity analysis.
  • Limitations of existing queries: Image-based search requires at least one photo of the queried person, which may be unavailable when only a verbal suspect description exists.Image-based person search is also known as person re-identification.
  • Limitations of existing queries: Attribute-based queries have limited descriptive coverage and require expensive labeling across large-scale person image datasets.The cited example includes 61 binary and 4 multi-class attributes, whereas person appearance can be described with hundreds of words.
  • Motivation: Natural language can describe detailed person appearance without requiring a query photo or exhaustive attribute labeling.This motivates using free-form descriptions for person search.
  • Dataset: The CUHK-PEDES dataset contains 40,206 images of 13,003 persons and 80,412 sentence descriptions collected from independent workers.Images come from various re-identification datasets, while descriptions use varied vocabularies, phrases, and sentence structures.
  • Methods and contributions: The paper evaluates image-captioning, visual-question-answering, and visual-semantic-embedding frameworks, then proposes GNA-RNN for sentence-image affinity estimation.GNA-RNN uses unit-level visual attention and word-level gates; the authors report state-of-the-art benchmark performance.

2. Benchmark for person search with natural language description

This benchmark introduces CUHK-PEDES, a large-scale dataset pairing person images with rich natural-language descriptions, and uses user studies to assess their expressive power for person search.

  • Dataset construction: CUHK-PEDES contains 40,206 images of 13,003 persons collected from five person re-identification datasets, with two descriptions per image.The benchmark includes 80,412 crowd-sourced sentences and incorporates appearance, action, pose, and interaction details.
  • Dataset construction: The dataset uses 1,993 workers and requires descriptions to cover important image characteristics in sentences of at least 15 words.The broad worker pool supports diverse language descriptions, reducing reliance on a few annotators’ phrasing.
  • Language analysis: Its 1,893,118 words and 9,408 unique words include mostly 20-to-40-word sentences, averaging 23.5 words.These sentences are longer than those reported for MS-COCO Caption and Visual Genome.
  • User study: In manual retrieval, language descriptions achieve 58.7% top-1 and 92.0% top-5 accuracy, versus 33.3% and 74.7% for attributes.Language-based searches also take 62.18 seconds on average, compared with 81.84 seconds for attribute-based searches.
  • User study: User studies examine how sentence number, sentence length, and word types affect manual person-search accuracy and time.A separate masking study reports that nouns provide the most information, followed by adjectives, while verbs provide the least.

3. GNA-RNN model for pedestrian search

GNA-RNN estimates sentence–person-image affinity by combining word-conditioned attention over visual units with learned word-level gates. Its LSTM language sub-network and visual sub-network aggregate these weighted responses into a final affinity for person search.

  • GNA-RNN architecture: GNA-RNN combines a visual sub-network encoding appearance patterns with an LSTM language sub-network that estimates sentence–image affinity.The visual network produces 512 visual units, while the language network processes words and image features.
  • Attention over visual units: At each word, unit-level attention assigns higher weights to visual units semantically related to that word.The attention vector has the same dimension as the visual-unit representation and is generated from the LSTM hidden state.
  • Affinity computation: The per-word affinity multiplies the word-level gate, unit attention, and corresponding visual-unit response before aggregation.High affinity requires both strong attention and a high visual response for the relevant concept.
  • Training scheme: The final sentence–image affinity aggregates affinities across all words, and training uses end-to-end batched stochastic gradient descent with corresponding and non-corresponding pairs.Positive and negative training samples are used in a 1:3 ratio; VGG-16 visual features are pretrained and then fixed.
  • Word-level gates for visual units: Word-level sigmoid gates weight words differently because words carry unequal amounts of information for language–image affinity.The gate is computed from the LSTM hidden state and complements the unit-level attention, whose values sum to 1.

4. Experiments

The experiments evaluate person-search methods and GNA-RNN components on a person-description benchmark. GNA-RNN achieves the best reported retrieval performance, while analyses examine initialization, attention, visual-unit capacity, and qualitative failure modes.

  • Evaluation setup: The benchmark uses disjoint person IDs across training, validation, and test, with top-1 and top-10 retrieval accuracy as evaluation metrics.The training split contains 11,003 persons, 34,054 images, and 68,108 descriptions; validation and test each contain 1,000 persons.
  • Compared methods: The study compares image-captioning, visual-QA, visual-semantic-embedding methods, and additional baselines under different vision-language training objectives.The compared approaches use word classification, answer classification, or distance-based losses, respectively.
  • Quantitative results: GNA-RNN achieves the best performance on both top-1 and top-10 accuracies, outperforming the compared methods by a large margin.The authors attribute this result to better capture of complex word-image relations.
  • Baseline analysis: NeuralTalk is the strongest baseline, while word-by-word processing performs better than approaches encoding the entire sentence into one feature vector.The authors also report that distance-based losses may be unsuitable for this person-search problem.
  • Component analysis: Both unit-level attention and word-level gates are important for GNA-RNN performance, and omitting person re-identification pre-training substantially reduces accuracy.The component analysis evaluates variants without gates, without attention, and without VGG-16 re-identification pre-training.
  • Visual-unit capacity: Using more visual units can overfit the dataset, while 512 units achieves the best result.The comparison varies the number of visual units and reports top-1 and top-10 accuracies.
  • Qualitative analysis: Qualitative failures include retrieving visually similar but incorrect persons and misinterpreting phrases or rare details such as “ring” and “bracelet”.The visual-unit inspection links frequently attended words such as “backpack”, “sleeveless”, “pink”, and “yellow” to common visual patterns.

5. Conclusions

The paper introduces natural-language person search, builds a large benchmark, and evaluates competing approaches. Its GNA-RNN learns sentence-image affinities with gated neural attention and establishes state-of-the-art performance on person search.

  • Contributions: The paper studies person search using natural-language descriptions and collects a dataset containing 80,412 descriptions of 13,003 persons.The dataset supports evaluation of language-based person retrieval.
  • Contributions: The authors evaluate diverse baselines and compare them on the proposed person-search benchmark.The conclusion summarizes the benchmark as a basis for comparing alternative approaches.
  • Contributions: GNA-RNN learns affinities between sentences and person images using a gated neural attention mechanism and establishes state-of-the-art performance.The model is presented as the paper’s proposed approach for language-based person search.
Loading 1702.05729v2…