Rotations on Latent Hyperspheres: a Geometry-Aware Guiding Framework for Diffusion Models
Luca Sacchetto, Klaus Diepold
NeurIPS page · Open on the map
Category: Diffusion & Image Generation › One-Step Diffusion Models · Type: new method · Keywords: diffusion models, latent space control, reinforcement learning, rotation matrices, geometry-aware guidance, sample quality
Areas: Generative Models (Diffusion & Flows) › Diffusion Model Optimization › Diffusion Model Guidance
Summary
The geometry-aware guiding framework uses rotation-matrix-based exploration in the latent space of frozen diffusion models to steer generation toward task-specific constraints, improving sample quality across multiple domains.
Explained to a 5-year-old
Diffusion models are like machines that draw pictures by adding and removing noise. Sometimes the pictures break the rules, like having impossible shapes. The researchers added a helper that rotates the noise in a special way to guide the pictures. This helps the pictures follow the rules better. As a result, the pictures are nicer and more correct.
Explained to a 5-year-old, longer
Diffusion models work by slowly adding noise to data and then removing it to create new samples. If you just let them run, they might produce things that don't match the real world, like a car with five wheels or a sentence that doesn't make sense. The new idea is to give the model a guide that tells it which direction to go in the hidden space where the noise lives. This guide uses a special rotation that moves the noise around in a way that respects the shape of the data. By following this guide, the model learns to keep the important features and avoid breaking the rules. The guide works without changing the original model, so it can be used with any diffusion model. Tests show that using this guide makes the generated results clearer, more accurate, and more pleasing to humans. It also works well for different kinds of tasks, like solving physics equations, creating complex shapes, and turning text into images.
For a technical reader
The paper introduces a reinforcement learning wrapper that optimizes noise in the latent space of pre-trained diffusion models. By modeling the latent distribution as near-spherical, the authors apply rotation matrices to explore this space efficiently, steering outputs toward desired properties via task-specific rewards. Experiments on three diffusion models-PDE solutions, a synthetic structural dataset, and a text-conditioned model-show substantial gains in sample quality, with up to 25% lower PDE residual, 44% better feature alignment, and 80% higher human preference scores. The rotation-based exploration also clearly outperforms naive unconstrained search.
Problem
Diffusion models can generate samples that violate domain-specific constraints because they rely purely on data-driven training without explicit guidance.
Method
The approach uses a plug-and-play reinforcement learning framework to optimize initial noise samples in the latent space of frozen diffusion models. It exploits the near-spherical geometry of high-dimensional Gaussian distributions via a rotation-matrix-based scheme to explore the latent space efficiently, guided by task-specific rewards.
Results
The approach reduces PDE residual by about 25%, improves feature alignment by up to 44%, and boosts human preference scores by up to 80% compared to vanilla diffusion models. Rotation-matrix-based exploration also outperforms unconstrained exploration.
Contributions
A plug-and-play reinforcement learning framework that leverages latent space geometry via rotation matrices to guide diffusion model generation, and an evaluation across PDE, synthetic, and text-conditioned settings showing substantial quality gains.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction