Abstract
We introduce a new approach to probabilistic unsupervised learning based on the recognition-parametrised model (RPM): a normalised semi-parametric hypothesis class for joint distributions over observed and latent variables. Under the key assumption that observations are conditionally independent given latents, the RPM combines parametric prior and observation-conditioned latent distributions with non-parametric observation marginals. This approach leads to a flexible learnt recognition model capturing latent dependence between observations, without the need for an explicit, parametric generative model. The RPM admits exact maximum-likelihood learning for discrete latents, even for powerful neural network-based recognition. We develop effective approximations applicable in the continuous latent case. Experiments demonstrate the effectiveness of the RPM on high-dimensional data, learning image classification from weak indirect supervision; direct image-level latent Dirichlet allocation; and Recognition-Parametrised Gaussian Process Factor Analysis (RP-GPFA) applied to multi-factorial spatiotemporal datasets. The RPM provides a powerful framework to discover meaningful latent structure underlying observational data, a function critical to both animal and artificial intelligence.
Introduction
In traditional unsupervised learning, generative models such as Variational Autoencoders (VAEs) or Generative Adversarial Networks (GANs) are the standard. These models define how latent variables $Z$ produce observed data $X$. However, a fundamental "mismatch" often arises: while the model is specified to generate data, its primary utility is recognition—inferring hidden states from observations. For complex high-dimensional data, building a generative model that is both flexible and tractable is difficult, often leading to "mismatch bias" where learned representations are skewed by the generative model's noise assumptions.
The Recognition-Parametrised Model (RPM)
The authors propose the Recognition-Parametrised Model (RPM), a semi-parametric framework that defines a joint distribution directly through recognition factors. Unlike standard Directed Acyclic Graphs (DAGs), the RPM prioritizes the recognition process while maintaining a mathematically sound probabilistic foundation.
The RPM relies on three core components:
- Conditional Independence: Observations are assumed to be independent given the latent state.
- Recognition Factors: Instead of defining $P(X|Z)$, the model uses $f(Z|X)$ as a primary building block.
- Non-parametric Marginals: The empirical distribution of the data handles the marginal distribution of observations.
By combining a parametric prior on latents with these recognition factors and the empirical data distribution, the RPM creates a properly normalized joint distribution without requiring an explicit generative decoder.
Learning and Inference
Learning in the RPM is performed via Maximum Likelihood using Expectation-Maximization (EM). For discrete latents, exact solutions are possible even with powerful neural network-based recognition. For continuous latents, the authors develop three approximations:
- Reparametrised Monte-Carlo: Similar to the VAE reparameterization trick.
- Second-order Approximation: A Laplace-like expansion.
- Interior Variational Bound: A tighter lower bound relaxation for large datasets.
Experimental Evaluation
The RPM was evaluated across diverse tasks, demonstrating its ability to discover meaningful latent structures.
Key Results
- MNIST Peer Supervision: In identifying digit identities from pairs of images without labels, the RPM achieved 87% accuracy, significantly outperforming VQ-VAE (26%) and Gumbel-Softmax VQ-VAE (77%).
- Robustness to Background Noise: In "Structured-Background" bouncing ball experiments, standard VAEs failed (nMSE $\geq$ 0.9) due to attempts to reconstruct complex backgrounds. The RPM ignored independent background noise, achieving an nMSE of 0.09.
- Multi-modal Integration: In Unity ML-Agents environments, the RPM successfully identified which agent was being tracked by finding the latent signal that rendered video and sensor data conditionally independent.
Discussion
The RPM demonstrates that a generative model is not strictly necessary for probabilistic unsupervised learning. By focusing on recognition, the model avoids wasting capacity on "uninteresting" noise. Furthermore, the RPM provides a formal probabilistic interpretation for contrastive learning objectives like InfoNCE, showing that data shuffling for negative samples is implicitly handled by the model's normalization.
While powerful, the RPM faces challenges in continuous latent complexity and scalability for Gaussian Process variants (RP-GPFA). Additionally, as it lacks an explicit generative component, it is optimized for representation and inference rather than data synthesis.
Summary updated