Generative modeling has seen a revolution thanks to diffusion models, but most of these models assume the world is flat. In reality, data often lives on curved surfaces called manifolds—think of the rotation of a robot arm, the folding of a protein, or the evolution of a quantum system. Applying standard "flat-space" diffusion to these curved geometries usually requires messy approximations like projections, which can introduce errors and sap efficiency.
In a new paper, researchers introduce the Trivialized Diffusion Model (TDM). By using a mathematical trick called "trivialization," they’ve found a way to make diffusion on complex Lie groups feel almost as simple as diffusion in standard Euclidean space.
TL;DR
TDM enables high-fidelity generative modeling on Lie groups by introducing an auxiliary momentum variable that is "trivialized" into a fixed, flat vector space (the Lie algebra). This approach eliminates the need for error-prone manifold projections and achieves state-of-the-art results on protein/RNA structures and high-dimensional quantum evolution data.
The Challenge of Curved Spaces
When you move along a curved manifold, the "tangent space" (the set of possible directions you can move) changes depending on your position. If you try to use a momentum-based diffusion model on a manifold, the momentum variable normally lives in these changing tangent spaces. This makes learning a "score function" (the gradient of the data distribution) incredibly difficult because the neural network has to account for the shifting geometry at every point.
Prior attempts to solve this often relied on squashing points back onto the manifold after every step (which accumulates numerical errors), breaking the manifold into flat pieces (creating boundary issues), or treating the manifold as a surface inside a larger flat space (ignoring intrinsic geometric constraints). The challenge was to find a way to perform diffusion that respects the manifold's geometry intrinsically without the computational "tax" of constant projections.
Methods: Left-Trivialization
The authors leverage the specific structure of Lie groups (manifolds that are also groups, like rotations or unitary matrices). Their core innovation is Left-Trivialization.
- Trivialized Momentum: Instead of tracking momentum in a changing tangent space, they map it back to the Lie algebra—the tangent space at the identity element. Because the Lie algebra is a fixed vector space, the momentum variable effectively stays in a "flat" space even as the position variable moves along the "curved" group.
- Kinetic Langevin Dynamics: They use a forward noising process based on trivialized momentum. This allows the neural network to learn the score function in a fixed Euclidean space, significantly simplifying the architecture.
- Operator Splitting Integrator (OSI): To solve the equations during sampling, they use a specialized numerical integrator. It splits the movement into two parts: one that updates the momentum and one that updates the position. Crucially, the position update uses an exponential map that is manifold-preserving by design, meaning the model never "drifts" off the manifold and never needs a projection step.
Key Results and Scalability
The authors tested TDM across a diverse range of geometries, including synthetic tori, bio-molecules (protein and RNA torsion angles), Special Orthogonal Groups ($SO(n)$), and Unitary Groups ($U(n)$).
- State-of-the-Art in Bioinformatics: On the 7D RNA dataset, TDM achieved a Negative Log-Likelihood (NLL) of -6.86, significantly outperforming the previous best, RFM (-5.20).
- Complex Distributions: In a newly curated "Pacman Maze" test on a torus, TDM sharply captured the discontinuous, multi-modal "walls" of the maze, whereas competing methods produced much blurrier results.
- Scalability to High Dimensions: TDM is the first model reported to successfully generate data on high-dimensional $SO(n)$ and $U(n)$ groups (up to $n=8$). Previous methods struggled here because they required calculating complex heat kernels or eigenfunctions that don't scale well.
Limitations and Future Work
The "trivialization" trick relies heavily on the group structure of the manifold. While Lie groups cover many important use cases (rotations, robotics, quantum), the method does not directly generalize to arbitrary Riemannian manifolds that lack a group structure. However, the authors suggest that extending this approach to "homogeneous spaces" (like spheres) is a promising next step. Future work could also involve more sophisticated score network architectures to further stabilize training.
Summary updated