How Do You Split the Reward from a Single Correct Answer? Credit Assignment for Diffusion Language Models with DTCA

A single correctness signal can't tell you which of the hundreds of tokens in a response actually earned it. DTCA splits that one reward into per-token training signals weighted by part of speech, and the gains on math reasoning are largest precisely when the generation budget is tight.
← All posts
온
온틀 리서치
2026년 10월 29일 Updated 2026.11.20 35 min read views 5

Picture a group project. Five people grind out a deliverable, and all the professor hands back is a single score for the whole team. Nobody knows who carried the project and who dragged it down. To do better next time, you first have to figure out who contributed what.

Training a diffusion language model with reinforcement learning (RL — nudging a model toward better behavior by rewarding correct answers) runs into exactly the same wall. Reward is usually assigned by looking only at whether the final response was right, but a single response is made of hundreds of tokens (the chunks of text a model processes). One score can't tell you which of those hundreds produced the correct answer. DTCA is a method for breaking that one team score down into a training signal for each individual token, and the key it uses to do the breaking is part of speech (the grammatical role a word plays — noun, verb, article, and so on).

Why Credit Is Hard to Assign

Most LLMs generate one token at a time, left to right (this is called autoregressive). Diffusion language models work differently. They start with nearly all of the response positions masked, then repeat a "denoising" step that gradually commits the masked positions. The appeal is that they fill in several positions at once and look at context on both sides. In the LLaDA-family models this paper uses, once a token is committed it stays committed through the later steps, influencing the predictions for the positions that are still masked.

Layer RL on top of this and the structure itself blocks credit measurement. In a single step, many tokens get committed at once, and they share the same denoising process and interfere with one another. Across dozens of steps, hundreds of tokens get committed in this tangled way, so isolating "the share contributed by this one token" is hard. You need finer-grained credit assignment — the job of parceling out credit token by token.

The Core Idea

What sets DTCA apart is the granularity at which it splits the signal — how finely the signal gets divided. Prior diffusion-RL methods (d1, ESPO, TraceRL, Coupled-GRPO, RLDF) handle the training signal at the level of the whole response or of a denoising segment. DTCA goes one level deeper, deciding which parts of speech within a segment get how much signal. Think of it as adding "which token inside that segment gets how much" on top of "which segment to learn from."

The full flow has four stages: build a per-POS contribution table, pick which segments to learn from, distribute the signal across tokens, and apply a stability correction.

1) Building the Per-POS Contribution Table

When a token is committed, you watch whether the model becomes more confident about predicting the positions that are still masked. For every masked position you sum up the maximum prediction probability the model assigns, treating that as the "overall confidence of that state," and how much this value rises after you commit a token is the estimate of that token's contribution. You then average that estimate within each part of speech to build a table of "per-POS contribution weights," and in training afterward this weight sets how strong the signal is. Commit a token, measure how much sharper the predictions for the remaining positions got, average by part of speech, apply the weight — that one line is the backbone of the method.

This rise in confidence does not directly measure contribution to the correct answer. A token that sharpened the later predictions didn't necessarily help produce the right answer, so this is a proxy that stands in for contribution rather than measuring it.

Doing this in real time is also expensive. Measuring one token's effect requires an extra forward pass (running the input through once to produce predictions) in which that token alone is committed, and doing that at every step during policy optimization is impractical. On top of that, the estimate swings wildly from one rollout (one attempt at actually generating a response) to the next.

So the method groups tokens by part of speech. Parts of speech naturally partition linguistic function — nouns and verbs carry lexical meaning, while articles and prepositions carry grammatical scaffolding. DTCA collects rollouts offline before RL, measures contribution, and averages by part of speech to build the table once.

The averaging across parts of speech comes at a clear price. In exchange for sharply lowering the estimation cost and variance, it erases the differences between tokens within the same part of speech. Even within "noun," a critical number and a decorative modifier get the same weight.

Computation details and per-POS observations - When overall confidence drops (goes negative), it is clipped to 0, and the value is not divided by the number of remaining masks. - That the parts of speech really do behave differently is confirmed in GSM8K rollouts (Figure 1). Nouns (NOUN) have a consistently high commit rate throughout; verbs (VERB) start high but fall sharply across the process. Determiners (DET), prepositions (ADP), and adjectives (ADJ) have low commit rates and low variation. By contribution, verbs are largest, followed by nouns and proper nouns (PROPN).

2) Choosing Which Denoising Segments to Learn From

Rather than learn from every step, only some are selected. Each step's importance is scored by multiplying "higher the lower the confidence of the committed token" (one minus the confidence) by "the contribution weight of that token's part of speech." Segments that are both uncertain and high-contribution get high scores. You accumulate segments in descending order of score and take only the smallest set of segments needed to reach a preset fraction. This backbone of using only a subset of segments is borrowed from RLDF (see the appendix for numbers like the upper and lower bounds on how many are selected).

3) Splitting the Signal Across Tokens Within the Chosen Segments

Each token's signal strength is set by the contribution weight of its part of speech, but normalized so that the average within a segment equals 1. Because the average is pinned to 1, the segment's overall advantage (a value expressing how much better that response was relative to a baseline) is preserved. As a result, tokens of high-contribution parts of speech get a stronger signal and low-contribution ones get a weaker signal. This is the point where the team score gets decomposed to the token level.

4) Entropy-Based Stability Correction

The last stage is an entropy correction (entropy being a value expressing how uncertain a prediction is). Even with the same signal, a policy update makes predictions more diffuse at some positions (entropy rises) and sharper at others (entropy falls). DTCA takes OPEFO's entropy-change estimate — originally proposed for the autoregressive setting — and adapts it to diffusion (replacing the decoding step with "the selected denoising state and target position"), rescaling the signal with a coefficient that balances entropy-raising updates against entropy-lowering ones. It is a brake that keeps the policy from collapsing into overconfidence too fast, or conversely from falling apart.

How the Experiments Were Designed

Training starts from LLaDA-8B-Instruct and goes straight to RL with no intermediate supervised fine-tuning (SFT) stage. The RL data uses the MATH training split, and the POS contribution table is a shared table built once offline from the MATH and GSM8K training data.

Evaluation is final-answer accuracy on MATH500 and GSM8K. The key to the design is measuring at three generation budgets — 128, 256, and 512 — separately. Here 128/256/512 don't refer only to the number of denoising steps. Appendix C.4 states that the maximum response length was set to 128/256/512 tokens respectively, with the step count matched to it — that is, it's a bundled setting in which shrinking the budget shrinks the denoising steps and the response-length cap together. In diffusion models this budget is the dial that trades quality against cost, so the point is to see whether the method is good only at a specific budget or evenly good across budgets. The comparison set includes LLaDA-8B-Instruct, Uniform SFT, and LLaDA-1.5, plus the diffusion-model RL methods d1, ESPO, TraceRL, Coupled-GRPO, and RLDF.

Results

Accuracy is in %, and the gains are in percentage points (pp).

Benchmark Generation budget Baseline (LLaDA-8B-Instruct) DTCA Gain
MATH500 128 30.8 39.8 +9.0
MATH500 256 36.4 43.2 +6.8
MATH500 512 39.2 44.0 +4.8
GSM8K 128 75.3 80.6 +5.3
GSM8K 256 83.2 85.3 +2.1
GSM8K 512 82.9 85.4 +2.5

Start with the observation. The gap is largest at the smallest budget (128) and narrows as the budget grows. The authors note it themselves: "a stronger gain under conditions where denoising computation is limited." It also leads across the board against prior RL methods — at MATH500 budget 512, the strongest baseline, RLDF, scores 42.6 versus DTCA's 44.0.

How should we read this pattern? The hypothesis goes like this. When the budget is tight, there are few usable steps and the response-length cap is short. Under those tight conditions, the payoff from piling the signal onto high-contribution tokens is large. When the budget is ample, the steps and length have room to spare, so there's less room for the distribution to matter, and instead the correction that tames the instability from accumulating many updates becomes more important. That said, because this budget setting changes the step count and the response-length cap as one package, the table alone can't tell whether the small-budget gain comes from having fewer denoising opportunities, from the length limit, or from the two overlapping. It's an explanation consistent with the results, not a fact the table proves.

The share of the two components is separated by an ablation. Replacing the contribution-based distribution with uniform distribution drops MATH500 by 3.8 points and GSM8K by 2.4 points at budget 256. Removing the entropy correction drops each by 1.4 points at the same budget — a smaller fall. But at budget 512 the order flips: removing the entropy correction is the bigger blow, at MATH500 −4.2 points and GSM8K −3.5 points. The observation is that distribution matters more at small budgets and the stability correction matters more at large budgets — which fits the earlier hypothesis.

The optimization dynamics (Figure 3) back up this division of labor. Remove contribution distribution and the reward trajectory looks similar, but the gradient norm (the size of the updates) is larger throughout. The reading is that contribution distribution changes the quality of the token-level signal, rather than the reward trend, producing tidier updates. Remove the entropy correction and the KL divergence (how far the model has drifted from the reference model) spikes faster in the later phase and reward drops. The stability of late-phase policy change is the entropy correction's job.

The learned behavioral changes also differ by part of speech (Figure 4). DTCA does not pull every token's commit timing equally earlier or later. It consistently lowers the commit rate of number (NUM) tokens and raises that of punctuation (PUNCT). For verbs, the change in commit rate is small, but the confidence at the moment of commit rises substantially and entropy falls. It's not only "when to commit" but "in what state to commit" that changed. That said, why these changes lead to accuracy is something this observation alone leaves to be worked out further.

Limitations and Open Questions

Start with what the table can and can't speak to. The numbers are "final-answer accuracy on math problems." The logical soundness of the reasoning process, tasks outside math (coding, commonsense, long-form writing), and behavior on diffusion models of other sizes or families — none of these can be known from this table. Validation is also limited to a single model, LLaDA-8B-Instruct, and two math-reasoning benchmarks.

There are two design trade-offs. First, the POS contribution table is built once before RL and then fixed. As training proceeds and the model's denoising behavior shifts, the table stays put. It's a trade that buys stability and cost at the expense of adaptivity. Second, this table relies on an external POS tagger to label tokens with parts of speech. How tagging quality plays into the results on math text riddled with formulas and symbols is something worth looking at more.

Does inference incur extra computation? The answer is no. The extra forward passes for POS contribution estimation happen only in the offline stage before RL, and only to build the table once. Inference uses the finished model as-is, so the cost lands only on the preparation stage, not on the usage stage.

Could you apply this idea to autoregressive models as is? DTCA's contribution measurement leans on "the confidence rise of the remaining masked positions," which is tailored to the diffusion structure where many positions are masked all at once and then committed gradually. OPEFO, the foundation of the entropy correction, was originally for autoregressive generation and this paper brought it into the diffusion setting — but the reverse problem, carrying DTCA's whole framework over to autoregressive, is not something this paper addresses.

So the most practical remaining question is this. Does a coarse grouping like part of speech hold up as the task changes, or do you have to re-measure the grain of contribution for each task? It touches the adaptivity problem of the fixed table and is the spot the next round of validation should answer.

The ONTLE Angle — A Question to Try on Evaluating Work

Suppose an AI gets the instruction "research three competitors, make a comparison table, and lay it out as slides," and finishes after going through five stages — search, organize, draft, review, produce. But the feedback that comes back from a person is a single line: "this one wasn't great." That one line doesn't say which of the five stages ruined the result. It's the same situation as the group project above.

ONTLE is a service that attaches an AI project manager, dispatched to this kind of multi-stage work, to walk it through the stages. So the problem of "there's no per-stage feedback" becomes ONTLE's own problem. Carrying over the question DTCA poses, it reads like this: Can we measure contribution not as "how good or bad the final deliverable was," but as "how much easier that stage made the later stages?"

One concrete hypothesis. Approximate the contribution of the data-gathering stage by the number of reworks in the review stage that follows. The assumption is that if gathering is sloppy, rework downstream increases. But a drop in rework doesn't let you conclude that gathering was good — maybe the review was perfunctory, so no rework arose. That's why you have to look not only at the rework count but at the quality of the final deliverable alongside it.

This is a hypothesis ONTLE has not yet tested. Turned into a testable experiment, it becomes this: run the same task many times, record the contribution estimate of the gathering stage together with the later rework count and final quality, and see whether the three actually move together. If they do, you can extract more per-stage learning out of a single line of feedback.

A Checklist for Practitioners

  • If you're training intermediate stages from the final reward alone, is there a point in the pipeline where "did the next stage's uncertainty go down" could serve as a contribution signal?
  • If the signal for individual cases swings, does grouping tokens or actions into functional categories and averaging yield more stable and interpretable weights?
  • Between fixing the contribution table offline and updating it online, which one does your task's distribution change slowly enough to tolerate?
  • When reward curves look similar, do stability metrics like gradient norm and KL divergence reveal differences in the quality of the updates?
  • When you first measure at a small budget where steps, tokens, or call counts are tight, is the payoff from fine-grained credit assignment actually larger?

Appendix — Reproduction Setup

  • RL data processing: the same pipeline as RLDF.
  • POS contribution table: generated from offline MATH and GSM8K rollouts, with no model-parameter updates during this process. The offline estimation uses half of the maximum generation length as the denoising budget, committing two tokens in a single step and evaluating each separately with its own forward pass.
  • Segment selection: denoising states with high POS-weighted uncertainty scores are selected until they cover 70% of the score mass, with the count capped at 2 to 32.
  • Optimization: the policy is optimized with group-relative advantage, with the k3 KL estimate regularizing toward a fixed reference model (KL being how far the model has drifted from the reference).
  • Rollout generation: Fast-dLLM-style block-wise decoding with KV cache.

References

  • Paper: DTCA: Denoising Token Credit Assignment for Reinforcement Learning in Diffusion Language Models
  • Authors: Hongze Chen, Miao Pan, Lizhou Liang, Qinfeng Li, Xinyin Ma, Yongliang Shen, Weishi Wang, Daniel Dahlmeier, Xuhong Zhang, Wenqi Zhang (Zhejiang University, National University of Singapore, SAP)
  • arXiv: https://arxiv.org/abs/2610.35201
  • HuggingFace: https://huggingface.co/papers/2610.35201