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

Arani Roy, Shristi Das Biswas, Kaushik Roy
5/8/2026
cs.CV
diffusion-flow

No confident code implementation found for this paper.

Abstract

Text-to-image diffusion models can generate visually stunning images, yet, controlling what appears and how it appears, remains surprisingly difficult, especially when operating solely within the constraints of the text-conditioning space. For example, changing a subject or adjusting an attribute often leads to unintended side effects, such as altered backgrounds or distorted details.

Show full abstract

This is because most existing text-based control methods treat the embedding space as Euclidean and apply simple linear transformations, which do not reflect how semantic concepts are actually organized. In this work, we take a step back and ask: what is the true geometry of these embeddings? We find that text encoder representations lie on a hypersphere, where concepts are not linear directions but structured, anisotropic distributions better captured by Kent distributions. Building on this insight, we propose HEART, a training-free framework that performs Kent-aware geodesic transformations directly on the hypersphere. By respecting the underlying geometry, HEART enables intuitive and precise edits, such as consistent subject replacement and fine-grained attribute control, while preserving the original scene. Importantly, HEART requires no finetuning, inversion, or optimization, and generalizes across diffusion model architectures. Our results show that a simple shift in perspective, from linear to spherical, can unlock fast, and controllable image generation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{roy2026heart,
  title  = {HEART: Hyperspherical Embedding Alignment via Kent-Representation Traversal in Diffusion Models},
  author = {Arani Roy and Shristi Das Biswas and Kaushik Roy},
  year   = {2026},
  eprint = {2605.07973},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.07973v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.07973.svg)](https://codeofpaper.com/paper/2605.07973)

Discussion