← Latest papers
🤖 machine learning

LaDi-RL: Latent Diffusion Reasoning Prevents Entropy Collapse in Reinforcement Learning

The paper proposes LaDi-RL, a reinforcement learning framework that utilizes latent diffusion models to generate structured reasoning trajectories and employs hierarchical latent-text rollouts to decouple latent planning quality from text decoding errors, thereby preventing entropy collapse and significantly outperforming traditional token-level RL on code and math reasoning tasks.

Original authors: Haoqiang Kang, Yizhe Zhang, Nikki Lijing Kuang, Yi-An Ma, Lianhui Qin

Published 2026-05-19
📖 5 min read🧠 Deep dive

Original authors: Haoqiang Kang, Yizhe Zhang, Nikki Lijing Kuang, Yi-An Ma, Lianhui Qin

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a very smart but slightly stubborn student (a Large Language Model) how to solve complex puzzles, like writing computer code or solving advanced math problems.

For a long time, the best way to teach this student has been Reinforcement Learning (RL). Think of this like a game where the student tries to solve a problem, and if they get it right, they get a gold star. If they get it wrong, they get a "try again."

However, the old way of teaching has a big flaw. It forces the student to think one word at a time. It's like asking a master chef to plan a whole banquet by deciding only the very next ingredient to chop.

  • The Problem: The student gets stuck focusing on tiny details (like using the word "therefore" instead of "so") and forgets the big picture. They start repeating the same few strategies over and over, ignoring other clever ways to solve the problem. In the paper, they call this "Entropy Collapse." It's like a student who only ever learns to solve a math problem by adding numbers, even when subtraction or multiplication would be faster. Eventually, they stop trying new things, and their creativity dies.

The New Idea: LaDi-RL (The "Dreaming" Student)

The authors of this paper, LaDi-RL, propose a different way to teach the student. Instead of making them decide word-by-word, they let the student "dream" the whole solution first in a hidden, abstract space, and then just write it down.

Here is how it works, using a simple analogy:

1. The "Blueprint" vs. The "House"

  • Old Way (Token-Level): The student builds a house brick by brick, deciding the color of every single brick as they go. If they make a mistake early on, the whole house might be crooked.
  • New Way (Latent Diffusion): The student first draws a blueprint (a "latent trajectory") in their mind. This blueprint represents the logic and the strategy of the solution, not the specific words.
    • Think of this blueprint as a "thought cloud." It's a continuous, fluid representation of the idea.
    • The student uses a special tool called a Diffusion Model. Imagine this tool as a sculptor who starts with a block of clay (random noise) and slowly chips away the excess until a perfect statue (the solution strategy) emerges. This allows the student to explore many different types of strategies (e.g., "let's try geometry" vs. "let's try algebra") before committing to any specific words.

2. The "Translator" Problem

There's a catch. The student's "dream" (the blueprint) is in a secret language they understand, but the final answer must be written in plain English (or code).

  • The Risk: Sometimes the student has a brilliant blueprint, but the "translator" (the part that turns the blueprint into text) messes up the translation. If the student gets a bad grade, how do we know if the idea was bad, or just the translation?
  • The Solution (Hierarchical Rollouts): The paper introduces a clever fix. Instead of judging the blueprint based on just one translation, the student generates multiple translations for the same blueprint.
    • Analogy: Imagine a chef has a great recipe (the blueprint). Instead of cooking it once and judging the dish, they cook it five times. If four out of five dishes are delicious, we know the recipe is good, even if one dish was burnt by accident. This gives the teacher a much clearer signal on whether the student's strategy was actually smart.

3. Keeping the Party Diverse

To make sure the student doesn't get lazy and stick to just one blueprint, the authors add a "Repulsion Force."

  • Analogy: Imagine a group of explorers trying to find treasure. If they all follow the same path, they might miss a hidden cave. The "Repulsion Force" is like a gentle nudge that says, "Hey, you're too close to your friend! Go explore a different direction!"
  • This forces the student to generate blueprints that are structurally different from each other, ensuring they explore a wide variety of solutions.

What Did They Find?

The paper tested this new method on two tough challenges: writing code and solving math problems.

  • Better Accuracy: The "Dreaming Student" (LaDi-RL) got significantly more problems right on the first try compared to the old "Brick-by-Brick" student.
    • In coding, they improved accuracy by 9.4%.
    • In math, they improved by 5.7%.
  • More Creativity: The old student eventually stopped trying new things (Entropy Collapse). The new student kept finding diverse, creative solutions. Even when asked to generate 100 different answers, the new student's answers were all unique and correct, whereas the old student's answers started looking the same and getting worse.
  • Efficiency: The new student didn't need to write thousands of words of "thinking out loud" to get the answer. They compressed their thinking into a short, efficient "blueprint," saving time and computing power.

The Bottom Line

LaDi-RL changes how AI learns to reason. Instead of forcing the AI to think in tiny, rigid steps (word-by-word), it lets the AI explore the landscape of ideas first (using a diffusion process) and then translate those ideas into words. This prevents the AI from getting stuck in a rut, keeps its solutions diverse, and helps it solve harder problems more accurately.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →