Fisher kernel


title: "Fisher kernel" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["kernel-methods-for-machine-learning"] topic_path: "technology/computing" source: "https://en.wikipedia.org/wiki/Fisher_kernel" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

In statistical classification, the Fisher kernel, named after Ronald Fisher, is a function that measures the similarity of two objects on the basis of sets of measurements for each object and a statistical model. In a classification procedure, the class for a new object (whose real class is unknown) can be estimated by minimising, across classes, an average of the Fisher kernel distance from the new object to each known member of the given class.

The Fisher kernel was introduced in 1998. It combines the advantages of generative statistical models (like the hidden Markov model) and those of discriminative methods (like support vector machines):

  • generative models can process data of variable length (adding or removing data is well-supported)
  • discriminative methods can have flexible criteria and yield better results.

Derivation

Fisher score

The Fisher kernel makes use of the Fisher score, defined as

: U_X = \nabla_{\theta} \log P(X|\theta)

with θ being a set (vector) of parameters. The function taking θ to log P(X|θ) is the log-likelihood of the probabilistic model.

Fisher kernel

The Fisher kernel is defined as

: K(X_i, X_j) = U_{X_i}^T \mathcal{I}^{-1} U_{X_j}

with \mathcal{I} being the Fisher information matrix.

Applications

Information retrieval

The Fisher kernel is the kernel for a generative probabilistic model. As such, it constitutes a bridge between generative and probabilistic models of documents. Fisher kernels exist for numerous models, notably tf–idf, Naive Bayes and probabilistic latent semantic analysis.

Image classification and retrieval

The Fisher kernel can also be applied to image representation for classification or retrieval problems. Currently, the most popular bag-of-visual-words representation suffers from sparsity and high dimensionality. The Fisher kernel can result in a compact and dense representation, which is more desirable for image classification and retrieval problems.

The Fisher Vector (FV), a special, approximate, and improved case of the general Fisher kernel, is an image representation obtained by pooling local image features. The FV encoding stores the mean and the covariance deviation vectors per component k of the Gaussian-Mixture-Model (GMM) and each element of the local feature descriptors together. In a systematic comparison, FV outperformed all compared encoding methods (Bag of Visual Words (BoW), Kernel Codebook encoding (KCB), Locality Constrained Linear Coding (LLC), Vector of Locally Aggregated Descriptors (VLAD)) showing that the encoding of second order information (aka codeword covariances) indeed benefits classification performance.

References

  1. (1998). "Exploiting Generative Models in Discriminative Classifiers". MIT Press.
  2. Cyril Goutte, Eric Gaussier, Nicola Cancedda, Hervé Dejean (2004))[http://www.xrce.xerox.com/Research-Development/Publications/2003-079 "Generative vs Discriminative Approaches to Entity Recognition from Label-Deficient Data"] {{Webarchive. link. (2014-12-17 ''JADT 2004, 7èmes journées internationales analyse statistique des données textuelles'', Louvain-la-Neuve, Belgium, 10-12 mars 2004)
  3. Charles Elkan. (2005). "Deriving TF-IDF as a fisher kernel".
  4. (June 2007). "2007 IEEE Conference on Computer Vision and Pattern Recognition".
  5. (2010). "Computer Vision – ECCV 2010". Springer.
  6. (June 2010). "2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition".
  7. (2014). "Medical Image Computing and Computer-Assisted Intervention – MICCAI 2014". Springer International Publishing.
  8. "VLFeat - Documentation > C API".
  9. (2017-02-24). "Plant species classification using flower images—A comparative study of local feature representations". PLOS ONE.

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

kernel-methods-for-machine-learning