arXiv:2610.21345cs.CLOct 2026

Manuscript Offprint

arXiv:2610.21345

OpCredit: Operation-Aware Policy Learning for Agentic Knowledge Graph Question Answering

Yucheng Li, Mingyuan Li, Xiaxia Wang, Gong Cheng

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

Abstract

Agentic knowledge graph question answering (KGQA) relies on sequences of executable operations, but trajectory-level rewards obscure their individual contributions. Successful trajectories may contain ineffective operations, while failed trajectories may contain useful ones. To assess individual operations, we propose OpCredit, an operation-aware policy-learning framework that combines downstream outcome credit with immediate transition credit: Branch Outcome Credit (BOC) reuses ordinary rollouts to compare terminal task rewards observed after different operations under matched navigation contexts; Frontier Transition Credit (FTC) measures operation-induced changes in answer-conditioned frontier potential. The two complementary signals jointly supervise the corresponding decision spans during training, while inference uses only the learned policy and standard KG interface. Experiments on ComplexWebQuestions, WebQSP, and GrailQA across three backbones demonstrate consistent improvements in KGQA performance.

1 Introduction

Knowledge graph question answering (KGQA) grounds answers in structured facts and offers an explicit reasoning substrate for knowledge-intensive questions. Recent agentic approaches answer complex questions through multi-turn interaction between a large language model (LLM) and a knowledge graph (KG): the policy issues executable operations, observes the returned evidence, and decides how to continue navigating or when to answer (Sun et al., 2024; Chen et al., 2024; Lin et al., 2025). Each operation determines which evidence becomes available to subsequent decisions. The choice of local operations therefore shapes the evidence on which successful reasoning depends.

Figure

(a) Trajectory-operation granularity mismatch

Figure

(b) Operation composition by trajectory outcome

Figure 1: Trajectory–operation granularity mismatch in KGQA. Progressive operations advance toward the gold answer. (a) Examples in successful and failed rollouts. (b) Operation proportions on CWQ with SFT-initialized Qwen2.5-7B.

Final-answer rewards provide a natural way to improve such agents without annotating every intermediate decision, but they evaluate an entire trajectory at once: a successful rollout may contain off-target operations, while a failed rollout may contain useful navigation. Group Relative Policy Optimization (GRPO) compares same-question rollouts and applies each trajectory's advantage to all policy-generated tokens (Shao et al., 2024), so it does not explicitly distinguish operations that advance navigation from those that stall or divert it. Figure 1(a) illustrates this mismatch: the successful rollout includes an off-target soundtrack lookup before recovering to the correct actor, whereas the failed rollout reaches a relevant actor but ends with an incorrect answer; the diagnostic in Figure 1(b) likewise finds many progressive operations in failed rollouts and non-progressive operations in successful rollouts. These cases expose a trajectory–operation granularity mismatch: the outcome is trajectory-level, while the policy must select operations individually.

Recent agentic reinforcement learning (RL) methods redistribute trajectory feedback across local decisions by grouping repeated states or aggregating sampled rollout structures (Feng et al., 2025; Wang et al., 2026a; Cheng et al., 2026). Prior KGQA work provides intermediate guidance through reference-path supervision, learned process evaluators, or graph-based progress signals (Yan et al., 2026; Wang et al., 2026b; Song et al., 2026b). Specifically for agentic KGQA, a natural approach is to assess local operations through their observed downstream outcomes.

This motivates our Branch Outcome Credit (BOC). BOC organizes same-question rollouts post hoc by navigation context and compares terminal task rewards observed after different operations. These context-relative comparisons assign outcome credit to individual operations under the sampled policy, without constructing an additional rollout tree or training an auxiliary evaluator.

BOC captures the downstream consequence of an operation, but later decisions can obscure the operation’s immediate effect on the KG evidence frontier. To address it, we introduce Frontier Transition Credit (FTC). FTC evaluates the immediate effect of each operation by comparing the KG evidence frontier’s proximity to the answer before and after execution.

Bringing these two views together, we propose OpCredit, an operation-aware policy-learning framework for agentic KGQA. BOC and FTC jointly supervise the corresponding decision spans to update a single KGQA policy. At inference time, the policy uses the standard KG interface without training-time signals or an auxiliary evaluator.

Experiments on ComplexWebQuestions (CWQ), WebQSP, and GrailQA with three LLM backbones show consistent gains in KGQA performance. Controlled comparisons show that BOC and FTC each improve on GRPO, with their combination performing best. A reference-blinded operation-level audit finds closer alignment between assigned credit and assessed usefulness for OpCredit than for GRPO.

Our contributions are twofold:

• We propose OpCredit, an operation-aware policy-learning framework for agentic KGQA that addresses the trajectory–operation granularity mismatch through complementary outcome and transition credit.

• We instantiate this framework with BOC and FTC. BOC compares terminal task rewards observed after different operations under matched navigation contexts, while FTC measures signed changes in answer-conditioned frontier potential.

Our code is available at https://github.com/kaka1215/OpCredit.