Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

LaDiR: Latent Diffusion Enhances LLMs for Text Reasoning

About

Large Language Models (LLMs) demonstrate their reasoning ability through chain-of-thought (CoT) generation. However, LLM's autoregressive decoding may limit the ability to revisit and refine earlier tokens in a holistic manner, which can also lead to inefficient exploration for diverse solutions. In this paper, we propose LaDiR (Latent Diffusion Reasoner), a novel reasoning framework that unifies the expressiveness of continuous latent representation with the iterative refinement capabilities of latent diffusion models for an existing LLM. We first construct a structured latent reasoning space using a Variational Autoencoder (VAE) that encodes text reasoning steps into blocks of thought tokens, preserving semantic information and interpretability while offering compact but expressive representations. Subsequently, we utilize a latent diffusion model that learns to denoise a block of latent thought tokens with a blockwise bidirectional attention mask, enabling longer horizon and iterative refinement with adaptive test-time compute. This design allows efficient parallel generation of diverse reasoning trajectories, allowing the model to plan and revise the reasoning process holistically. We conduct evaluations on a suite of mathematical reasoning and planning benchmarks. Empirical results show that LaDiR consistently improves accuracy, diversity, and interpretability over existing autoregressive, diffusion-based, and latent reasoning methods, revealing a new paradigm for text reasoning with latent diffusion.

Haoqiang Kang, Yizhe Zhang, Nikki Lijing Kuang, Nicklas Majamaki, Navdeep Jaitly, Yi-An Ma, Lianhui Qin• 2025

Related benchmarks

TaskDatasetResultRank
Mathematical ReasoningGSM8K--
499
Code GenerationHumanEval+
Pass@184.2
383
Code GenerationMBPP+
Pass@159.5
216
Mathematical ReasoningCollege--
55
Code GenerationMBPP
Pass@166.8
41
Mathematical ReasoningMATH
Pass@146.2
19
Mathematical ReasoningGaokao
Pass@135.4
18
Mathematical ReasoningDM-Math
Pass@152.3
18
Mathematical ReasoningTheoremQA
Pass@124.7
18
Mathematical ReasoningOlympia
Pass@112.9
18
Showing 10 of 11 rows

Other info

Follow for update