NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Approximate Fisher Kernels of non-iid Image Models for Image Categorization

Ramazan Gokberk Cinbis, Jakob Verbeek, Cordelia Schmid · DOI

Abstract

The bag-of-words (BoW) model treats images as sets of local descriptors and represents them by visual word histograms. The Fisher vector (FV) representation extends BoW, by considering the first and second order statistics of local descriptors. In both representations local descriptors are assumed to be identically and independently distributed (iid), which is a poor assumption from a modeling perspective. It has been experimentally observed that the performance of BoW and FV representations can be improved by employing discounting transformations such as power normalization. In this paper, we introduce non-iid models by treating the model parameters as latent variables which are integrated out, rendering all local regions dependent. Using the Fisher kernel principle we encode an image by the gradient of the data log-likelihood w.r.t. the model hyper-parameters. Our models naturally generate discounting effects in the representations; suggesting that such transformations have proven successful because they closely correspond to the representations obtained for non-iid models. To enable tractable computation, we rely on variational free-energy bounds to learn the hyper-parameters and to compute approximate Fisher kernels. Our experimental evaluation results validate that our models lead to performance improvements comparable to using power normalization, as employed in state-of-the-art feature aggregation methods.

Introduction: The iid Assumption in Image Modeling

In classical computer vision, models like Bag-of-Words (BoW) and Fisher Vectors (FV) represent images by aggregating local descriptors (like SIFT). These methods typically assume that every patch in an image is independent and identically distributed (iid). However, this is a poor assumption: if you see half the pixels of a face, you can very accurately predict the other half.

Figure 1: Masked image illustrating the dependency between local image patches.

In practice, researchers have found that "discounting" the counts of visual words—using transformations like the square root (power normalization)—significantly boosts performance. Until this paper, these transformations were largely treated as empirical heuristics. This work seeks to provide a solid statistical foundation for why these tricks work and how to improve upon them by introducing non-iid models.

Methodology: Hierarchical Generative Models

The authors introduce three hierarchical generative models that move beyond the iid assumption by treating image model parameters as latent variables:

  1. Multivariate Pólya Model: Instead of a fixed global distribution of visual words, each image is assumed to have its own latent multinomial distribution drawn from a Dirichlet prior.
  2. Latent Dirichlet Allocation (LDA): This extends the model to capture co-occurrence statistics (topics), allowing the representation to encode not just which words appear, but which words appear together.
  3. Latent Mixture of Gaussians (MoG): A non-iid version of the standard Fisher Vector, where the means, variances, and weights of the Gaussian components are treated as latent variables per image.

To turn these complex latent models into fixed-length feature vectors, the authors use the Fisher Kernel principle: representing an image by the gradient of the data log-likelihood with respect to the model's hyper-parameters. Because these gradients are often mathematically intractable, they propose the Variational Fisher Kernel, which uses the gradient of a tractable variational lower bound instead.

Key Insights

  • Theoretical Basis for Power Normalization: The authors prove that the gradient of the Pólya model involves the digamma function. When plotted, this function looks remarkably similar to a square-root transformation. This provides a theoretical justification for power normalization: it is a first-order approximation of a model that accounts for patch dependency.
  • Variational Equivalence: They provide a mathematical proof showing that if a variational bound is tight, the variational Fisher Kernel is exactly equivalent to the true Fisher Kernel.
  • Beyond Counting: By using LDA and Latent MoG, the representation captures higher-order dependencies. Instead of just counting individual features, the model learns that their co-occurrence is a stronger signal for specific categories.

Experimental Evaluation

The models were evaluated on two primary benchmarks: PASCAL VOC 2007 (object classification) and MIT Indoor Scenes (scene recognition). The authors tested their methods using both traditional SIFT descriptors and modern CNN-based features.

Figure 2: Example images from categorization benchmarks showing diverse scenes and objects.

Key Results

  • Pólya vs. BoW: On PASCAL VOC 2007, the Latent BoW (Pólya) model consistently outperformed standard BoW. For a vocabulary of 1024 words, it improved mAP from 48.9% to 52.3%.
  • Latent MoG Performance: The Latent MoG model achieved results comparable to the "Improved Fisher Vector" (which uses manual power normalization), validating that the non-iid modeling naturally handles the discounting of frequent descriptors.
  • Synergy with CNNs: When applied to CNN features, the Latent MoG reached 77.1% mAP on PASCAL VOC 2007 and 69.1% accuracy on MIT Indoor, showing that these statistical aggregation methods remain relevant even with deep features.

Conclusion and Future Work

This work provides a principled framework for image categorization by moving beyond the iid assumption. While the variational approach makes the kernels tractable, it introduces computational overhead and sensitivity to hyper-parameter choice. Future work could involve integrating these non-iid Fisher layers into end-to-end trainable neural networks to further leverage the strengths of both statistical modeling and deep learning.

Summary updated

BibTeX
@article{cinbis2015approximate,
  author = {Ramazan Gokberk Cinbis and Jakob Verbeek and Cordelia Schmid},
  title = {{Approximate Fisher Kernels of non-iid Image Models for Image Categorization}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2015},
  doi = {10.1109/tpami.2015.2484342},
}
Figure