Semi-Supervised Exploration in Image Retrieval

Cheng Chang, Himanshu Rai, Satya Krishna Gorti, Junwei Ma, Chundi Liu, Guang Wei Yu, Maksims VolkovsarXiv 2019

Abstract

We present our solution to Landmark Image Retrieval Challenge 2019. This challenge was based on the large Google Landmarks Dataset V2. The goal was to retrieve all database images containing the same landmark for every provided query image. Our solution is a combination of global and local models to form an initial KNN graph. We then use a novel extension of the recently proposed graph traversal method EGT referred to as semi-supervised EGT to refine the graph and retrieve better candidates.

Introduction

Image retrieval—finding all instances of a specific object or place in a massive database—is notoriously difficult for landmarks. A cathedral looks entirely different from the front than it does from a side alley or an interior courtyard.

Standard retrieval systems rely on visual similarity: if Image A looks like Image B, they are likely the same place. However, if Image A (front view) and Image C (side view) share no visual features, a standard system will never link them unless there is a "bridge" Image B (diagonal view) in the database to connect them. If that bridge is missing from the index set, the retrieval fails. This paper addresses how to find those missing links using external labeled data.

Methods

The authors' pipeline is a multi-stage refinement process that integrates global and local descriptors with graph-based exploration.

Overview of the multi-stage retrieval pipeline showing the progression from global descriptors to the final semi-supervised hybrid method.
  1. Global Descriptors: They use a "blend" of two CNN-based global features: GeM (Generalized Mean pooling) and DIR (Deep Image Retrieval). These provide a fast, initial ranking of the top 100 candidates.
  2. Local Descriptors & Spatial Verification: They use DELF-V2 to extract local features. They then apply RANSAC-based spatial verification (SV) to the top 10 candidates to ensure the geometric structures actually match, followed by Query Expansion (QE) to refine the search.
  3. Semi-Supervised EGT (The Core Innovation):
    • Standard EGT treats the image database as a graph where edges represent visual similarity. It "explores" neighbors and "exploits" high-confidence paths.
  4. Semi-Supervised EGT goes further by incorporating a labeled training set (Train-V2).

Semi-Supervised EGT: Bridging the Gap

The most powerful idea in this framework is treating class labels as "wormholes" to bypass the limitations of visual similarity. In a graph sense, a shared label creates a "zero-distance" edge between images that might be miles apart in feature space.

Visualization of the graph traversal method where training images (Cl) act as semantic bridges between visually distinct index images.

For a query image, the system identifies its likely landmark label via a majority vote of its nearest neighbors in the training set. It then injects "sub-graphs" from the training data into the retrieval graph. These sub-graphs act as high-priority bridges, allowing the algorithm to jump between visually distinct images in the index that share the same training label.

Key Results

The addition of Semi-Supervised EGT provided a massive performance leap over the baseline. The transition from standard unsupervised EGT to the semi-supervised version yielded a ~4-5 point mAP increase, proving that the training data bridges were highly effective.

Method Public mAP Private mAP
Blend (Baseline) 0.1753 0.2030
Blend + QE-SV 0.2150 0.2290
Blend + QE-SV + EGT (Unsupervised) 0.2545 0.2672
Blend + QE-SV + SemiSup-EGT 0.2964 0.3218

Limitations and Future Work

  • Dependency on Overlap: The method's success relies on the training set containing the same landmarks as the query/index sets. If a query is of a landmark not present in the labeled training data, the system reverts to standard unsupervised retrieval.
  • Computational Overhead: Performing graph traversal and spatial verification on large-scale datasets is computationally expensive compared to simple vector lookups.
  • Data Cleaning: The authors note they achieved these results without specific "data cleaning" (removing noisy images from the training set), suggesting further performance gains are possible with curated training sub-graphs.

Summary updated

BibTeX
@misc{chang2019semi,
  author = {Cheng Chang and Himanshu Rai and Satya Krishna Gorti and Junwei Ma and Chundi Liu and Guang Wei Yu and Maksims Volkovs},
  title = {{Semi-Supervised Exploration in Image Retrieval}},
  year = {2019},
  eprint = {1906.04944},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.04944},
}
Figure