Manuscript Offprint

arXiv:2609.02011

Seed-Anchored Budget-Bounded Graph Rendering for Question Answering on Industry-Standard Power-Grid Information and Exchange Models

Jayakumar Manoharan, Yamini Sehgal

Abstract

Large language model question answering over power-grid models must respect a fixed context budget. The artificial-intelligence contribution is a render-boundary locality prior with a precondition checkable before rendering: a deterministic, seed-anchored rendering algorithm with no method-specific tuned or learned parameters beyond the shared hop bound and context budget, preserving every predefined seed-local answer-bearing render unit when aggregate render mass D(S)D(S) stays within budget BB, holding for every question evaluated. The mechanism is truncation, measured without a reader: on both budget-binding networks naive rendering keeps evidence for every single-hop item but only 0.12 and 0.00 of multi-hop items; seed-anchored keeps 1.00 on both strata. A join against reader correctness shows this failure is truncation, not reader error. The engineering application is question answering over Common Information Model (CIM) models under European Network of Transmission System Operators for Electricity (ENTSO-E) Common Grid Model Exchange Standard (CGMES) conformity validation. On a fresh SmallGrid-family bank, the pre-registered primary endpoint confirms: accuracy rises from 0.450 to 0.970 (n=100n=100, one-sided McNemar p=2.2×10−14p=2.2 \times 10^{-14}), item-level confirmation within one topology family, not network-level generalization. On an independent 72,418-object topology the attribute-lookup stratum shows

*Corresponding author. Email addresses: jmanoharan@epri.com (Jayakumar Manoharan), ysehgal@epri.com (Yamini Sehgal) 1^{1}ORCID: 0009-0009-7765-9165 2^{2}ORCID: 0009-0004-2364-2310 no harm, all arms at 1.000; its multi-hop stratum is retired (non-unique gold referents). Under a common pipeline, the seed-anchored standards-native arm matched or exceeded three GraphRAG frameworks' extracted graphs at zero construction tokens, across MicroGrid, SmallGrid and SmallGrid-3.0. The endpoint is specific to one 7B reader at an 8,000-character budget; the evidence concerns budget-bounded retrieval, not general question answering.

Keywords: retrieval, graph, budget, question answering, power grid, CIM

1. Introduction

Developing scalable retrieval methods for large-language-model (LLM) assistants is a central challenge in artificial intelligence for engineering. When the knowledge source consists of detailed power-system representations encoded in the Common Information Model (CIM) [1] and exchanged via the Common Grid Model Exchange Standard (CGMES) [2], the retrieval system must select a subgraph that fits within the finite token context of an LLM while preserving all answer-relevant information. This paper treats that problem as a budget-bounded graph-rendering task and evaluates it on European Network of Transmission System Operators for Electricity (ENTSO-E) CGMES conformity-assessment configurations and an independently sourced larger grid topology; results do not establish performance on deployed operational models. The engineering motivation is grounded lookup over a utility's own grid model rather than open-domain question answering, with intended applications such as equipment-attribute retrieval for planning and protection review, topology and containment lookup during model validation and ENTSO-E conformity assessment, operator exploration of an unfamiliar export, and comparison across model revisions. If a retrieval failure occurs under a fixed context budget, it could undermine the reliability of automated grid audits, planning tools, and operational decision support, so an assistant's cost, data-governance, and fidelity matter as much as its raw accuracy. Four evaluation tiers are distinguished throughout: the six ENTSO-E CGMES conformity-test configurations; the RealGrid topology; synthetic scaling networks used for answer-presence evaluation only; and operational transmission systems, which are not evaluated here.

The default recipe for such assistants is graph-based retrieval-augmented generation (GraphRAG), which specialises retrieval-augmented generation [3] to a graph: build a knowledge graph over the content, retrieve a query-relevant subgraph, and let an LLM reader answer from the rendered context [4, 5].

Almost every recent power-domain GraphRAG system builds that graph by prompting an LLM to extract entities and relations from text [6], unlike earlier hand-engineered power knowledge graphs [7]. That choice is expensive and lossy: LLM extraction spans 0.03M to 1.7M tokens per network across the three frameworks we test (31,890 to 206,254 for HippoRAG; 87,962 to 754,781 for LightRAG; 235,312 to 1,703,707 for Microsoft GraphRAG), recurs on every model revision, and recovers only part of the source relational structure [8, 9], so numeric attributes migrate between similarly named components. Yet power systems already ship a curated, schema-typed relational model in the CGMES export, so we ask whether this standards-native graph can be read directly under a fixed context budget rather than reconstructed by an LLM. A prior controlled study [10] reported the puzzle we diagnose here: parsed directly from CGMES, the standards-native graph was strictly more faithful yet lost badly on the larger network under a fixed 8,000-character budget.

The failure is retrieval, not representation. We cast budget-bounded retrieval as an ordering over render units (entity descriptions and edge renderings) truncated at a budget BB. The common naive order, which renders every entity description before any edge, must fail whenever a high-degree hub (a shared voltage level, region container, or busbar; degree 381 to 481 in our data) floods the budget before the answer-bearing edges are reached (Theorem 2). The failure is representation-dependent and flips with the encoding: the raw CIM graph collapses on the bus-branch SmallGrid yet survives on its node-breaker CGMES 3.0 counterpart, where the derived support graph collapses instead (Section 6.5).

A budget-safe fix, and where its novelty lies. We introduce seed-anchored retrieval, a deterministic render order that introduces no additional tuned or learned parameters and that enforces the locality prior at the render/truncation boundary through a checkable greedy-prefix precondition (D(S)≤BD(S) \leq B). The guarantee covers the predefined seed-local answer-bearing render units whenever the seed-local render mass fits the budget; we do not claim that hub-induced overflow is ruled out in general. Concretely, it renders the query object's own description and its incident edges first, then fills outward by hop distance. The retriever consumes zero LLM graph-construction tokens, introduces no learned parameters and no tuned degree threshold, and uses the same hop bound kk and budget BB as the naive baseline. Its methodological contribution is where and how the locality prior is enforced, at the render/truncation boundary with a provable a priori boundary rather than at the retrieval-scoring stage. In the evidence-scoped answer-presence audit, naive rendering places the evidence-linked gold content in context for 0.56 of questions on SmallGrid and 0.50 on SmallGrid-3.0, and seed-anchored rendering for 1.00 on both; where the budget does not bind, both reach 1.00. Ego-graph expansion and hub-pruned BFS, rerun under the same test, also reach 1.00 on both budget-binding networks, so the contribution is not presence superiority over locality priors but the checkable a priori guarantee and the fact that the method introduces no additional method-specific tuned or learned parameters beyond the shared hop bound and context budget. Here, budget-binding is an operational label with a measured criterion: naive serialization must both reach the 8,000-character cap and actually evict evidence, the latter established by the evidence-scoped presence audit falling below 1.00. Cap hits alone do not qualify. MicroGrid illustrates why the second condition is needed: naive hits the cap on 48 of 50 items there, yet its evidence-scoped presence remains 1.00, so the cap is reached without evidence being lost and MicroGrid is not budget-binding. SmallGrid (0.56) and SmallGrid-3.0 (0.50) fall below 1.00 and are budget-binding. The label does not mean that D(S)>BD(S) > B. Nor is the problem answered by ranking the budget fill by relevance: a score-weighted fill, standard in token-budgeted context selection [11], does not protect the answer, because a high-degree hub can itself be highly relevant to the query and still flood the window and evict the seed-incident answer edges, whereas ordering the fill by hop locality renders those edges first regardless of their relevance score. What seed-anchored adds is a checkable greedy-prefix guarantee at that boundary: whenever the seed-local render mass fits the budget, every seed-local answer is preserved (an elementary answer-preservation property, not a deep theorem, Theorem 1) and the order is never worse than naive rendering in answer presence (no-harm dominance, Proposition 2), the assurance a deployer needs before swapping a renderer and the one our failed threshold heuristic lacked. It is not a new proximity score but a deployment-safe rendering rule over the standards-native CIM/CGMES graph with no LLM extraction. That failed first attempt, a degree-threshold heuristic tuned on the development network that regressed on a new one, we report as validation history (Supplementary Material, Section S1).

Evaluation with a development and held-out split. We evaluate on six ENTSO-E CGMES conformity networks spanning 233 to 5,315 objects and two CGMES versions (2.4.15 and 3.0); the CGMES 3.0 networks are the same underlying grids re-encoded in the newer version and are held out from retrieval-method, seeding, hop-bound, threshold, and scorer development, with parser compatibility fixes for nullable 3.0 fields disclosed separately, so the evaluation tests robustness to the encoding-version change. Across twelve arms (nine graph arms, being two standards-native representations under naive rendering, the seed-anchored method, and three LLM-extracted graphs from three frameworks read under both render orders; plus three corpus-level baselines), five question strata, deterministic scoring backed by two LLM judges, and pre-registered statistics, three findings emerge. Because the templated benchmark is self-referential (83% of gold answers appear verbatim), the strongest non-self-referential evidence is the 100-question human-phrased stress test (Section 6.7, method 0.83).

  1. Seed-anchored retrieval realizes its guarantee, and the mechanism it acts on is truncation. Measured without a reader and split by stratum, naive rendering retains the evidence-linked gold content for every single-hop item on both budget-binding networks, but for only 0.12 of multi-hop items on SmallGrid and none on SmallGrid-3.0, while seed-anchored rendering retains all of them on both strata. An item-level join against reader correctness shows the multi-hop failure is truncation rather than reader error: where the evidence survived, the reader used it. This mechanism, not any single accuracy delta, is the paper's load-bearing result. Seed-anchored retrieval was not observed to underperform naive on any network. After Holm correction, accuracy improves significantly on three networks: MicroGrid (0.68 to 0.92, p=7.3×10−3p=7.3 \times 10^{-3}) and the two budget-binding networks, SmallGrid (0.52 to 0.98, p=1.2×10−6p=1.2 \times 10^{-6}) and SmallGrid-3.0 (0.42 to 0.96, p=8.9×10−8p=8.9 \times 10^{-8}). The two budget-binding networks clear the conservative minimum detectable effect of 0.280; MicroGrid is Holm-significant but falls below it, and is not budget-binding. The other three per-network comparisons are underpowered and are treated as inconclusive, resting on a retrieval-level no-harm property under the stated precondition rather than on a statistical non-inferiority claim about end-to-end accuracy. On the larger independent RealGrid topology, whose multi-hop stratum is retired for want of unique gold referents, the surviving attribute-lookup stratum shows all three deterministic arms at 1.000, a no-harm result rather than a dominance one (Section 6.2). The pre-registered primary confirmatory endpoint is a pooled fresh-bank test drawn on the two SmallGrid encodings (Section 6.2); it is strong item-level confirmation of the mechanism within that one topology family and is not a network-level generalization claim. The human-authored probes and RealGrid are reported separately as robustness and transfer evidence and are not folded into it.

  2. Across three GraphRAG frameworks (LightRAG, Microsoft GraphRAG, and HippoRAG), under the tested extractor, reader, and budget, standards-native seed-anchored retrieval matches or exceeds the extracted graph representations those frameworks produce, read under a common retrieval-and-rendering pipeline, at zero graph-construction tokens (extractor-conditional) (extraction cost 0.03M to 1.7M tokens per network, which excludes build, inference, and deployment cost; Section 6.3). One framework's native retrieval scheme, HippoRAG's personalized PageRank, was reimplemented and evaluated; the packaged native retrievers of all three frameworks were not run. The comparison is extractor- and reader-conditional: the development-network parity held only against a frontier proprietary extractor, and swapping in an open-weight one drops LLM-extracted GraphRAG to 0.66 while anchored stays 0.98 (Section 6.4). At fixed anchored order the standards-native graph still leads on the held-out network where the budget binds (0.96 versus 0.80) and on MicroGrid, where it does not (0.92 versus 0.82), a graph-source and fidelity effect, not a rendering-order artifact.

  3. The finding generalizes beyond graphs. Simple lexical retrieval over the deterministic corpus rendering is also strong (0.86 to 0.98 on single-hop and topology strata), with the caveat that these questions are template-generated from that corpus: what matters is a faithful standards-native representation plus budget-aware retrieval, not an LLM in the graph-construction loop.

Contributions. Our load-bearing contribution is empirical. (i) A controlled, cross-version, twelve-arm evaluation on six ENTSO-E CGMES conformity configurations, three of which carry LLM-extracted graphs and so support the extraction comparison. At zero LLM graph-construction tokens, and under the reader, extractor, budget and framework set stated in Section 5, the standards-native graph matches or exceeds extracted graphs from three extraction paradigms (LightRAG, Microsoft GraphRAG, HippoRAG; 0.03M to 1.7M tokens per network) read under a common pipeline, with one native retrieval scheme reimplemented as a check. At fixed rendering order the standards-native graph still leads, because the tested extractors lose relational and numeric fidelity. This ties to the energy-domain finding that which CGMES encoding overflows the budget flips between standard versions, so a deployer cannot predict it (Section 6.5). (ii) The seed-anchored retriever, a deterministic render order that introduces no additional tuned or learned parameters and enforces the locality prior at the render/truncation boundary through a checkable precondition (D(S)≤BD(S) \leq B) rather than at the retrieval-scoring stage, so that, unlike a relevance-ranked budget fill, a hub that is itself relevant cannot evict the seed-incident answer edges. (iii) A formal characterization that makes the truncation failure and the no-harm condition explicit and checkable: an elementary greedy-prefix answer-preservation property (Theorem 1), its no-harm dominance corollary (Proposition 2), and a quantitative naive-failure characterization (Theorem 2, Proposition 1). (iv) Evidence-bounded practical guidance, including the cost and data-governance case for reading the standard in place rather than shipping it to an external extractor, with a model-free scaling demonstration to 10510^5 objects (validating answer-presence, not end-to-end reader QA accuracy) and a 100-question human-phrased robustness probe that bound the envelope of support. (v) On a second, independently sourced base topology, RealGrid, the no-harm property holds on the attribute-lookup stratum, where all three deterministic arms reach 1.000. That topology's multi-hop stratum is retired and reported as retired: its gold labels do not identify unique referents, so it cannot support a topology-retrieval claim in either direction. In the power-system and CGMES setting we are, to our knowledge, first to analyze budget-bounded retrieval directly on ENTSO-E CGMES test configurations and first to tie a standards-native-versus-LLM-extracted graph-source result to a budget-preservation guarantee; the underlying ordering and extraction-free themes have concurrent analogues in other domains (Section 2).

Generality beyond the power-grid application. The seed-anchored render-boundary rule is a generic budget-bounded retrieval-augmented-generation preprocessing lever, not a power-grid-specific device. It reorders the retrieved subgraph so that the query object's description and its incident edges are rendered first and further hops are added only while the cumulative render mass stays within the budget, which makes it deterministic, free of tuned or learned parameters, and equipped with a provable greedy-prefix guarantee that preserves the seed-local answer-bearing render units whenever their render mass fits the budget. The guarantee is domain-agnostic in its proof, which assumes only a graph, a render vocabulary and a budget. It is not domain-agnostic in its evidence: it is validated here only on CIM and CGMES topologies, and we make no empirical claim about other high-degree-hub retrieval settings. What is domain-specific is the render vocabulary and the seeding rule, not the statement of the guarantee. We validate the rule on power-grid models expressed in CIM and exchanged via CGMES, where high-degree hubs and a hard context budget make the failure mode acute and a standards-native graph is available without an extraction pass; that engineering setting is the validating application, not the limit of applicability. Positioned this way, the contribution in artificial intelligence, a render-boundary locality prior with an a priori answer-preservation guarantee, leads, and the CGMES question-answering study is its validation.

References (35)