Coupled Inference in Diffusion Models for Semantic Decomposition

Calvin Yeung, Ali Zakeri, Zhuowen Zou, Mohsen ImaniarXiv 2026

TL;DR

This paper introduces a novel framework for semantic decomposition by framing the unbinding of latent factors as an inverse problem solved via coupled diffusion models. By running parallel diffusion processes joined by a reconstruction-driven guidance term, the method significantly expands the capacity and noise-robustness of factor recovery compared to traditional resonator networks.

What Problem Does This Paper Address?

In visual scene understanding, representations are often built by composing latent factors—such as combining an object's shape, color, and position. In Vector Symbolic Architectures (VSAs), this is achieved via a "binding" operation (typically element-wise multiplication, $\odot$). While binding factors into a single composite vector is straightforward, reversing the process—semantic decomposition—is notoriously difficult. Given a composite vector, finding the original constituent factors from a set of codebooks presents a combinatorial search space that grows exponentially ($n^K$, where $n$ is the codebook size and $K$ is the number of factors).

The current state-of-the-art approach relies on Resonator Networks, which act as coupled Hopfield associative memory networks to iteratively guess the factors. However, resonator networks suffer from strict capacity limits and struggle when the search space scales up or when noise is introduced. This paper addresses these scaling and robustness bottlenecks.

Methods

The authors bridge the gap between associative memories and generative models by replacing Hopfield networks with diffusion models. They frame decomposition as an inverse problem where the bound vector is a corrupted measurement, and the constituent factors are clean data to be generated.

Figure 1: Overview of the semantic decomposition task and methods. Left: Images are passed through a neural network to generate binding-based compositional representations. We would like to identify each constituent using the codebooks that encode their possible values. Right: Coupled diffusion processes for semantic decomposition. Diffusion processes corresponding to each factor operates in parallel and are jointly guided to converge towards the correct factorization.

Key components of their method include:

  1. Analytical Diffusion Priors: Because the codebooks are explicitly known, the authors derive closed-form, exact score functions for the diffusion processes without needing to train a neural network.
  2. Joint Guidance (Coupled Inference): Multiple diffusion processes run in parallel (one for each factor). They are coupled using a task-specific energy function evaluated at the denoised (Tweedie) estimates. The paper explores two energy types: Gaussian energy (least-squares reconstruction) and Similarity energy (directional alignment with magnitude penalties).
  3. Iterative Sampling Strategy: To refine the factor estimates, they introduce a mechanism that rolls back the diffusion process to a intermediate "restart time" ($\tau$) and resamples multiple times ($R$), reinforcing the model's convergence toward the correct codebook modes.

Datasets

The framework is evaluated on synthetically generated VSA benchmarks:

  • Codebooks: Generated by sampling random bipolar vectors ($\{-1, 1\}^D$) of dimension $D = 1000$ (scaled to a magnitude of 1000).
  • Tasks: Factorization across varying search space sizes ($n^K$), varying numbers of codebooks ($K \in [2, 5]$), and under different levels of Gaussian noise to simulate superposed (multi-object) scene representations.

Key Insights and Ideas

  • The Hopfield-Diffusion Continuum: The authors mathematically demonstrate that under specific conditions ($\sigma_0^2 = 0$), Tweedie’s denoising formula at a single diffusion step simplifies exactly to the softmax update rule of a modern Hopfield network. This reveals that attention-based resonator networks are simply a special case of this broader diffusion framework.
  • Energy Function Matters: Standard Gaussian (least-squares) energy functions perform poorly because they don't constrain the search space effectively during early diffusion steps. In contrast, directional Similarity energy provides much cleaner guidance gradients, preventing the parallel processes from getting trapped in local minima.

Key Results

The proposed SIMILARITY and LATENT SIMILARITY diffusion variants drastically outperform standard and attention-based resonator networks across all tested search spaces.

Figure 2: Decomposition accuracy for varying search space sizes. Codebook vectors have dimension D = 1000 and models are run for 100 iterations.
  • Capacity Multipliers: Defining capacity as the largest search space where a model maintains $\ge 95\%$ accuracy, the SIMILARITY model achieves $2\times$ the capacity of resonator networks. Remarkably, for $K=5$ factors, the LATENT SIMILARITY model achieves a $5.38\times$ capacity improvement.
  • Dimension Scaling: As vector dimensionality ($D$) increases, the quasi-orthogonality of the codebook improves, leading to a reliable, monotonic increase in decomposition accuracy for the diffusion models.
Figure 3: Decomposition accuracy as codebook vector dimension D varies, for K = 3, n = 50.
  • Noise Robustness: In high-noise regimes (simulating complex, multi-object superpositions), the diffusion methods maintain high accuracy where baseline resonator networks degrade rapidly. For instance, at higher noise levels, the SIMILARITY model yields up to a 22.1% absolute accuracy increase over the baseline.

Limitations and Future Work

While highly effective, the method currently relies on clean, synthetically generated, quasi-orthogonal codebooks typical of symbolic VSAs. Testing the framework on real-world visual embeddings (e.g., decomposing CLIP or slot-attention features from natural images) remains an open challenge. Additionally, the authors note that adding stochasticity to their iterative sampling scheme did not yield significant performance gains, suggesting that optimizing the deterministic vs. stochastic balance in coupled inference warrants deeper future study.

Summary updated

BibTeX
@misc{yeung2026coupled,
  author = {Calvin Yeung and Ali Zakeri and Zhuowen Zou and Mohsen Imani},
  title = {{Coupled Inference in Diffusion Models for Semantic Decomposition}},
  year = {2026},
  eprint = {2602.09983},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.09983},
}
Figure