Manuscript Offprint

arXiv:2610.01161

My FAULT: Self-Diagnosis as Credit Assignment in Self-Evolving Agentic Reinforcement Learning

Yihua Zhu, Qianying Liu, Weixu Qiao, Xuan Ren, Weiwei Xu, Wenbo Li, Wei Wang, Ruijia Chen, Xinmiao Luan, Yin Luo, Hao Huang, Xiang Zheng, Hidetoshi Shimodaira

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

Abstract

Agentic reinforcement learning (RL) has emerged as a powerful approach for training large language model agents on multi-step tasks, yet reliance on terminal outcome rewards creates two credit-assignment problems, particularly in long-horizon tasks. First, same-outcome rollout groups provide no learning signal from terminal rewards. Second, terminal rewards provide only trajectory-wide feedback, making it difficult to identify which decisions caused a failure. Recent work supplements terminal rewards with finer-grained information from trajectory analysis, such as natural-language reflections on intermediate decisions and errors. However, natural-language diagnoses are difficult to use directly for credit assignment: their error claims may be unreliable, and they do not quantify how much each error should affect learning. We propose Self-Diagnosis-guided Terminal Credit Redistribution (FAULT), which turns diagnosed errors into explicit step-level credit anchored by terminal outcomes. FAULT checks diagnostic evidence and learns relative error costs from task outcomes. During training, the policy and self-diagnoser co-evolve, while error costs are updated online from recent outcomes. On ALFWorld, FAULT recovers learning signals from same-outcome groups, reaching 95% signal coverage versus 41% for GRPO and 72% for GiGPO, while better localizing credit to specific error steps. Across two model scales, FAULT delivers strong improvements on the long-horizon ALFWorld and WebShop tasks while remaining competitive on short-horizon Search-based QA.

Date: October 2, 2026

Correspondence: Qianying Liu at ying@nii.ac.jp, Weixu Qiao at qiaoweixu.qwx@alibaba-inc.com

Code: https://github.com/SKYLENAGE-AI/FAULT_Agentic_RL

1 Introduction

Large language model agents solve increasingly complex tasks through sequences of decisions: they reason, interact with external environments, observe feedback, and adapt their subsequent actions [1]. Agentic reinforcement learning improves such behavior by optimizing these interaction trajectories, typically using rewards based on the final task outcome [2]. Terminal outcome supervision is widely used [3–7] because final outcomes are often easier to verify than intermediate decisions, but it creates a fundamental credit-assignment problem: a single reward must supervise many intermediate decisions that may have contributed very differently to the final result. As trajectories grow longer, the reward becomes increasingly distant from the decisions it is meant to improve.

This limitation is especially pronounced in group-relative RL methods such as GRPO [8, 9], which normalize terminal rewards across multiple rollouts of the same task, and broadcast each rollout-level advantage to all of its steps. This produces two distinct credit-assignment limitations. First, when all rollouts in a group receive the same terminal outcome, their normalized advantages vanish, so the group provides no outcome-driven learning signal, even if the trajectories differ substantially in their intermediate decisions. In our preliminary ALFWorld [10] runs, such same-outcome groups account for 59–64% of training groups. Second, even when a group contains both successes and failures, the resulting trajectory-level advantage does not identify which intermediate decisions were responsible for the outcome: all steps within a rollout receive the same signal. As trajectories become longer, this makes it increasingly difficult to distinguish decisive errors from otherwise reasonable actions.

A natural way to address these limitations is to introduce process-level signals that provide finer-grained feedback than terminal rewards [11–13]. One line of work constructs numerical signals for intermediate steps, using learned reward models [14], Monte Carlo estimates [15], hindsight-based scores [16, 17], or comparisons across related states [7]. However, many such signals are still derived from terminal outcomes and therefore lose discriminative power when outcomes are identical. A complementary line of work analyzes trajectories in natural language, using reflection [18–21], hindsight [22], or error diagnosis to identify what went wrong and where [23, 24]. These analyses provide richer information about intermediate decisions, but remain descriptive: they are not directly expressed as quantitative step-level credit, and their error claims require heavy verification before being used for learning.

Turning process information into effective credit assignment requires solving two key challenges. First, the process signal must be trustworthy: an error diagnosis can misidentify either what went wrong or where it occurred, causing credit to be assigned to the wrong step. This is a practical concern in agent traces, where even strong models can struggle to jointly identify and localize errors. Second, identifying an error does not determine how much that error should matter for learning. Different error types may have very different effects on task success, and multiple errors within the same trajectory should not deserve equal weight. Thus, useful step-level credit requires both verifiable localization of errors and outcome-grounded calibration of their relative importance.

We propose Self-Diagnosis-guided Terminal Credit Redistribution (FAULT), which turns self-diagnosed errors into explicit step-level credit, while retaining terminal outcomes as the source of supervision. The key idea is to separate error localization from error valuation: self-diagnosis identifies what went wrong and where, while terminal outcomes determine how costly different error types are. FAULT first performs diagnosing, which converts trajectory analyses into structured error records and verifies each diagnosis against evidence from the cited step. It then performs pricing, which learns relative error costs from observed task outcomes, and uses these costs to finally redistribute a bounded penalty budget across the diagnosed steps. Because the learned error costs can be applied even when all rollouts receive the same terminal outcome, FAULT can distinguish trajectories that would otherwise receive identical credit, and can concentrate learning signal on the steps most in need of correction.

We summarize how FAULT addresses the two credit-assignment problems and how these improvements translate into downstream performance in Figure 1. First, FAULT substantially increases training signal coverage: on ALFWorld, 95% of rollout groups provide non-negligible credit contrast, compared with 41% for GRPO and 72% for GiGPO. Second, FAULT better localizes credit to the decisions responsible for

(a) Usable signal

Figure

(b) Step localization

(c) Final performance

Figure 1 Signal coverage, step localization and final performance. (a) Signal coverage. On ALFWorld with shared diagnosis-SFT initialization, hatched bars show the group mix and solid bars the groups with usable signal. FAULT uses 95% of groups, including every all-fail group and most all-success groups. GRPO uses only mixed groups (41%); GiGPO also uses some all-success groups but no all-fail groups (72%). Thus, FAULT can learn from differences in intermediate behavior even when terminal rewards are identical, making both successful and failed rollouts useful beyond their final outcomes. (b) Localization. Mean reciprocal rank of the decisive error step a blind LLM judge marks in each failed trajectory, with steps ranked by each method's penalty. FAULT (0.494) nearly doubles random (0.266) while GiGPO (0.303, same-configuration rerun) stays close to it, so FAULT's step-level credit is far more accurate. The gains highlight the value of diagnostic evidence in identifying which decisions within a failed trajectory need correction and directing step-level feedback to those decisions. (c) Outcome. Qwen3-4B results from Table 1. FAULT leads in ALFWorld success rate and WebShop task score on these longer-horizon tasks, remains competitive with SEED on shorter-horizon Search-based QA, and outperforms GRPO and GiGPO initialized from the raw backbone on all three.

failure, achieving a decisive-step MRR of 0.494, compared with 0.303 for GiGPO and 0.266 for random ranking. Finally, across two model scales, FAULT achieves the strongest improvements on the longer-horizon ALFWorld [10] and WebShop [25] tasks while remaining competitive on the much shorter Search-based QA tasks. These results demonstrate the effectiveness of our finer-grained credit assignment becoming more important as trajectories grow longer.

References (51)