Fast Interactive Image Retrieval using large-scale unlabeled data

Akshay Mehra, Jihun Hamm, Mikhail BelkinarXiv 2018

Abstract

An interactive image retrieval system learns which images in the database belong to a user's query concept by analyzing example images and feedback. The challenge is to retrieve relevant images with minimal user interaction. In this work, we propose to solve this problem by posing it as a binary classification task. Our method combines active learning with graph-based semi-supervised learning (GSSL) to tackle this problem. Active learning reduces user interactions by querying the most informative points, while GSSL utilizes abundant unlabeled data alongside limited user labels. To efficiently find informative points, we use uncertainty sampling based on the point nearest to the decision boundary, estimated via a novel adaptive threshold heuristic. To handle massive datasets, we use an efficient approximation that reduces GSSL complexity from $O(n^3)$ to $O(n)$. By incorporating multimodal visual and semantic information, our system remains robust to diversity and noise. High F1 scores on AnimalWithAttributes and ImageNet (1.2 million images) datasets demonstrate the effectiveness and scalability of our approach.

Introduction

Traditional image retrieval often relies on keywords or low-level visual features, which frequently fail to capture high-level human concepts—a challenge known as the "semantic gap." Relevance Feedback (RF) systems attempt to bridge this gap by allowing users to label images as "relevant" or "irrelevant." However, these systems face two major hurdles: the Small Sample Problem, where users are unwilling to provide many labels, and the Scalability Problem, where processing millions of images in real-time is computationally prohibitive.

Methodology

Our framework addresses these challenges through a three-pronged approach:

1. Scalable Graph-Based Semi-Supervised Learning (GSSL)

GSSL is highly effective at leveraging unlabeled data, but standard implementations require inverting massive matrices ($O(n^3)$). We utilize an approximation method that shifts the heavy computation of graph Laplacian eigenvectors to an offline step. This reduces online complexity to $O(n)$, allowing the system to retrain and provide results for 1.2 million images in under 5 seconds on a standard CPU.

2. Multimodal Integration

To better capture user intent, we build separate graphs for visual features (extracted via ResNet/Xception) and semantic features (derived from WordNet hierarchies). The final prediction is a convex combination of these views, enabling the system to understand both visual appearance and taxonomic context.

3. Active Learning with Adaptive Threshold

Active learning queries the images the system is most uncertain about—typically those near the decision boundary. However, because relevant images are rare in large databases, a fixed threshold of zero is often a poor choice. We introduce an Adaptive Threshold that iteratively shifts the decision boundary based on user feedback.

The adaptive thresholding mechanism shifts the decision boundary (red line) to better align with the distribution of relevant samples, leading to higher F1 scores.

Results and Discussion

The system was evaluated on the AnimalWithAttributes (37k images) and ImageNet (1.2M images) datasets using 30 custom concepts.

  • Efficiency: Most concepts reached high accuracy after only 8 rounds of labeling (approx. 12 images).
  • Performance: The adaptive threshold proved critical. As shown in Figure 2, while a constant threshold can eventually improve, it is significantly less efficient in early rounds compared to the adaptive approach.
Performance using a constant threshold (0.0). While F1 scores improve over hundreds of rounds, the system is less responsive to the skewed class distribution in early interactions.

Conclusion

By combining scalable GSSL with adaptive active learning, we enable high-performance interactive retrieval on a million-image scale. Future work will focus on automatically learning the optimal weights for visual versus semantic modalities and refining threshold stability in the earliest interaction rounds.

Summary updated

BibTeX
@misc{mehra2018fast,
  author = {Akshay Mehra and Jihun Hamm and Mikhail Belkin},
  title = {{Fast Interactive Image Retrieval using large-scale unlabeled data}},
  year = {2018},
  eprint = {1802.04204},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1802.04204},
}
Figure