Sculpting Latent Spaces With MMD: Disentanglement With Programmable Priors

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Fruytier, Quentin, Malhotra, Akshay, Hamidi-Rad, Shahab, Sant, Aditya, Mokhtari, Aryan, Sanghavi, Sujay
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915553003700224
author Fruytier, Quentin
Malhotra, Akshay
Hamidi-Rad, Shahab
Sant, Aditya
Mokhtari, Aryan
Sanghavi, Sujay
author_facet Fruytier, Quentin
Malhotra, Akshay
Hamidi-Rad, Shahab
Sant, Aditya
Mokhtari, Aryan
Sanghavi, Sujay
contents Learning disentangled representations, where distinct factors of variation are captured by independent latent variables, is a central goal in machine learning. The dominant approach has been the Variational Autoencoder (VAE) framework, which uses a Kullback-Leibler (KL) divergence penalty to encourage the latent space to match a factorized Gaussian prior. In this work, however, we provide direct evidence that this KL-based regularizer is an unreliable mechanism, consistently failing to enforce the target distribution on the aggregate posterior. We validate this and quantify the resulting entanglement using our novel, unsupervised Latent Predictability Score (LPS). To address this failure, we introduce the Programmable Prior Framework, a method built on the Maximum Mean Discrepancy (MMD). Our framework allows practitioners to explicitly sculpt the latent space, achieving state-of-the-art mutual independence on complex datasets like CIFAR-10 and Tiny ImageNet without the common reconstruction trade-off. Furthermore, we demonstrate how this programmability can be used to engineer sophisticated priors that improve alignment with semantically meaningful features. Ultimately, our work provides a foundational tool for representation engineering, opening new avenues for model identifiability and causal reasoning.
format Preprint
id arxiv_https___arxiv_org_abs_2510_11953
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Sculpting Latent Spaces With MMD: Disentanglement With Programmable Priors
Fruytier, Quentin
Malhotra, Akshay
Hamidi-Rad, Shahab
Sant, Aditya
Mokhtari, Aryan
Sanghavi, Sujay
Machine Learning
Artificial Intelligence
Learning disentangled representations, where distinct factors of variation are captured by independent latent variables, is a central goal in machine learning. The dominant approach has been the Variational Autoencoder (VAE) framework, which uses a Kullback-Leibler (KL) divergence penalty to encourage the latent space to match a factorized Gaussian prior. In this work, however, we provide direct evidence that this KL-based regularizer is an unreliable mechanism, consistently failing to enforce the target distribution on the aggregate posterior. We validate this and quantify the resulting entanglement using our novel, unsupervised Latent Predictability Score (LPS). To address this failure, we introduce the Programmable Prior Framework, a method built on the Maximum Mean Discrepancy (MMD). Our framework allows practitioners to explicitly sculpt the latent space, achieving state-of-the-art mutual independence on complex datasets like CIFAR-10 and Tiny ImageNet without the common reconstruction trade-off. Furthermore, we demonstrate how this programmability can be used to engineer sophisticated priors that improve alignment with semantically meaningful features. Ultimately, our work provides a foundational tool for representation engineering, opening new avenues for model identifiability and causal reasoning.
title Sculpting Latent Spaces With MMD: Disentanglement With Programmable Priors
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2510.11953