arXiv:2610.25384cs.AIOct 2026

Manuscript Offprint

arXiv:2610.25384

Outcome-Anchored Credit Reallocation for Agentic Knowledge Graph Question Answering

Mingyuan Li, Yucheng Li, Xiaxia Wang, Gong Cheng

ABSTRACT

Agentic knowledge graph question answering (KGQA) requires large language models (LLMs) to solve complex questions through multi-turn interactions with a knowledge graph (KG). Outcome-supervised reinforcement learning derives verifiable outcome rewards from final answers but uniformly assigns each rollout's outcome-level advantage to all policy-generated tokens, creating a trajectory-to-operation mismatch since KG operations within a rollout can have varying effects on the search process and final answer. To address this, we propose Outcome-Anchored Credit Reallocation (OACR), which employs a training-only KG-state outcome model to estimate outcome-reward changes between adjacent KG search states and converts them into operation credit, from which token-wise weights are derived. These multiplicative weights reallocate token-level update magnitudes while preserving the sign of the outcome-level advantage at every generated token. Across three benchmarks, OACR achieves stronger overall performance than existing KGQA methods while using fewer inference-time LLM calls and tokens.

1 Introduction

Knowledge graph question answering (KGQA) seeks to answer natural language questions by reasoning over

Figure

Figure 1: Trajectory-to-operation mismatch under outcome-supervised RL. Left: Successful rollouts may contain non-progressive entity-return operations, while failed rollouts may contain progressive ones. Right: Distribution of progressive and non-progressive entity-return operations across successful and failed rollouts, based on 5,000 such operations generated by Qwen2.5-3B on CWQ.

facts represented as directed triples in a knowledge graph (KG) (Ma et al., 2025; Nguyen et al., 2025; Tian et al., 2025). Complex KGQA often requires multi-hop reasoning: a model must select relation paths that reach answer entities, follow the correct directions, and avoid irrelevant branches (Zhang et al., 2025; Ao et al., 2025).

Recent agentic methods based on large language models (LLMs) formulate KGQA as multi-turn interaction with a KG environment (Sun et al., 2024; Chen et al., 2024; Luo et al., 2024; Song et al., 2025; Chen et al., 2026b; Yan et al., 2026). At each turn, the agent issues a schema-valid KG operation, receives a structured observation containing returned relations or entities, and appends both to the accumulated KG search state. This interaction process is well suited to outcome-supervised reinforcement learning (RL): final answers provide verifiable outcome rewards, whereas labels that directly assess the utility of individual KG operations are costly to obtain and usually unavailable during training. We label an entity-return operation as progressive if it reduces the minimum shortest-path distance.

A PREPRINT

between the accumulated entity set and the gold answer set, and non-progressive otherwise. Retrieving additional gold answers or verifying constraints may leave this distance unchanged.

Motivation. Figure 1 summarizes 5,000 entity-return operations from rollouts generated on ComplexWebQuestions (CWQ) (Talmor and Berant, 2018) by a Qwen2.5-3B model trained with outcome-only Group Relative Policy Optimization (GRPO) (Shao et al., 2024). In successful rollouts, 65.8% of entity-return operations are non-progressive, while 25.3% in failed rollouts are progressive. Thus, rollout outcome cannot determine whether individual entity-return operations advance KG search. Nevertheless, outcome-supervised RL assigns the same outcome-level advantage to all policy-generated tokens in a rollout, including those serializing progressive and non-progressive operations. We call this mismatch between rollout-level supervision and individual KG-operation effects trajectory-to-operation mismatch.

We further examine whether outcome-only GRPO reduces this mismatch. Figure 2 reports the training-process diagnostics. Panel (a) shows both F1 and Hit@1 rising during training, whereas Panel (b) shows the mismatch rate fluctuating between 33% and 36%. Here, a mismatch is a non-progressive entity-return operation in a successful rollout or a progressive operation in a failed rollout. Panel (c) shows that the rate of rollouts containing both progressive and non-progressive entity-return operations remains at 36% to 40%, while the rate of non-progressive entity-return operations after the first progressive operation fluctuates between 42% and 68% and increases toward the end of training. Panel (d) shows that the average interaction length remains stable at 2.9 KG operations and 1.45 entity-return operations per rollout. Together, Figures 1 and 2 show that outcome-only GRPO improves final-answer performance, yet the trajectory-to-operation mismatch persists throughout training and is not explained by changes in KG interaction length.

These observations necessitate a credit-assignment method that distinguishes KG operations within a rollout while preserving the sign of outcome-level advantage. A common alternative uses Process Reward Models (PRMs) to score intermediate steps (Lightman et al., 2024; Wang et al., 2024; Yuan et al., 2025). However, an operation's effect on the outcome reward depends on subsequent operations and final-answer generation, so treating these scores as independent local rewards or additive local advantages can adversely change the sign of the token-level advantage.

Our Work. We propose Outcome-Anchored Credit Reallocation (OACR) for outcome-supervised agentic KGQA. OACR computes an outcome-level advantage from the rewards of rollouts sampled for the same question and incorporates a KG-state outcome model to estimate outcome-reward changes between adjacent KG search states. It converts these changes into operation credit, assigning larger weights to tokens that serialize KG operations assigned greater credit. The token weights are normalized over all policy-generated tokens in the rollout and remain positive. Multiplying these positive weights by the outcome-level advantage reallocates its magnitude across policy-generated tokens while preserving its sign. The KG-state outcome model is used only during training and introduces no additional inference-time cost. Across three benchmarks, OACR outperforms existing KGQA methods overall while using fewer inference-time LLM calls and tokens.

Our main contributions are as follows.

• We identify and empirically analyze trajectory-to-operation mismatch under outcome-supervised RL for agentic KGQA: the final-answer outcome does not distinguish whether individual KG operations advance KG search, yet all policy-generated tokens within a rollout receive the same outcome-level advantage. This mismatch persists throughout training.

• We propose OACR, which converts estimated outcome-reward changes between adjacent KG search states into operation credit used to construct token weights, thereby reallocating token-level update magnitudes while preserving the sign of the outcome-level advantage.

Our code is publicly available at https://anonymous.4open.science/r/OACR/.

References (38)