Smoothie: Smoothing Diffusion on Token Embeddings for Text Generation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Shabalin, Alexander, Meshchaninov, Viacheslav, Vetrov, Dmitry
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909044624588800
author Shabalin, Alexander
Meshchaninov, Viacheslav
Vetrov, Dmitry
author_facet Shabalin, Alexander
Meshchaninov, Viacheslav
Vetrov, Dmitry
contents Diffusion models have achieved state-of-the-art performance in generating images, audio, and video, but their adaptation to text remains challenging due to its discrete nature. Prior approaches either apply Gaussian diffusion in continuous latent spaces, which inherits semantic structure but struggles with token decoding, or operate in categorical simplex space, which respect discreteness but disregard semantic relation between tokens. In this paper, we propose Smoothing Diffusion on Token Embeddings (Smoothie), a novel diffusion method that combines the strengths of both approaches by progressively smoothing token embeddings based on semantic similarity. This technique enables gradual information removal while maintaining a natural decoding process. Experimental results on several sequence-to-sequence and unconditional generation tasks demonstrate that Smoothie outperforms existing diffusion-based models in generation quality. Furthermore, ablation studies show that our proposed diffusion space yields better performance than both the standard embedding space and the categorical simplex. The code is available at https://github.com/ashaba1in/smoothie.
format Preprint
id arxiv_https___arxiv_org_abs_2505_18853
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Smoothie: Smoothing Diffusion on Token Embeddings for Text Generation
Shabalin, Alexander
Meshchaninov, Viacheslav
Vetrov, Dmitry
Computation and Language
Diffusion models have achieved state-of-the-art performance in generating images, audio, and video, but their adaptation to text remains challenging due to its discrete nature. Prior approaches either apply Gaussian diffusion in continuous latent spaces, which inherits semantic structure but struggles with token decoding, or operate in categorical simplex space, which respect discreteness but disregard semantic relation between tokens. In this paper, we propose Smoothing Diffusion on Token Embeddings (Smoothie), a novel diffusion method that combines the strengths of both approaches by progressively smoothing token embeddings based on semantic similarity. This technique enables gradual information removal while maintaining a natural decoding process. Experimental results on several sequence-to-sequence and unconditional generation tasks demonstrate that Smoothie outperforms existing diffusion-based models in generation quality. Furthermore, ablation studies show that our proposed diffusion space yields better performance than both the standard embedding space and the categorical simplex. The code is available at https://github.com/ashaba1in/smoothie.
title Smoothie: Smoothing Diffusion on Token Embeddings for Text Generation
topic Computation and Language
url https://arxiv.org/abs/2505.18853