Paper Reading AI Learner

Smoothie: Smoothing Diffusion on Token Embeddings for Text Generation

2025-05-24 20:02:14
Alexander Shabalin, Viacheslav Meshchaninov, Dmitry Vetrov

Abstract

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 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. Our code is available at this https URL.

Abstract (translated)

扩散模型在生成图像、音频和视频方面取得了最先进的性能,但在文本领域的应用仍面临挑战,主要是因为文本的离散特性。先前的方法要么在连续潜在空间中应用高斯扩散,这种方法虽然继承了语义结构但难以解决词元解码的问题;要么在分类单纯形空间中操作,这虽尊重了离散性但却忽略了词元之间的语义关系。在这篇论文中,我们提出了 Smoothie(基于 Token Embeddings 的平滑扩散),这是一种结合了两种方法优势的新型扩散方法,通过逐步根据语义相似度平滑词元嵌入来实现信息渐进式移除的同时保持自然解码过程。在几个序列到序列生成任务上的实验结果表明,Smoothie 在生成质量上超越了现有的基于扩散的方法。此外,消融研究表明我们提出的扩散空间比标准嵌入空间和分类单纯形的表现都要好。我们的代码可在该链接获取:[此URL](请将 [此URL] 替换为实际的代码链接)。

URL

https://arxiv.org/abs/2505.18853

PDF

https://arxiv.org/pdf/2505.18853.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot