Manuscript Offprint
arXiv:2608.30437Graph Evidence Is Not Enough: Diagnosing Native Decoder Use in Graph-Augmented LLMs
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Graph-augmented large language models often assume that graph evidence produced by external computation and placed in the input can be used by the native decoder. We test this assumption with HopQA, a deliberately bounded diagnostic that asks for the shortest-hop distance between two query nodes. Because the answer is a small integer and the target is purely topological, failure cannot be dismissed as open-ended generation or ambiguous evaluation. Yet existing graph-augmented baselines still fail on this setting, showing that providing graph evidence is not the same as making it usable. We introduce an intervention triangle with three matched conditions: readable graph evidence, shuffled graph evidence, and no-graph input. This separates evidence inclusion, structural readability, and decoder-usable topology. Guided by this diagnosis, we present S²GE as an instance showing that diagnosis-driven interface design can improve native decoder usability. S²GE uses query-aware sampling, endpoint and proximity-based ordering, and structure-preserving alignment. Across DBLP, Biomedical, GoodReads, and PubMed, S²GE achieves strict exact-match scores of 36.5%, 57.8%, 76.6%, and 52.0%, improving over the strongest native-generation baseline by 53.5 points on average. The interventions further reveal harmful-shuffle, shuffle-robust, and no-graph-saturated regimes.
1 Introduction
External execution is the right abstraction for deterministic graph computation: shortest paths, reachability, and neighborhood queries are better handled by graph algorithms than by free-form generation. Even if future graph-language systems delegate such computation to external executors, an interface problem remains: task-relevant graph structure must be translated into representations that the model can read and use. Sampling, serialization, projection, and role ambiguity can distort this translation before the decoder acts. We use HopQA as a bounded probe of this translation fidelity, measuring whether externally produced graph evidence survives the graph-to-decoder interface well enough to support an exact native answer.
Graph-augmented LLMs expose graph structure to language models before generation. Existing surveys describe common interface forms, including graph as text, graph tokens, graph-enhanced generation, and LLM-only prompting (Ren et al., 2024; Li et al., 2024). Representative systems fol-

Figure 1: HopQA as a bounded topology diagnostic for testing graph-evidence use on the native generation surface.
Corresponding author.
low this dependency through different interfaces: G-Retriever retrieves graph evidence, and LLaGA maps graph structure into tokens for the decoder (He et al., 2024; Chen et al., 2024). In each case, the decoder must turn exposed evidence into an answer.
To validate whether such evidence becomes usable, Hop-count question answering (HopQA) tests the graph-to-decoder path in a compact form. Given a source node and a target node, the model must generate their shortest hop distance from exposed graph evidence. We evaluate this with strict exact match, an existing standard under which current baselines fail. HopQA therefore asks whether exposed graph evidence can become an exact generated answer through ordinary decoding. Figure 1 summarizes this evidence-to-answer workflow.
Under this test, existing graph-augmented LLMs fail sharply on the Core-HopQA family: DBLP and PubMed cover citation-style graphs, Biomedical covers a dense biomedical relation graph, and GoodReads covers a recommendation-style graph. G-Retriever obtains strict EM across these four domains, and LLaGA remains near zero. Graph evidence reaches the decoder, while exact hop answers remain absent from the native output. On the same examples, graph-only classifiers and SubgraphRAG retrieval-execution checks extract hop signal from graph structure and retrieved evidence graphs. The second evaluation family, Auxiliary Graph Diagnostics, then probes path witnesses, graph-token interventions, and adjacency transfer.
This gap points to three interface requirements: relevant structure must enter the bounded evidence budget, endpoint roles must remain readable, and projection should preserve local adjacency. We propose Sampling-First Structured Graph Encoding (S GE) with query-aware sampling, role-based perception, and adjacency-based alignment. Sampling comes first to expose endpoint-conditioned evidence; readable, absent, and shuffled graph conditions then test how evidence organization changes the decoder's answer state.
The paper makes three contributions.
• A diagnostic gap between graph evidence and native decoder use. We identify a gap between graph evidence reaching the decoder and exact hop answers appearing in native generation. On HopQA, trained graph-augmented LLM baselines fail under strict exact match even though the answer space is bounded and graph signal can be extracted.
• A diagnostic design for separating graph signal from decoder use. We design a diagnostic protocol that separates signal existence, evidence exposure, retrieval-execution recovery, and native generation. The readable/no-graph/shuffled intervention triangle is the graph-token tool used inside this protocol.
• Residual graph signal in generated outputs. We expose measurable residual effects of graph-token changes on generated answers, allowing us to distinguish helpful residue, harmful residue, and output collapse across data regimes.
From visible evidence to readable interfaces. Visible evidence becomes useful only when its organization is readable to the decoder. GraCoRe and GraphOmni provide benchmark-level evidence that graph reasoning performance is sensitive to task format, prompt design, and evaluation coverage (Yuan et al., 2025; Xu et al., 2026). GraphArena,
GraphEval36K, and recent graph-generation evaluations extend the same concern to algorithmic graph computation, code-style graph tasks, and structural generation (Tang et al., 2025; Wu et al., 2025; Demirci et al., 2025). For learned interfaces, Hoyle et al. (2021) show that graph-to-text models are sensitive to alternative graph linearizations. Zhang et al. (2026c) further revisit graph-tokenized language models and show that compression alone does not guarantee graph understanding. The most direct readability anchor is Chaudhary et al. (2026): GRAFF uses graph-augmented fine-grained fusion to preserve node-level and relation-level cues. Recent graph-token and graph-foundation-model work explores discrete graph tokenization and reconstructive graph instruction tuning (Guo et al., 2026; Zhang et al., 2026b; Xiang et al., 2026a). Graph foundation models and KG foundation models extend the same interface problem to graph-language pretraining and semantic KG transfer (Wang et al., 2025a; Arun et al., 2025; Kong et al., 2025). These systems improve graph exposure and evaluation breadth, while final scores can still hide whether errors come from missing evidence, unreadable organization, or the generation surface.
From readable evidence to native usability. Many graph reasoning systems strengthen task performance by adding external execution, symbolic traversal, tool calls, candidate scoring, constrained decoding, or supervised reasoning traces. Graph-CoT and KG-CoT add reasoning traces over graphs or knowledge graphs (Jin et al., 2024; Zhao et al., 2024). KiRAG and HopRAG strengthen retrieval-reasoning pipelines for knowledge-driven or logic-aware QA (Fang et al., 2025; Liu et al., 2025). MIAoG uses multi-view adaptive reasoning for KG-enhanced LLMs (Zhang et al., 2026a), and GLOW combines GNN candidate prediction with LLM prompting for open-world KGQA (Abdallah et al., 2026). GraphPile and G1 show that graph problems can also be used as training or reinforcement-learning data for broader graph reasoning (Zhang et al., 2025a; Guo et al., 2025). These approaches are effective for graph tasks, while their final answers may come from execution or scoring surfaces different from ordinary decoding. Bounded structural queries therefore isolate native usability: when graph signal is visible and organized, can the decoder itself produce a legal and correct structural answer? Output-state audits connect this question to language-generation development studies (Holtzman et al., 2020; Welleck et al., 2020).
3 Bounded Graph-Signal Diagnosis
HopQA serves as a bounded diagnostic of structural-evidence usability across the graph-to-decoder interface and covers only a controlled slice of graph reasoning. The task is bounded in its answer space, exposed evidence budget, interface content, and native generation surface. These restrictions separate graph-signal existence, evidence exposure, interface readability, and decoder use. Each example contains a graph , a query , and a gold answer , where . The model receives a bounded graph interface built from a sampled subgraph and must generate the exact hop label through ordinary decoding. Appendix A provides a notation reference table for the full paper.
For a query , a sampler with node budget B produces a sampled subgraph
The graph interface exposed to the language model is
where is the ordered sequence of projected graph tokens, and contains input-computable annotations such as endpoint roles, local degree, and ordering keys. The decoder succeeds when it generates the exact hop answer from this interface. We write
This quantity states the diagnostic event: exposed graph evidence becomes useful when ordinary generation produces the correct hop label.
Appendix E.1 gives the formal statements behind the diagnostic. For simple loopless unweighted graphs, all-pair hop counts determine adjacency because an edge exists exactly when the hop distance is one. Five-choice HopQA is a bounded slice of this distance query. In the main text, this fact motivates HopQA as a compact graph-structure test.
Hypothesis 1: graph signal exists before decoder use. The first question is how much hop signal can be extracted from graph evidence outside native generation. We compare ordinary generation

Figure 2: Workflow of the S GE sampling-first graph-token interface. The data flow follows three linked interface conditions: (a) query-aware sampling selects bounded endpoint-conditioned evidence, (b) role-based perception orders and annotates sampled nodes so endpoint roles and local proximity are readable, and (c) adjacency-based alignment regularizes projected tokens so sampled adjacency remains visible after projection.
with graph-based controls that use graph structure directly. Let be the set of graph controls, such as a GNN hop classifier and SubgraphRAG retrieval-execution checks over retrieved evidence. For method m, let denote its ordinary generation path. We define the positive signal-use gap as
A positive marks hop signal extracted by graph controls beyond the ordinary generation path. This separates graph-signal recovery from decoder use.
Model scale and interface boundaries. A larger backbone may improve optimization, instruction following, or robustness to imperfect serialization. However, scaling acts only after the exposed interface has been constructed. For any decoder family that observes an example solely through , distinctions removed by sampling or representation cannot be reconstructed from decoder capacity alone. Proposition 2 formalizes this interface-conditioned upper bound, and Corollary 2.1 shows that it holds across decoder scales. We therefore distinguish scale-sensitive decoder failure from interface-induced information loss. Our single-backbone experiments characterize the former only for LLaMA-3-8B-Instruct, whereas the latter motivates the interface principles studied here independently of backbone size.
Hypothesis 2: decoder use depends on readable interface conditions. After graph signal is established, evidence organization becomes the next question. We describe the interface by three measurable conditions:
Here measures whether evidence related to the query endpoints enters the bounded sample. In experiments, it is audited by endpoint coverage and path recall. measures whether the decoder can distinguish the source, the target, nearby nodes, and context nodes. It is tested by role and query ablations. measures whether projected graph tokens retain local adjacency in the sampled graph. It is tested by frozen adjacency probes.
These conditions are ordered: sampling controls what can be seen, role perception makes sampled nodes readable, and alignment preserves sampled adjacency. Removing a limiting condition should therefore degrade native generation.
Hypothesis 3: interface changes shift the generated answer distribution. In error-prone domains, unreadable interfaces can expose distinct answer-state regions. For each generated answer , we record diagnostic labels such as correct legal answer, wrong legal answer, illegal answer, long-digit continuation, or malformed output. These audits need not form a mutually exclusive partition. For a chosen categorical mapping and interface condition , define
| Method | Decision surface | Domain | StrictEM ↑ | parsedEM ↑ | ΔChance ↑ | SingleInt ↑ | Dom.Ans. ↓ |
|---|---|---|---|---|---|---|---|
| Random | uniform legal guess | all | 20.0 | 20.0 | 0.0 | 100.0 | 20.0 |
| Majority | fixed majority label | all | 20.0 | 20.0 | 0.0 | 100.0 | 100.0 |
| G-Retriever | native generation | DBLP | 0.0±0.0 | 23.2±4.4 | -20.0±0.0 | 0.0±0.0 | 38.0±4.5 |
| G-Retriever | native generation | Biomedical | 0.0±0.0 | 45.8±4.4 | -20.0±0.0 | 0.0±0.0 | 31.3±6.8 |
| G-Retriever | native generation | GoodReads | 0.0±0.0 | 41.3±2.6 | -20.0±0.0 | 0.0±0.0 | 34.8±4.4 |
| G-Retriever | native generation | PubMed | 0.0±0.0 | 20.3±0.8 | -20.0±0.0 | 0.0±0.0 | 31.6±2.5 |
| LLaGA | native generation | DBLP | 2.3±2.1 | 12.6±1.7 | -17.7±2.1 | 10.5±8.7 | 29.9±3.1 |
| LLaGA | native generation | Biomedical | 0.0±0.0 | 20.8±2.0 | -20.0±0.0 | 0.0±0.0 | 45.6±16.9 |
| LLaGA | native generation | GoodReads | 6.8±5.5 | 16.8±2.8 | -13.2±5.5 | 35.5±26.6 | 40.3±4.1 |
| LLaGA | native generation | PubMed | 0.0±0.0 | 6.8±5.6 | -20.0±0.0 | 0.0±0.0 | 27.7±3.3 |
| Pure GNN | graph-only classifier | DBLP | 32.1 | 32.1 | +12.1 | 100.0 | - |
| Pure GNN | graph-only classifier | Biomedical | 27.8 | 27.8 | +7.8 | 100.0 | - |
| Pure GNN | graph-only classifier | GoodReads | 42.5 | 42.5 | +22.5 | 100.0 | - |
| Pure GNN | graph-only classifier | PubMed | 45.3 | 45.3 | +25.3 | 100.0 | - |
| SubgraphRAG | retrieval execution | DBLP | 24.9 | 24.9 | +4.9 | 100.0 | - |
| SubgraphRAG | retrieval execution | Biomedical | 20.5 | 20.5 | +0.5 | 100.0 | - |
| SubgraphRAG | retrieval execution | GoodReads | 58.2 | 58.2 | +38.2 | 100.0 | - |
| SubgraphRAG | retrieval execution | PubMed | 50.5 | 50.5 | +30.5 | 100.0 | - |
| S2GE | native generation | DBLP | 36.5±1.6 | 36.5±1.6 | +16.5±1.6 | 100.0±0.0 | 27.4±2.9 |
| S2GE | native generation | Biomedical | 57.8±0.9 | 57.8±0.9 | +37.8±0.9 | 100.0±0.0 | 28.4±0.3 |
| S2GE | native generation | GoodReads | 76.6±0.9 | 76.6±0.9 | +56.6±0.9 | 100.0±0.0 | 24.0±1.2 |
| S2GE | native generation | PubMed | 52.0±3.4 | 52.0±3.4 | +32.0±3.4 | 100.0±0.0 | 28.7±1.9 |
Table 1: HopQA main results. Values are percentages. G-Retriever, LLaGA, and SGE use ordinary generation; Pure GNN and SubgraphRAG are numeric graph-control paths, so ParsedEM equals EM and SingleInt is 100%. Dom.Ans. is omitted for these controls because their sampled output distributions are unavailable. Chance is StrictEM minus the 20% random/majority rate. Additional controls and path-found rates are in Appendix C, Table 16.
We also track dominant-answer concentration,
Readable, no-graph, and shuffled interfaces are denoted by , , and . These diagnostics separate helpful residue, harmful residue, and stable failure modes in generated answers.
These three hypotheses define the bounded-HopQA diagnostic: graph signal can be extracted before decoder use, exposed evidence must remain readable, and interface changes can shift bounded output states. The proof sketch and formal propositions are given in Appendix E.1; Section 4 tests the hypotheses empirically.
3.1 SGE: Sampling-First Structured Graph Encoding
We propose Sampling-First Structured Graph Encoding (SGE). The method follows the order of the three interface conditions: include query-related evidence, make sampled nodes readable, and preserve local adjacency after projection. Figure 2 gives the workflow.
Query-aware sampling. The sampler first places the query endpoints into the sampled evidence when they are available. It then expands locally around endpoint-relevant and high-degree nodes. The output is a bounded subgraph . This step targets . It decides which part of the graph can be seen by the decoder.
Role-based perception. Following topology-aware graph prompting and tokenization methods (Fatemi et al., 2024; Chen et al., 2024; Zhang et al., 2026c), SGE attaches query-conditioned roles to sampled nodes before projection reaches the decoder. Like these topology-aware interfaces, the role channel packages endpoint identity, local proximity, and neighborhood salience as readable token features. The ordering function uses source and target roles, local proximity to the endpoints, degree, and a stable traversal index:
Here gives endpoint and context roles, and are local distances inside the sampled subgraph, and is a stable traversal index. This step targets by presenting the source, target, nearby nodes, and context nodes as distinguishable positions in the token sequence.
Adjacency-based alignment. Projection can weaken local edges in the sampled graph. To preserve this local structure, adds an alignment loss on the projected graph tokens. Let be the matrix of projected node tokens. Let be the sampled adjacency matrix, let , and let
be the normalized adjacency target. The alignment loss is
where norm( ) applies row-wise normalization. This step targets . It encourages adjacent sampled nodes to remain close in projected token space.
3.2 Training Objective and Diagnostics
Following the interface coordinates , we optimize native answer generation together with sampled-adjacency preservation. The training objective is
where is fixed by validation and
is the standard token-level negative log-likelihood of the target answer sequence. Implementation details are given in Appendix C.
4 Experiments
We evaluate two named families: Core-HopQA domains for native hop-label generation, and Auxiliary Graph Diagnostics for signal extraction, path evidence, intervention behavior, and adjacency transfer. Together, they test whether exposed graph evidence becomes readable and usable under native generation.
4.1 Experimental Setup
Datasets. Core-HopQA is constructed from public graph sources: GRBench domains (Jin et al., 2024) for DBLP, Biomedical, and GoodReads, and Planetoid/PubMed (Yang et al., 2016) for PubMed. The domains include citation-style graphs (DBLP and PubMed), a biomedical relation graph (Biomedical), and a recommendation-style graph (GoodReads). These categories test whether topology evidence remains usable across bibliographic, biomedical, and recommendation settings. Dataset sources, graph statistics, split construction, and chance baselines are reported in Appendix B, Table 8. All domains use a balanced five-label protocol, giving random and majority prediction a 20% expected accuracy.
Baselines. We group baselines by decision surface. G-Retriever and LLaGA are native-generation baselines (He et al., 2024; Chen et al., 2024). Pure GNN is a graph-only control. SubgraphRAG is the retrieval-execution control (Li et al., 2025). Legal-choice, raw-text, and Graph-CoT controls are reported in Appendix C, Table 16. All trainable S GE runs use the same maximum 12-epoch schedule with early-stopping patience 6; G-Retriever and LLaGA are evaluated using their released implementations and checkpoints, including method-specific optimization settings.
Metrics. StrictEM is the primary native-usability metric:
parsedEM audits first-integer traces,
and the positive signal-use gap is
Table 1 also reports SingleIntRate and DominantAnswerRate as output-state audits; full metric definitions are in Appendix B, Table 11.
4.2 Native Decoder Usability on Core-HopQA
To verify native decoder usability, we evaluate these metrics on Core-HopQA.
Table 1 shows that G-Retriever obtains strict EM across Core-HopQA, while LLaGA stays near zero. S GE reaches 36.5–76.6% strict EM, corresponding to Chance gains of +16.5, +37.8, +56.6, and +32.0 on DBLP, Biomedical, GoodReads, and PubMed. Its DominantAnswerRate remains close to a balanced answer surface, unlike majority fallback. Pure GNN
| Method | Answer Acc. | First-hop Joint |
|---|---|---|
| Pure GNN path-witness control | 48.4±0.8 | 40.4±2.3 |
| path-witness | 96.6±1.4 | 59.8±0.4 |
Table 2: PubMed path-witness diagnostic. Values are percentages. Answer accuracy measures the path-existence answer. First-hop joint accuracy requires both the correct answer and a valid first-hop witness.
and SubgraphRAG provide graph-control EM on graph-only and retrieval-execution decision surfaces; SubgraphRAG path-found rates are reported in Appendix C, Table 16.
parsedEM is useful mainly as an audit. Tables 15 and 16 show that first-integer extraction and legal-choice scoring can expose residual numeric traces, while Table 1 attributes the native failure to graph-evidence use and output-surface formation together.
Table 2 reports the PubMed path-witness diagnostic: beyond the scalar hop label, the model must provide a locally valid first-hop witness.
Legal-choice scoring is reported separately in Appendix C, Table 16. It provides G-Retriever, LLaGA, and SGE with a favorable label-selection path over A. The remaining gap suggests that native-generation failure involves both graph-evidence use and output form.
4.3 Graph-Token Intervention Diagnostics
This subsection tests Hypothesis 3: how graph-token changes move generation across output states. For domain , let
where , , and denote readable, no-graph, and shuffled graph interfaces, respectively. We compare
Here is shuffled residue and is readable organization gain. DBLP has , while PubMed has close to ; we therefore use DBLP and PubMed as representative ablation domains.
Table 3 summarizes the shared graph-token interventions. Readable tokens give the strongest ordinary generation results. No-graph tokens remove evidence, and shuffled tokens keep token content while breaking order. DBLP is harmful-shuffle, and PubMed is shuffle-robust, showing that organization affects output states as well as evidence amount. Figure 4 visualizes the intervention triangle. Domain-specific markers such as DBLP digit8 and the checkpoint-PCA variables are defined in Appendix D, Section D.4.
| Domain | Readable | No graph | Shuffled |
|---|---|---|---|
| DBLP | 34.0 | 15.0 | 6.0 |
| Biomedical | 57.8 | 57.1 | 52.7 |
| GoodReads | 76.6 | 9.8 | 34.2 |
| PubMed | 52.0 | 19.5 | 51.3 |
Table 3: Graph-token interventions. Values are StrictEM percentages from a single representative seed; Table 1 reports the multi-seed main results.
| Domain and selection pattern | StrictEM ↑ | Δ vs. full |
|---|---|---|
| PubMed: | ||
| full S2GE | 52.0±3.4 | - |
| no query-aware sampling | 25.0±1.1 | -27.0 |
| no role perception | 47.0±2.3 | -5.0 |
| no distance/degree cues | 45.9±2.7 | -6.1 |
| no alignment | 52.0±3.7 | unchanged |
| DBLP: | ||
| full S2GE | 36.5±1.6 | - |
| no query syntax | 24.1±5.2 | -12.4 |
| no degree cues | 22.8±3.7 | -13.7 |
| no role perception | 32.0±2.3 | -4.5 |
| random order diagnostic | 33.8±5.0 | -2.7 |
Table 4: Interface ablations on two representative domains. PubMed represents the shuffle-robust regime. DBLP represents the harmful-shuffle regime. Values are StrictEM percentages.
Biomedical is no-graph-saturated: no-graph input already reaches 57.1 StrictEM versus 57.8 with readable tokens, exposing a strong task prior.
4.4 Interface Ablations on Two Representative Domains
This subsection tests Hypothesis 2: which interface conditions make graph evidence useful for ordinary generation. The representative domains come from Table 3: PubMed is shuffle-robust, and DBLP is harmful-shuffle.
Table 4 reports the ablations. PubMed is most sensitive to removing query-aware sampling, indicating evidence inclusion as the limiting factor. DBLP is more sensitive to query syntax and degree cues, consistent with Figure 3: broken organization is more harmful in this domain. Together, the ablations support the order in Section 3: include evidence, make it readable, and preserve local structure.
Removing the alignment loss changes PubMed
(a) Three Diagnostics
1 Legal-Choice Interface Intervention (DBLP)

2 Path-Witness Diagnostic (PubMed)

3 Zero-Shot Adjacency Transfer
PCA Projections of Checkpoints (from DBLP training)

PC1 Loadings (Top Features)
| Loading | Interpretation | |
|---|---|---|
| High EM | +0.91 | Higher is better |
| Digit-8 rate | -0.88 | Lower is better |
| Single-digit rat | +0.86 | Higher is better |
PC1 aligns with performance: high EM, low digit-8, high single-digit.
(b) output state and PCA
(c) Main Results
Figure 3: Experimental and diagnostic summary for the three diagnostic hypotheses. Panel (a) combines three independently conducted diagnostics: a DBLP legal-choice interface intervention, PubMed path-witness generation, and six-direction zero-shot adjacency transfer. Panel (b) reports checkpoint-level output-state dynamics for DBLP, a harmful-shuffle domain, together with checkpoint PCA, where PC1 and PC2 explain and of the observed variance, respectively. Panel (c) reports the main native-generation StrictEM results across the four HopQA domains.

Figure 4: Intervention triangle for the readable, no-graph, and shuffled graph-token interfaces. The triangle shows how the three intervention conditions separate harmful-shuffle, shuffle-robust, and no-graph-saturated regimes.
little (52.0 → 52.0), consistent with its shuffle-robust regime.
4.5 HopQA Predictive Validation
We further test whether and graph-only structure solve the same examples. Table 5 reports a sample-level oracle union on matched 1000-example test predictions: an example is counted correct when either or Pure GNN is correct. The oracle gains show that graph-only structure and the graph-language interface solve overlapping but non-identical subsets.
| Domain | Pure GNN | Oracle | -only | GNN-only | |
|---|---|---|---|---|---|
| DBLP | 36.1 | 31.3 | 52.4 | 21.1 | 16.3 |
| Biomedical | 57.8 | 27.9 | 69.6 | 41.7 | 11.8 |
| GoodReads | 76.6 | 40.3 | 87.2 | 46.9 | 10.5 |
| PubMed | 52.0 | 47.5 | 72.8 | 25.2 | 20.8 |
Table 5: Uses one matched seed for sample-level oracle analysis; Table 1 reports the headline control results and the multi-seed S GE results.
Table 6 gives a second validation view: projected tokens preserve recoverable one-hop adjacency across source-target domain pairs. Together, oracle complementarity and zero-shot transfer indicate that is not merely replacing graph-only structure; it makes a partially different portion of graph signal usable through the native graph-language interface.
| Train | Test | Acc. | AUROC |
|---|---|---|---|
| DBLP | GoodReads | 0.923±0.009 | 0.958±0.002 |
| GoodReads | DBLP | 0.839±0.015 | 0.925±0.005 |
| DBLP | Biomedical | 0.811±0.021 | 0.876±0.007 |
| Biomedical | GoodReads | 0.892±0.017 | 0.942±0.009 |
| PubMed | DBLP | 0.879±0.013 | 0.921±0.013 |
| DBLP | PubMed | 0.868±0.001 | 0.906±0.005 |
Table 6: Zero-shot one-hop adjacency transfer. The probe is trained on source-domain pair labels only and uses no target-domain labels.
5 Conclusion
Five-choice HopQA exposes native usability failure in graph-language interfaces. Native strict evaluation and graph-token interventions separate graph-signal existence, interface readability, and native usability within one bounded diagnostic.
shows that a sampling-first readable interface improves native usability of exposed graph evidence, reaching native strict EM across four domains. Depending on the domain, unreadable graph tokens are harmful, residue-preserving, or no-graph-saturated.
Ethics Statement
This work uses public graph benchmark and baseline artifacts only for research evaluation; it involves no new personal data collection, user studies, or annotator exposure to offensive content. GR-Bench files, Planetoid/PubMed, and baseline artifacts are used according to their public releases or published descriptions, and our released code and processed diagnostics are for research use. Formal runs use LLaMA-3-8B-Instruct with bf16 and DeepSpeed on dual NVIDIA GeForce RTX 5090 GPUs; main experiments use a maximum of 12 epochs with early-stopping patience 6 and three seeds, path-witness diagnostics use the same maximum schedule, and the total compute is approximately 400 GPU-hours.
Limitations
Hop-count QA is used as a controlled receiving-end probe for graph-language interfaces. Its valid single-integer answers make correctness, output validity, and fallback behavior directly measurable. Open-ended settings require additional protocols for comparing semantically equivalent answers.
The path-witness diagnostic is bounded and protocolized. Fully open-ended graph QA, path-witness generation, and KG reasoning require task-specific answer-equivalence and calibration protocols.
Numerical trends across decoder scales remain empirically untested; our single-backbone results characterize LLaMA-3-8B-Instruct. Proposition 2 and Corollary 2.1 characterize a fixed-interface information bound that does not depend on decoder size.
Acknowledgements
This work was supported by the Academy Member (Academician) Major Science and Technology Innovation Project under the “Two Zones” Science and Technology Development Program (Grant No. 2024LQ02001), the National Natural Science Foundation of China (Grant Nos. 62262064 and 62466057), the Key R&D Project of Xinjiang Uygur Autonomous Region (Grant No. 2022295358), and the Xinjiang University Doctoral Postgraduate Innovation Project (Grant No. XJDX2025YJS084).
References
Hussein Abdallah, Ibrahim Abdelaziz, Panos Kalnis, and Essam Mansour. 2026. Leveraging LLM-GNN integration for open-world question answering over knowledge graphs. In Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 575–592, Rabat, Morocco. Association for Computational Linguistics.
Arvindh Arun, Sumit Kumar, Mojtaba Nayyeri, Bo Xiong, Ponnurangam Kumaraguru, Antonio Vergari, and Steffen Staab. 2025. SEMMA: A semantic aware knowledge graph foundation model. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 31825–31848, Suzhou, China. Association for Computational Linguistics.
Himanshu Chaudhary, Ruida Wang, Gowtham Ramesh, and Junjie Hu. 2026. GRAFF: GRaph-augmented fine-grained fusion for large language models. In Findings of the Association for Computational Linguistics: EACL 2026, pages 5536–5547, Rabat, Morocco. Association for Computational Linguistics.
Runjin Chen, Tong Zhao, Ajay Kumar Jaiswal, Neil Shah, and Zhangyang Wang. 2024. LLaGA: Large language and graph assistant. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 7809–7823. PMLR.
Ege Demirci, Rithwik Kerur, and Ambuj Singh. 2025. Are LLMs truly graph-savvy? a comprehensive evaluation of graph generation. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 4: Student Research Workshop), pages 884–897, Vienna, Austria. Association for Computational Linguistics.
Darren Edge, Ha Trinh, Newman Cheng, Joshua Bradley, Alex Chao, Apurva Mody, Steven Truitt, and Jonathan Larson. 2024. From local to global: A graph rag approach to query-focused summarization. Preprint, arXiv:2404.16130.
Jinyuan Fang, Zaiqiao Meng, and Craig MacDonald. 2025. KiRAG: Knowledge-driven iterative retriever for enhancing retrieval-augmented generation. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 18969–18985, Vienna, Austria. Association for Computational Linguistics.
Bahare Fatemi, Jonathan Halcrow, and Bryan Perozzi. 2024. Talk like a graph: Encoding graphs for large language models. In The Twelfth International Conference on Learning Representations.
Xiaojun Guo, Ang Li, Yifei Wang, Stefanie Jegelka, and Yisen Wang. 2025. G1: Teaching LLMs to reason on graphs with reinforcement learning. In Advances in Neural Information Processing Systems, volume 38, Main Conference, pages 52958–53001. Curran Associates, Inc.
Zeyuan Guo, Enmao Diao, Cheng Yang, and Chuan Shi. 2026. Graph tokenization for bridging graphs and transformers. In The Fourteenth International Conference on Learning Representations.
Haoyu Han, Yu Wang, Harry Shomer, Kai Guo, Jiayuan Ding, Yongjia Lei, Mahantesh Halappanavar, Ryan A. Rossi, Subhabrata Mukherjee, Xianfeng Tang, Qi He, Zhigang Hua, Bo Long, Tong Zhao, Neil Shah, Amin Javari, Yinglong Xia, and Jiliang Tang. 2025. Retrieval-augmented generation with graphs (GraphRAG). Preprint, arXiv:2501.00309.
Xiaoxin He, Yijun Tian, Yifei Sun, Nitesh V. Chawla, Thomas Laurent, Yann LeCun, Xavier Bresson, and Bryan Hooi. 2024. G-Retriever: Retrieval-augmented generation for textual graph understanding and question answering. In Advances in Neural Information Processing Systems, volume 37, pages 132876–132907. Curran Associates, Inc.
Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. 2020. The curious case of neural text degeneration. In International Conference on Learning Representations.
Alexander Hoyle, Ana Marasović, and Noah A. Smith. 2021. Promoting graph awareness in linearized graph-to-text generation. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 944–956, Online. Association for Computational Linguistics.
Yuntong Hu, Zhihan Lei, Zheng Zhang, Bo Pan, Chen Ling, and Liang Zhao. 2025. GRAG: Graph retrieval-augmented generation. In Findings of the Association for Computational Linguistics: NAACL 2025, pages 4145–4157, Albuquerque, New Mexico. Association for Computational Linguistics.
Bowen Jin, Chulin Xie, Jiawei Zhang, Kashob Kumar Roy, Yu Zhang, Zheng Li, Ruirui Li, Xianfeng Tang, Suhang Wang, Yu Meng, and Jiawei Han. 2024. Graph chain-of-thought: Augmenting large language models by reasoning on graphs. In Findings of the Association for Computational Linguistics: ACL 2024, pages 163–184, Bangkok, Thailand. Association for Computational Linguistics.
Lecheng Kong, Jiarui Feng, Hao Liu, Chengsong Huang, Jiaxin Huang, Yixin Chen, and Muhan Zhang. 2025. GOFA: A generative one-for-all model for joint graph language modeling. In The Thirteenth International Conference on Learning Representations.
Mufei Li, Siqi Miao, and Pan Li. 2025. Simple is effective: The roles of graphs and large language models in knowledge-graph-based retrieval-augmented generation. In The Thirteenth International Conference on Learning Representations.
Yuhan Li, Zhixun Li, Peisong Wang, Jia Li, Xiangguo Sun, Hong Cheng, and Jeffrey Xu Yu. 2024. A survey of graph meets large language model: Progress and future directions. In Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, IJCAI-24, pages 8123–8131. International Joint Conferences on Artificial Intelligence Organization. Survey Track.
Hao Liu, Zhengren Wang, Xi Chen, Zhiyu Li, Feiyu Xiong, Qinhan Yu, and Wentao Zhang. 2025. HopRAG: Multi-hop reasoning for logic-aware retrieval-augmented generation. In Findings of the Association for Computational Linguistics: ACL 2025, pages 1897–1913, Vienna, Austria. Association for Computational Linguistics.
Linhao Luo, Zicheng Zhao, Reza Haffari, Dinh Phung, Chen Gong, and Shirui Pan. 2025. GFM-RAG: Graph foundation model for retrieval augmented generation. In Advances in Neural Information Processing Systems, volume 38, Main Conference, pages 36371–36405. Curran Associates, Inc.
Xubin Ren, Jiabin Tang, Dawei Yin, Nitesh Chawla, and Chao Huang. 2024. A survey of large language models for graphs. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, KDD '24, pages 6616–6626, New York, NY, USA. Association for Computing Machinery.
Jianheng Tang, Qifan Zhang, Yuhan Li, Nuo Chen, and Jia Li. 2025. GraphArena: Evaluating and exploring large language models on graph computation. In The Thirteenth International Conference on Learning Representations.
Zehong Wang, Zheyuan Liu, Tianyi Ma, Jiazheng Li, Zheyuan Zhang, Xingbo Fu, Yiyang Li, Zhengqing Yuan, Wei Song, Yijun Ma, Qingkai Zeng, Xiusi Chen, Jianan Zhao, Jundong Li, Meng Jiang, Pietro Lio, Nitesh Chawla, Chuxu Zhang, and Yanfang Ye. 2025a. Graph foundation models: A comprehensive survey. Preprint, arXiv:2505.15116.
Zhefan Wang, Huanjun Kong, Jie Ying, Wanli Ouyang, and Nanqing Dong. 2025b. ROGRAG: A robustly optimized GraphRAG framework. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations), pages 604–613, Vienna, Austria. Association for Computational Linguistics.
Sean Welleck, Ilia Kulikov, Stephen Roller, Emily Dinan, Kyunghyun Cho, and Jason Weston. 2020. Neural text generation with unlikelihood training. In International Conference on Learning Representations.
Qiming Wu, Zichen Chen, Will Corcoran, Misha Sra, and Ambuj Singh. 2025. GraphEval36K: Benchmarking coding and reasoning capabilities of large language models on graph datasets. In Findings of the Association for Computational Linguistics: NAACL 2025, pages 8110–8132, Albuquerque, New Mexico. Association for Computational Linguistics.
Yang Xiang, Li Fan, Chenke Yin, Lutz Oettershagen, and Chengtao Ji. 2026a. A hierarchical quantized tokenization framework for task-adaptive graph representation learning. Preprint, arXiv:2510.12369.
Zhishang Xiang, Chuanjie Wu, Qinggang Zhang, Shengyuan Chen, Zijin Hong, Xiao Huang, and Jinsong Su. 2026b. When to use graphs in rag: A comprehensive analysis for graph retrieval-augmented generation. In International Conference on Learning Representations, volume 2026, pages 66145–66178.
Hao Xu, Xiangru Jian, Xinjian Zhao, Wei Pang, Chao Zhang, Suyuchen Wang, Qixin Zhang, Zhengyuan Dong, Joao Monteiro, Bang Liu, Qiuzhuang Sun, and Tianshu Yu. 2026. GraphOmni: A comprehensive and extensible benchmark framework for large language models on graph-theoretic tasks. In The Fourteenth International Conference on Learning Representations.
Zhilin Yang, William Cohen, and Ruslan Salakhudinov. 2016. Revisiting semi-supervised learning with graph embeddings. In Proceedings of The 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pages 40–48, New York, New York, USA. PMLR.
Zike Yuan, Ming Liu, Hui Wang, and Bing Qin. 2025. GraCoRe: Benchmarking graph comprehension and complex reasoning in large language models. In Proceedings of the 31st International Conference on Computational Linguistics, pages 7925–7948, Abu Dhabi, UAE. Association for Computational Linguistics.
Minghan Zhang, Shu Zhao, Zhen Yang, Hongsheng Wu, Yongxing Lin, Haodong Zou, Jie Chen, and Zhen Duan. 2026a. Thinking beyond the local: Multi-view instructed adaptive reasoning in KG-enhanced LLMs. In Findings of the Association for Computational Linguistics: EACL 2026, pages 6173–6188, Rabat, Morocco. Association for Computational Linguistics.
Qifan Zhang, Nuo Chen, Zehua Li, Miao Peng, Jing Tang, and Jia Li. 2025a. Improving LLMs' generalized reasoning abilities by graph problems. In Second Conference on Language Modeling.
Qinggang Zhang, Shengyuan Chen, Yuanchen Bei, Zheng Yuan, Huachi Zhou, Zijin Hong, Hao Chen, Yilin Xiao, Chuang Zhou, Junnan Dong, Yi Chang, and Xiao Huang. 2025b. A survey of graph retrieval-augmented generation for customized large language models. Preprint, arXiv:2501.13958.
Zhongjian Zhang, Xiao Wang, Mengmei Zhang, Jiarui Tan, and Chuan Shi. 2026b. Toward graph-tokenizing large language models with reconstructive graph instruction tuning. In Proceedings of the ACM Web Conference 2026, pages 430–441. ACM.
Zhongjian Zhang, Yue Yu, Mengmei Zhang, Junping Du, Xiao Wang, and Chuan Shi. 2026c. Revisiting graph-tokenizing large language models: A systematic evaluation of graph token understanding. Preprint, arXiv:2605.03514.
Ruilin Zhao, Feng Zhao, Long Wang, Xianzhi Wang, and Guandong Xu. 2024. KG-CoT: Chain-of-thought prompting of large language models over knowledge graphs for knowledge-aware question answering. In Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, IJCAI-24, pages 6642–6650. International Joint Conferences on Artificial Intelligence Organization. Main Track.
Dongzhuoran Zhou, Yuqicheng Zhu, Xiaxia Wang, Hongkuan Zhou, Yuan He, Jiaoyan Chen, Steffen Staab, and Evgeny Kharlamov. 2026. What breaks knowledge graph based RAG? benchmarking and empirical insights into reasoning under incomplete knowledge. In Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2522–2538, Rabat, Morocco. Association for Computational Linguistics.
Xiangrong Zhu, Yuexiang Xie, Yi Liu, Yaliang Li, and Wei Hu. 2025. Knowledge graph-guided retrieval augmented generation. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics:
Human Language Technologies (Volume 1: Long Papers), pages 8912–8924, Albuquerque, New Mexico. Association for Computational Linguistics.
A Notation Reference
Table 7 collects the main symbols used across the paper. The table is intended as a quick reference for the task definition, interface conditions, and intervention diagnostics.
B Datasets and Metrics
We evaluate GRBench-style shortest-hop question answering on four graph domains: DBLP, Biomedical, GoodReads, and PubMed. Each example asks for the hop distance between a source node and a target node. The gold answer belongs to the bounded answer set
This bounded label space makes random guessing and majority-label prediction directly comparable across domains.
B.1 Datasets and Splits
Table 8 summarizes the graph statistics used in the controlled HopQA protocol. The processed edge counts correspond to the graph files used for evaluation.
Dataset acquisition. DBLP, Biomedical, and GoodReads are obtained from the public GR-Bench release (Jin et al., 2024). Their domain QA files are available from the Hugging Face dataset PeterJinGo/GRBench, and the corresponding graph-environment files are distributed through the GRBench download link in the Graph-CoT repository. PubMed is constructed from the public Planetoid/PubMed citation graph (Yang et al., 2016). We use these graph files as source graphs and construct new balanced HopQA splits from shortest-hop queries; the original GRBench QA labels are not used as HopQA training or test labels.
Each formal domain uses matched train, validation, and test splits. The split is balanced across the five hop labels. Therefore, both uniform random guessing and fixed majority-label prediction have expected accuracy 0.200.
The resulting chance and majority baselines are shown in Table 10. These baselines are used to compute Chance in the main experimental tables.
B.2 Metrics
Table 11 defines the metrics used in the main experiments. Strict exact match is the headline metric. Other metrics are audit views of the generated output surface or auxiliary checks for graph-signal recovery.
For generated answers, exact( ) returns a value only when the output is exactly one valid integer in A. The function extract( ) returns the first generated integer when one exists. Outputs outside exact single-integer form are counted as StrictEM failures, even when ParsedEM can recover a number.
B.3 Leakage and Split Audits
GoodReads receives an additional overlap audit because recommendation-style graphs can contain hub shortcuts and repeated textual patterns. Table 12 reports the observed overlap checks across train, validation, and test splits. All audited overlap types are zero.
We also inspect GoodReads performance by hop label as a sanity check against a single-hop shortcut explanation. Table 13 reports hop-wise S GE scores on the GoodReads test split.
C Experiment Details
This appendix reports compact implementation details for the formal experiments: run configuration, generation settings, controls, and run records.
C.1 Run Configuration and Controls
Table 14 consolidates the formal S GE protocol.
The alignment loss and full training objective are defined in Section 3.2. This table records the validated run settings used to instantiate that objective.
G-Retriever and LLaGA are evaluated using their released checkpoints and method-specific training recipes; the 12-epoch S GE schedule above applies only to our trainable runs.
C.2 Baseline Output-State Audit
Table 15 summarizes representative native-generation failure states for G-Retriever and LLaGA. The audit uses wrong generated outputs from the preserved prediction run records and interprets ParsedEM as an output-surface audit.
C.3 Control and Baseline Comparison
Table 16 records the auxiliary controls and baseline variants. SubgraphRAG is the main-text name for
| Meaning | Symbol |
| Graph | |
| Query | |
| Answer set | |
| Gold answer | |
| Model output | |
| Evaluation set | |
| Sampled subgraph | |
| Exposed decoder interface | |
| Ordinary generation path | |
| Graph-check set | |
| Signal-use gap | |
| Interface readability coordinates | |
| Output state | |
| Output-state distribution | |
| Readable, no-graph, shuffled interfaces | |
| Domain | |
| Readable, no-graph, shuffled exact match | |
| Shuffled residue | |
| Readable organization gain |
Table 7: Unified notation reference used across the main text and appendix.
| Domain | Nodes | Processed edges | Role in evaluation |
|---|---|---|---|
| DBLP | 11,453,104 | 87,551,311 | Large bibliographic graph with strong topology dependence. |
| Biomedical | 47,031 | 3,363,428 | Biomedical relation graph with dense processed connectivity. |
| GoodReads | 3,784,086 | 11,704,748 | Recommendation-style graph with strong semantic and hub effects. |
| PubMed | 19,717 | 88,648 | Citation-style graph used for both HopQA and path-witness diagnostics. |
Table 8: Graph statistics for the four controlled HopQA domains.
| Split | Per-hop examples | Total examples | Label prior |
|---|---|---|---|
| Train | 2000 | balanced | |
| Validation | 200 | balanced | |
| Test | 1000 | balanced |
Table 9: Balanced split construction for each domain. Each hop label in has the same number of examples.
| Baseline | Decision rule | Accuracy |
|---|---|---|
| Random | uniform guess over | 20.0 |
| Majority | fixed majority label | 20.0 |
Table 10: Chance-level baselines under the balanced five-label HopQA protocol. Values are percentages.
the retrieval-execution control; the appendix keeps the retrieval-execution mapping explicit.
C.4 Run Records
For reproducibility, each run record stores the domain, seed, prediction file path, evaluation path, and ordered test-ID checksum. These records are used to verify that seed-level reports and matched diagnostic comparisons are computed over the intended test order.
D Diagnostic Protocol
Diagnostic target. The method section defines the graph-language interface. This appendix defines the observable quantities used to audit whether that interface remains readable during training and evaluation.
D.1 Readability
Interface readability means that the projected token stream preserves enough local structure to recover endpoint roles, local adjacency, and endpoint-conditioned path order. Downstream EM depends on readability and also reflects decoder optimization, so we audit the interface with a frozen-probe protocol in addition to the main task.
The within-domain probe samples positive and
| Metric | Definition | Use |
|---|---|---|
| StrictEM | Main metric for ordinary generation. The output must be exactly one legal integer in . | |
| parsedEM | Output-surface audit using first-integer extraction when one exists, reported alongside StrictEM. | |
| Chance | StrictEM - 20.0 | Difference from the balanced random/majority baseline. |
| SingleIntRate | Checks whether native generation produces a legal single-integer answer. | |
| DominantAnswerRate | Measures collapse toward one dominant extracted answer. Lower is better. | |
| Path Found | fraction of examples where graph execution recovers a valid path | Audit metric for retrieval-execution diagnostics outside the LLM decoder. |
| Answer Acc. | accuracy of the path-existence answer | Used in path-witness diagnostics. |
| First-hop Joint Acc. | fraction of examples with both correct answer and valid first-hop witness | Checks whether the predicted first hop is locally valid and moves toward the target. |
Table 11: Metric definitions. StrictEM is the primary metric. ParsedEM, SingleIntRate, DominantAnswerRate, Path Found, and path-witness metrics are used as diagnostic audits.
| Overlap type | Observed overlap |
|---|---|
| Qid overlap | 0 |
| Question text overlap | 0 |
| Question-answer overlap | 0 |
| Endpoint-pair overlap | 0 |
| Exact-path overlap | 0 |
| Reverse-path overlap | 0 |
Table 12: GoodReads leakage audit across train, validation, and test splits.
| Hop label | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| score | 0.608 | 0.877 | 0.547 | 0.857 | 0.943 |
Table 13: GoodReads hop-wise SGE scores under the balanced HopQA test split. Values are proportions.
negative one-hop node pairs from local subgraphs and trains a lightweight binary head on frozen pair features. The cross-domain probe trains the same head on one source domain and evaluates it on another target domain using frozen target representations. Table 6 reports the six-direction zero-shot matrix in the main text; this probe isolates adjacency recoverability from hop-decoder adaptation.
D.2 Path-Witness Protocol
The path-witness diagnostic keeps the task bounded while requiring more than a scalar hop label. Each example asks for a protocolized path-existence answer and a witness field that is checked by local adjacency and endpoint progress. It is a task-surface diagnostic: the model must recover topology evidence in a structured output, while evaluation stays bounded.
The graph-only path-witness control uses the same path-witness protocol. It is not the five-way hop classifier reported in Table 1. The main PubMed path-witness results are reported in Table 2.
D.3 Graph-Token Intervention Triangle
Readable, no-graph, and shuffled interfaces form the shared intervention coordinates used to separate domain regimes. The main text visualizes these coordinates in Figure 4. The two contrasts are shuffled residue and readable organization gain .
D.4 Output Variables
We summarize checkpoint behavior with
Here is exact match, is legal-output rate, is long-digit continuation rate, is single-integer output rate, and is dominant-answer concentration. DBLP uses digit8 as the most stable failure observable. It counts generations with an ID-like numeric continuation of length at least six, dominated by repeated 8s. GoodReads and PubMed emphasize dominant-answer concentration. Biomedical additionally requires legality and format-collapse monitoring.
The DBLP checkpoint-PCA value (98.52%) is the first data-fitted component of this macro-state sequence; the prototype-axis value (98.52%) is variance explained by a fixed bad-to-good axis.
| Block | Setting | Value |
| Model | LLM backbone | LLaMA-3-8B-Instruct; unfrozen during GE training; bf16 enabled; max new tokens 32. |
| Graph encoder | One-layer GAT-style encoder; hidden dimension 384; four attention heads; implementation name vpa_aegf_gat_light. | |
| Projector | Two-layer MLP projector maps graph encoder outputs into the LLM embedding space. | |
| Sampling/tokens | Node-token mode with up to 32 projected nodes; source and target are forced into the seed set when available, with degree-ranked local expansion. | |
| Structure | Structural roles/order | Source, target, endpoint-proximity, and context roles; ordered by role, endpoint distances, degree, and traversal index. Gold labels and stored witness paths are not input features. |
| Alignment target | Projected node tokens are aligned against the self-looped degree-normalized sampled adjacency with fixed validation-selected . | |
| Optim. | Learning setup | Learning rate ; maximum 12 epochs; early-stopping patience 6; 2 warmup epochs; batch size 1; gradient accumulation 2; bf16; DeepSpeed; trainable LLM. |
| Seeds | 0/1/12138. | |
| Gen./ctrl | Generation pathPrimary scoringAudit scoring | HuggingFace native generation path.strict exact match.first-integer extraction when one exists; invalid outputs count as StrictEM failures.SubgraphRAG retrieval-execution control, text-serialization control, Graph-CoT zero-shot control, and legal-choice scoring over . |
| Non-main controls |
Table 14: Consolidated run, optimization, generation, and control settings for the formal GE protocol.
D.5 Probe Selection
Probe discovery follows a fixed workflow.
-
collect raw generations from validation or intervention sweeps;
-
measure extracted-integer frequency, repeated fragments, empty outputs, and dominant-answer concentration;
-
compare those quantities against the gold-label distribution;
-
promote the most stable anomaly to a domain probe;
-
track that probe jointly with EM and legality across checkpoints.
The domain-specific probes follow this procedure.
E Supplementary Diagnostics
Role Implementation. Role ids mark source, target, local endpoint-proximity, and context inside the sampled subgraph. Source and target are query inputs. Endpoint proximity uses only BFS distances and connectivity within the bounded sample. Full-graph shortest paths, hop labels, and stored witnesses are evaluation-only objects.
E.1 Formal Boundary Results
This appendix formalizes the boundedness assumptions behind the diagnostic. The three propositions show that bounded HopQA queries are graph-structure functions, bounded exposed interfaces impose an information boundary, and bounded output-state audits make interface changes measurable. The hypotheses are tested empirically in Section 4.
Proposition 1 (Bounded HopQA queries are graph-structure functions). Let be a simple loopless unweighted graph, and let . The HopQA label
is determined by the adjacency matrix . Moreover, if is the all-pair hop distance matrix, then determines . For ,
Proof 1. Given , the edge set is fixed. Hence
| Method | Domain pattern | Typical failure state | Representative output form |
|---|---|---|---|
| G-Retriever | DBLP, GoodReads, PubMed | Numeric continuation after an answer-like digit | 3 |
| G-Retriever | Biomedical | Separator and repeated-digit continuation | 4 |
| LLaGA | DBLP | Explanatory natural-language answer or no completed digit answer | According to the graph, at least 3 people... or an unfinished explanation with no legal answer token. |
| LLaGA | Biomedical, PubMed | Prompt/dialogue continuation and answer-space escape | 5 USER: What is... or text giving an invalid hop such as 8; the output leaves the strict single-integer surface. |
| LLaGA | GoodReads | Natural-language sentence containing an extractable digit | The shortest hop count ... is 3.; ParsedEM can count the digit, while ordinary generation still violates the requested output form. |
Table 15: Representative output-state failures for G-Retriever and LLaGA. These examples explain why ParsedEM is treated as an audit: it can extract digits from numeric continuations, explanatory prose, or dialogue continuations that are all StrictEM failures.
| Control | Main-text name | Reported value | Concise role or failure label |
|---|---|---|---|
| Retrieval-execution check | SubgraphRAG | Path Found: DBLP24.9, Biomedical 21.5, GoodReads 58.2, PubMed 50.6 | Path Found measures executable-path coverage in the retrieved evidence graph; EM in Table 1 measures bounded hop-label accuracy. Biomedical and PubMed differ slightly because a found path can still map to a non-matching hop label. |
| Text serialization base-line | raw-text control | DBLP 17.0/0.0/0.0%, Biomedical 16.6/0.0/0.0%, GoodReads 18.5/0.0/0.0% | 128-token zero-shot adjacency lists; entries are permissive/strict/legal rates, with answer-1 dominance 83–89%. |
| Graph-CoT zero-shot controlLegal-choice scoring | Graph-CoT legal-choice control | DBLP 0/1000 valid completed answersDBLP R/N/S: G-Retriever 46.7/21.3/15.4; LLaGA 74.1/38.6/27.2; S2GE 88.6/62.0/45.1 | Responses halt before a valid Finish[. . . ] answer, so the task surface is mismatched.Constrained scoring over A. Favorable label-selection path for G-Retriever, LLaGA, and S2GE; the DBLP interface intervention is visualized in Figure 3(a). |
Table 16: Compact comparison of auxiliary baselines and controls. SubgraphRAG Path Found reports executable-path coverage, while SubgraphRAG EM in Table 1 reports bounded hop-label accuracy; the two can differ when a recovered path maps to a non-matching label.
the set of all paths from to is fixed, and therefore
This quantity is fixed.
For , since is simple, loopless, and unweighted,
By the definition of adjacency matrix,
Thus
Since is loopless,
Therefore determines .
Proposition 2 (Bounded exposed interfaces impose an information boundary). Let be a set of labeled examples, with label . Let
be the exposed interface. A decoder observes only through , so its output distribution is
| Record field | Purpose |
|---|---|
| Domain | identifies DBLP, Biomedical, GoodReads, or PubMed |
| Seed | identifies the run seed, such as 0/1/12138 |
| Prediction path | locates the generated output or diagnostic prediction file |
| Evaluation path | identifies native generation, graph-only control, retrieval execution, or legal-choice control |
| Ordered checksum | verifies that compared predictions use the same test order |
Table 17: Run fields recorded for reproducibility and matched evaluation.
For any , define
Then
In particular, if contains two examples with different labels, no decoder observing only can be correct on both.
Proof 2. Fix . For all ,
Thus the decoder uses the same distribution . Let
The average correctness is
Since is a probability distribution,
Therefore
The bound is attained by choosing any
and setting
Hence equality holds.
If and
let
Since
Thus no single decoder distribution conditioned only on can be correct on both examples.
Corollary 2.1 (Decoder scaling cannot remove interface-induced ambiguity). Under a fixed exposed interface, enlarging the decoder family may improve approximation, optimization, and output formation, but cannot recover distinctions that have already been removed by that interface.
Proposition 3 (Bounded output-state audits make interface changes measurable). Let be a finite set of output states, and let
map a generated output to its state. For an interface condition , define
For two interface conditions , define
Then
and
Consequently, if there exists such that
then
Proof 3. For every ,
Hence
If
then
Each term is nonnegative, so each term is zero:
Thus
Conversely, if
then every absolute value term is zero, so
Finally, if there exists such that
then
Thus the sum contains a positive term, and
E.2 Protocols
Sampling and Alignment. The sampling audit operationalizes evidence inclusion by endpoint coverage and path recall. On 100 DBLP hop-QA examples, degree-only sampling gives endpoint coverage/path recall 0.00/0.00, query-aware 1-hop gives 1.00/0.58, and query-aware 2-hop gives 1.00/0.835. The alignment objective is defined in Section 3.2; the formal protocol uses the validation-selected reported in Table 14.
Ablation Protocol. Table 4 reports the main-text endpoint-regime ablations. PubMed tests the shuffle-robust interface-coordinate hierarchy. DBLP tests the harmful-shuffle role/query readability stress case.
Adjacency Probes. Zero-shot adjacency probes test independently of hop-answer decoding. On DBLP reachability, gives AUROC (0.950, 0.865, 0.861, 0.857, 0.873) for , while Pure GNN gives (0.818, 0.952, 0.802, 0.722, 0.720). The six-direction cross-domain transfer results are reported once in Table 6.