# HEART: Hyperspherical Embedding Alignment via Kent-Representation Traversal in Diffusion Models

*Arani Roy, Shristi Das Biswas, Kaushik Roy*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/156063) · [Open on the map](../papers.html#p156063)

Category: [Diffusion & Image Generation](../pcat/5.md) › [Text-to-Image Diffusion Control](../pgroup/288.md) · Type: new method · Keywords: text-to-image diffusion, embedding geometry, hyperspherical representation, Kent distribution, image editing, geodesic transformation

Areas: [Multimodal](../areas/multimodal.md) › Multimodal Creation and Editing › Safe Generation; [Generative Models (Diffusion & Flows)](../areas/generative-models.md) › Visual Editing and Conditioning › Generative Model Safety and Security

## Summary
HEART is a training-free framework that performs Kent-aware geodesic transformations on the hyperspherical embedding space of text encoders, enabling precise and controllable text-to-image editing without finetuning.

## Explained to a 5-year-old
People use computers to draw pictures from words. When they change a word, the picture sometimes changes in weird ways. The new idea is that the words are arranged on a special ball shape, not a flat plane. By moving the words gently along this ball, the pictures change smoothly and stay correct. This helps make editing pictures easier and more reliable.

## Explained to a 5-year-old, longer
Computers can make pictures just by reading sentences. If you change a word in the sentence, you hope the picture changes only what you want. But often the picture gets messed up, like the background changes or objects look weird. This happens because the computer thinks words are placed on a flat map. The researchers discovered that the words actually sit on a round ball shape. On this ball, each word is a point, and groups of similar words form fuzzy spots. The new method treats these spots like special shapes called Kent distributions. By moving the points along the ball's surface instead of straight lines, the changes are smoother. This way, when you edit a word, only the right parts of the picture change. You can replace a character in the picture or tweak an attribute, like making something bigger or smaller. The best part is you don't need to train the computer or spend a lot of time fixing it. So people can edit images quickly and reliably, just by typing new words.

## For a technical reader
The paper observes that text embeddings used to condition diffusion models lie on a hyperspherical manifold rather than a Euclidean space. Conventional editing techniques apply linear transformations to these embeddings, which cause unintended side effects because they ignore the underlying geometry. The authors propose a training-free framework that performs Kent-aware geodesic updates directly on the hypersphere, preserving semantic relationships. This geometric approach enables precise operations such as subject replacement and fine-grained attribute control while keeping the rest of the scene unchanged. The method generalizes across different diffusion model architectures and requires no fine-tuning, inversion, or additional optimization.

## Problem
Editing generated images by modifying text prompts is challenging because simple linear changes to text embeddings often cause unintended alterations in the output, making precise control difficult.

## Method
The approach leverages the observation that text encoder representations lie on a hypersphere and follow Kent distributions, and it applies geodesic transformations on this hypersphere to edit embeddings without any finetuning or optimization.

## Results
The approach demonstrates fast, reliable, and controllable image editing, achieving intuitive subject replacement and fine-grained attribute control while preserving the original scene.

## Contributions
The paper identifies the hyperspherical geometry of text embeddings and proposes a training-free editing framework that performs geodesic transformations respecting this geometry, enabling precise and consistent edits across diffusion models.

## Practical relevance
It allows users to reliably edit generated images with simple text changes, facilitating applications such as content customization and scene manipulation.

## Research questions this paper is counted under

- [How can diffusion models be steered to edit fine-grained visual concepts without costly per-concept training?](../q/157.md)

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](../feedback/?on=p/156063)
