yitae.dev
← Back to Experiments
Ontology & GraphRAG Construction · 2026-09-02 · Local & Hosted Inference (gpt-oss-120b / DeepSeek-V3.1 / MiniMax-M2.7) · 9 min read · yw-agn.2
Refuted

The Dense Compression Trap: Why Graph Representations Trail Raw Text (0.018 vs 0.286 Recall) and How Verbalization Rescues 3.4×

Synthesizing gnnllm_lab (n=2,542), ICML compression audits (n=1,081), and LoG2026 construction audits: how triple serialization starves LLM readers, why verbalization helps 3.4×, and why rigid schemas hurt construction extraction.

Headline result: Answer IDF recall: Text 0.286 vs LPG 0.064 vs RDF 0.018 (n=2,542) · Verbalize +3.4× · Onto parse 85.0%→79.2%

On this page (9 sections)
Pre-registered Hypothesis, Falsification Criteria & Environment Manifest
Hypothesis
Compressing source passages into compact RDF triples or LPG graphs retains sufficient answer evidence for financial QA, while explicit ontology schemas standardize cross-model construction.
Falsification Criteria
If compressed graph views lose crucial answer sufficiency versus raw text, or ontology schemas reduce valid parse coverage and cross-model agreement, compact schema-constrained construction is refuted.
Host / Compute
Local analysis + MARA/OpenAI API endpoints
Runtime
gnnllm_lab modality pipeline + LoG2026 construction audit + icml2026 compression profiler
Workload / Dataset
FinDER_KG_Merged (n=2,542 Qs × 5 modes), ICML compression (n=1,081), LoG sota_construction_v2 (n=40 Med+Novel) & Finding 1.4 (n=16)
Sample Size / Repeats
7,626 LLM-as-Judge scores (gpt-oss-120b) + 5,000 permutation resamples + 240 construction calls

1. Motivation: The Compression Illusion in GraphRAG

Knowledge graph pipelines are often justified on compression: why feed 370 tokens of messy 10-K prose when 7 structured triples (24 tokens) capture the “essential facts”? To test whether structural compression preserves real answerability—and whether giving extractors an ontology schema improves graph consistency—we synthesize four datasets spanning gnnllm_lab (n=2,542), icml2026 (n=1,081), LoG2026-ready, and seocho-design/ama.

2. Hypothesis, Falsification & Experimental Mechanism

We tested whether dense graph compression preserves answer sufficiency (Refuted on raw RDF/LPG and unconstrained construction taxonomies; verbalization partially rescues recall 3.4×).

Three Failure Points: Construction Tax, Divergence, and Dense Serialization Loss
Stage 1: Extraction TaxStatic schema prompt: 4.38× tokensEmpty graphs: 15.0% → 29.2%Org extract: 85.6% → 70.1%MiniMax parse drops 85% → 50%Stage 2: Granularity SplitMore classes = more ways to sliceAgree: 0.375 (A) → 0.193 (C)1,334 → 1,672 fact names (+25%)Facts diverge across extractorsStage 3: Reader RescueRaw RDF (24 tok): recall 0.018Hop expansion (67 tok): 0.024Verbalized RDF: 0.062 (3.4×)Precision peaks at 0.298 vs LPG 0.172
Even before retrieval begins, ontology constraints blow up extraction prompts (4.38× tokens) and lower inter-model agreement (0.375 → 0.193). At read time, stripping prose morphology crushes RDF lexical overlap unless triples are verbalized back into fluent sentences.

3. Environment & Verification Cohorts

  • gnnllm_lab Modality Evaluation (20260222_195922 & 20260301_073147): Paired evaluation over 2,542 FinDER questions comparing text, lpg, rdf, rdf_hop (multi-hop triple expansion), and rdf_verb (natural-language verbalization). Includes 7,626 openai/gpt-oss-120b judge ratings (5,000 permutation resamples) on text/lpg/rdf.
  • icml2026 Compression Audits: n=1,081 retention/density measurement plus n=10 GPT-4o qualitative sufficiency audit (compression_llm_judge.json).
  • LoG2026-ready Findings (1.0–2.2) & finder_multi_instance E2E (v4): Cross-model identifier analysis (60,000 nodes/model), FIBO coverage (279 alias pairs) & OWL 2 RL closure (4 → 28 endpoints), Finding 1.4 (16 cases × 3 models × 4 conditions + 5,000 bootstrap draws), 2.1 static schema diff (70/12 vs 96/51), sota_construction_v2 (240 calls), plus E2E_FINDINGS.json (1,384 re-analyzed episodes across 38 unique cases / 15 issuers; 0 new model calls).

4. Visual Evidence & Quantitative Results

Modality recall/precision trade-off across 2,542 FinDER questions and ontology construction regressions.
Figure 1. Left: Text retains 0.286 IDF recall (n=2,542) while raw RDF drops to 0.018; verbalizing the exact same 7.39 RDF triples raises recall 3.4× (0.0624) and achieves top precision (0.298). Right: Enforcing construction ontologies lowers MiniMax parse rate (0.85 → 0.50), cuts gpt-oss organization extraction (0.93 → 0.60), and reduces inter-model fact agreement (0.375 → 0.193).

Modality Trade-off on FinDER (n = 2,542)

Context ModeMean TokensInfo Units / 100 tokAnswer IDF RecallAnswer IDF PrecisionLLM-as-Judge Overall (1–5)Judge Sufficiency (1–5)Judge Conciseness (1–5)
text370.53.950.28610.24353.9484.3252.654
lpg96.57.300.06370.17232.7892.3353.215
rdf24.230.840.01830.09192.4862.0693.137
rdf_hop66.731.270.02360.0610(not judged)——
rdf_verb48.316.260.0624 (3.4× RDF)0.2980(not judged)——

Construction Tax & Schema Disagreement (LoG2026-ready & icml2026)

Audit SuiteUnconstrained / BaselineOntology-ConstrainedMeasured Consequence
Source Sufficiency (icml n=10)Text 0.940Graph 0.290 (LPG 0.33, RDF 0.04)61.1× mean per-Q compression drops key numbers (EBIT)
Finding 1.4 Agreement (n=16 × 3)Cond A (No Schema): 0.375 [0.290, 0.456]Cond C (FIBO 70 classes): 0.193 [0.115, 0.261]Unique names grew 1,334 → 1,672 (+25%), fragmenting extraction
sota_construction_v2 (n=240)G (36,120 in tok): 85.0% parse, 15.0% emptyO (158,080 in tok): 79.2% parse, 29.2% empty4.38× token cost; Org extraction falls 85.6% → 70.1%
AMA Null-Link Guidance (n=30 × 2)none: 90.6% (RDF) / 97.3% (LPG) null linksstatic: 2.6% / 4.8% null linksGuidance fixes unlinked URIs (0.47→0.62), yet 52–53% stay custom ama:
E2E_FINDINGS Flat vs Typed (38 cases)flat_matched: 79/96 dev (1,927 tok), 90/120 pilottyped_subgraph: 69/96 (3,252 tok), 69/120 (4,248 tok)Edge ablation drops further to 51/96 & 39/120
E2E_FINDINGS Retrieval (n=64 arm)bm25 47/64 / tfidf 37/64 / bm25_ctx_graph 2/64bm25_reviewed_alias: 60/64 (3,522 med tok)Alias lexical index tops separate retrieval comparison
LoG 2.1 Declared vs Introspected SchemaDeclared FIBO: 70 labels, 12 rels (~102 tok intersected)Introspected store: 96 labels, 51 rels (~267 tok)Exposes 32 undeclared labels, 39 rels, 21 bookkeeping keys

5. Mechanism Breakdown: Why Verbalization Succeeds Where Hop Expansion Fails

  1. Vocabulary mismatch, not missing node count, kills raw RDF: Across 2,138 / 2,542 (84.11%) FinDER questions where RDF actually contained more or equal extracted elements than LPG, LPG still outperformed RDF on answer alignment 83.16% to 5.66%. Adding neighboring hops (rdf_hop: 7.39 → 21.23 units, 24 → 67 tokens) diluted precision (0.092 → 0.061) while barely nudging recall (0.018 → 0.024). Verbalizing the original 7.39 triples (rdf_verb, 48.3 tokens) restored grammatical relations and tokens, jumping IDF recall 3.4× to match LPG (0.0624 vs 0.0637) with the highest precision (0.2980) of any mode.
  2. Why text beats all compressed graphs on FinDER: Qualitative inspection (compression_llm_judge.json) reveals that financial QA routinely depends on exact numeric tables ($1,557,813K vs $1,160,403K EBIT across 2021–2023) and explicit causal phrasing ("due to higher sales") that triple extractors drop across icml’s n=1,081 audit (averaging 211.6 text tokens vs 9.0 graph facts = 23.5× corpus ratio, 61.1× mean per-question compression ratio).
  3. Why ontology constraints fragment schemas across models: Injecting static ontologies does not simply create too many classes—even the compact hand-written schema (Condition B, 1,051 unique names vs 1,334 baseline) cut agreement to 0.221 (A−B = 0.155 [0.069, 0.219]; A−C = 0.182 [0.137, 0.236]), while LoG 1.5 formally withdrew the earlier 0.050 vs 0.227 causal claim after spotting an entity-granularity confound (LegalEntity vs MonetaryAmount). Moreover, LoG 1.1 shows gpt-oss mints type-prefixed IDs where only 6.0% of 60,000 identifiers derive from node names (vs 42.5% DeepSeek, 26.6% MiniMax)—requiring external deterministic canonical keys and OWL 2 RL subsumption (4 → 28 resolved relation endpoints in LoG 1.3) before cross-model graph merges.

6. Key Findings & Transferable Insights

Distilled via multi-agent deliberation (Codex + Claude) across gnnllm_lab, LoG2026 1.0–2.2, and E2E_FINDINGS.json:

  • Always benchmark against flat_matched_evidence & bm25_reviewed_alias before keeping graph extractors: Flat evidence beat typed_subgraph and edge_ablation across both E2E cohorts (79/96 & 90/120 vs 69/96 & 69/120; 1,927–2,450 vs 3,252–4,248 tokens, accounting also for 7 dev and 10 pilot graph provider errors and 1.16M extraction tokens across 19 builds), while reviewed lexical aliases topped the retrieval suite (60/64 vs 2/64 context graph). Honesty qualifier: E2E_FINDINGS.json explicitly flags graph_format_superiority_established: false and matched_quality_efficiency_established: false.
  • Query introspection teaches phantom structure (LoG 2.1); pair ontology coverage checks with corpus aliases (LoG 1.2): Introspecting an LLM-built store exposed 32 undeclared labels (COGS, Dividend, Court) and 39 undeclared relationships (96/51 vs declared 70/12, 267→102 intersected tokens; agent query accuracy test 2.2 not yet run), while LoG 1.2 exposed Risk (0.592 sim vs 0.831 control; cybersecurity/ERM absent) and filing preference for formal aliases (43/279 pairs: LLC, EBITDA) alongside LoG 1.0’s negative isolation test (65/3,865 = 1.7% entity overlap yet 21/28 rel types shared).
  • Serialize existing triples before buying extra graph hops: rdf_verb matched LPG recall at half the tokens (48.3 vs 96.5) and 0.2980 precision, avoiding the precision decay (0.092 → 0.061) of brute 1-hop expansion.

7. Scope Limits & Next Experiment

  • Missing LLM-as-Judge on rdf_verb & unrun LoG controls (yw-pow.7, yw-pow.6): The 2026-03-01 rdf_hop/rdf_verb comparison scored lexical IDF overlap rather than full LLM-as-Judge sufficiency (yw-pow.7); LoG 1.5 awaits a 70-class non-FIBO control; LoG 2.2 awaits execution of byte-identical Cypher uptake tests; and LoG 1.4 notes internal tension between its non-pre-registered banner and "Pre-registered" hypothesis text.
  • Paused 420-case full retrieval: LoG2026-ready/finder_graphrag_sota_v1/full (420 cases) was paused after worker overlap wrote 5,849 graph calls (yw-pow.6), leaving bounded rebuttal100 (n=100, passage_tfidf R@5 0.530 vs hipporag 0.390 vs gr_pcst 0.320) as the cleanest comparable retrieval baseline.