LocusRL: Diagnosing LLM Reward and Policy Interventions in Competitive Games
Organizations: Harbin Institute of Technology
Abstract
Large language models can intervene in reinforcement learning through both reward design and action selection, yet aggregate performance offers an incomplete account of what these interventions actually do. Similar returns can conceal different learning mechanisms, while plausible rewards can induce undesirable behavior. We introduce LocusRL, a diagnostic framework that connects controlled reward-policy comparisons with audits of reward judgments, signal delivery, optimization objectives, and executed actions. The framework traces performance differences to testable explanations and checks targeted corrections through executable rules and counterfactual replay. Across two evaluation batches covering ten Connect Four training seeds, we uncover seed-dependent reversals in intervention effects and show how tracing actual updates changes their interpretation: historical Qwen training operates through reward-weighted teacher-action likelihood. A separate matched three-seed reward-direction experiment distinguishes sensitivity to a learning signal from its usefulness. With terminal rewards held fixed, a sign-reversed dense oracle yields a 2.8% aggregate win rate, compared with 57.2% for terminal-only training and 46.7% for the positive dense oracle. Thus, a reward can strongly influence learning without improving performance. At the decision level, counterfactual replay verifies a winning correction to a diagnosed action error. Complementary experiments in Leduc and reward-validation studies in Goofspiel extend the analysis to imperfect-information settings, revealing how reference-label definitions and validation-data exposure affect intervention assessment. Together, these findings show why evaluating LLM interventions requires tracing how their outputs become learning signals and actions. LocusRL turns aggregate outcomes into actionable diagnoses and verifiable corrections.
Figures & tables
| Check | Quantified object / decision basis | Follow-up action |
|---|---|---|
| Reward semantics | Agreement count / total under a fixed reference; report category and denominator | Recheck the reference, then audit frozen outputs |
| Signal delivery | Cache hits / queries; optimization samples receiving nonzero dense reward | Separate queryability, realized delivery, and nonzero signal |
| Optimization objective | Numerical match between logged loss and declared formula; sampled–update log-probability discrepancy | Verify the implemented objective; distinguish teacher-action learning from on-policy updates |
| Action execution | Proposed, parsed, fallback, and executed actions; replayed terminal state and payoff | Localize the divergence and verify a concrete replacement |
| Evidence validity | Checkpoint–seed pairing; repeated trajectories; historical exposure overlap | Set the statistical unit, re-evaluate under a common contract, or revise validation status |
| Training batch | Games/arm | Base | Reward | Policy | Hybrid |
|---|---|---|---|---|---|
| Initial 3 seeds | 60 | 37 | 37 | 34 | 29 |
| Added 7 seeds | 140 | 96 | 96 | 97 | 96 |
| Descriptive total | 200 | 133 | 133 | 131 | 125 |
| Training seed | Policy wins | Hybrid wins | Hybrid–Policy |
|---|---|---|---|
| 20260800 | 12/20 | 10/20 | pp |
| 20260801 | 15/20 | 11/20 | pp |
| 20260802 | 12/20 | 12/20 | pp |
| Descriptive total | 39/60 | 33/60 | pp |
| Training seed | Terminal only | Positive oracle | Sign-reversed oracle |
|---|---|---|---|
| 20260800 | 38 | 30 | 1 |
| 20260801 | 27 | 27 | 1 |
| 20260802 | 38 | 27 | 3 |
| Total | 103/180 | 84/180 | 5/180 |
| Win rate | 57.2% | 46.7% | 2.8% |
| Reward | Correct | Accuracy | Failures | Leakage | Formal cache |
|---|---|---|---|---|---|
| Leduc v0.1 | 9/24 | 37.5% | 1/48 | 0 | Stopped |
| Goofspiel v0.1 | 7/29 | 24.1% | 0/58 | 0 | Stopped |
| Goofspiel v0.2 | 18/29 | 62.1% | 2/58 | 0 | Stopped |
Appendix figures & tables41 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Audit object | Evidence or estimator | Intervention / validation |
|---|---|---|---|
| Alignment Auditor ( Bou et al., 2026 ) | Implicit LLM objectives | Bayesian IRL and posterior uncertainty | Inferred-reward refinement and downstream RLHF validation |
| Hidden-objective audits ( Marks et al., 2025 ) | Undesired internal objective | Behavioral, interpretability, and training-data investigations | Blind auditing exercise on a model with a hidden objective |
| IR 3 ( Beigi et al., 2026 ) | Reward-hacking features of implicit objectives | Contrastive IRL and feature decomposition | Targeted mitigation with behavior/capability evaluation |
| Spurious Rewards ( Shao et al., 2025 ) | RLVR reward informativeness | Alternative reward signals across model families | Measured training responses to spurious rewards |
| RATE ( Reber et al., 2025 ) | Reward-score attribute sensitivity | Rewrites with counterfactual bias correction | Attribute-effect estimation under stated assumptions |
| LocusRL | Realized LLM interventions in composed learners | System contrasts, objective and support logs, action traces, and validation histories | Controlled follow-ups, terminal-replay correction, and reward-release decisions |
| Line of work | LLM locus | Primary question identified | Relation to system comparison |
|---|---|---|---|
| ELLM; Reward Design; Motif ( Du et al., 2023 ; Kwon et al., 2023 ; Klissarov et al., 2024 ) | Goal proposal, proxy reward, or preference-derived intrinsic reward | Can language-model knowledge improve exploration or replace costly reward engineering? | Whether the same reward artifact retains its effect after replacing the downstream policy family. |
| Text2Reward; Eureka ( Xie et al., 2024 ; Ma et al., 2024 ) | Executable dense-reward synthesis and refinement | Can an LLM generate reward code whose induced policy achieves high return? | Reward presence is not crossed with conventional versus LLM policy systems using one frozen artifact. |
| GLAM; RAGEN; SPIRAL ( Carta et al., 2023 ; Wang et al., 2025 ; Liu et al., 2025 ) | LLM policy or self-play policy | Can language policies be grounded and stably optimized through interaction? | The reward channel is not independently toggled under matched controls, and generation failures become part of the policy treatment. |
| RLAnything ( Wang et al., 2026 ) | Jointly adapting policy, reward model, and environment | Do mutually adapting components improve an end-to-end LLM-agent system? | Co-adaptation is the method; it does not estimate the transfer of one frozen reward across policy families. |
| Policy-invariant LLM shaping ( Hounwanou et al., 2026 ) | LLM planner and potential-based shaping | Can LLM feedback be incorporated without changing the optimal-policy set? | The theoretical guarantee does not estimate empirical interaction with an LLM policy; reported training evidence is a small pipeline validation. |
| LocusRL | Traditional/LLM policy absent/present frozen LLM reward | Does the identical reward compose across policy systems, and is the realized treatment semantically and operationally valid? | Connect Four supplies system comparisons and controls; Leduc adds training/evaluation evidence, and Goofspiel adds reward-reference and validation diagnostics. |
| Category | Seat 0 | Seat 1 | Overall | Failed |
|---|---|---|---|---|
| Immediate win | ||||
| Required block | ||||
| Threat creation | ||||
| Good move | ||||
| Overall |
| Configuration | Correct/scorable | Scorable acc. | Conservative | Ties | Reversed | Failed |
|---|---|---|---|---|---|---|
| DeepSeek v4 Flash, low-token | 25 | 29 | 0 | |||
| Mimo 2.5 Pro, high, 8192 | 27 | 18 | 0 | |||
| GLM-5.3-Flash, high | 2 | 3 | 4 |
| Base / Reward | Initial Policy / Hybrid | Added Policy / Hybrid | |
|---|---|---|---|
| Backbone | Masked-action MLP | Qwen2.5-3B-Instruct | Qwen2.5-3B-Instruct |
| Training actions | Learner rollouts | Heuristic teacher actions | Heuristic teacher actions |
| Configured / observed budget | 100 updates 200 episodes | TRAIN_MAX_STEPS=10 configured; completed updates and consumed-example order unavailable | 100 logged updates/run; 1,400 updates across 14 runs |
| Objective | Centered-return policy gradient | Weighted teacher-action NLL; exact historical weight mapping not recovered | Positive bounded loss/NLL ratios verified numerically |
| Dense intervention | Reward adds frozen score | Hybrid adds frozen score to archived return signal | Same frozen reward mechanism |
| Audit layer | Evidence object | Decision or next intervention |
|---|---|---|
| Execution identity | Train/eval source matrix; actual loss versus declared formula | Reconcile source and logging; hold weights fixed for common-runtime evaluation |
| Reward semantics | Reachable action pairs; executable reference counterexamples; full-cache labels | Validate the reference, then distinguish intact bytes from valid scores |
| Realized support | Lookup, nonzero signal, and direction-consistent exposure counts | Determine whether the nominal reward reaches the learner’s states |
| Action execution | Proposed/parsed/executed actions; first divergence; terminal certificate | Identify a concrete wrapper repair; freeze it for prospective testing |
| Multiplicity | Paired trajectories and training-seed contrasts | Separate repeated paths from independent retraining evidence |
| Exposure history | Historical opened-state union; frozen splits and stop record | Keep confirmation independent; stop before formal cache or training |
| Environment | Protocol | Max steps | Return | Status |
|---|---|---|---|---|
| Connect Four | Perfect information; columns | 42 | Four-arm results complete | |
| Leduc-style poker | Hidden cards; simplified betting; no re-raise | 6 | Reward gate stopped; terminal-reward Base/Policy training and 360-game evaluation complete | |
| Goofspiel | Public remaining bids; pending bid and future prize order hidden | 10 | Validity gate failed; stopped before training |
| Batch | Training seed | Evaluation seed(s) | Games/checkpoint | Games/arm |
| Initial | 20260800 | 20260810 | 60 | |
| 20260801 | 20260811 | 60 | ||
| 20260802 | 20260812 | 60 | 180 | |
| Added | 20260803–20260809 | 20260810, 20260811, 20260812 | 180 | 1,260 |
| Agent | Random | Heur. v1 | Heur. v2 | Overall | Seat 0 | Seat 1 | Fallback |
|---|---|---|---|---|---|---|---|
| Base | |||||||
| Reward | |||||||
| Policy | |||||||
| Hybrid |
| Condition | Wins/games | Win rate |
|---|---|---|
| Outcome only | ||
| Deterministic oracle dense | ||
| Sign-flipped deterministic oracle |
| Revised category | Entries | Direction agreement | Positive error/loss |
|---|---|---|---|
| Required block | 255 | ( ) | – |
| Threat creation | 757 | ( ) | – |
| Avoidable tactical error | 3,444 | ( ) | ( ) |
| Forced next-reply loss | 471 | ( ) | ( ) |
| Neutral | 5,027 | ( ) | – |
| All | 9,954 | ( ) | – |
| Training seed | Qwen train | Qwen eval | Reward–Base | Hybrid–Policy | Interaction |
|---|---|---|---|---|---|
| 20260800 | A/A | A/B | |||
| 20260801 | B/B | B/B | |||
| 20260802 | B/B | B/B |
| Training seed | Base | Reward | Policy | Hybrid |
|---|---|---|---|---|
| 20260800 | A / A | A / A | A / A | A / B |
| 20260801 | B / B | B / B | B / B | B / B |
| 20260802 | B / B | B / B | B / B | B / B |
| Batch | Contrast | Positive | Negative | Ties | Minimum | Observed |
|---|---|---|---|---|---|---|
| Initial (3) | Reward–Base | 3 | 0 | 0 | ||
| Initial (3) | Hybrid–Policy | 0 | 1 | 2 | ||
| Initial (3) | Interaction | 0 | 3 | 0 | ||
| Added (7) | Reward–Base | 2 | 3 | 2 | ||
| Added (7) | Hybrid–Policy | 2 | 2 | 3 | ||
| Added (7) | Interaction | 4 | 2 | 1 |
| Contrast | Effect | Nominal 95% interval | Discordant | Nominal exact | Evidence boundary |
|---|---|---|---|---|---|
| Reward–Base | pp | vs. | Holm ; seed-sign | ||
| Hybrid–Policy | pp | vs. | Holm ; seed-sign ; one paired path in one seed | ||
| Interaction | pp | – | – | Seed-sign ; not a game-level binary contrast |
| Arm | Exact support | Old consistent support | Old inconsistent exposure | Old hit agreement |
|---|---|---|---|---|
| Reward | ( ) | ( ) | ( ) | ( ) |
| Hybrid | ( ) | ( ) | ( ) | ( ) |
| Agent | Random | Heur. v1 | Heur. v2 | Overall | Seat 0 | Seat 1 | Fallback |
|---|---|---|---|---|---|---|---|
| Base | |||||||
| Reward | |||||||
| Policy | |||||||
| Hybrid |
| Stage | Pairs | Correct | Failures | Leakage | Decision |
|---|---|---|---|---|---|
| Dev v0.1 | 73 | 36 ( ) | 0 | Use single registered revision | |
| Dev v0.2 | 73 | 37 ( ) | 0 | Freeze prompt and open confirmation | |
| Confirmation | 24 | 9 ( ) | ( ) | 0 | Gate L1 FAIL; STOP |
| Stage | Pairs | Correct | Failures | Leakage | Decision |
| Reward v0.1: separate action-scoring calls | |||||
| Dev v0.1 | 91 | 32 ( ) | ( ) | 0 | Use single registered revision |
| Dev v0.2 | 91 | 21 ( ) | 0 | Freeze prompt and open confirmation | |
| Confirmation | 29 | 7 ( ) | 0 | Gate L1 FAIL; STOP | |
| Reward v0.2: one pairwise-ranking call per state | |||||
| Dev v0.1 | 91 | 52 ( ) | ( ) | 0 | Use single registered revision |
| Training seed | Policy recorded | Policy replay | Hybrid recorded | Hybrid replay |
|---|---|---|---|---|
| 20260800 | 28 | 28 | 18 | 28 |
| 20260801 | 19 | 19 | 19 | 29 |
| 20260802 | 28 | 28 | 28 | 28 |
| Total | 75 | 75 | 65 | 85 |
| Batch | Training seed | Reward–Base | Hybrid–Policy |
|---|---|---|---|
| Initial | 20260800 | ||
| 20260801 | |||
| 20260802 | |||
| Initial mean | |||
| Added | 20260803 | ||
| 20260804 |
| Training seed | Base | Reward | Policy | Hybrid | |||
|---|---|---|---|---|---|---|---|
| 20260803 | 86 | 88 | 87 | 115 | |||
| 20260804 | 88 | 86 | 85 | 85 | |||
| 20260805 | 84 | 87 | 84 | 114 | |||
| 20260806 | 85 | 85 | 115 | 85 | |||
| 20260807 | 88 | 86 | 115 | 84 | |||
| 20260808 | 86 | 84 | 115 | 115 |
| Update | Outcome mean | Advantage mean | NLL mean | Loss | Loss/NLL |
|---|---|---|---|---|---|
| 1 | |||||
| 38 |
| Slice | Policy wins/games | Hybrid wins/games |
|---|---|---|
| random_v1 | 24/30 | 19/30 |
| heuristic_v1 | 15/30 | 14/30 |
| Seat 0 | 27/30 | 24/30 |
| Seat 1 | 12/30 | 9/30 |
| Object | Initial summary | Interpretation after the check |
|---|---|---|
| Reward semantics | 9,954 structurally valid records | Reference revalidation separates avoidable error from forced loss; positive scores occur in both classes |
| Replication | Near-zero added-batch mean | Opposing seed-wise contrasts are hidden by the mean |
| Evaluation | Different historical runtime labels | Fixed checkpoints have directly measured outcomes under a common contract |
| Optimization | Declared signed teacher-action update | Positive logged loss/NLL ratios contradict that description; a separate normalized on-policy experiment is trained and evaluated |
| Reward influence | Dense shaping is present | Sign reversal strongly changes learning; original-sign shaping does not exceed terminal-only training |
| Execution | Final actions are legal | A repeated fallback misses an immediate win; terminal replay verifies a sufficient correction |
| Trial | Player / action | Opponent wins before | Wins after | Old reference | GLM |
|---|---|---|---|---|---|
| 03 | Block | ||||
| 04 | Block | ||||
| 07 | Error |
| Reference | Agreement | Disagreement | Threshold pass | Forced-loss class |
|---|---|---|---|---|
| Original | – | |||
| Stage A | – | |||
| Stage B |
| Formal case | Pool key suffix | Player | Candidate | Own winning columns | GLM |
|---|---|---|---|---|---|
| 006 | 9451 | 1 | 1 | ||
| 015 | 1539 | 0 | 5 | ||
| 030 | 8200 | 1 | 3 | ||
| 032 | 3353 | 1 | 2 | ||
| 060 | 2502 | 1 | 1 |
| Category | Submitted | Legacy Oracle | Revised reference | Final review |
|---|---|---|---|---|
| Immediate win | 0 | 0 | 0 | 0 |
| Required block | 15 | 20 | 10 | 10 |
| Obvious error | 17 | 22 | 22 | 22 |
| Forced loss | 10 | 0 | 10 | 10 |
| Create threat | 8 | 8 | 8 | 8 |
| Neutral | 10 | 10 | 10 | 10 |
| Training seed | Outcome only | Positive oracle | Negative oracle |
|---|---|---|---|
| 20260800 | |||
| 20260801 | |||
| 20260802 | |||
| Total wins | |||
| Win rate |
| Condition | Nonzero dense samples | Optimization samples | Fraction |
|---|---|---|---|
| Outcome only | 0 | 406,029 | |
| Positive oracle | 121,637 | 395,884 | |
| Negative oracle | 300,588 | 680,933 |
| Train seed | Eval seed | Base W/D/L | Policy W/D/L | Base sum | Policy sum | |
|---|---|---|---|---|---|---|
| 20260800 | 30260800 | 43/6/11 | 45/8/7 | 80 | 84 | |
| 20260801 | 30261800 | 37/6/17 | 19/17/24 | 18 | ||
| 20260802 | 30262800 | 42/4/14 | 44/5/11 | 42 | 51 | |
| Total | — | 122/16/42 | 108/30/42 | 140 | 124 |
| Train seed | Agent decisions | Raise opportunities | Raises | Checks/calls |
|---|---|---|---|---|
| 20260800 | 99 | 68 | 68 | 31 |
| 20260801 | 155 | 89 | 0 | 155 |
| 20260802 | 98 | 68 | 68 | 30 |
Reinforcement Learning
Reinforcement learning studies how agents learn sequential decisions from rewards and interaction, balancing exploration, performance, safety, and adaptation.
See all 1,661 papers