Introduction
In the early 2010s, the dominant paradigm for image categorization was the Bag-of-Visual-Words (BoW) model. This approach involved extracting local features, such as SIFT, clustering them into a "vocabulary," and representing an image as a histogram of these visual words. While effective, BoW models relied on a fundamental and flawed assumption: that local image patches are Independent and Identically Distributed (IID). This paper, originally presented at CVPR 2012, challenges this assumption and provides a theoretically grounded framework for modeling the dependencies between image features.
The Problem with the IID Assumption
The IID assumption implies that the presence of a specific visual word in one part of an image provides no information about the rest of the image. In reality, images possess significant structure. If a patch in the top-left corner contains part of a cyclist, it is highly probable that adjacent patches also contain parts of that cyclist or related context like a road.
Furthermore, standard BoW models suffer from "burstiness"—the phenomenon where a visual word appears many times in a single image (e.g., many patches of cow skin). In a linear classifier, the difference between 100 and 110 patches is treated with the same weight as the difference between 0 and 10. Practically, researchers often used a "square-root trick" to dampen this effect, but this lacked a rigorous statistical justification until this work.
Theoretical Grounding for the "Square-Root Trick"
The authors introduce non-IID models by treating image parameters as latent variables. By integrating out these variables, they create mutual dependencies between all patches in an image.
A key contribution is the Multivariate Pólya Model. Instead of a fixed distribution of visual words, they assume each image has its own distribution drawn from a Dirichlet prior. When deriving the Fisher kernel for this model, the gradient involves the digamma function. Crucially, the digamma function closely approximates a square-root curve. This provides the first formal mathematical explanation for why square-rooting histogram entries improves classification: it is the natural way to discount redundant, "bursty" information in a non-IID system.
Fisher Kernels and Variational Inference
To convert these complex non-IID models into fixed-length vectors suitable for efficient linear classifiers, the authors utilize the Fisher kernel framework. They represent an image by the gradient of the log-likelihood with respect to the hyper-parameters of the model's priors.
For more complex models like Mixture of Gaussians (MoG)—the foundation of Fisher Vectors—the math becomes intractable. The authors solve this by using a variational free-energy bound as a proxy for the log-likelihood. This allows them to compute gradients for sophisticated models that capture richer image statistics than simple histograms.
Modeling Co-occurrence with LDA
The framework is further extended to Latent Dirichlet Allocation (LDA) to capture "co-occurrence." This accounts for the fact that certain visual words, such as "grass" and "cow," frequently appear together in the same scene.
Experimental Results
The approach was evaluated on the PASCAL VOC 2007 dataset using dense SIFT descriptors and Spatial Pyramid Matching (SPM).
- BoW Improvements: The "Latent BoW" (Pólya) model consistently outperformed both standard BoW and ad-hoc square-rooted BoW across all vocabulary sizes.
- MoG Gains: The latent MoG representation improved Mean Average Precision (mAP) by approximately 4 points over standard IID-based Fisher Vectors.
- State-of-the-Art Performance: The method achieved a then-state-of-the-art 60.7 mAP on PASCAL VOC 2007 using a 1024-word vocabulary and linear SVMs.
Conclusion
By building non-linearity into the feature representation through Fisher kernels of latent models, the authors demonstrated that simple linear classifiers could achieve high performance by respecting the underlying statistical dependencies of images. While the field has since moved toward deep learning, the insights regarding burstiness, redundancy, and the mathematical justification of common heuristics remain foundational to our understanding of high-dimensional data representation.
Summary updated