Language Generation as Optimal Control: Closed-Loop Diffusion in Latent Control Space

ZiYi Dong, Yuliang Huang, Weijian Deng, Xiangyang Ji, Liang Lin +1 more
5/14/2026
cs.CL
diffusion-flow

No confident code implementation found for this paper.

Abstract

This work reformulates language generation as a stochastic optimal control problem, providing a unified theoretical perspective to analyze autoregressive and diffusion models and explain their limitations (Efficiency-Fidelity Paradox, Irreversibility Error Propagation, Optimization Tractability and Fidelity) in terms of combination of trajectory singularity, adjoint state vanishing, and gradient absence. To address these issues, we approximate the solution to the Hamilton-Jacobi-Bellman (HJB) equation, yielding an optimal policy that acts as a closed-loop controller.

Show full abstract

To bypass the intractability of directly solving the HJB PDE, we employ Flow Matching as the optimal trajectory solver within the rectified latent control space. This allows our Manta-LM with Global Integral Operator to approximate the global vector field, effectively realizing a model that simultaneously achieves high-fidelity text generation and efficient, low-cost parallel sampling. Empirically, our method achieves strong performance on language modeling and conditional generation tasks, while exhibiting improved stability, efficiency, and controllability.

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{dong2026language,
  title  = {Language Generation as Optimal Control: Closed-Loop Diffusion in Latent Control Space},
  author = {ZiYi Dong and Yuliang Huang and Weijian Deng and Xiangyang Ji and Liang Lin and Pengxu Wei},
  year   = {2026},
  eprint = {2605.14531},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.14531v3}
}

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.14531.svg)](https://codeofpaper.com/paper/2605.14531)

Discussion