NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Disentangled Representation Learning via Modular Compositional Bias

Whie Jung, Dong Hoon Lee, Seunghoon Hong

Abstract

Disentangled Representation Learning (DRL) seeks to decompose visual scenes into their constituent factors, such as global attributes and individual objects. Historically, the field has been bifurcated into attribute-centric and object-centric approaches, each requiring specialized architectures or loss functions. This paper introduces a unified framework based on Modular Compositional Bias, which replaces rigid architectural constraints with a flexible mixing strategy. By defining how latent representations are recombined during training, the model learns to factorize complex scenes into global styles and local entities. Experimental results demonstrate state-of-the-art performance in attribute disentanglement and competitive performance in object discovery, particularly excelling in joint disentanglement tasks.

Introduction

The goal of unsupervised vision is often described as the search for the "building blocks" of a scene. Whether it is the color of an object (attribute disentanglement) or the spatial boundaries of multiple items (object disentanglement), the objective remains the same: to create a latent space where individual dimensions correspond to interpretable physical properties.

Despite this shared goal, the research community has largely treated these two problems as distinct. Attribute-based methods typically focus on global features and rely on information-theoretic objectives, while object-centric methods utilize specialized "slot attention" mechanisms to enforce spatial exclusivity. This paper bridges this gap by proposing that the necessary inductive biases for disentanglement can be embedded directly into the data mixing strategy rather than the neural architecture itself.

Methods: Modular Compositional Bias

The core innovation of this work is the concept of Modular Compositional Bias. Instead of hardcoding the rules of physical reality into the layers of a network, the authors embed these rules into the way latent representations from different images are recombined during the training process.

1. Mixing Strategies

The framework utilizes three primary mixing strategies to teach the model the underlying structure of the data:

  • Attribute Mixing: Designed for mutually exclusive factors (e.g., a single object cannot have two different shapes simultaneously). The model selects a specific factor slot and populates it with a value from either Image A or Image B.
  • Object Mixing: Designed for co-existing entities. The model samples a subset of object latents from two different scenes to create a new, valid composite representation.
  • Joint Mixing: For complex scenes containing both global styles and local objects, the model partitions its latent slots. Some slots follow attribute rules (to capture style), while others follow object rules (to capture entities).

2. Learning Objectives

To ensure the validity of the generated composite latents, the framework employs two primary loss functions:

  • Prior Loss: The model decodes the mixed latent into an image and evaluates it using a pre-trained, frozen diffusion model. This diffusion prior acts as a "realism judge," penalizing the encoder if the resulting image deviates from the distribution of real-world data.
  • Compositional Consistency Loss: This objective ensures that the encoder can accurately recover the original mixed latents from the newly generated composite image, enforcing a tight coupling between the latent space and the visual output.

Experimental Evaluation

The authors evaluated the framework across three distinct categories of datasets to test its versatility.

Attribute and Object Disentanglement

On standard attribute benchmarks such as Shapes3D and MPI3D, the method achieved state-of-the-art results on the DCI (Disentanglement, Completeness, Informativeness) metric, significantly outperforming previous models like DisDiff. In the realm of object discovery, the model remained competitive with specialized architectures (e.g., LSD, L2C) on the CLEVR and CLEVRTex datasets, despite using a standard Transformer-based encoder (Q-Former) rather than slot-attention layers.

Joint Disentanglement

The framework's most significant contribution is its performance on joint disentanglement. Using new datasets like CLEVR-Style, which apply artistic styles (e.g., oil painting) to object-centric scenes, the model demonstrated a unique ability to separate "style" from "content." It achieved a 96.5% style prediction accuracy while maintaining high-quality object segmentation, a task where previous models often suffered from information leakage between slots.

Discussion and Key Insights

Bias as a Module

The success of this framework suggests that inductive bias does not need to be architectural. By simply changing how data is shuffled and recombined during training, the model can be "taught" the structural rules of its environment. This modularity allows for a single, flexible pipeline that can be adapted to various tasks without redesigning the underlying neural network.

The Role of Diffusion Priors

Leveraging a frozen diffusion model provides a significantly stronger realism signal than traditional GAN-based discriminators or VAE bottlenecks. This allows the model to handle high-resolution, complex scenes while maintaining the interpretability of the latent space.

Limitations and Future Work

While powerful, the method currently requires prior knowledge regarding the number and type of latent slots (e.g., defining the number of style vs. object slots). Future research may focus on automating this discovery process. Additionally, the reliance on diffusion-based decoding introduces computational overhead during training. Finally, while empirical results are robust, further theoretical work is needed to establish the formal identifiability guarantees of modular compositional bias.

Summary updated

BibTeX
@inproceedings{jung2025disentangled,
  author = {Whie Jung and Dong Hoon Lee and Seunghoon Hong},
  title = {{Disentangled Representation Learning via Modular Compositional Bias}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=x46uZ1HarC},
}
Figure