Beyond Linear Context: Graph-Guided Evidence Navigation for Long-Novel Reasoning with a Local 9B Language Model
Organizations: Research Institute of Economics and Management Southwestern University of Finance and Economics
Abstract
Long-context models read a novel the way a person reads a printout: one token after another, in narrative order, with the whole history competing for a fixed budget of attention. A detective does not work that way. They sort what happened when, and they keep a map of who relates to whom, so a clue from chapter one can meet a question asked at the end of the book. We test whether a frozen knowledge graph can give a small local model that same freedom. Thirty detective novels and 234 multiple-choice questions are answered by one fixed qwen3.5:9b reader under nine conditions: five graph routes, a recent-window baseline, whole-book compression, ordinary vector retrieval, and a question-only control. The strongest graph route reaches 53.85% (126/234) against 46.15% for the recent window, 51.28% for compression, 51.71% for vector retrieval and 40.17% for question-only. On the subset that no model can answer without the book, the graph route reaches 42.86%. None of the fifteen graph-baseline contrasts survives Holm correction, so we present the result as exploratory evidence about a design. Two structural findings survive scrutiny better than the headline number: annotated evidence concentrates in the topological core of these graphs (2.35x enrichment, pooled), and the two graph-building pipelines differ so much in annotation coverage (16% versus 73% of clue paragraphs) that pooled accuracy alone would hide which bottleneck is being measured.
Figures & tables
| Condition | Correct | Accuracy | 95% Wilson | Novel macro | Q0-hard | vs. Q0 |
|---|---|---|---|---|---|---|
| G1 order-1 | 118/234 | 50.43 | [44.1, 56.8] | 51.03 | 52/140 | +10.26 |
| G2 order-2 | 112/234 | 47.86 | [41.5, 54.2] | 48.02 | 52/140 | +7.69 |
| G3 order-3 | 118/234 | 50.43 | [44.1, 56.8] | 50.71 | 55/140 | +10.26 |
| G4 graph majority | 122/234 | 52.14 | [45.8, 58.5] | 52.81 | 53/140 | +11.97 |
| G5 tight expansion | 126/234 | 53.85 | [47.4, 60.1] | 53.34 | 60/140 | +13.68 |
| B1 tail window | 108/234 | 46.15 | [39.9, 52.6] | 45.27 | 47/140 | +5.98 |
| Condition | old20 (164) | new10 (70) | pooled (234) | preserved on Q0-correct |
|---|---|---|---|---|
| G1 order-1 | 50.0 | 51.4 | 50.4 | 70.2 |
| G2 order-2 | 49.4 | 44.3 | 47.9 | 63.8 |
| G3 order-3 | 51.2 | 48.6 | 50.4 | 67.0 |
| G4 graph majority | 52.4 | 51.4 | 52.1 | 73.4 |
| G5 tight expansion | 54.3 | 52.9 | 53.8 | 70.2 |
| B1 tail window | 48.2 | 41.4 | 46.2 | 64.9 |
Long-Context QA
Long-context question answering studies how models find, retain, and reason over evidence spread across lengthy documents and histories.
See all 39 papers