Non-linear generative embeddings for kernels on latent variable models

Anna C. Carli, Manuele Bicego, Sisto Baldo, Vittorio MurinoWorkshops @ ICCV 2009 · OpenReview

Abstract

Generative embeddings use generative probabilistic models to project objects into a vectorial space of reduced dimensionality where generative kernels can be defined. Some approaches employ generative models on latent variables to project objects into a feature space where dimensions relate to these variables. This paper proposes enhancing the discriminative power of such spaces via a non-linear mapping of space dimensions. We investigate a powering operation, $f(g) = g^\rho$, designed to equilibrate the contributions of each latent variable, thereby augmenting the entropy of the latent variable vectors. Evaluated on shape recognition and gesture classification tasks, this approach yields results that outperform state-of-the-art methods.

Introduction

In machine learning, embeddings project complex, variable-length objects into fixed-dimensional vector spaces, enabling the use of standard classifiers like Support Vector Machines (SVMs). Generative embeddings specifically utilize probabilistic models, such as Hidden Markov Models (HMMs), to extract features based on internal latent variables. However, standard generative kernels often assume a linear relationship in this feature space, where dominant latent variables can overshadow more discriminative ones, limiting overall performance.

Methodology: The Powering Operation

To address the imbalance in feature space, we propose a non-linear mapping to "re-equilibrate" the dimensions. The core innovation is the application of a "powering" operation to each dimension of the generative feature vector. Specifically, we define the mapping as $f(g) = g^\rho$, where $\rho$ is a positive real value.

Effect of the powering operation for different values of $\rho$.

As illustrated in Figure 1, when $\rho < 1$, the operation boosts the contribution of smaller components while dampening larger ones. This transformation increases the entropy of the latent variable vectors, ensuring that information from all hidden states is more evenly represented in the kernel calculation. This differs from standard polynomial kernels, which raise the entire inner product to a power; here, we warp individual dimensions before the inner product.

Experimental Evaluation

The proposed method was tested on two sequence-based datasets:

  1. Chicken Pieces Database: A 2D shape recognition task involving 446 contours across five classes, represented by discrete chain codes and continuous curvature angles.
  2. Auslan (Australian Sign Language): A gesture recognition task using 22-dimensional sensor data for a 10-class subset.

Results and Discussion

Experimental results consistently showed that the non-linear mapping outperforms standard linear generative kernels. A critical finding is the existence of an optimal $\rho$ value, typically less than 1.

Classification accuracy as a function of $\rho$ for various HMM state counts ($N$).

As shown in Figure 2, classification accuracy peaks significantly when $\rho$ is between 0.1 and 0.5. This confirms the hypothesis that "squashing" dominant dimensions allows more nuanced, discriminative features to contribute to the final classification. On the Chicken data, the method achieved a mean accuracy of 85.52%, surpassing previous state-of-the-art results (74%–81%). For the Auslan data, accuracy reached 93.24% without manual feature engineering.

Conclusion

This work demonstrates that a simple non-linear transformation can significantly boost the performance of generative kernels by balancing latent variable contributions. Future work will focus on automating the selection of the $\rho$ parameter and exploring other non-linear mapping functions beyond the powering operation.

Summary updated

Abstract

Generative embeddings use generative probabilistic models to project objects into a vectorial space of reduced dimensionality - where the so-called generative kernels can be defined. Some of these approaches employ generative models on latent variables to project objects into a feature space where the dimensions are related to the latent variables. Here, we propose to enhance the discriminative power of such spaces by performing a non-linear mapping of space dimensions leading to the formulation of novel generative kernels. In this paper, we investigate one possible non-linear mapping, based on a powering operation, able to equilibrate the contributions of each latent variable of the model, thus augmenting the entropy of the latent variables vectors. The validity of the idea has been shown in the case of two generative kernels, which have been evaluated with tests on shape recognition and gesture classification, with really satisfying results that outperform state-of-the-art methods.
BibTeX
@inproceedings{carli2009non,
  author = {Anna C. Carli and Manuele Bicego and Sisto Baldo and Vittorio Murino},
  title = {{Non-linear generative embeddings for kernels on latent variable models}},
  booktitle = {Workshops @ ICCV},
  year = {2009},
  url = {https://openreview.net/forum?id=_l8mdjWYb96},
}
Figure