Manuscript Offprint

arXiv:2610.19080

Backpropagating Verifier Rewards Through Continuous Flow Language Models

Xu Han, Jiajing Hu, Li-Ping Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Reinforcement learning (RL) has substantially improved the reasoning of autoregressive and discrete-diffusion language models. Language models that generate continuous token embeddings are emerging as a strong alternative, but RL post-training for them remains understudied. We propose CFRL, a post-training framework for continuous flow language models. Such a model denoises token embeddings over multiple steps and decodes them into discrete tokens only at the last step. To obtain pathwise gradients, which backpropagate through continuous actions and have much lower variance than REINFORCE, we introduce a critic that estimates the value of intermediate token embeddings, bypassing the non-differentiable decoding step. The critic must also keep track of the value function as the policy changes; to this end, we design a critic that predicts a value from every token representation and improves policy optimization. Across four reasoning tasks, CFRL reliably improves a continuous flow language model through RL post-training and outperforms baseline methods of the same type.

1 INTRODUCTION

Reinforcement learning (RL) post-training has become a central mechanism for turning pretrained autoregressive (AR) language models into reasoners (Ouyang et al., 2022; Shao et al., 2024; DeepSeek-AI, 2025). The explicit token probabilities of AR models provide a natural RL interface: each token choice is an action that an advantage can reinforce or suppress. However, AR generation requires one sequential model evaluation per token, tying latency to sequence length. Diffusion-based language models ease this bottleneck by jointly refining all token positions over a fixed number of denoising steps, which can substantially speed up generation (Nie et al., 2025; Sahoo et al., 2024; Lou et al., 2023). RL has recently been applied to diffusion-based language models with promising results (Zhao et al., 2025; Zhu et al., 2025; Shao et al., 2026). Because these models operate on discrete tokens and take discrete actions during generation, RL methods for them, including PPO (Schulman et al., 2017) and GRPO (Shao et al., 2024), rely mainly on score-function (REINFORCE) gradients (Williams, 1992).

Continuous language models (CLMs) have historically lagged behind discrete counterparts in language generation (Li et al., 2022; Gong et al., 2022; Dieleman et al., 2022). The recent ELF (Hu et al., 2026), a CLM based on flow matching (Lipman et al., 2022; Liu et al., 2022), closes this gap: it achieves lower generative perplexity with fewer sampling steps while using ten times fewer training tokens. ELF progressively denoises Gaussian noise into real-valued token embeddings, then decodes the final embeddings into discrete tokens. Its continuous generation trajectory is differentiable, which makes it possible to backpropagate reward signals through the denoising process.

In this work, we propose Continuous Flow Reinforcement learning for Language models (CFRL), a post-training framework for improving CLM reasoning. We first adapt group-relative REINFORCE (Yao et al., 2026) to CLM post-training, using a verifier applied to the decoded response as the reward. We then exploit the differentiability of the continuous trajectory. Because the CLM's decoder is not differentiable, we train a critic to predict the expected verifier outcome from intermediate denoising states. Near the end of the trajectory, the critic can predict this outcome accurately because

∗^{*}Equal contribution.

†^{\dagger}Contact: liping.liu@tufts.edu.

the state contains nearly all the information needed to determine the decoded response. Its prediction is a differentiable reward estimate that can be backpropagated through a flow transition. We further design a novel critic architecture that propagates reward feedback to each token representation: it predicts a value from every token representation and trains each prediction against the sequence-level verifier outcome. This design turns the verifier signal into position-specific gradients, enabling more effective policy optimization.

We evaluate our framework under a unified protocol on four program-verifiable reasoning tasks: Countdown, Sudoku, Knights-and-Knaves, and Game24. Our models perform comparably to or better than baselines of similar or larger size. Our contributions are as follows.

• To the best of our knowledge, we demonstrate the first reliable improvement in the reasoning capabilities of a CLM through pathwise reinforcement learning.

• We propose a novel critic architecture that consistently improves RL performance and can be readily adapted to other denoising-based generative models.

• We evaluate our approach on four program-verifiable reasoning tasks and demonstrate its effectiveness.

References (77)