Manuscript Offprint
arXiv:2610.25384Outcome-Anchored Credit Reallocation for Agentic Knowledge Graph Question Answering
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 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/.
LLM-based KGQA. LLM-based KGQA formulates reasoning as explicit KG search, enabling LLMs to construct or revise search decisions for retrieving KG facts (Sun et al., 2024; Luo et al., 2024; Chen et al., 2024; Luo et al., 2025; Long et al., 2025; Wang et al., 2026a). These methods improve KGQA through inference-time search, constrained decoding, or supervised trajectories, orthogonal to our OACR that optimizes a multi-turn KG interaction policy from sampled rollouts.
RL for agentic KGQA. Recent work trains KGQA agents from sampled rollouts using outcome rewards or reinforcement fine-tuning to optimize multi-turn KG interaction policies (Song et al., 2025, 2026). Other studies refine outcome supervision through reward modeling, rejection sampling, or curriculum RL (Yan et al., 2026; Chen et al., 2026b). These methods assign rewards to complete rollouts or paths, providing limited distinction among KG operations within a rollout and leaving the trajectory-to-operation mismatch unresolved. In contrast, OACR converts estimated outcome-reward changes into operation credit for constructing token weights across KG operations.
Process rewards and credit assignment. Prior work assigns rewards or advantages to intermediate reasoning
A PREPRINT
(a) Trajectory-level final-answer quality

(b) Trajectory-to-operation mismatch
(c) Entity-return operations in rollouts
(d) KG interaction length
Figure 2: Training-process diagnostics of outcome-only GRPO in agentic KGQA. (a) Final-answer quality. (b) Raw and smoothed trajectory-to-operation mismatch rates. (c) Rates of rollouts containing both progressive and non-progressive entity-return operations and of non-progressive operations following the first progressive one. (d) Average numbers of all KG operations and entity-return operations per rollout.
steps or interaction turns, while preference-based optimization reweights training examples, text segments, or tokens (Lightman et al., 2024; Wang et al., 2024; Yuan et al., 2025; Zeng et al., 2025; Liu et al., 2026; Rezaei et al., 2026; Zhou et al., 2024; Zeng et al., 2024; Liu et al., 2025). In KGQA, related approaches use step-wise rewards, process reward models, or KG schema information to guide logical-form construction and KG reasoning (Xiong et al., 2025; Wang et al., 2026b; Chen et al., 2026a). These methods provide intermediate supervision, search guidance, or optimization weights. However, accumulated intermediate rewards or advantages can change the sign of the token-level advantage. In contrast, our OACR derives weights from outcome-reward changes between adjacent KG search states and preserves the sign of the outcome-level advantage.
3 Method
Figure 3 presents the two-stage OACR pipeline. Stage 1 uses supervised fine-tuning to initialize the KGQA policy. In Stage 2, the current policy samples rollout groups and computes an outcome-level advantage for each rollout. The KG-state outcome model is initially trained on outcome-only GRPO rollouts and periodically updated using recent OACR rollouts. Its estimates for adjacent KG search states are used to compute operation credit and construct token weights. These weights rescale the outcome-level advantage across policy-generated tokens while preserving its sign. Detailed inference rollouts are provided in Appendix I.
3.1 Task Formulation
Let denote a KG with entity set , relation set , and directed triple set . Each triple links head entity to tail entity through relation . Given a question with gold answer set , KGQA aims to identify its answer entities in . Following the literature, each question is assumed to be associated with a set of mentioned start entities. In agentic KGQA, the agent interacts with the KG over multiple turns. Let denote the schema-valid KG operations available through the KG-tool interface. At turn , the agent emits an operation , which the interface attempts to execute. If and execution succeeds, the returned observation lists available relations or neighboring entities. Otherwise, the interface returns an error observation indicating a schema violation or execution error. In both cases, the resulting observation is appended to the accumulated KG search state. with . After turns, the agent emits an ordered answer list conditioned on and . Let denote the corresponding entity set. The sequence defines a trajectory. When sampled from a policy during RL or inference, the trajectory is a rollout.
3.2 Supervised Fine-Tuning for Policy Initialization
We use supervised fine-tuning (SFT) (Ouyang et al., 2022; Zhou et al., 2023; Dong et al., 2023) to initialize a KGQA policy that generates natural-language reasoning, schema-valid KG operations, and final answers conditioned on KG observations. The KG-tool interface exposes four one-hop operations. For an entity , the outgoing and incoming relation-list operations, and , respectively, are
(1)
Given a relation , the corresponding entity-return operations are
(2)
Each SFT trajectory follows the inference format: the model reasons in <think>, issues a KG operation in <search>, receives its observation in <observation>, and emits the final answer in <answer>. Representative examples are provided in Appendix H. We construct a training set , where is the complete serialized interaction sequence associated with the i-th trajectory and is its length. Each trajectory is constructed by executing the KG operations corresponding to a KG path that reaches at least one gold answer entity. The operations are executed against , and their observations (i.e., relation or entity lists) are inserted into the corresponding <observation> blocks. Trajectories
A PREPRINT

Figure 3: Overview of OACR. Supervised fine-tuning initializes a KGQA agent, followed by outcome-supervised reinforcement learning with outcome-anchored credit reallocation. The KG-state outcome model is updated using recent OACR rollouts every U RL iterations and held fixed during each policy update. The entire process is outlined in Algorithm 2 of Appendix F.
are discarded if they contain schema-invalid operations or if any entity in the <answer> block is absent from the previously returned entity observations (i.e., hallucinated).
Let denote the LLM policy parameterized by . Question and observation tokens are provided as context and therefore excluded from the training loss. For , let denote the token indices inside the <think>, <search>, and <answer> blocks. The SFT training loss averages negative log-probabilities over policy-generated tokens:
3.3 Reinforcement Learning
Although SFT teaches the policy to issue KG operations, it does not optimize the policy using rollouts sampled from the current policy. We therefore apply outcome-supervised RL through the KG-tool interface. We first review GRPO under outcome supervision and then introduce a KG-state outcome model and OACR to address its inability to distinguish KG operations within the same rollout.
Outcome-Supervised RL. Let denote the empirical distribution of questions used for RL training. During each RL iteration, we sample and a rollout group from the current policy :
Rollout has turns and returns answer list with entity set . Its outcome reward combines F1 and Hit@1:
where is the outcome-reward mixing coefficient balancing answer-set coverage and top-answer accuracy. Specifically,
We set F1 = 1 when both and are empty, and Hit@1 = 0 when is empty. Following GRPO (Shao et al., 2024), the rewards within each group are normalized to obtain an outcome-level advantage:
where is the standard deviation of and is a small constant that prevents division by zero. The sign of indicates whether is above or below the group mean. Let serialize , with indexing policy-generated tokens as in Section 3.2. For each , the importance ratio is
A PREPRINT
For an importance ratio and an advantage A, we define the clipped surrogate term as
Here, is the clipping threshold, the clipped GRPO objective is
(10)
where denotes the KL divergence between the current policy and the fixed reference policy , and controls the strength of the KL penalty. The expectation is over and the rollout group sampled according to Eq. 4.
KG-state Outcome Model. Eq. 10 assigns the same to all policy-generated tokens in , without distinguishing KG operations within the rollout. We introduce a KG-state outcome model to estimate outcome rewards for intermediate KG search states. We initially train using a buffer of rollouts sampled from an outcome-only GRPO policy for questions .
For each buffered rollout , let denote its question, its outcome reward from Eq. 5, and its accumulated KG search state after turns, with . For each canonicalized question-state pair observed in the current buffer , we define as the mean outcome reward of the retained rollouts that visit that pair. Canonicalization preserves operation order and normalizes serialized fields and returned observations, as detailed in Appendix G. The fitting loss is
Because operation credit depends on differences between adjacent outcome-reward estimates, their ordering directly affects token weights. We therefore add a temporal ordering regularizer weighted by the rollout outcome reward. For two states from the same buffered rollout with , we define
(12)
where is the sigmoid function, is the number of turns in buffered rollout , and the expectation averages over all state pairs satisfying within that rollout. This regularizer softly favors higher estimates for later states, with larger weights for rollouts receiving higher outcome rewards. The final training objective is
where is the temporal ordering regularization strength.
Policy updates can change both the KG search states visited and the expected outcome reward after visiting a given state. Before each policy update, we compute and cache the outcome-reward estimates and token weights using the current . The model and cached quantities remain fixed throughout the update, and the policy loss does not propagate gradients through them. After the policy update, we add the sampled rollouts and their observed outcome rewards to , discarding the oldest rollouts when its capacity is exceeded. Every U RL iterations, we recompute from the current buffer and continue training using Eq. 13. The updated model is used for subsequent newly sampled rollouts. The KG-state outcome model is used only during training. Algorithms 1 and 2 in Appendix F summarize model fitting and OACR training, respectively.
Outcome-Anchored Credit Reallocation. Although estimates the outcome reward of the accumulated KG search state after operation , directly using this absolute KG-state outcome estimate would also reflect all preceding KG operations contained in . OACR therefore uses the difference between the estimated outcome rewards of adjacent KG search states to distinguish the change after . Specifically, we define the clipped estimated outcome-reward change as
where is the estimated outcome-reward change bound. A positive indicates an increase in the estimated outcome reward, while a negative value indicates a decrease. These changes are used only to construct operation credit.
OACR conditions operation credit on the sign of . For , credit is assigned according to the positive part of . For , it is determined by the negative part of and whether the operation is invalid:
where indicates whether is a schema-invalid KG operation or fails to execute, and controls the additional operation-credit magnitude assigned to such operations. Thus, , while alone determines the sign of the token-level advantage. Let denote the indices of the policy-generated tokens that serialize in the corresponding <search> block. For each , the reallocated token weight is
where is the reallocation strength. We normalize these weights over all policy-generated tokens:
A PREPRINT
The token-level advantage retains the sign of because . Substituting it for in Eq. 10 gives:
Operation credit reweights outcome supervision; the KL penalty retains the GRPO coefficient and is not reweighted.
4 Experiments
Datasets and Metrics. We evaluate OACR with Qwen2.5-3B, Qwen2.5-7B, and Llama-3.1-8B on WebQSP (Yih et al., 2016), CWQ (Talmor and Berant, 2018), and GrailQA (Gu et al., 2021). Following prior work (Chen et al., 2026b; Wang et al., 2026b; Yan et al., 2026), we report F1 and Hit@1. Inference costs are measured by mean LLM calls, input tokens, output tokens, and latency per question. Dataset statistics are provided in Appendix B, and experimental settings and hyperparameters in Appendices C and F.
Baselines. Training-free baselines include direct prompting with Qwen2.5-3B, Qwen2.5-7B, Llama-3.1-8B, Gemini-2.5-Pro, and GPT-5, as well as inference-time KG search and planning methods ToG (Sun et al., 2024), PoG (Chen et al., 2024), ReknoS (Wang et al., 2025), and MCTS-KBQA (Xiong et al., 2025). Training-based baselines use SFT or RL for KGQA and include KG-R1 (Song et al., 2025), RoG (Luo et al., 2024), KBQA-o1 (Luo et al., 2025), Graph-RFT (Song et al., 2026), KnowCoder-A1 (Chen et al., 2026b), EoG (Yan et al., 2026), DPRM (Wang et al., 2026b), and SCPRM (Chen et al., 2026a). OACR denotes the SFT-initialized policy. OACR further optimizes this policy using outcome-only GRPO, while OACR additionally applies outcome-anchored credit reallocation.
Main Results. OACR improves both F1 and Hit@1 over OACR across all three datasets and backbones (Table 1; split-wise GrailQA results are provided in Appendix K). It also outperforms OACR in both metrics on all three datasets with Qwen2.5-3B and Qwen2.5-7B. The largest F1 gains over OACR occur on CWQ, reaching 2.9 and 4.6 points for the two backbones, respectively. Among reported methods using the same backbone, OACR with Qwen2.5-3B outperforms KG-R1 in Hit@1 on CWQ and WebQSP. On these two datasets, OACR with Qwen2.5-7B ranks first in both metrics, while OACR with Llama-3.1-8B ranks first in F1 and second in Hit@1. With these two backbones, OACR ranks second to EoG in both metrics on GrailQA. The gains over OACR support OACR's use of estimated outcome-reward changes to construct multiplicative token weights that reallocate the outcome-level advantage across KG operations, improving final-answer quality beyond outcome-only GRPO.
| Method | CWQ | WebQSP | GrailQA | |||
|---|---|---|---|---|---|---|
| F1 | Hit@1 | F1 | Hit@1 | F1 | Hit@1 | |
| Training-free Methods | ||||||
| Qwen2.5-3B | 17.7 | 22.0 | 30.3 | 44.6 | 11.6 | 13.8 |
| Qwen2.5-7B | 20.7 | 25.7 | 33.2 | 50.9 | 13.6 | 15.9 |
| Llama-3.1-8B | 22.4 | 28.1 | 34.8 | 55.5 | 17.7 | 21.3 |
| Gemini-2.5-Pro | - | 65.3 | - | 79.8 | - | - |
| GPT-5 | - | 67.6 | - | 77.5 | - | - |
| ToG | - | 68.5 | - | 82.6 | - | 81.4 |
| PoG | - | 75.0 | - | 87.3 | - | 84.7 |
| ReknoS | - | 66.8 | - | 83.8 | - | 80.5 |
| MCTS-KBQA | 64.87 | - | 72.49 | - | - | - |
| Training-based Methods | ||||||
|---|---|---|---|---|---|---|
| — backbone: Qwen2.5-3B — | ||||||
| KG-R1 | - | 65.3 | - | 82.8 | - | - |
| 64.9 | 70.1 | 79.6 | 86.8 | 72.6 | 79.0 | |
| 68.1 | 74.1 | 80.6 | 87.8 | 73.8 | 81.3 | |
| OACR | 71.0 | 76.4 | 81.5 | 88.5 | 75.4 | 82.3 |
| — backbone: Qwen2.5-7B — | ||||||
| RoG | - | 46.3 | - | 79.9 | - | - |
| Graph-RFT | - | 78.4 | - | 87.3 | - | - |
| KnowCoder-A1 | 68.3 | 75.7 | 77.2 | 80.1 | - | 80.5 |
| EoG | 73.8 | 82.7 | 78.1 | 90.7 | 88.5 | 91.7 |
| 68.6 | 73.0 | 82.4 | 89.0 | 75.3 | 81.3 | |
| 75.5 | 82.9 | 85.7 | 90.5 | 80.6 | 86.2 | |
| OACR | 80.1 | 83.5 | 86.2 | 91.3 | 82.5 | 88.1 |
| — backbone: Llama-3.1-8B — | ||||||
| KBQA-o1 | - | - | 57.8 | - | 78.5 | - |
| EoG | 77.9 | 86.6 | 81.3 | 92.8 | 90.6 | 92.1 |
| DPRM | 59.9 | 73.0 | 72.3 | 87.2 | - | - |
| SCPRM | - | 73.3 | - | - | - | - |
| 70.0 | 74.7 | 82.5 | 89.1 | 76.0 | 82.7 | |
| 76.8 | 84.6 | 86.2 | 90.7 | 81.3 | 87.2 | |
| OACR | 81.4 | 85.2 | 86.7 | 91.5 | 83.2 | 89.1 |
Table 1: Overall performance on CWQ, WebQSP, and GrailQA. Boldface and underlining denote the best and second-best results within each backbone-matched comparison block, – denotes an unreported result.
Ablation Study. Using absolute KG-state outcome estimates (Absolute state est.) or removing the temporal ordering regularizer while retaining outcome-reward fitting (w/o ordering reg.) lowers F1 and Hit@1 across all three datasets (Table 2). Absolute estimates reflect the accumulated KG search state, whereas differences between adjacent states estimate the change following each KG operation. Even with these changes retained, replacing multiplicative token weights with additive local advantages (Additive local adv.) causes the largest decrease among the variants, lowering CWQ F1 by 5.3 points. These results show that OACR improves final-answer quality by distinguishing KG operations while preserving the sign of the outcome-level advantage.
A PREPRINT
| Variant | CWQ | WebQSP | GrailQA | |||
|---|---|---|---|---|---|---|
| F1 | Hit@1 | F1 | Hit@1 | F1 | Hit@1 | |
| Training settings | ||||||
| 68.6 | 73.0 | 82.4 | 89.0 | 75.3 | 81.3 | |
| Outcome-only GRPO | 75.5 | 82.9 | 85.7 | 90.5 | 80.6 | 86.2 |
| OACR | 80.1 | 83.5 | 86.2 | 91.3 | 82.5 | 88.1 |
| OACR variants | ||||||
| Absolute state est. | 77.2 | 82.8 | 85.9 | 90.6 | 81.3 | 86.6 |
| Additive local adv. | 74.8 | 81.5 | 85.1 | 89.9 | 80.0 | 85.4 |
| w/o ordering reg. | 79.0 | 83.1 | 86.0 | 91.0 | 81.9 | 87.4 |
Table 2: Ablation study of OACR on Qwen2.5-7B. Absolute state est., Additive local adv., and ordering reg. abbreviate absolute KG-state outcome estimate, additive local advantages, and temporal ordering regularizer.

Figure 4: Trajectory-to-operation mismatch rates of OACR and OACR on CWQ, WebQSP, and GrailQA. Left: Qwen2.5-3B; Right: Qwen2.5-7B.
Mismatch Analysis. Figure 4 compares the trajectory-to-operation mismatch rates of OACR and OACR across three datasets using Qwen2.5-3B and Qwen2.5-7B. OACR consistently achieves lower mismatch rates across all settings, with the largest reductions observed on CWQ: 6.7 and 5.8 percentage points for Qwen2.5-3B and Qwen2.5-7B, respectively. These results show that OACR mitigates the trajectory-to-operation mismatch that persists under outcome-only GRPO while improving final-answer quality.
Retrieval Coverage Analysis. We evaluate gold-answer retrieval before final-answer generation using Partial Coverage (PC) and Exact Coverage (EC), with definitions and full results in Appendix E. With Qwen2.5-3B, OACR achieves the highest PC and EC among the compared methods across all three datasets. On CWQ, PC and EC reach 90.1% and 87.9%. Their small gap indicates that most questions with at least one retrieved gold answer also have the complete gold answer set in their KG observations. Unlike F1 and Hit@1, these measures do not depend on the generated answer list. These results show that OACR retrieves complete gold answer sets for more questions, providing the entities needed for final-answer generation.
Hyperparameter Sensitivity. Figure 5 shows the best overall performance at and . Small keeps token weights close to uniform, while small limits the contribution of estimated outcome-reward changes to operation credit. Larger values can give KG-operation tokens more weight at the expense of other policy-generated tokens. Removing temporal ordering regularization lowers performance, but emphasizing higher estimates at later states can conflict with outcome-reward fitting, potentially explaining the decline beyond . Increasing weakens the reward for a correct first answer, consistent with lower Hit@1. F1 peaks at , suggesting that this feedback helps predict the answer set. These results support OACR's use of operation credit to improve final-answer quality through different token-level update magnitudes, rather than stronger reallocation or temporal ordering regularization.

(a) Reallocation strength
(b) Estimated outcome-reward change bound
(c) Temporal ordering regularization strength
(d) Outcome-reward mixing coefficient
Figure 5: Hyperparameter analysis on Qwen2.5-3B.

Figure 6: Distribution of error categories among 300 randomly sampled OACR error cases on CWQ, WebQSP, and GrailQA.
Error Analysis. Figure 6 shows that Constraint Failure and Path Error account for 69.3% of the sampled OACR errors. Constraint Failure dominates CWQ, whereas Path Error is most frequent on WebQSP, indicating different difficulties in applying question constraints and selecting relations. In the Answer Mismatch case in Appendix J, the model retrieves the correct constellation but then expands to its member stars and returns them as answers. These failures suggest refining OACR's operation credit for constraint application and relation selection, while improving the policy's decision to end KG search once the required evidence has been retrieved as our future work.
Inference Efficiency Analysis. As detailed in Appendix D.1, on CWQ and WebQSP, OACR reduces output-
A PREPRINT
token consumption by 32.3%–72.9% compared with KG-R1, ReknoS, and RoG in the reported same-backbone comparisons, while achieving higher Hit@1. This empirical analysis excludes EoG, DPRM, MCTS-KBQA, GraphRFT, and SCPRM because we could not reproduce their results using the available implementations and settings. However, Appendix D.2 provides a qualitative comparison of their inference efficiency. To summarize, OACR combines shorter outputs with better final-answer quality in the reported comparisons, without invoking the KG-state outcome model during inference.
5 Conclusion
We identify a trajectory-to-operation mismatch in outcome-only GRPO for agentic KGQA: the rollout-level update direction can reinforce non-progressive entity-return operations and suppress progressive ones. OACR addresses this mismatch with a KG-state outcome model that converts estimated outcome-reward changes between adjacent KG search states into operation credit and positive token weights. These positive token weights rescale the outcome-level advantage at each policy-generated token while preserving its sign. Across three KGQA benchmarks, OACR consistently improves the SFT-initialized policy, increases gold-answer retrieval coverage, and reduces inference-time LLM calls and tokens. Future work will focus on maintaining question constraints across interaction turns and using failed rollouts to improve relation selection and relation direction.
Limitations
We identify two limitations of the current OACR design. First, the KG-state outcome model is periodically updated using a bounded rollout buffer. Its estimates may lag behind changes in the policy's KG interactions between updates. Adapting the update frequency could account for these changes, but any improvement in estimation accuracy needs to be evaluated against the additional training cost. Second, OACR assigns one operation credit to each KG operation, so all tokens serializing that operation share the same weight. This does not separately weight entity and relation choices within an operation. Finer-grained weighting could distinguish these choices, but its benefit for final-answer quality remains to be evaluated.
References
Tu Ao, Yanhua Yu, Yuling Wang, Yang Deng, Zirui Guo, Liang Pang, Pinghui Wang, Tat-Seng Chua, Xiao Zhang, and Zhen Cai. 2025. Lightprof: a lightweight reasoning framework for large language model on knowledge graph. In Proceedings of the Thirty-Ninth AAAI Conference on Artificial Intelligence and Thirty-Seventh Conference on Innovative Applications of Artificial Intelligence and Fifteenth Symposium on Educational Advances in Artificial Intelligence, AAAI'25/IAAI'25/EAAI'25. AAAI Press.
Jiujiu Chen, Yazheng Liu, Sihong Xie, and Hui Xiong. 2026a. Scprm: A schema-aware cumulative process reward model for knowledge graph question answering. arXiv preprint arXiv:2605.02819.
Liyi Chen, Panrong Tong, Zhongming Jin, Ying Sun, Jieping Ye, and Hui Xiong. 2024. Plan-on-graph: Self-correcting adaptive planning of large language model on knowledge graphs. In Advances in Neural Information Processing Systems, volume 37, pages 37665–37691. Curran Associates, Inc.
Zhuo Chen, Fei Wang, Zixuan Li, Zhao Zhang, Weiwei Ding, Chuanguang Yang, Yongjun Xu, and Xiaolong Jin. 2026b. Incentivizing agentic reasoning capability with outcome supervision for knowledge base question answering. In Proceedings of the ACM Web Conference 2026, WWW '26, pages 4302–4313, New York, NY, USA. Association for Computing Machinery.
Hanze Dong, Wei Xiong, Deepanshu Goyal, Yihan Zhang, Winnie Chow, Rui Pan, Shizhe Diao, Jipeng Zhang, Kashun Shum, and Tong Zhang. 2023. Raft: Reward ranked finetuning for generative foundation model alignment. arXiv preprint arXiv:2304.06767.
Yu Gu, Sue Kase, Michelle Vanni, Brian Sadler, Percy Liang, Xifeng Yan, and Yu Su. 2021. Beyond iid: three levels of generalization for question answering on knowledge bases. In Proceedings of the web conference 2021, pages 3477–3488.
Hunter Lightman, Vineet Kosaraju, Yuri Burda, Harrison Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. 2024. Let's verify step by step. In International Conference on Learning Representations, volume 2024, pages 39578–39601.
Aiwei Liu, Haoping Bai, Zhiyun Lu, Yanchao Sun, Xiang Kong, Xiaoming Simon Wang, Jiulong Shan, Albin Madappally Jose, Xiaojiang Liu, Lijie Wen, Philip S. Yu, and Meng Cao. 2025. TIS-DPO: Token-level importance sampling for direct preference optimization with estimated weights. In The Thirteenth International Conference on Learning Representations.
Yuchen Liu, Yingjie Feng, Lixiong Qin, Jiasi Chen, Jianing Yu, Sheng Gao, Sheng Yang, and Weiran Xu. 2026. Beyond trajectory rewards: Step-level credit assignment for agentic search via graph modeling. arXiv preprint arXiv:2605.29697.
Xiao Long, Liansheng Zhuang, Chen Shen, Shaotian Yan, Yifei Li, and Shafei Wang. 2025. Enhancing large language models with reward-guided tree search for knowledge graph question and answering. arXiv preprint arXiv:2505.12476.
Haoran Luo, Haihong E, Yikai Guo, Qika Lin, Xiaobao Wu, Xinyu Mu, Wenhao Liu, Meina Song, Yifan Zhu, and Anh Tuan Luu. 2025. KBQA-o1: Agentic knowledge base question answering with monte carlo tree
A PREPRINT
search. In Forty-second International Conference on Machine Learning.
Linhao Luo, Yuan-Fang Li, Reza Haffari, and Shirui Pan. 2024. Reasoning on graphs: Faithful and interpretable large language model reasoning. In International Conference on Learning Representations, volume 2024, pages 14400–14423.
Chuangtao Ma, Yongrui Chen, Tianxing Wu, Arijit Khan, and Haofen Wang. 2025. Large language models meet knowledge graphs for question answering: Synthesis and opportunities. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 24578–24597, Suzhou, China. Association for Computational Linguistics.
Chau D. M. Nguyen, Tim French, Michael Stewart, Melinda Hodkiewicz, and Wei Liu. 2025. Representation learning in complex logical query answering on knowledge graphs: A survey. ACM Comput. Surv., 58(5).
Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul F Christiano, Jan Leike, and Ryan Lowe. 2022. Training language models to follow instructions with human feedback. In Advances in Neural Information Processing Systems, volume 35, pages 27730–27744. Curran Associates, Inc.
Mohammad Rezaei, Jens Lehmann, and Sahar Vahdati. 2026. Llm reasoning with process rewards for outcome-guided steps. arXiv preprint arXiv:2604.02341.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. 2024. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300.
Jinyeop Song, Song Wang, Julian Shun, and Yada Zhu. 2025. Efficient and transferable agentic knowledge graph rag via reinforcement learning. arXiv preprint arXiv:2509.26383.
Yanlin Song, Ben Liu, Víctor Gutiérrez-Basulto, Zhiwei Hu, Qianqian Xie, Min Peng, Sophia Ananiadou, and Jeff Z Pan. 2026. Plan then retrieve: reinforcement learning-guided complex reasoning over knowledge graphs. In Proceedings of the ACM Web Conference 2026, pages 3666–3676.
Jiashuo Sun, Chengjin Xu, Lumingyuan Tang, Saizhuo Wang, Chen Lin, Yeyun Gong, Lionel Ni, Heung-Yeung Shum, and Jian Guo. 2024. Think-on-graph: Deep and responsible reasoning of large language model on knowledge graph. In International Conference on Learning Representations, volume 2024, pages 3868–3898.
Xin Sun, Zhongqi Chen, Xing Zheng, Bowen Song, Qiang Liu, Shu Wu, Zilei Wang, Weiqiang Wang, and Liang Wang. 2026. KBQA-r1: Reinforcing large language
models for knowledge base question answering. In Forty-third International Conference on Machine Learning.
Alon Talmor and Jonathan Berant. 2018. The web as a knowledge-base for answering complex questions. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 641–651, New Orleans, Louisiana. Association for Computational Linguistics.
Shiyu Tian, Shuyue Xing, Xingrui Li, Yangyang Luo, Caixia Yuan, Wei Chen, Huixing Jiang, and Xiaojie Wang. 2025. A systematic exploration of knowledge graph alignment with large language models in retrieval augmented generation. In Proceedings of the Thirty-Ninth AAAI Conference on Artificial Intelligence and Thirty-Seventh Conference on Innovative Applications of Artificial Intelligence and Fifteenth Symposium on Educational Advances in Artificial Intelligence, AAAI'25/IAAI'25/EAAI'25. AAAI Press.
Hao Wang, Jialun Zhong, Changcheng Wang, Zhujun Nie, Zheng Li, Shunyu Yao, Yanzeng Li, and Xinchi Li. 2026a. Seal: Self-evolving agentic learning for conversational question answering over knowledge graphs. Neurocomputing, page 133998.
Peiyi Wang, Lei Li, Zhihong Shao, Runxin Xu, Damai Dai, Yifei Li, Deli Chen, Yu Wu, and Zhifang Sui. 2024. Math-shepherd: Verify and reinforce llms step-by-step without human annotations. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 9426–9439.
Song Wang, Junhong Lin, Xiaojie Guo, Julian Shun, Jundong Li, and Yada Zhu. 2025. Reasoning of large language models over knowledge graphs with superrelations. In The Thirteenth International Conference on Learning Representations.
Xinyi Wang, Yiping Song, Zhiliang Tian, Bo Liu, Tingjin Luo, and Minlie Huang. 2026b. Dprm: A dual implicit process reward model in multi-hop question answering. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, pages 33683–33691.
Guanming Xiong, Haochen Li, and Wen Zhao. 2025. Mctskbqa: Monte carlo tree search for knowledge base question answering. arXiv preprint arXiv:2502.13428.
Shiqi Yan, Yubo Chen, Ruiqi Zhou, Zhengxi Yao, Shuai Chen, Tianyi Zhang, Shijie Zhang, Wei-Qiang Zhang, Yongfeng Huang, Haixin Duan, and Yunqi Zhang. 2026. Explore-on-graph: Incentivizing autonomous exploration of large language models on knowledge graphs with path-refined reward modeling. In The Fourteenth International Conference on Learning Representations.
Wen-tau Yih, Matthew Richardson, Christopher Meek, Ming-Wei Chang, and Jina Suh. 2016. The value of semantic parse labeling for knowledge base question answering. In Proceedings of the 54th Annual Meeting of
A PREPRINT
the Association for Computational Linguistics (Volume 2: Short Papers), pages 201–206.
Lifan Yuan, Wendi Li, Huayu Chen, Ganqu Cui, Ning Ding, Kaiyan Zhang, Bowen Zhou, Zhiyuan Liu, and Hao Peng. 2025. Free process rewards without process labels. In Proceedings of the 42nd International Conference on Machine Learning, ICML'25. JMLR.org.
Siliang Zeng, Quan Wei, William Brown, Oana Frunza, Yuriy Nevmyvaka, Yang Katie Zhao, and Mingyi Hong. 2025. Reinforcing multi-turn reasoning in llm agents via turn-level credit assignment. In ICML 2025 Workshop on Computer Use Agents.
Yongcheng Zeng, Guoqing Liu, Weiyu Ma, Ning Yang, Haifeng Zhang, and Jun Wang. 2024. Token-level direct preference optimization. In Proceedings of the 41st International Conference on Machine Learning, ICML'24. JMLR.org.
Zhiqiang Zhang, Liqiang Wen, and Wen Zhao. 2025. Rule-KBQA: Rule-guided reasoning for complex knowledge base question answering with large language models. In Proceedings of the 31st International Conference on Computational Linguistics, pages 8399–8417, Abu Dhabi, UAE. Association for Computational Linguistics.
Chunting Zhou, Pengfei Liu, Puxin Xu, Srini Iyer, Jiao Sun, Yuning Mao, Xuezhe Ma, Avia Efrat, Ping Yu, LILI YU, Susan Zhang, Gargi Ghosh, Mike Lewis, Luke Zettlemoyer, and Omer Levy. 2023. LIMA: Less is more for alignment. In Thirty-seventh Conference on Neural Information Processing Systems.
Wenxuan Zhou, Ravi Agrawal, Shujian Zhang, Sathish Reddy Indurthi, Sanqiang Zhao, Kaiqiang Song, Silei Xu, and Chenguang Zhu. 2024. Wpo: Enhancing rlhf with weighted preference optimization. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 8328–8340.
A PREPRINT
A Related Work
LLM-based KGQA. Recent work uses LLMs to retrieve facts, plan relation paths, or constrain reasoning with KG structure. ToG (Sun et al., 2024) performs training-free entity and relation expansion, while RoG (Luo et al., 2024) generates relation paths for retrieving KG facts. PoG (Chen et al., 2024) uses planning, memory, and reflection to revise KG search, and ReknoS (Wang et al., 2025) uses superrelations to constrain KG reasoning. KBQA-o1 (Luo et al., 2025) combines ReAct-style logical-form generation with Monte Carlo Tree Search for KG reasoning. RTSoG (Long et al., 2025) uses reward-guided self-critic Monte Carlo Tree Search to retrieve and weight KG reasoning paths. SEAL (Wang et al., 2026a) uses agentic calibration, memory, and reflection to refine executable S-expressions for conversational KGQA. These methods improve KGQA through inference-time search, constrained decoding, or supervised trajectories, orthogonal to our OACR that directly optimizes a multi-turn KG interaction policy from sampled rollouts.
RL for agentic KGQA. Recent work optimizes KGQA agents from sampled rollouts. KG-R1 (Song et al., 2025) formulates multi-turn KG interaction as a single-agent RL problem and optimizes the policy with outcome rewards. EoG (Yan et al., 2026) combines outcome rewards with path-refined reward modeling to guide KG exploration. KnowCoder-A1 (Chen et al., 2026b) trains a ReAct-style KGQA agent through outcome-based rejection sampling and outcome-only curriculum RL. Graph-RFT (Song et al., 2026) applies reinforcement fine-tuning to complex KG reasoning with adaptive KG and web retrieval. These methods optimize KGQA agents using rewards assigned to complete rollouts or paths. This provides limited distinction among KG operations within the same rollout, leaving the trajectory-to-operation mismatch unresolved. In contrast, our OACR converts estimated outcome-reward changes into operation credit to construct token weights for different KG operations.
Process rewards and credit assignment. Prior work assigns rewards or advantages to intermediate reasoning steps or interaction turns. PRMs score intermediate steps in multi-step LLM reasoning (Lightman et al., 2024; Wang et al., 2024; Yuan et al., 2025), while methods for individual turns or steps estimate rewards or advantages during multi-turn agent interactions (Zeng et al., 2025; Liu et al., 2026; Rezaei et al., 2026). Preference-based LLM optimization also assigns weights to training examples, text segments, or tokens (Zhou et al., 2024; Zeng et al., 2024; Liu et al., 2025). In KGQA, MCTS-KBQA (Xiong et al., 2025) uses a step-wise reward mechanism to guide MCTS-based logical-form construction. DPRM (Wang et al., 2026b) trains separate PRMs for KG and Chain-of-Thought (CoT) reasoning to derive step-level rewards from outcomes while modeling KG structural constraints and consistency between CoT reasoning and KG facts. SCPRM (Chen et al., 2026a) uses reasoning prefixes and schema distance to guide MCTS-based KG reasoning. These methods provide intermediate supervision, search guidance, or optimization weights. However, accumulated intermediate rewards or advantages can change the sign of the token-level advantage. In contrast, our OACR derives weights from outcome-reward changes between adjacent KG search states and preserves the sign of the outcome-level advantage.
| Dataset | Train | Test | Max Hop | 1-hop | 2-hop | ≥3-hop |
|---|---|---|---|---|---|---|
| WebQSP | 3,071 | 1,639 | 2 | 65.49% | 34.51% | 0.00% |
| CWQ | 27,639 | 3,519 | 4 | 40.91% | 38.34% | 20.75% |
| GrailQA | 44,337 | 1,000 | 3 | 74.60% | 24.50% | 0.90% |
Table 4: Dataset statistics and hop distributions of questions.
| Dataset | 1 | 2-4 | 5-9 | ≥10 |
|---|---|---|---|---|
| WebQSP | 51.20% | 27.40% | 8.30% | 12.10% |
| CWQ | 70.60% | 19.40% | 6.00% | 4.00% |
| GrailQA | 68.00% | 18.00% | 5.80% | 8.20% |
Table 5: Answer-set size distributions of test questions in WebQSP, CWQ and GrailQA. The statistics are derived from EoG (Yan et al., 2026) and DPRM (Wang et al., 2026b).
B Dataset Statistics
We evaluate OACR on three standard KGQA benchmarks, WebQSP (Yih et al., 2016), CWQ (Talmor and Berant, 2018), and GrailQA (Gu et al., 2021). We follow the commonly used evaluation split adopted in recent work (Sun et al., 2024; Yan et al., 2026; Chen et al., 2026b; Wang et al., 2026b) and report results on the test split. Table 4 summarizes the dataset statistics and hop distributions. The hop distribution is computed on the test split according to the KG path length required to reach the gold answer entities. WebQSP and GrailQA are dominated by one-hop questions, while CWQ contains a substantially larger fraction of two-hop and -hop questions.
Table 5 reports their answer-set size distributions. WebQSP has a higher proportion of multi-answer questions: of test questions have a single answer, have 2–4 answers, have 5–9 answers, and have answers. CWQ is dominated by single-answer questions: of test questions have a single answer, have 2–4 answers, have 5–9 answers, and have answers. GrailQA shows a distribution closer to CWQ than to WebQSP, with of test questions having a single answer, having 2–4 answers, having 5–9 answers, and having answers.
A PREPRINT
| Parameter | Setting |
|---|---|
| Supervised Fine-Tuning (SFT) | |
| Batch Size | 32 |
| Learning Rate | |
| Weight Decay | 0.01 |
| Maximum Sequence Length | 8192 |
| Epochs | 3 |
| Reinforcement Learning (RL) | |
| Batch Size | 32 |
| Rollout Group Size | 4 |
| Mini-Batch Size | 16 |
| Maximum Prompt Length | 2048 |
| Maximum Response Length | 4096 |
| Rollout Temperature | 1.0 |
| Maximum Turns | 6 |
| Learning Rate | |
| KL Penalty Coefficient | 0.002 |
| Epochs | 1 |
| Outcome-Anchored Credit Reallocation (OACR) | |
| Reallocation Strength | 0.3 |
| Estimated Outcome-Reward Change | 0.5 |
| Bound | |
| Temporal Ordering Regularization | 0.5 |
| Strength | |
| Outcome-Reward Mixing Coefficient | 0.5 |
| KG-State Outcome Model | |
| Encoder | bge-large-en-v1.5 |
| Batch Size | 768 |
| Learning Rate | |
| Maximum Input Length | 512 |
| Initial Training Epochs | 16 |
Table 6: Key training and rollout parameters.
C Implementation Details
All experiments are conducted on a server equipped with an Intel Xeon Platinum 8470Q CPU, 128 GB RAM, and four NVIDIA RTX PRO 6000 GPUs, using Python 3.10 and PyTorch 2.8.0. Following recent agentic KGQA methods (Yan et al., 2026; Chen et al., 2026b), each experiment is run once with a fixed random seed of 42. Detailed training and rollout settings are summarized in Table 6. We initially train the KG-state outcome model for 16 epochs. During OACR training, retains at most 8,192 complete rollouts. Every RL iterations, we continue training for one epoch using the current buffer. Each epoch makes one pass over the distinct canonicalized question-state pairs in the buffer, using their recomputed targets . Initial training and subsequent refreshes use a batch size of 768 and a learning rate of . The update procedure is detailed in Appendix F.
D Inference Efficiency Analysis
D.1 Empirical Analysis
Table 7 reports mean input tokens, output tokens, LLM calls, and latency per question. Baseline values are taken from the corresponding papers, except for the KBQA-o1 call counts reported by KBQA-R1 (Sun et al., 2026). In the available same-backbone comparisons on CWQ and WebQSP, OACR reduces output tokens by while achieving higher Hit@1 (Table 1). It also requires fewer LLM calls in several comparisons: with Llama-3.1-8B on WebQSP, OACR averages 3.0 calls per question, compared with 28.8 for the reported baseline. These reductions do not extend uniformly to other cost measures: the two-call Qwen2.5-7B baseline uses fewer input and total tokens on both datasets despite generating more output tokens. Latency is unavailable for the same-backbone baselines, so the reported timings do not establish a relative speedup. The results show that OACR combines shorter outputs with better final-answer quality in the reported comparisons, without invoking the KG-state outcome model during inference.
D.2 Qualitative Analysis
For baselines excluded from the numerical comparison, we analyze the inference procedures described in their papers, separating candidate generation, candidate scoring, and retrieval. Candidate assessments are not equivalent to LLM calls, since multiple candidates may be processed together. This analysis identifies sources of inference-time computation without estimating unreported costs.
OACR. OACR generates KG operations and the final answer along a single interaction trajectory. The KG-state outcome model, operation-credit computation, and token reweighting are used only during training. Inference costs therefore arise from policy generation, KG-tool execution, and processing accumulated observations, without candidate scoring by .
EoG. EoG (Yan et al., 2026) uses outcome and path-refined rewards during RL, without a separate test-time reward evaluator in the described procedure. Its inference cost depends on processing the question and KG input and generating the reasoning and answer. The training reward design alone therefore does not establish an inference-cost difference from OACR.
DPRM. DPRM (Wang et al., 2026b) alternates KG-triple selection and CoT-step generation, using KG-PRM and CoT-PRM for Best-of-N selection. Each iteration assesses KG candidates and CoT candidates, with in the paper. Candidate generation and scoring therefore grow with both the number of iterations and , whereas OACR requires no inference-time PRM assessments or Best-of- selection.
A PREPRINT
| Method | Backbone | CWQ | WebQSP | GrailQA | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Input Tokens | Output Tokens | Latency (s) | LLM Calls | Input Tokens | Output Tokens | Latency (s) | LLM Calls | Input Tokens | Output Tokens | Latency (s) | LLM Calls | ||
| ToG | GPT-4 | 8182.9 | 1486.4 | 96.5 | 22.6 | 6031.2 | 987.7 | 63.1 | 15.9 | 4066.0 | 774.6 | 50.2 | 11.1 |
| PoG | 7803.0 | 353.2 | 23.3 | 13.3 | 5234.8 | 282.9 | 16.8 | 9.0 | 3372.8 | 202.8 | 11.5 | 6.5 | |
| KG-R1 | Qwen2.5-3B | 2894.8 | 311.1 | - | - | 2928.5 | 308.7 | - | - | - | - | - | - |
| OACR | 2677.2 | 179.1 | 7.2 | 3.8 | 2006.0 | 155.2 | 5.5 | 3.0 | 1937.3 | 188.2 | 7.0 | 3.3 | |
| ReknoS | Qwen2.5-7B | 2306.5 | 602.1 | - | - | 2263.9 | 558.4 | - | 7.2 | - | - | - | 10.2 |
| RoG | 960.3 | 259.5 | - | 2 | 567.7 | 247.0 | - | 2 | - | - | - | 2 | |
| KnowCoder-A1 | - | - | - | 5.0 | - | - | - | 3.9 | - | - | - | - | |
| OACR | 2618.5 | 175.7 | 6.8 | 3.8 | 2024.6 | 151.4 | 6.6 | 3.0 | 1973.6 | 181.7 | 6.7 | 3.4 | |
| KBQA-o1 | Llama-3.1-8B | - | - | - | - | - | - | - | 28.8 | - | - | - | 32.3 |
| OACR | 2652.7 | 176.1 | 10.3 | 3.8 | 2020.4 | 148.1 | 8.6 | 3.0 | 1993.8 | 180.1 | 7.3 | 3.4 | |
Table 7: Inference efficiency on CWQ, WebQSP, and GrailQA.
MCTS-KBQA. MCTS-KBQA (Xiong et al., 2025) expands multiple candidate actions and uses an instruction LLM to evaluate new intermediate states. Its computation includes branches outside the final selected path and depends on the expanded nodes, candidates per expansion, and evaluation-prompt lengths. The method bypasses terminal rollout simulation, so branching and intermediate-state evaluation are its main additional computations relative to OACR.
Graph-RFT. Graph-RFT (Song et al., 2026) generates plans and interleaves reasoning with relation search, neighbor search, and Web search when KG information is insufficient. Its inference cost includes planning, tool invocations, and processing retrieved evidence. Web retrieval can add latency and input tokens but may also reduce unsuccessful KG exploration; training rewards do not constitute test-time scoring costs.
SCPRM. SCPRM (Chen et al., 2026a) evaluates candidate KG paths in SCPRM-MCTS using cumulative and schema-aware future rewards. Its scoring cost grows with the number and length of evaluated paths. The search returns endpoints of the highest-scoring paths rather than generating free-form answers, so output tokens alone omit reward-model evaluation during search. OACR does not require this inference-time path-scoring stage.
OACR uses operation credit during training rather than candidate scoring during inference, avoiding the additional scoring computations of DPRM, MCTS-KBQA, and SCPRM. This distinction does not by itself determine latency, which also depends on generation, retrieval, and batching.
E Retrieval Coverage Analysis
Figure 7 compares gold-answer retrieval coverage on CWQ, WebQSP, and GrailQA under the shared Qwen2.5-3B backbone. Partial Coverage (PC) is the percentage of questions for which at least one gold answer entity is returned during KG interaction, whereas Exact Coverage

Figure 7: Retrieval coverage rate on Qwen2.5-3B.
(EC) is the percentage for which the complete gold answer set is returned. OACR achieves the highest PC and EC on all three datasets. On CWQ, OACR reaches 90.1% PC and 87.9% EC, versus 55.9% and 44.1% for PoG. On WebQSP, OACR achieves 92.4% PC and 88.4% EC, exceeding the 77.5% PC of KG-R1 and the 62.5% EC of PoG. On GrailQA, OACR reaches 91.1% PC and 87.3% EC, versus 85.6% and 78.4% for PoG. Overall, OACR retrieves gold answer entities more reliably during KG interaction across all three datasets, showing that its improvement is not limited to final-answer generation.
F KG-State Outcome Model Details
For the KG-state outcome model , we initialize the encoder with bge-large-en-v1.5 and train it over serialized question-state pairs with a maximum input length of 512. Here, contains the ordered KG operations and returned observations up to turn . The encoder receives only the serialized question, KG operations, and KG observations; we do not provide manually designed structural features or use a separate graph encoder. When the serialized input exceeds 512 tokens, it is truncated to fit the encoder input length, while the full canonicalized question-state pair is retained for target aggregation in Appendix G.
The initial rollout buffer is collected using an outcome-only GRPO policy for questions . The OACR policy retains its SFT initialization . After each OACR
A PREPRINT
policy update, we add the sampled rollouts and their outcome rewards to . The buffer has a fixed capacity and retains the most recent rollouts; the initial GRPO rollouts are gradually replaced by OACR rollouts. Rollouts are retained regardless of their outcome rewards.
Every U RL iterations, after the policy update, we recompute from the rollouts currently retained in and continue training the existing with Eq. 13. The updated model scores subsequent newly sampled rollouts. During each policy update, and the cached outcome-reward estimates and token weights are held fixed, and the policy loss does not propagate gradients through them. is not used during inference.
Algorithm 1 fits the KG-state outcome model to a given rollout buffer. Algorithm 2 specifies how this fitting procedure is used before and during OACR policy optimization.
G State-Visit Statistics and Estimated Outcome-Reward Change Analysis
We analyze repeated visits to the canonicalized question-state pairs used to train the KG-state outcome model. For each buffered rollout, every intermediate KG search state contributes one visit to the corresponding question-state pair , while the initial empty state is excluded.
Before aggregating visits, we canonicalize each question-state pair. For each relation-list operation, the action and entity fields are serialized in a fixed order. For each entity-return operation, the action, entity, and relation fields are serialized in a fixed order. Duplicate strings in each returned relation or entity list are removed, and the remaining strings are sorted lexicographically before the returned observation is serialized. The order of KG operations and returned observations across turns is preserved.
Consequently, two question-state pairs are assigned the same aggregation key only when they contain the same question and the same ordered sequence of KG operations and canonicalized returned observations. This canonicalization removes differences caused only by field order, duplicate returned items, or the order of items within a returned list, without changing the KG search state across turns. The full canonicalized question-state pair is used as the aggregation key without observation truncation or lossy hashing. The 512-token maximum input length is applied only to the encoder input and does not affect target aggregation.
Therefore, repeated question-state pairs in Table 8 correspond to exact canonical repeats under these rules rather than collisions caused by truncation or hashing.
As shown in Table 8, the buffer contains 120,144 intermediate-state visits and 33,887 distinct canonicalized question-state pairs. Overall, 76.63% of unique question-state pairs are visited at least twice, and these repeated pairs account for 93.41% of all visits. At Depth 1 and Depth 2, repeated pairs contribute 96.23% and 90.31% of visits, respectively, indicating that early KG search states are frequently revisited. In contrast, at Depth 3 or deeper, 90.27% of unique question-state pairs are singletons, and only 20.39% of visits belong to repeated pairs. However, these deeper states account for only 2,192 of 120,144 visits (1.82%). Overall, most buffered state visits belong to repeated canonicalized question-state pairs, particularly at early search depths, while deeper states are substantially sparser.
We further analyze whether the fitted KG-state outcome model assigns different estimated outcome-reward changes to progressive and non-progressive entity-return operations. To make this diagnostic consistent with Figure 1, we use the same CWQ diagnostic rollouts generated by the Qwen2.5-3B outcome-only GRPO model. For each entity-return operation, we compute using Eq. 14 and assign the distance-based progressive/non-progressive label following Figure 1.
For successful and failed rollouts separately, Avg. and Avg. denote the mean clipped estimated outcome-reward changes over progressive and non-progressive entity-return operations, respectively. Gap denotes their difference, Avg. .
Table 9 reports the average estimated outcome-reward changes for progressive and non-progressive operations in successful and failed rollouts. The class distribution follows Figure 1: non-progressive operations remain frequent in successful rollouts, while progressive operations also occur in failed rollouts. In both groups, progressive operations receive larger estimated outcome-reward changes than non-progressive operations, with gaps of 0.41 and 0.47, respectively. This alignment with the separately defined distance-based labels supports using estimated outcome-reward changes from to reweight, rather than replace, the outcome-level advantage.
H SFT Trajectory Examples
Tables 10, 11, and 12 provide representative SFT trajectories on CWQ, WebQSP, and GrailQA, respectively. Each trajectory follows the serialized interaction format used during inference: the policy generates natural-language reasoning in <think> blocks, issues schema-valid KG operations in <search> blocks, receives returned KG observations in <observation> blocks, and emits the final answer in <answer> blocks. These examples show how SFT initializes the policy to follow the KG-tool schema, select relation directions, copy entity and relation strings from returned KG observations, continue generation conditioned on those observations, and follow the final-answer format. For readability, long relation and entity lists in the returned KG observations are truncated with ellipses.
A PREPRINT
Algorithm 1 Training the KG-State Outcome Model
Input: Initialized KG-state outcome model , rollout buffer , , , optimization budget Output: Updated KG-state outcome model
1: for each do 2: Compute its outcome reward . Eq. 5 3: for do 4: Canonicalize as and record . 5: end for 6: end for 7: Recompute by averaging outcome rewards for repeated in the current buffer. 8: Compute the fitting loss . Eq. 11 9: Compute the temporal ordering regularizer . Eq. 12 10: Optimize with for the specified budget. Eq. 13 11: return .
| Subset | #Visits | #Pairs | Mean | Median | Singleton (%) | Visit-wtd. 2 (%) |
|---|---|---|---|---|---|---|
| All | 120,144 | 33,887 | 3.55 | 4 | 23.37 | 93.41 |
| CWQ | 55,291 | 16,396 | 3.37 | 4 | 25.57 | 92.42 |
| WebQSP | 4,373 | 1,251 | 3.50 | 4 | 25.02 | 92.84 |
| GrailQA | 60,480 | 16,240 | 3.72 | 4 | 21.02 | 94.36 |
| Depth 1 | 88,826 | 22,858 | 3.89 | 4 | 14.65 | 96.23 |
| Depth 2 | 29,126 | 9,096 | 3.20 | 4 | 31.04 | 90.31 |
| Depth 3+ | 2,192 | 1,933 | 1.13 | 1 | 90.27 | 20.39 |
Table 8: Visit-count statistics of canonicalized question-state pairs in the buffered rollouts used to train . The initial empty state is excluded. “Singleton” is the percentage of unique question-state pairs visited once. “Visit-wtd. ” is the percentage of visits contributed by question-state pairs visited at least twice.
I Inference Rollout Examples
To illustrate how the OACR policy issues KG operations during inference, we provide representative successful rollouts from the evaluation sets in Tables 13, 14, and 15. Each example reports the question, gold answer set, predicted answer list, issued KG operations, and returned KG observations. For readability, long returned KG observations are truncated with ellipses.
J Detailed Error Case Analysis
To illustrate the remaining failure modes of OACR, we present three representative failed rollouts in Tables 18, 19, and 17. These rollouts correspond to the major error categories discussed in the main-paper error analysis: Constraint Failure, Path Error, and Answer Mismatch.
K Detailed Results on GrailQA Generalization Splits
Table 16 further reports F1 and Hit@1 on the I.I.D., compositional, and zero-shot splits for methods in Table 1 with available split-wise results. Baselines without reported GrailQA split-wise results are omitted. Across all three backbones, OACR improves over on both F1 and Hit@1 for the I.I.D., compositional, and zero-shot splits. The gains are relatively balanced under Qwen2.5-3B, whereas the two stronger backbones show their largest improvements on the compositional split: 15.6/13.4 F1/Hit@1 points with Qwen2.5-7B and 14.8/11.6 points with Llama-3.1-8B. OACR also substantially improves the overall GrailQA results under each backbone. Overall, OACR consistently improves the SFT-initialized policy across all GrailQA generalization splits, with particularly large gains on the compositional split under the stronger backbones, showing that its improvements do not arise from only one generalization setting.
A PREPRINT
Algorithm 2 Outcome-Anchored Credit Reallocation (OACR)
Input: SFT training set , knowledge graph , RL question distribution , fixed reference policy , rollout group size , RL iterations , initial outcome-only GRPO rollout buffer , refresh interval , buffer capacity, initial and refresh optimization budgets for
Output: Optimized KGQA policy
1: Train the SFT-initialized policy on . Eq. (3)
2: Initialize and fit it to with Algorithm 1.
3: Initialize .
4: for do
5: Set and sample with rollout group . Eq. (4)
6: Compute each outcome reward and outcome-level advantage . Eqs. (5)–(7)
7: for each rollout do
8: Cache for all visited KG search states.
9: Compute estimated outcome-reward changes . Eq. (14)
10: Convert into operation credit conditioned on . Eq. (15)
11: Construct raw token weights and normalize them to . Eqs. (16)–(17)
12: Compute the reallocated token-level advantage . Eq. (18)
13: end for
14: Update using the OACR objective, holding and cached quantities fixed. Eq. 18
15: Add the sampled rollouts and their outcome rewards to ; discard the oldest rollouts if its capacity is exceeded.
16: if then
17: Continue fitting to the current with Algorithm 1.
18: end if
19: end for
20: return
| Group | progressive | non-progressive | Avg. | Avg. | Gap |
|---|---|---|---|---|---|
| Successful rollouts | 34.2% | 65.8% | 0.24 | -0.17 | 0.41 |
| Failed rollouts | 25.3% | 74.7% | 0.21 | -0.26 | 0.47 |
Table 9: Alignment between estimated outcome-reward changes and distance-based progressive/non-progressive labels on the same CWQ diagnostic rollouts used in Figure 1. “Progressive” and “non-progressive” follow the distance-based labels in Figure 1.
A PREPRINT
| System Content | You are a KGQA agent. Reason in <think>...< /think>, issue KG operations in <search>...< /search>, and give the final answer in <answer>...< /answer>.Available KG operations:1. {"action":"get_tail_relations","entity":"<entity_name>"} |
|---|---|
| 2. {"action":"get_tail_entities","entity":"<entity_name>","relation":"<relation_id>"} | |
| 3. {"action":"get_head_relations","entity":"<entity_name>"} | |
| 4. {"action":"get_head_entities","entity":"<entity_name>","relation":"<relation_id>"} | |
| Final answer format: <answer>{"answers":["name1","name2"]}</answer> | |
| User Content | Question: What are the titles of the members of the office of William R. King?Start entities: William R. King |
| Assistant Content | <think>I need to inspect incoming relations for "William R. King". </think><search>{"action":"get_head_relations","entity":"William R. King"}</search> |
| User Content | <observation> {"relations":["government.government_position_held.office_holder","government.political_party_tenure.politician","government.us_president.vice_president","people.place_lived.person","book.written_work.author",...]} </observation>Based on the observation, continue reasoning in <think> tags and issue your next KG operation in <search> tags, or provide the final answer in <answer> tags. |
| Assistant Content | <think>The relation "government.government_position_held.office_holder" connects government-position records to their office holder. I will follow it from "William R. King" to obtain the related office-title information. </think><search>{"action":"get_head_entities","entity":"William R. King","relation":"government.government_position_held.office_holder"}</search> |
| User Content | <observation> {"entities":["Alabama","United States Senate","Senator","Chief of staff","President of the Senate","State Senator","United States of America","United States Senator","26th United States Congress","27th United States Congress","28th United States Congress",...]} </observation>Based on the observation, continue reasoning in <think> tags and issue your next KG operation in <search> tags, or provide the final answer in <answer> tags. |
| Assistant Content | <think>The latest entity observation contains the required office-title answers, so I can answer directly. </think><answer>{"answers":["Senator","Chief of staff","President of the Senate","State Senator"]}</answer> |
| Gold Answer | "Senator","Chief of staff","President of the Senate","State Senator" |
Table 10: SFT trajectory example on CWQ.
A PREPRINT
| System Content | You are a KGQA agent. Reason in <think>...< /think>, issue KG operations in <search>...< /search>, and give the final answer in <answer>...< /answer>.Available KG operations:1. {"action":"get_tail_relations","entity":"<entity_name>"} |
|---|---|
| 2. {"action":"get_tail_entities","entity":"<entity_name>","relation":"<relation_id>"} | |
| 3. {"action":"get_head_relations","entity":"<entity_name>"} | |
| 4. {"action":"get_head_entities","entity":"<entity_name>","relation":"<relation_id>"} | |
| Final answer format: <answer>{"answers":["name1","name2"]}</answer> | |
| User Content | Question: who is the senator of the united states 2010?Start entities: United States of America |
| Assistant Content | <think>I need to inspect outgoing relations for "United States of America". </think><search>{"action":"get_tail_relations","entity":"United States of America"}</search> |
| User Content | <observation> {"relations":["military.military_combatant.military_commanders","government.political_district.representatives","location.location.people_born_here","location.country.fips10_4","government.governmental_jurisdiction.governing_officials","military.military_combatant.belongs_to_combatant_group","olympics.olympic_participating_country.athletes","military.military_combatant.casualties","military.military_combatant.armed_forces","location.location.events", ...]} </observation>Based on the observation, continue reasoning in <think> tags and issue your next KG operation in <search> tags, or provide the final answer in <answer> tags. |
| Assistant Content | <think>The relation "government.governmental_jurisdiction.governing_officials" is relevant, so I will follow it from "United States of America". </think><search>{"action":"get_tail_entities","entity":"United States of America","relation":"government.governmental_jurisdiction.governing_officials"}</search> |
| User Content | <observation> {"entities":["New York","United States Senate","Edward Murphy, Jr.","Senator","1893-03-04","United States Senator","1899-03-03","53rd United States Congress","55th United States Congress","54th United States Congress","Tennessee","Felix Grundy","1839-12-14","1840-12-19","26th United States Congress","South Carolina","Robert Rhett","1850-12-18","1852-05-07","32nd United States Congress","31st United States Congress","California","James D. Phelan","1915-03-04","1921-03-04","Alabama","Henry H. Chambers","1825-03-04","1826-01-24","19th United States Congress",...]} </observation>Based on the observation, continue reasoning in <think> tags and issue your next KG operation in <search> tags, or provide the final answer in <answer> tags. |
| Assistant Content | <think>The latest entity observation contains the answer name(s), so I can answer directly.</think><answer>{"answers":["Jeanne Shaheen","Daniel Inouye","Robert Byrd","Harry Reid","John Barrasso","Jon Kyl","John McCain","Blanche Lincoln","Bernie Sanders","Tim Johnson","Kirsten Gillibrand"]}</answer> |
| Gold Answer | "Jeanne Shaheen","Daniel Inouye","Robert Byrd","Jefferson Sessions","Mark Warner","Harry Reid","Russ Feingold","Tom Udall","Jeff Bingaman","Sheldon Whitehouse","Lisa Murkowski","Claire McCaskill","Scott Brown","Chuck Schumer","Tom Harkin", ... |
Table 11: SFT trajectory example on WebQSP.
A PREPRINT
| System Content | You are a KGQA agent. Reason in <think>...< /think>, issue KG operations in <search>...< /search>, and give the final answer in <answer>...< /answer>.Available KG operations:1. {"action":"get_tail_relations","entity":"<entity_name>"} |
|---|---|
| 2. {"action":"get_tail_entities","entity":"<entity_name>","relation":"<relation_id>"} | |
| 3. {"action":"get_head_relations","entity":"<entity_name>"} | |
| 4. {"action":"get_head_entities","entity":"<entity_name>","relation":"<relation_id>"} | |
| Final answer format: <answer>{"answers":["name1","name2"]}</answer> | |
| User Content | Question: what venture funded company has chief executive in its organization leadership?Start entities: chief executive |
| Assistant Content | <think>I need to inspect incoming relations for "chief executive". </think><search>{"action":"get_head_relations","entity":"chief executive"}</search> |
| User Content | <observation>{"relations":["organization.leadership.role","organization.organization.founders","organization.organization_board_membership.role","organization.email_contact.category","business.employment_tenure.company","business.employment_tenure.title","projects.project_participation.role","fictional_universe.fictional_employment_tenure.title","people.person.profession","fictional_universe.fictional_character.rank","fictional_universe.fictional_character.occupation","book.written_work.subjects","measurement_unit.dated_integer.source"]}</observation>Based on the observation, continue reasoning in <think> tags and issue your next KG operation in <search> tags, or provide the final answer in <answer> tags. |
| Assistant Content | <think>The relation "organization.leadership.role" is relevant, so I will follow it from "chief executive". </think><search>{"action":"get_head_entities","entity":"chief executive","relation":"organization.leadership.role"}</search> |
| User Content | <observation>{"entities":["2014-07-17","Mothercare","Mark Newton-Jones","Chief Executive Officer","2009","Embarq Corporation","Glen F. Post, III","President & CEO","OneLink Communications","Ron Dorchester","2000","Scripps Health","Chris Van Gorder","President and CEO","2011-09-01","Sony Computer Entertainment International","Andrew House","President and Chief Executive Officer","2006-06","Spirit AeroSystems","Jeffrey L Turner","2013-04","2011-02-28","Veda","Nerida Caesar","2012-05-01","Suncor Energy","Steve Williams","2007-08-06","CEVA Logistics",...}</observation>Based on the observation, continue reasoning in <think> tags and issue your next KG operation in <search> tags, or provide the final answer in <answer> tags. |
| Assistant Content | <think>The latest entity observation contains the answer name(s), so I can answer directly.</think><answer>{"answers":["Nodality","Guidewire Software","Amec Foster Wheeler","Aricent","LinkedIn Corporation","Audible Inc","StumbleUpon","Comcast","Synaptics","ZoomInfo","Nokia","eBags.com","StrongMail Systems"]}</answer> |
| Gold Answer | "Nodality","Guidewire Software","Jamba Juice","Megapath","Apple Inc.","Yelp","Micron Technology","Amec Foster Wheeler","Genomic Health Inc.","Juniper Networks","Digital Chocolate","Gilt Groupe","Hi5 Networks, Inc.","Genzyme","Sulake",... |
Table 12: SFT trajectory example on GrailQA.
A PREPRINT
| Dataset | CWQ |
|---|---|
| Question | Lou Seal is the mascot for the team that last won the World Series when? |
| Answer | Gold: 2014 World Series; Pred: 2014 World Series |
| Turn 1 | Assistant:I need to inspect incoming relations for “Lou Seal”. |
| <search>{"action":"get_head_relations","entity":"Lou Seal"}</search> | |
| Observation: {"relations":"sports.sports_team.team_mascot"} | |
| Turn 2 | Assistant:The relation “sports.sports_team.team_mascot” is relevant, so I will follow it from “Lou Seal”. |
| <search>{"action":"get_head_entities","entity":"Lou Seal","relation":"sports.sports_team.team_mascot"}</search> | |
| Observation: {"entities":"[“San Francisco Giants”]} | |
| Turn 3 | Assistant:I need to inspect outgoing relations for “San Francisco Giants”. |
| <search>{"action":"get_tail_relations","entity":"San Francisco Giants"}</search> | |
| Observation: {"relations":"sports.sports_team.team_mascot", "baseball.baseball_team.division", "sports.sports_team.championships", "sports.sports_team.location", "sports.sports_team.founded", ...} | |
| Turn 4 | Assistant:The relation “sports.sports_team.championships” is relevant, so I will follow it from “San Francisco Giants”. |
| <search>{"action":"get_tail_entities","entity":"San Francisco Giants","relation":"sports.sports_team.championships"}</search> | |
| Observation: {"entities":"[“2010 World Series”, “2012 World Series”, “2014 World Series”]} | |
| Final Answer | <answer>{"answers":"[“2014 World Series”]}</answer> |
Table 13: OACR inference trajectory on CWQ.
| Dataset | WebQSP |
|---|---|
| Question | what does jamaican people speak? |
| Answer | Gold: Jamaican English; Jamaican Creole English Language; Pred: Jamaican Creole English Language; Jamaican English |
| Turn 1 | Assistant:I need to inspect outgoing relations for “Jamaica”. |
| <search>{"action":"get_tail_relations","entity":"Jamaica"}</search> | |
| Observation: {"relations":"location.country.languages_spoken", "location.country.official_language", "location.location.people_born_here", "location.country.national_anthem", "location.country.capital", ...} | |
| Turn 2 | Assistant:The relation “location.country.languages_spoken” is relevant, so I will follow it from “Jamaica”. |
| <search>{"action":"get_tail_entities","entity":"Jamaica","relation":"location.country.languages_spoken"}</search> | |
| Observation: {"entities":"[“Jamaican Creole English Language”, “Jamaican English”]} | |
| Final Answer | <answer>{"answers":"[“Jamaican Creole English Language”, “Jamaican English”]}</answer> |
Table 14: OACR inference trajectory on WebQSP.
A PREPRINT
| Dataset | GrailQA |
|---|---|
| Question | which play is produced by the illusion? |
| Answer | Gold: The Illusion; Pred: The Illusion |
| Turn 1 | Assistant:I need to inspect outgoing relations for “The Illusion”. |
| Observation: {“relations”:["theater.theater_production.play”, "theater.theater_production.date_opened”, "theater.theater_production.producing_company”, "theater.theater_production.director”, "theater.theater_production.theater_productionVenue_relationship”, "theater.theater_production.designers”, "award.award_nominated_work.award_nominations”]} | |
| Turn 2 | Assistant:The relation “theater.theater_production.play” is relevant, so I will follow it from “The Illusion”. |
| Observation: {“entities”:["The Illusion”]} | |
| Final Answer | <answer>{"answers":["The Illusion”]}</answer> |
Table 15: OACR inference trajectory on GrailQA.
| Method | I.I.D. | Compositional | Zero-shot | Overall | ||||
|---|---|---|---|---|---|---|---|---|
| F1 | Hit@1 | F1 | Hit@1 | F1 | Hit@1 | F1 | Hit@1 | |
| Training-free Methods | ||||||||
| Qwen2.5-3B | 13.5 | 15.8 | 6.7 | 8.6 | 12.4 | 14.8 | 11.6 | 13.8 |
| Qwen2.5-7B | 9.9 | 12.5 | 8.8 | 11.6 | 16.8 | 18.9 | 13.6 | 15.9 |
| Llama-3.1-8B | 14.4 | 17.5 | 10.0 | 12.6 | 21.9 | 26.0 | 17.7 | 21.3 |
| ToG (Sun et al., 2024) | - | 79.4 | - | 67.3 | - | 86.5 | - | 81.4 |
| PoG (Chen et al., 2024) | - | 87.9 | - | 69.7 | - | 88.6 | - | 84.7 |
| Training-based Methods | ||||||||
| — backbone: Qwen2.5-3B — | ||||||||
| 78.7 | 86.7 | 53.2 | 62.6 | 76.8 | 81.5 | 72.6 | 79.0 | |
| OACR | 82.0 | 89.0 | 57.3 | 68.7 | 79.0 | 84.3 | 75.4 | 82.3 |
| — backbone: Qwen2.5-7B — | ||||||||
| KnowCoder-A1 (Chen et al., 2026b) | 81.1 | - | 70.6 | - | - | - | - | 80.5 |
| 79.6 | 85.4 | 53.2 | 63.6 | 81.2 | 85.8 | 75.3 | 81.3 | |
| OACR | 85.8 | 90.2 | 68.8 | 77.0 | 86.0 | 91.1 | 82.5 | 88.1 |
| — backbone: Llama-3.1-8B — | ||||||||
| KBQA-o1 (Luo et al., 2025) | 85.5 | - | 77.6 | - | 76.1 | - | 78.5 | - |
| 81.6 | 87.9 | 53.4 | 68.2 | 81.6 | 85.6 | 76.0 | 82.7 | |
| OACR | 87.5 | 92.1 | 68.2 | 79.8 | 86.7 | 91.1 | 83.2 | 89.1 |
Table 16: Detailed performance comparison on the I.I.D., compositional, zero-shot, and overall splits of GrailQA.
A PREPRINT
| Dataset | GrailQA |
|---|---|
| Question | 30 geminorum is a star in which constellation? |
| Answer | Gold: Gemini; Pred: Pollux, Mu Geminorum, 30 Geminorum, Rho Geminorum, Epsilon Geminorum, ... |
| Reasoning Trajectory | Turn 1 – Assistant<think>I need to inspect incoming relations for "30 Geminorum".</think><search>{"action":"get_head_relations","entity":"30 Geminorum"}</search>Observation{“relations”:["astronomy.constellation.contains"]}Turn 2 – Assistant<think>The relation "astronomy.constellation.contains" is relevant, so I will follow it from "30 Geminorum".</think><search>{"action":"get_head_entities","entity":"30 Geminorum","relation":"astronomy.constellation.contains"}</search>Observation{“entities”:["Gemini"]}Turn 3 – Assistant<think>I need to inspect outgoing relations for "Gemini".</think><search>{"action":"get_tail_relations","entity":"Gemini"}</search>Observation{“relations”:["astronomy.constellation.bordering_constellations_new", "astronomy.constellation.meteor_showers", "astronomy.constellation.contains", "astronomy.constellation.galaxies_observed_in_constellation"]}Turn 4 – Assistant<think>The relation "astronomy.constellation.contains" is relevant, so I will follow it from "Gemini".</think><search>{"action":"get_tail_entities","entity":"Gemini","relation":"astronomy.constellation.contains"}</search>Observation{“entities”:["Pollux", "Mu Geminorum", "30 Geminorum", "Rho Geminorum", "Gemini", "Epsilon Geminorum", "Gamma Geminorum", "Delta Geminorum", "Zeta Geminorum", "Tau Geminorum", ...]} |
| Failure Point | The gold answer Gemini is already obtained in Turn 2. However, the model does not stop and instead continues to expand from Gemini through astronomy.constellation.contains. This extra hop changes the target from the constellation to the stars contained in that constellation, leading to an over-expanded answer list rather than the required constellation name. |
Table 17: Case study of ANSWER MISMATCH.
| Dataset | CWQ |
|---|---|
| Question | What organization founded after 1552 is the school JRR Tolkien attended? |
| Answer | Gold: St. Philip’s School; Pred: University of Oxford |
| Reasoning Trajectory | Turn 1 – Assistant<think>I need to inspect outgoing relations for “J. R. R. Tolkien”.</think><search>{"action":"get_tail_relations","entity":"J. R. R. Tolkien"}</search>Observation{“relations”:["people.person.education", "organization.organization_member.member_of", "organization.organization_founder.organizations_founded", "book.author.openlibrary_id", ...]}Turn 2 – Assistant<think>The relation “people.person.education” is relevant, so I will follow it from “J. R. R. Tolkien”.</think><search>{"action":"get_tail_entities","entity":"J. R. R. Tolkien","relation":"people.person.education"}</search>Observation{“entities”:["King Edward’s School, Birmingham", "J. R. R. Tolkien", "St. Philip’s School", "University of Oxford", "Exeter College, Oxford", "First Class Honours", "1915", "English Language", "1911-10"]} |
| Failure Point | The gold answer St. Philip’s School is already retrieved in Turn 2, but the model finally selects University of Oxford. The failure comes from not applying the question constraint founded after 1552 when choosing among the retrieved education candidates. |
Table 18: Case study of CONSTRAINT FAILURE.
A PREPRINT
| Dataset | WebQSP |
| Question | which is the main train station in Rome? |
| Answer | Gold: Roma Termini railway station; Pred: Rome Metro |
| Reasoning Trajectory | Turn 1 – Assistant<think>I need to inspect outgoing relations for “Rome”.</think><search>{"action":"get_tail_relations","entity":"Rome"}</search>Observation{{“relations”:["travel.travel_destination.how_to_get_here", "travel.travel_destination.local_transportation", "travel.travel_destination.tourist_attractions", "location.location.contains", "location.location.nearby_airports", "location.dated_location.date_founded", ...]} |
| Failure Point | Turn 2 – Assistant<think>The relation “travel.travel_destination.local_transportation” is relevant, so I will follow it from “Rome”.</think><search>{"action":"get_tail_entities","entity":"Rome","relation":"travel.travel_destination.local_transportation"}</search>Observation{{“entities”:["ATAC SpA", "Rome Metro"]}} |
Table 19: Case study of PATH ERROR.