Skip to main content
QUICK REVIEW

[Paper Review] Introduction to the Bag of Features Paradigm for Image Classification and Retrieval

Stephen O′Hara, Bruce A. Draper|arXiv (Cornell University)|Jan 17, 2011
Advanced Image and Video Retrieval TechniquesComputer Science77 references133 citations
TL;DR

This paper introduces the Bag of Features (BoF) paradigm for image classification and retrieval, presenting it as a simple yet powerful method that represents images as unordered collections of quantized local descriptors, discarding spatial information. Despite its simplicity, BoF achieves state-of-the-art performance on benchmark datasets and enables scalable image retrieval, though challenges remain in semantic interpretation, localization, and evaluation.

ABSTRACT

The past decade has seen the growing popularity of Bag of Features (BoF) approaches to many computer vision tasks, including image classification, video search, robot localization, and texture recognition. Part of the appeal is simplicity. BoF methods are based on orderless collections of quantized local image descriptors; they discard spatial information and are therefore conceptually and computationally simpler than many alternative methods. Despite this, or perhaps because of this, BoF-based systems have set new performance standards on popular image classification benchmarks and have achieved scalability breakthroughs in image retrieval. This paper presents an introduction to BoF image representations, describes critical design choices, and surveys the BoF literature. Emphasis is placed on recent techniques that mitigate quantization errors, improve feature detection, and speed up image retrieval. At the same time, unresolved issues and fundamental challenges are raised. Among the unresolved issues are determining the best techniques for sampling images, describing local image features, and evaluating system performance. Among the more fundamental challenges are how and whether BoF methods can contribute to localizing objects in complex images, or to associating high-level semantics with natural images. This survey should be useful both for introducing new investigators to the field and for providing existing researchers with a consolidated reference to related work.

Motivation & Objective

  • To provide a comprehensive introduction to the Bag of Features (BoF) paradigm for researchers new to the field.
  • To survey key design choices and recent advancements in BoF methods, including feature detection, quantization, and indexing.
  • To identify unresolved issues such as optimal sampling strategies, feature descriptor selection, and performance evaluation challenges.
  • To examine fundamental limitations of BoF, particularly in object localization and semantic understanding.
  • To serve as a consolidated reference for both newcomers and experienced researchers in computer vision and image retrieval.

Proposed method

  • Represents images as orderless histograms of visual words derived from quantized local image descriptors.
  • Employs a visual vocabulary constructed via clustering (e.g., k-means) of local features extracted from training images.
  • Uses vector quantization to map local descriptors to discrete visual words, forming a histogram representation.
  • Applies standard machine learning techniques such as SVMs and Multiple Kernel Learning (MKL) for classification.
  • Utilizes scalable indexing and retrieval techniques, including inverted file structures, to enable large-scale image retrieval.
  • Employs dense sampling or keypoint detectors (e.g., SIFT) to extract local features, with Gabor-based descriptors explored for improved performance.

Experimental results

Research questions

  • RQ1What are the critical design choices in building a BoF system, and how do they affect performance?
  • RQ2How can quantization errors in BoF representations be mitigated using modern techniques?
  • RQ3What is the optimal strategy for sampling image features—dense grids or keypoint detectors?
  • RQ4To what extent can BoF methods recognize objects or generalize beyond low-level image statistics?
  • RQ5How can BoF-based systems be meaningfully evaluated when they lack spatial or semantic structure?

Key findings

  • BoF methods achieve state-of-the-art performance on the 2005 PASCAL Visual Object Recognition Challenge, demonstrating strong classification accuracy.
  • Nister and Stewenius achieved scalable image retrieval on a one-million-image dataset, highlighting BoF's computational efficiency and scalability.
  • Pinto et al. showed that high face recognition accuracy on LFW may stem from background similarities rather than face recognition, raising concerns about generalization.
  • Artifacts from image rotation in Caltech101 (e.g., corner features in minarets) lead to high performance but poor generalization, indicating that BoF systems may exploit spurious cues.
  • The lack of spatial structure in BoF makes object localization difficult—e.g., a 'Where’s Waldo' image with red-and-white stripes could be misclassified as containing Waldo.
  • Despite strong performance, BoF representations lack inherent semantic meaning, limiting integration with natural language queries or descriptions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.