Tensor-Train Joint Modeling for Few-Step Discrete Diffusion

Byoungkwon Kim, Minhyuk Sung

TL;DR

This paper introduces a novel framework for discrete diffusion models that explicitly models the joint distribution of tokens using tensor decomposition. This overcomes a fundamental limitation that hinders fast, few-step generation, leading to significant improvements in text and molecule generation quality and efficiency.

What Problem Does This Paper Address?

Discrete diffusion models offer the promise of faster generation compared to traditional autoregressive models by allowing multiple tokens to be generated in parallel. However, this parallel generation capability is hampered by a "parallelization bias." This bias arises from the assumption that tokens are conditionally independent given the partially generated sequence. When multiple tokens are unmasked simultaneously (as in few-step generation), this assumption breaks down, leading to degraded sample quality. The core challenge is that explicitly modeling the joint distribution of all tokens is computationally intractable due to its exponential size.

Methods

The paper proposes using tensor decomposition to represent the conditional clean distribution $p(x|x_t)$ as a low-rank tensor. This allows for explicit joint modeling without the prohibitive computational cost of a full tensor. They explore two main tensor decomposition techniques:

  • Canonical Polyadic Decomposition (CPD): Approximates a tensor as a sum of rank-1 tensors.
  • Tensor-Train Decomposition (TTD): Approximates a tensor as a product of smaller "cores."

A key insight is that TTD has a structural bias towards modeling dependencies between nearby tokens, which is particularly well-suited for sequential data like text and molecular structures. This is formally linked to the tensor's "TT-rank" and the rank of unfolding matrices of the tensor.

To enable efficient generation with these tensor-decomposed models, they introduce an iterative marginal inference procedure. This procedure leverages the chain rule of probability and employs caching and parallel prefix sums to sample tokens efficiently.

Finally, the framework is designed for lightweight fine-tuning of existing Masked Diffusion Models (MDMs), requiring only minor architectural modifications and preserving pretrained marginal predictions.

Datasets

The paper evaluates their framework on the following datasets:

  • Text Generation:
    • OpenWebText (OWT)
    • LM1B
  • Molecule Generation:
    • QM9

Key Insights and Ideas

  • Tensor Decomposition as a Solution to Parallelization Bias: The core idea is that by representing the joint distribution as a low-rank tensor, we can explicitly model token dependencies without incurring exponential computational costs.
  • TTD's Natural Fit for Sequential Data: The structural bias of TTD towards local dependencies makes it a superior choice over CPD for sequential data, as evidenced by their theoretical analysis and experimental results. This is a significant finding because it suggests a principled way to choose tensor decomposition methods based on data characteristics.
  • Efficient Sampling is Crucial: Even with a tractable joint distribution model, sampling from it can still be computationally expensive. The proposed iterative marginal inference procedure is key to unlocking the speed benefits of few-step generation.
  • Fine-tuning is Effective: The ability to integrate their framework into existing pretrained MDMs with minimal effort and achieve substantial gains is a practical advantage, making the approach accessible.

Key Results

  • Significant Perplexity Reduction: TTD-based fine-tuning of MDLM and VADD models led to substantial improvements in generative perplexity on both text (OpenWebText, LM1B) and molecule generation (QM9) benchmarks, especially in few-step regimes. For instance, TTD-based fine-tuning of VADD on OpenWebText reduced 8-step generative perplexity by 32.7%.
  • TTD Outperforms CPD: Across various experiments, TTD consistently outperformed CPD with comparable rank sizes, particularly in sequential domains and few-step generation.
  • Efficiency Gains: Despite improvements, the TTD-based fine-tuning of VADD was only 1.7% slower than the original VADD at 128 timesteps, demonstrating practical efficiency.
  • Molecule Generation Improvements: The method consistently achieved higher validity, uniqueness, and novelty in molecule generation compared to baselines, especially in few-step regimes.

Limitations and Future Work

  • Low-Rank Approximation: The framework relies on low-rank approximations of the joint distribution. While effective, arbitrarily increasing the rank is infeasible. The authors acknowledge that this is a fundamental limitation of tractable parameterizations.
  • Future Tensor Formats: The authors suggest exploring richer tensor formats like Tucker decomposition, which might capture dependency structures beyond the locality bias of TTD and offer different trade-offs between rank and expressivity.
  • Broader Applicability: While the framework shows promise, its application to other discrete data modalities and further exploration of its theoretical underpinnings are potential future directions.

Summary updated

BibTeX
@inproceedings{kim2026tensor,
  author = {Byoungkwon Kim and Minhyuk Sung},
  title = {{Tensor-Train Joint Modeling for Few-Step Discrete Diffusion}},
  booktitle = {SPIGM @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=uSNXZp77PH},
}
Figure