Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

CoRT: Counterfactual Replay Boosts Token-Level Credit in Rubric-Guided RL

AI By Crimson AI Hugging Face Papers 30 July 2026 · 00:00 18 views
Share: X Telegram

Hugging Face researchers propose CoRT, a token-level credit weighting method for rubric-conditioned GRPO that uses counterfactual replay to redistribute advantages across tokens, improving average performance by 4.4 points without auxiliary scorers.

CoRT: Counterfactual Replay Boosts Token-Level Credit in Rubric-Guided RL

Key points

Rubric-based reinforcement learning (RL) has become a popular approach for fine-tuning large language models (LLMs) by evaluating outputs against explicit criteria. However, in GRPO-style pipelines, these structured judgments are collapsed into a single scalar response-level reward, which is then broadcast uniformly to all generated tokens. This leaves no explicit mechanism for allocating credit within a response, even when different criteria depend on specific spans, formatting decisions, or semantic choices.

To address this, researchers at Hugging Face introduce CoRT (Counterfactual Replay for Token-Level Rubric-Guided Policy Optimization), a token-level credit weighting method for rubric-conditioned GRPO. Instead of training an auxiliary token scoring model, CoRT uses counterfactual replay to rescore the same sampled response under the original rubric-conditioned prompt and a matched criteria-free prompt. The resulting tokenwise log-likelihood contrasts serve as a proxy for dependence on the rubric context.

CoRT maps these contrasts to bounded, response-normalized weights and uses them to redistribute the signed GRPO advantage across tokens. This approach avoids introducing an auxiliary scorer or changing the response-level reward. Experiments across instruction-tuned models and reward granularities show that CoRT improves over matched response-level GRPO in the vast majority of comparisons, with an average gain of 4.4 percentage points.

The method remains competitive with learned token-level credit baselines while avoiding a separate relevance-learning stage. These results suggest that policy-internal counterfactual likelihood contrasts provide an effective training signal for within-response credit allocation while retaining the simplicity and stability of GRPO.

Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 31 Aug 2026

Hugging Face Unveils StepGuard: Step-Level Guardrails for Safer AI Agents

StepGuard, a new step-level guard model from Hugging Face, audits agent actions before execution, reducing attack success rates by...

1
Research paper
Hugging Face 31 Aug 2026

Hugging Face Researchers Unveil ABot-Recon for Stable Long-Horizon 3D Reconstruction

ABot-Recon, a new streaming 3D reconstruction model from Hugging Face, achieves stable long-horizon performance using only local t...

1
Research paper
Hugging Face 31 Aug 2026

ContextPilot: Teaching Agents Proactive Context Management via Fine-Grained RL

Hugging Face researchers introduce ContextPilot, a framework that enhances long-horizon agent reasoning by expanding context-editi...

1