On-the-fly learning for visual search of large-scale image and video datasets

Ken Chatfield, Relja Arandjelovic, Omkar M. Parkhi, Andrew ZissermanInt. J. Multim. Inf. Retr 2015 · DOI

Introduction

Content-based image retrieval (CBIR) has traditionally been limited by the "closed-world" problem, where systems are pre-trained on a fixed set of categories. This paper, published in the International Journal of Multimedia Information Retrieval by the Visual Geometry Group (VGG) at Oxford, introduces a framework that overcomes this by learning new visual concepts on-the-fly from text queries. By using web search engines to automatically harvest training data, the system can search massive, unannotated video archives in real-time.

Methodology

The system architecture decomposes the search problem into three distinct modalities:

Object Instances

For specific objects like logos or landmarks, the system uses a Bag of Visual Words (BoVW) approach with Hamming embedding. A critical component is the rapid outlier removal process (taking only 4ms), which ensures that the noisy results from web searches are filtered for visual consistency before model training.

Web-sourced images for an 'EA' logo query. The red boxes highlight the system's ability to identify relevant training instances from diverse web results.

Object Categories and Faces

To retrieve general categories (e.g., "sheep"), the system leverages compact 128-dimensional CNN features. At query time, a Linear SVM is trained using web images as positive examples. For face retrieval, the system operates on face tracks, using Fisher Vectors to aggregate descriptors across video frames.

Key Innovations

  • Web Search as an Oracle: The authors demonstrate that the top 100 results from modern image search engines provide a sufficiently clean training set for most queries, eliminating the need for manual annotation.
  • MQ-Max Strategy: By taking the maximum score across multiple query images rather than the average, the system better handles visual variations of the same object.
  • Efficiency: Through Product Quantization (PQ), the memory footprint for 1 million images is reduced from 488 MB to 15 MB, enabling high-speed search.

Experimental Results

The framework was evaluated on several datasets, including the Oxford Buildings dataset and a massive 10,132-hour BBC News archive containing over 5 million keyframes.

A representative architectural instance from the Oxford Buildings dataset, used to benchmark the system's precision in retrieving specific landmarks.

Results showed that using multiple web-sourced images improved mean Average Precision (mAP) by up to 78%. On the BBC dataset, the system returned results in under 30 seconds, covering the entire pipeline from web scraping to dataset ranking.

Conclusion

The "on-the-fly" learning approach effectively bridges the semantic gap for large-scale video search. Future work aims to improve negative mining and handle complex, composite queries involving multiple entities and spatial relationships.

Summary updated

BibTeX
@article{chatfield2015fly,
  author = {Ken Chatfield and Relja Arandjelovic and Omkar M. Parkhi and Andrew Zisserman},
  title = {{On-the-fly learning for visual search of large-scale image and video datasets}},
  journal = {Int. J. Multim. Inf. Retr.},
  year = {2015},
  doi = {10.1007/s13735-015-0077-0},
}
Figure