Graph-based Unsupervised Disentangled Representation Learning via Multimodal Large Language Models

Baao Xie, Qiuyu Chen, Yunnan Wang, Zequn Zhang, Xin Jin, Wenjun Zeng

Overview

GEM (Graph-based disEntanglement with MLLMs) is a novel framework that moves beyond the restrictive "independence assumption" in representation learning. By combining a $\beta$-VAE with the common-sense reasoning capabilities of Multimodal Large Language Models (MLLMs) like GPT-4o, the model discovers real-world correlations between features—such as how "age" and a "receding hairline" are linked. These relationships are encoded into a bidirectional weighted graph, enabling more realistic, unsupervised disentanglement.

The Challenge of Statistical Independence

Disentangled Representation Learning (DRL) seeks to identify the independent factors of variation within data. Imagine a model that learns a distinct "knob" for hair color, another for glasses, and another for age. Ideally, turning one knob shouldn't affect the others.

However, most DRL models (like the standard VAE) rely on a major simplification: they assume these factors are statistically independent. In the real world, they rarely are. For instance, "elderly" is highly correlated with "white hair," and "running" is correlated with "grass." When models ignore these logical relations, they struggle to handle complex, real-world data. This oversight often results in blurry reconstructions or "entangled" features, where changing one attribute accidentally shifts another. Existing solutions typically require expensive manual supervision or rely on overly simplistic, unidirectional causal models.

Comparison of DRL frameworks

The GEM Framework

To address these limitations, the authors introduce GEM, which uses two complementary branches to achieve unsupervised, relation-aware disentanglement:

GEM Architecture
  1. The $\beta$-VAE Branch (Attribute Extraction): This branch identifies the core attributes (nodes) of the data. Because these attributes are correlated and do not follow a standard Gaussian distribution, the authors implement an adversarial training strategy to maintain high reconstruction quality.
  2. The MLLM Branch (Interrelation Discovery): This acts as the framework's "common sense." The model prompts an MLLM (like GPT-4o) to score attributes across a subset of images. By analyzing how these scores move together using the Somers’ D algorithm, the model discovers how attributes statistically influence one another.
  3. DisGraph (The Representation): The extracted attributes and their discovered correlations are embedded into a bidirectional weighted graph. Unlike previous "flat" models, DisGraph accommodates asymmetric relationships (e.g., "bangs" might strongly imply changes to the "hairline," but a changing "hairline" might not imply "bangs").
  4. Graph Learner: A Graph Neural Network (GNN) dynamically refines the graph's weights and edges during training, ensuring the internal representation stays perfectly aligned with the visual data.

Key Insights

  • MLLMs as "Common Sense" Priors: Instead of requiring humans to manually map out causal relationships, GEM leverages the latent world knowledge already baked into models like GPT-4o. This allows the system to remain unsupervised while benefiting from human-like logic.
  • Correlation is Asymmetric: Relationships in visual data are rarely a simple "A causes B" dynamic. By utilizing a bidirectional graph, GEM successfully models complex dependencies where the impact of A on B differs from the impact of B on A.
  • Breaking the Trade-off: Traditionally, increasing disentanglement (separating factors) degrades reconstruction quality (image realism). GEM uses an adversarial loss to bridge this gap, achieving superior results in both metrics compared to traditional VAE-based methods.

Experimental Results

The model was rigorously evaluated on three diverse datasets: CelebA (over 200,000 high-quality facial images with 40 attribute labels), LSUN-horse, and LSUN-bedroom.

  • Superior Reconstruction: On the CelebA dataset, GEM achieved a Frechet Inception Distance (FID) of 46.0, significantly outperforming $\beta$-VAE (136.2) and even the supervised DEAR model (70.7).
  • Better Disentanglement: GEM outperformed baselines across standard metrics like the Mutual Information Gap (MIG) and Interventional Robustness Score (IRS), proving its latent "knobs" are far more precise.
  • Qualitative Clarity: Visual "traversals"—changing one latent factor while keeping others static—demonstrate that GEM can isolate fine-grained features like a "mustache" or "bangs" on complex faces, whereas other models fail or introduce artifacts.

Limitations and Future Work

While GEM significantly advances DRL, it still faces challenges. Its generative power lags behind pure generative powerhouses like Diffusion models or GANs, suggesting that integrating GEM with these architectures is a promising next step. Additionally, extending this graph-based approach from 2D images to 3D representations—where spatial relations are vastly more complex—remains an open challenge. Finally, running an MLLM for initial attribute scoring adds computational overhead, though the authors note that GEM's total parameters and training time remain comparable to other structured DRL methods once the initial relations are established.

Summary updated

BibTeX
@inproceedings{xie2024graph,
  author = {Baao Xie and Qiuyu Chen and Yunnan Wang and Zequn Zhang and Xin Jin and Wenjun Zeng},
  title = {{Graph-based Unsupervised Disentangled Representation Learning via Multimodal Large Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=a1wf2N967T},
}
Figure