Manuscript Offprint
arXiv:2610.37642Metacognitive Decoding: Efficient Inference for Diffusion Language Agents
Abstract
Diffusion language models offer a promising path to efficient agents through parallel token generation. However, efficient interaction requires adapting both where computation is spent and how much text is generated. We introduce a metacognitive controller that guides diffusion generation according to the needs of the current response and the agent's interaction with the environment. It learns when to finalize tokens and how far generation should extend, reducing overall computation within responses. Our controller, a lightweight plug-in for the diffusion backbone, is trained on agent trajectories to balance correctness and generation cost. This approach connects the agent's generation process to the interaction the agent serves. Experiments across five benchmarks demonstrate that our approach reduces inference FLOPs by 20.6% on average compared with the most efficient baseline, while maintaining competitive task accuracy. Ablation studies further validate the effectiveness of our approach.
1 Introduction
Diffusion language models offer a promising foundation for efficient language agents. Their ability to generate multiple tokens in parallel creates opportunities to accelerate generation (Nie et al., 2025; Wu et al., 2026). In an agent, however, each response is part of an ongoing interaction: the model reasons about a task, calls a tool, observes the result, and continues. What the agent needs to generate changes throughout this process. Making effective use of diffusion therefore introduces a new challenge: adapting diffusion generation to the dynamic needs of agentic reasoning and interaction.
The primary bottleneck lies in the mismatch between conventional rigid decoding mechanisms and the highly structured nature of agent trajectories, which leads to severe computational redundancy. This inefficiency manifests in two main ways. First, agent outputs contain a mix of highly predictable formatting (e.g., API templates) and complex reasoning. Conventional decoding treats all tokens uniformly; it either wastes compute by over-processing easy tokens or introduces errors by finalizing complex tokens too early. Second, agent interactions have strict execution boundaries. Once a tool call is generated, the agent must pause for environment feedback. However, because diffusion models process tokens in fixed-size blocks, they often wastefully compute trailing tokens beyond this boundary that are ultimately discarded. Therefore, to achieve high efficiency, a diffusion agent must dynamically adjust its decoding strategy based on both prediction confidence and interaction states.
To address these inefficiencies, we introduce a metacognitive controller that enables environment-aware generation (Figure 1). Instead of generating tokens blindly, the controller monitors the agent's interaction states and the model's prediction confidence to dynamically coordinate two decisions: which tokens to finalize and how many positions to compute. At each step, after the diffusion backbone predicts tokens, the controller applies a cascaded policy to optimize decoding: First, flux decoding optimizes the active computation range. It dynamically shrinks the generation window to exclude unnecessary downstream positions from computation, expanding it back only when the current response actually requires more space to complete. Second, confidence alignment decoding manages token acceptance. It identifies highly predictable structures (e.g., standard tool-call formats) and finalizes them simultaneously, while adaptively adjusting the acceptance thresholds for individual tokens. Together, these mechanisms ensure that computation is spent only where needed, allowing generation to halt efficiently the moment a tool call is triggered.
These authors contributed equally to this work.
We release our implementation on GitHub.

Figure 1: Metacognitive control of environment-aware diffusion decoding. Left: fixed-range decoding computes positions beyond the response consumed by the environment. Right: our controller guides content commitment and adjusts the active computation range during interaction. Orange denotes controller-guided revelation, gray denotes computed tail positions, and dashed cells lie outside the active range.
Our contributions are threefold:
• We identify a diffusion agent efficiency bottleneck: diffusion agents can have low token efficiency with common patterns.
• We propose a metacognitive controller for efficient agent generation. Our controller monitors both model prediction signals and agent interactions. It controls agent decoding with a cascaded decoding policy: confidence alignment decoding controls structural segments and token acceptance, while flux decoding adjusts the computation range through recoverable empty tokens.
• Across five benchmarks, our approach outperforms existing baselines by reducing inference FLOPs while maintaining competitive task accuracy. Ablation studies further demonstrate the effectiveness of our metacognitive controller.
Language agents and tool use. Beyond standalone text generation, language agents use external tools and environmental feedback to solve tasks. ReAct interleaves reasoning with actions, allowing observations to inform subsequent decisions (Yao et al., 2023), while Toolformer learns when and how to invoke APIs and incorporate their results into generation (Schick et al., 2023). Reflexion uses feedback to form verbal reflections that guide subsequent attempts (Shinn et al., 2023). Diffusion models have also been explored for interaction and planning. DiffTOD formulates target-oriented dialogue planning as conditional trajectory generation, using diffusion to construct plans non-sequentially (Du et al., 2025). More directly, DLLM-Searcher adapts diffusion language models to search agents through supervised fine-tuning and reinforcement learning (Zhao et al., 2026). Its P-ReAct decoding pre-fills tool-call boundaries and biases confidence scores within the tool region to prioritize tool-call completion, allowing tool execution to overlap with reasoning generation.
Adaptive decoding for diffusion language models. Decoding policies determine how diffusion language models translate parallel token predictions into efficient generation. Revealing multiple tokens per step reduces the number of model evaluations but can compromise generation quality. Confidence-ranked decoding selects a prescribed number of predictions at each step (Nie et al., 2025), whereas confidence-thresholding reveals tokens whose confidence exceeds a specified threshold (Wu et al., 2026). Further approaches employ entropy constraints to determine how many tokens to reveal (Ben-Hamu et al., 2025), or use token predictions from previous denoising steps to determine which tokens to reveal (Wei et al., 2026; Wang et al., 2026). Existing studies have also explored learning which positions to denoise (Liu et al., 2025) and revising previously generated tokens by masking them again (Wang et al., 2025). Another line of work focuses on reducing the computational cost of each denoising step through adaptive caching (Ma et al., 2025; Liu et al., 2026; Nguyen-Tri et al., 2026) and sparse attention (Song et al., 2026; Long et al., 2026).
3 Methodology
In this section, we present a metacognitive controller for accelerating diffusion agents. It selects which tokens to finalize and how much of the current block to keep active. We train the controller to balance answer correctness and inference cost. We first describe block diffusion ( ), then introduce the controller ( ) and cascaded decoding ( ), and finally present controller training ( ).
3.1 Backbone: Block Diffusion
Diffusion models such as LLaDA2.0 (Bie et al., 2025) generate responses block by block. For example, given the query and current interaction history c, the probability of a response x comprising K blocks factorizes as
where denotes the k-th block, and the preceding blocks. Each block is generated by iterative denoising from masked tokens, conditioned on completed blocks.
3.2 Metacognitive Controller
In this section, we introduce a metacognitive controller, a lightweight plug-in that assists diffusion agent generation. In general, the controller has two functions: monitoring signals from both the model and the external environment, and controlling diffusion agent generation. Figure 2 illustrates the workflow of the metacognitive controller.
Monitoring. The controller monitors both internal model signals and external interaction signals. Internal model signals comprise the denoising state and structural state. The denoising state captures prediction uncertainty, token revelation status, and progress within the current block. The structural state captures recurring format patterns in tool calls, thinking, and final answers, as well as their compatibility with the partially generated response. External interaction signals are represented by the interaction state, which tracks the current interaction turn and whether thinking segments, tool calls, and final answers have been completed. These monitored signals are organized into position, structural-candidate, and global inputs. The controller jointly encodes these inputs to obtain the corresponding representations for decoding control.
Controlling. Our metacognitive controller facilitates generation by diffusion agents. We implement the control mechanism through a two-stage decoding policy. In the first stage, the diffusion backbone produces token predictions. In the second stage, the metacognitive controller refines the decoding process through two policies: the confidence alignment policy and the flux policy. For flux decoding, it determines which positions remain active and which are excluded from computation until recovery. For confidence alignment decoding, it scores structural candidates derived from the recurring format patterns and predicts acceptance thresholds for both structural candidates and individual tokens. We describe these policies in detail in Section 3.3.
Metacognitive Control for Diffusion Agents

Figure 2: Overview of our approach. The metacognitive controller monitors the generation state and interaction progress, then guides backbone predictions through the confidence alignment policy and flux policy. Tool calls provide environmental feedback for subsequent generation.
3.3 Cascaded Decoding Policy
Our decoding design follows two principles. First, we keep the diffusion backbone frozen to avoid costly backbone post-training, while leveraging the monitored signals to guide generation. Second, we seek to minimize interference with the backbone's original generation. To apply these principles, we propose a cascaded decoding policy. It contains two layers: the diffusion backbone first produces token predictions as usual; the controller then uses these predictions and the monitored signals to guide decoding through the confidence alignment policy and flux policy.
Stage I: Backbone Prediction
At each denoising step, the diffusion backbone follows its standard prediction procedure, producing a token distribution at each masked position in the current block, conditioned on the interaction history, completed blocks, and the current block state.
Let denote the predicted probability of token at position , where is the backbone vocabulary. The predicted token and its confidence are
These predictions are passed to the second-stage controller to determine which tokens are accepted and which positions remain active.
Stage II: Decoding Control
Confidence Alignment Policy. During agent decoding, redundant patterns recur in generated responses. For example, tool-use agents repeatedly generate structured tool-call formats, while question-answering agents reuse formats for thinking and final answers. Therefore, to exploit this redundancy, we introduce the confidence alignment policy. Specifically, we extract recurring structural segments from sampled trajectories of the agent task to construct structural candidates. During decoding, each candidate pairs a segment with a compatible location in the current block. We retain only structural candidates that match the already generated tokens at their proposed locations.
Specifically, let denote the index set of these candidates. For each candidate , the controller uses its representation to compute a score , indicating its preference for accepting that segment:
Here, and are learned parameters, and indexes the highest-scoring candidate.
The controller predicts a relative acceptance threshold from the global representation. If , the selected candidate is accepted, jointly filling its masked positions with the segment tokens. For each remaining masked position , the controller predicts a threshold offset from the position representation and reveals features. The backbone's predicted token is accepted when its confidence satisfies , where is the base threshold. These acceptance criteria adapt structural and token-level revelation to the current decoding state.
Flux Policy. We introduce a dynamic empty token to mark a recoverable endpoint of the active computation range. At each denoising step, we update its position by selecting the highest-probability position predicted by the metacognitive controller. Positions beyond this endpoint do not participate in subsequent denoising.
For a block of original size B, the controller uses the position representations to score the possible lengths of the active computation range:
where assigns probabilities to different lengths of the active computation range. At inference, the decoder selects the highest-probability length that preserves all committed non-padding tokens. Selecting an active computation range of length assigns the empty token to position . Positions beyond do not participate in subsequent denoising. If the active computation range is fully decoded but the turn remains incomplete, the controller uses the updated decoding state to select a longer range , moves the empty token to position , and restores the additional positions as masks. Once recovery begins, the active computation range can expand but cannot shrink within the current block.
3.4 Controller Training
In this section, we present the training procedure for the metacognitive controller, which learns a cascaded decoding policy to balance task correctness and inference cost over complete interaction trajectories.
Trajectory-level reward. We reward correct trajectories according to their inference cost. For a complete trajectory generated for question q, the reward is
We define the relative inference cost as , where is the backbone and controller inference cost, and is the inference cost of the same frozen backbone without the controller on question q. Reference costs are precomputed and held fixed throughout training. The parameter sets the cost scale, and controls the reward's sensitivity to efficiency. Correctness is evaluated using the task-specific metric. The reward becomes zero when .
Controller optimization. At each denoising step during rollout, we sample a length for the active computation range according to . When the selected length leaves the range unchanged, we sample a structural candidate and whether to accept it according to the controller's output probabilities. For each remaining masked position i in the active computation range, we independently sample whether to accept the backbone-predicted token. Its acceptance probability increases with the difference between its confidence and the adjusted threshold .
We train the controller on-policy following GRPO (Shao et al., 2024). In each round, we sample a group of complete interaction trajectories for each question through the current controller and compute their rewards. We standardize rewards within each group to obtain trajectory-level advantages.
4 Experiments
Our experiments evaluate whether environment-aware decoding reduces inference cost while maintaining task accuracy. We compare our method with existing diffusion-based agents and language models on tool-calling and multi-hop question-answering tasks. We further examine the contributions of individual control components through ablations and evaluate the method across diffusion backbones.
4.1 Experiment Setup
Datasets and interaction environments. We evaluate our metacognitive controller in diffusion-agent settings. We sample BFCL v3 (Patil et al., 2025) to evaluate tool-calling capabilities, splitting its non-live and live subsets into training and test sets at a 1:1 ratio within each subset, following Lu et al. (2025). We sample 1,000 questions from each of HotpotQA (Yang et al., 2018), 2WikiMulti-HopQA (Ho et al., 2020), and MuSiQue (Trivedi et al., 2022) to evaluate multi-hop reasoning and tool use, following Zhao et al. (2026).
Baselines. We compare our approach with general diffusion models, task-adapted diffusion models, and diffusion decoding acceleration methods. LLaDA2.0-mini (Bie et al., 2025) is an
| Method | BFCL Live | BFCL Non-live | HotpotQA | 2Wiki | MuSiQue | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Acc.↑ | FLOPs↓ | Acc.↑ | FLOPs↓ | Acc.↑ | FLOPs↓ | Acc.↑ | FLOPs↓ | Acc.↑ | FLOPs↓ | |
| Fast-dLLM | 57.46 | 57.58 | 52.66 | 54.98 | 43.20 | 324.16 | 67.70 | 340.49 | 21.20 | 342.32 |
| LLaDA-8B-Tools | 50.00 | 2889.56 | 37.27 | 1375.23 | 16.50 | 4310.92 | 22.80 | 4185.11 | 2.20 | 2644.99 |
| DLLM-Searcher | 40.85 | 547.10 | 16.09 | 433.45 | 37.10 | 1277.25 | 50.40 | 1261.22 | 17.80 | 1237.25 |
| LLaDA-8B (SFT) | 66.52 | 32.49 | 63.60 | 19.28 | 45.70 | 175.00 | 67.10 | 204.51 | 20.70 | 197.38 |
| LLaDA2.0-mini | 69.72 | 43.79 | 79.42 | 14.12 | 36.30 | 142.09 | 41.00 | 199.93 | 10.80 | 168.37 |
| Ours | 70.96 | 18.48 | 65.47 | 12.51 | 46.60 | 131.91 | 67.90 | 147.68 | 20.30 | 142.83 |
Table 1: Task accuracy and inference cost of our method and baseline methods. FLOPs accumulate model computation over the complete interaction trajectory, including controller computation.
open-source mixture-of-experts diffusion language model with block diffusion decoding, included as a general diffusion baseline. LLaDA-8B-Tools (Proximile LLC, 2025) is a version of LLaDA-8B-Instruct fine-tuned for tool calling, providing a comparison with a task-adapted diffusion model. DLLM-Searcher (Zhao et al., 2026) adapts diffusion language models into search agents through agentic post-training and introduces P-ReAct to overlap tool execution with reasoning. We include it as a diffusion-agent baseline. Fast-dLLM (Wu et al., 2026) is a training-free acceleration method that enables KV caching and confidence-aware parallel decoding. We include it to compare controller-based decoding with an existing diffusion acceleration method. We evaluate it with the same diffusion backbone weights, tool interfaces, and generation budgets as our method, differing only in the decoding and caching mechanisms. LLaDA-8B (SFT) is based on our LLaDA-8B-Instruct backbone fine-tuned on tool-use trajectories, with only the metacognitive controller removed. This comparison isolates the contribution of metacognitive control to accuracy and inference cost.
Implementation and evaluation metrics. To support a fair comparison with task-adapted baselines, we first adapt LLaDA-8B-Instruct (Nie et al., 2025) to the target tasks through supervised fine-tuning (SFT). For the controller, we simply use a two-layer Transformer encoder. We train the controller on eight NVIDIA A100 GPUs for 40 rounds per stage.
Task accuracy. For BFCL v3, we use the official evaluator to measure tool-call correctness. For HotpotQA, 2WikiMultiHopQA, and MuSiQue, we report cover exact match (CEM), following prior evaluations of agents (Zhao et al., 2026; Song et al., 2025). CEM assesses whether the ground-truth answer is included in the predicted answer. CEM scores are rounded to the nearest 0.1 percentage point.
Computational cost. Floating-point operations (FLOPs) measure the amount of arithmetic computation required for inference. We count the major matrix operations of the backbone and controller over each complete trajectory and report average FLOPs in units of operations.
4.2 Main Results
Table 1 summarizes the main results across five benchmarks. Our method delivers competitive task accuracy at the lowest computational cost compared with existing baselines. Notably, on BFCL Live, HotpotQA, and 2Wiki, it outperforms all baselines in both accuracy and inference FLOPs.
Comparison with general diffusion models. Our method builds on LLaDA-8B-Instruct. Compared with the larger-scale LLaDA2.0-mini (16B MoE), it achieves higher accuracy on four benchmarks while reducing inference FLOPs across all five benchmarks. Although LLaDA2.0-mini achieves higher accuracy on BFCL Non-live, our method still reduces inference FLOPs by 11.4% on this benchmark.
Comparison with task-specialized models. Our method consistently outperforms LLaDA-8B-Tools and DLLM-Searcher in both task accuracy and computational efficiency across all five benchmarks. On BFCL Non-live and Live, it surpasses LLaDA-8B-Tools by 28.20 and 20.96 percentage points in accuracy, respectively. The advantage over DLLM-Searcher extends across all three multihop QA benchmarks, with accuracy gains of 9.50, 17.50, and 2.50 percentage points on HotpotQA, 2Wiki, and MuSiQue, respectively. These improvements are accompanied by an 88.3–89.7% reduc-
| Setting | BFCL Live | BFCL Non-live | HotpotQA | 2Wiki | MuSiQue | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Acc. ↑ | FLOPs ↓ | Acc. ↑ | FLOPs ↓ | Acc. ↑ | FLOPs ↓ | Acc. ↑ | FLOPs ↓ | Acc. ↑ | FLOPs ↓ | |
| w/o flux policy | 70.07 | 26.95 | 64.46 | 17.39 | 47.60 | 149.71 | 66.70 | 162.46 | 19.60 | 162.93 |
| w/o conf. align. | 69.63 | 23.11 | 64.46 | 14.55 | 48.90 | 145.49 | 68.90 | 166.48 | 19.10 | 167.32 |
| Controller (Ours) | 70.96 | 18.48 | 65.47 | 12.51 | 46.60 | 131.91 | 67.90 | 147.68 | 20.30 | 142.83 |
Table 2: Component ablations of the metacognitive controller. Each ablation disables one component of the full controller. Conf. align. denotes the confidence alignment policy. Accuracy (%) and FLOPs ( ) follow Table 1.
tion in inference FLOPs across these three benchmarks.
Comparison with decoding acceleration baselines. Compared with Fast-dLLM, our method reduces inference FLOPs by 56.6–77.2% across all five benchmarks while maintaining competitive task accuracy. On BFCL Non-live and Live, it also achieves accuracy gains of 12.81 and 13.50 percentage points, respectively, demonstrating improvements in both accuracy and computational efficiency.
Effectiveness of metacognitive control. Compared with LLaDA-8B (SFT), our method reduces inference FLOPs by 24.6–43.1% across all five benchmarks with identical backbone weights and inference settings, differing only in the use of the metacognitive controller. Task accuracy improves on four benchmarks and remains comparable on MuSiQue, demonstrating the computational benefits of metacognitive control.
4.3 Ablation Study
We examine the contributions of the two decoding components in Table 2. We disable the flux decoding policy and the confidence alignment policy individually. All configurations follow our method's inference setup, including prefix caching and confidence-threshold decoding.
Contributions of individual components. As shown in Table 2, removing either policy increases inference FLOPs across all five benchmarks, with only modest changes in task accuracy. Specifically, disabling the flux decoding policy and the confidence alignment policy individually increases FLOPs by an average of and , respectively, relative to the full controller. These results demonstrate that both policies contribute to the controller's efficiency gains while preserving comparable task accuracy.
BFCL

Multi-hop Dataset

Figure 3: Accuracy versus FLOPs reduction on BFCL and multi-hop tasks. Gray points denote evaluated checkpoints; blue points and lines highlight their empirical Pareto frontier. The upper-right direction is better.
Accuracy–efficiency trade-off. Figure 3 plots task accuracy against FLOPs reduction on BFCL and multi-hop tasks for several controller checkpoints. For each checkpoint on the highlighted Pareto frontier, none of the other checkpoints improves either metric without worsening the other.
4.4 Results on Different Backbones
We further evaluate our method on two different diffusion language model backbones: LLaDA-8B-Instruct (Nie et al., 2025) and Dream-7B (Ye et al., 2025). We train the metacognitive controller for each backbone separately. Table 3 shows substantial reductions in inference FLOPs on both backbones while retaining competitive success rates,
| Dataset | LLaDA | Dream | ||
|---|---|---|---|---|
| ΔAcc. | FLOPs↓ | ΔAcc. | FLOPs↓ | |
| BFCL Live | +4.44 | 43.1% | +0.00 | 17.2% |
| BFCL Non-live | +1.87 | 35.1% | +1.72 | 29.0% |
| HotpotQA | +0.90 | 24.6% | +1.10 | 52.9% |
| 2Wiki | +0.80 | 27.8% | -0.60 | 58.0% |
| MuSiQue | -0.40 | 27.6% | -2.20 | 67.5% |
Table 3: Effect of the metacognitive controller on LLaDA and Dream. Acc. reports the change in accuracy (percentage points), and FLOPs reports the reduction in inference FLOPs (%), relative to the same backbone without the controller. LLaDA results compare Ours with LLaDA-8B (SFT) in Table 1.
Metacognitive Control for Diffusion Agents
Question
When did the Disney Channel movie starring Kyla Pratt premiere?
Backbone prediction
August 16, 2005 (Incorrect)
Turn 1: reasoning and tool call
FLOPs overall
<think>To find the premiere date of the Disney Channel Original
Movie that Kyla Al issa Pratt was in, I need to first identify
which Disney Channel Original Movie she was in. Once I have
that information, I can search for
the premiere date .</think> <tool_call> { "name": "
search", "arguments": { "query": ["Kyla Al issa Pratt
Disney Channel Original Movie", "Kyla Al issa Pratt Disney
Channel Original Movie premiere
date"] } </tool_call> <think> To find the premiere date
of the Disney Channel Original Movie that Kyla Al issa Pratt
was in, I need to first identify which Disney Channel Original
Movie she was in. Once
Tool feedback received; Turn 2: final answer
< | box_start | > Kyla Al issa Pratt was in the Disney Channel
Original Movie "The Proud Family Movie." This movie premiered
on August 1 6, 2 0 0 5 . < | box_end | >
Same search queries and returned tool feedback
Ours
August 19, 2005 (Correct)
Turn 1: reasoning and tool call
FLOPs (24.3% fewer)
<think>To find the premiere date of the Disney Channel Original
Movie that Kyla Al issa Pratt was in, I need to first identify
which Disney Channel Original Movie she was in. Once I have
that information, I can search for
the premiere date .</think>
<tool_call> { "name": "search", "arguments": { "query
": ["Kyla Al issa Pratt Disney Channel Original Movie",
"Kyla Al issa Pratt Disney Channel Original Movie premiere
date"] } </tool_call>
Tool feedback received; Turn 2: final answer
< | box_start | > Kyla Al issa Pratt was in the Disney Channel
Original Movie "The Proud Family Movie." This movie originally
premiered on August 1 9, 2 0 0 5 . < | box_end | >
Three structural segments highlighted in green
Tool-call block: active positions
Figure 4: An interaction comparison using the same backbone and search queries. Green highlights the tokens in three structural segments; Red marks post-call generation; gray denotes padding. Blank blue cells have no saved token text. Flux decoding reduces the active range (gray). With the metacognitive controller, the agent uses fewer FLOPs over the complete interaction and answers correctly in this example.
demonstrating the effectiveness of our method across different diffusion backbones.
4.5 Case Study
Figure 4 compares two complete interactions using the same diffusion backbone and search queries. Both agents issue a tool call in the first turn and generate a final answer in the second. With backbone prediction alone, generation continues beyond the tool-call boundary and repeats the preceding reasoning. These 40 positions are discarded by the environment: they neither change the search queries nor contribute to the next turn's interaction context. The decoder therefore spends computation on this redundant content.
The metacognitive controller coordinates structural and token acceptance through the confidence alignment policy and adjusts the active computation range through flux decoding. The figure highlights three structural segments in green: the thinking close tag, the search-call prefix, and the tool-call closing sequence. In the final tool-call block, flux decoding retains 13 of 48 positions, reducing the active range within this block by . After receiving the same tool feedback, the agent with our controller gives the correct premiere date, August 19, 2005, whereas the agent relying on backbone prediction alone answers August 16, 2005. The complete interaction uses FLOPs, compared with with backbone prediction alone, a reduction of .
5 Conclusion
We presented a metacognitive controller designed to accelerate diffusion language agents through environment-aware generation. Rather than processing tokens uniformly in fixed blocks, our controller dynamically regulates decoding via a cascaded policy: confidence alignment decoding finalizes predictable structural tokens efficiently, while flux decoding shrinks the active computation range to eliminate redundant processing. Empirical results across diverse tool-calling and multi-hop reasoning benchmarks show that our method substantially reduces inference FLOPs without compromising task accuracy. This approach demonstrates that adaptively aligning computation with agent interaction states is a highly effective strategy for scaling diffusion agents.
Limitations
Adapting the controller to evolving diffusion models remains an important direction for future work.
References
Marianne Arriola, Aaron Gokaslan, Justin Chiu, Zhihan Yang, Zhixuan Qi, Jiaqi Han, Subham Sahoo, and Volodymyr Kuleshov. 2025. Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Models. In International Conference on Learning Representations, pages 50726–50753.
Jacob Austin, Daniel D. Johnson, Jonathan Ho, Daniel Tarlow, and Rianne van den Berg. 2021. Structured Denoising Diffusion Models in Discrete State-Spaces. In Advances in Neural Information Processing Systems, volume 34, pages 17981–17993.
Heli Ben-Hamu, Itai Gat, Daniel Severo, Niklas Nolte, and Brian Karrer. 2025. Accelerated Sampling from Masked Diffusion Models via Entropy Bounded Unmasking. In Advances in Neural Information Processing Systems.
Tiwei Bie, Maosong Cao, Kun Chen, Lun Du, Mingliang Gong, Zhuochen Gong, Yanmei Gu, Jiaqi Hu, Zenan Huang, Zhenzhong Lan, et al. 2025. LLaDA2.0: Scaling up diffusion language models to 100B. arXiv preprint arXiv:2512.15745.
Hanwen Du, Bo Peng, and Xia Ning. 2025. Planning with diffusion models for target-oriented dialogue systems. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 20307–20329.
Shansan Gong, Shivam Agarwal, Yizhe Zhang, Jiacheng Ye, Lin Zheng, Mukai Li, Chenxin An, Peilin Zhao, Wei BI, Jiawei Han, Hao Peng, and Lingpeng Kong. 2025. Scaling Diffusion Language Models via Adaptation from Autoregressive Models. In International Conference on Learning Representations, pages 5046–5073.
Xanh Ho, Anh-Khoa Duong Nguyen, Saku Sugawara, and Akiko Aizawa. 2020. Constructing a multihop QA dataset for comprehensive evaluation of reasoning steps. In Proceedings of the 28th International Conference on Computational Linguistics, pages 6609–6625. International Committee on Computational Linguistics.
Xiang Li, John Thickstun, Ishaan Gulrajani, Percy S. Liang, and Tatsunori B. Hashimoto. 2022. Diffusion-LM Improves Controllable Text Generation. In Advances in Neural Information Processing Systems, volume 35, pages 4328–4343.
Sulin Liu, Juno Nam, Andrew Campbell, Hannes Stärk, Yilun Xu, Tommi Jaakkola, and Rafael Gómez-Bombarelli. 2025. Think While You Generate: Discrete Diffusion with Planned Denoising. In International Conference on Learning Representations.
Zhiyuan Liu, Yicun Yang, Yaojie Zhang, Junjie Chen, Chang Zou, Qingyan Wei, Shaobo Wang, Yichen Zhu, and Linfeng Zhang. 2026. dLLM-Cache: Accelerating Diffusion Large Language Models with Adaptive Caching. In Proceedings of the 43rd International Conference on Machine Learning.
Lingkun Long, Yushi Huang, Shihao Bai, Ruihao Gong, Jun Zhang, Ao Zhou, and Jianlei Yang. 2026. FocusdLLM: Accelerating long-context diffusion LLM inference via confidence-guided context focusing. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 12146–12160, San Diego, California, United States. Association for Computational Linguistics.
Aaron Lou, Chenlin Meng, and Stefano Ermon. 2024. Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution. In International Conference on Machine Learning, pages 32819–32848.
Siyuan Lu, Zechuan Wang, Hongxuan Zhang, Qintong Wu, Leilei Gan, Chenyi Zhuang, Jinjie Gu, and Tao Lin. 2025. Don’t just fine-tune the agent, tune the environment. arXiv preprint arXiv:2510.10197.
Xinyin Ma, Runpeng Yu, Gongfan Fang, and Xinchao Wang. 2025. dKV-Cache: The Cache for Diffusion Language Models. arXiv preprint arXiv:2505.15781.
Quan Nguyen-Tri, Mukul Ranjan, and Zhiqiang Shen. 2026. Attention Is All You Need for KV Cache in Diffusion LLMs. In International Conference on Learning Representations.
Shen Nie, Fengqi Zhu, Zebin You, Xiaolu Zhang, Jingyang Ou, Jun Hu, Jun Zhou, Yankai Lin, Ji-Rong Wen, and Chongxuan Li. 2025. Large Language Diffusion Models. In Advances in Neural Information Processing Systems, volume 38, pages 50608–50646.
Shishir G Patil, Huanzhi Mao, Fanjia Yan, Charlie Cheng-Jie Ji, Vishnu Suresh, Ion Stoica, and Joseph E. Gonzalez. 2025. The berkeley function calling leaderboard (BFCL): From tool use to agentic evaluation of large language models. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 48371–48392. PMLR.
Proximile LLC. 2025. LLaDA-8B-Tools. Hugging Face model repository.
Subham S. Sahoo, Marianne Arriola, Yair Schiff, Aaron Gokaslan, Edgar Marroquin, Justin T. Chiu, Alexander Rush, and Volodymyr Kuleshov. 2024. Simple and Effective Masked Diffusion Language Models. In Advances in Neural Information Processing Systems, volume 37, pages 130136–130184.
Timo Schick, Jane Dwivedi-Yu, Roberto Dessi, Roberta Raileanu, Maria Lomeli, Eric Hambro, Luke Zettlemoyer, Nicola Cancedda, and Thomas Scialom. 2023. Toolformer: Language Models Can Teach Themselves to Use Tools. In Advances in Neural Information Processing Systems.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. 2024. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300.
Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. 2023. Reflexion: language agents with verbal reinforcement learning. In Advances in Neural Information Processing Systems.
Huatong Song, Jinhao Jiang, Yingqian Min, Jie Chen, Zhipeng Chen, Wayne Xin Zhao, Lei Fang, and Ji-Rong Wen. 2025. R1-Searcher: Incentivizing the search capability in LLMs via reinforcement learning. arXiv preprint arXiv:2503.05592.
Yuerong Song, Xiaoran Liu, Ruixiao Li, Zhigeng Liu, Zengfeng Huang, Qipeng Guo, Ziwei He, and Xipeng Qiu. 2026. Sparse-dLLM: Accelerating Diffusion LLMs with Dynamic Cache Eviction. In Proceedings of the AAAI Conference on Artificial Intelligence.
Harsh Trivedi, Niranjan Balasubramanian, Tushar Khot, and Ashish Sabharwal. 2022. MuSiQue: Multi-hop questions via single-hop question composition. Transactions of the Association for Computational Linguistics, 10:539–554.
Guanghan Wang, Yair Schiff, Subham Sekhar Sahoo, and Volodymyr Kuleshov. 2025. Remasking Discrete Diffusion Models with Inference-Time Scaling. In Advances in Neural Information Processing Systems.
Kangyu Wang, Zhiyun Jiang, Haibo Feng, Weijia Zhao, Lin Liu, Jianguo Li, Zhenzhong Lan, and Weiyao Lin. 2026. CreditDecoding: Accelerating Parallel Decoding in Diffusion Large Language Models with Trace Credit. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
Qingyan Wei, Yaojie Zhang, Zhiyuan Liu, Puyu Zeng, Yuxuan Wang, Biqing Qi, Dongrui Liu, and Linfeng Zhang. 2026. Accelerating Diffusion Large Language Models with SlowFast Sampling: The Three Golden Principles. In International Conference on Learning Representations.
Chengyue Wu, Hao Zhang, Shuchen Xue, Zhijian Liu, Shizhe Diao, Ligeng Zhu, Ping Luo, Song Han, and Enze Xie. 2026. Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decoding. In International Conference on Learning Representations.
Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William Cohen, Ruslan Salakhutdinov, and Christopher D. Manning. 2018. HotpotQA: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 2369–2380. Association for Computational Linguistics.
Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. 2023. ReAct: Synergizing Reasoning and Acting in Language Models. In International Conference on Learning Representations.
Jiacheng Ye, Zhihui Xie, Lin Zheng, Jiahui Gao, Zirui Wu, Xin Jiang, Zhenguo Li, and Lingpeng Kong. 2025. Dream 7B: Diffusion large language models. arXiv preprint arXiv:2508.15487.
Jiahao Zhao, Shaoxuan Xu, Zhongxiang Sun, Fengqi Zhu, Jingyang Ou, Yuling Shi, Chongxuan Li, Xiao Zhang, and Jun Xu. 2026. Dllm-searcher: Adapting diffusion large language model for search agents. arXiv preprint arXiv:2602.07035.