�
JASH PAREKH
SIEBEL SCHOOL OF COMPUTING AND DATA SCIENCE
UNIVERSITY OF ILLINOIS URBANA-CHAMPAIGN
AUGUST 10, 2026
1
Reasoning with Structures for Large Language Models
1
Outline
2
Why do LLMs Need to Reason?
Wei, Wang, Schuurmans, Bosma, Xia, Chi, Le, Zhou, "Chain-of-Thought Prompting Elicits Reasoning in Large Language Models", NeurIPS 2022
GSM8K solve rate, direct answering (black) vs. chain-of-thought (blue); dashed = prior supervised SOTA. The gap only opens at scale.
Real questions are multi-step: the answer depends on intermediate results the model must work out first!
Reasoning lets the model spend more computation per problem, and leaves a trace that can be checked
3
Why is it Important?
Accuracy: intermediate steps provide extra computation on hard problems
Fewer errors and hallucinations: intermediate conclusions can be used to ground future steps
Verifiability: intermediate steps can make the reasoning process easier to inspect and verify
Wei, Wang, Schuurmans, Bosma, Xia, Chi, Le, Zhou, "Chain-of-Thought Prompting Elicits Reasoning in Large Language Models", NeurIPS 2022
(a) answer directly; (b) write the steps first.
4
Chain-of-Thought Reasoning
Wei, Wang, Schuurmans, Bosma, Xia, Chi, Le, Zhou, "Chain-of-Thought Prompting Elicits Reasoning in Large Language Models", NeurIPS 2022
One pass answers 27 and sounds certain; the chain answers 9.
CoT prompts the model to write the steps before the conclusion
Key Issue: One sample, one path — a single wrong step poisons the rest
Takeaway: Chain is generated, not verified — nothing forces step k to actually follow from step k−1
5
Overcoming the Limitations of CoT
Wang et al., "Self-Consistency Improves Chain of Thought Reasoning in Language Models", ICLR 2023
Yao et al., "Tree of Thoughts: Deliberate Problem Solving with LLMs", NeurIPS 2023
Self-Consistency: sample many chains, keep the majority answer
Tree-of-Thoughts: branch, score, prune — reasoning as search
Similarities: Both show that more inference compute buys higher accuracy
What they do not fix: every path is still free-form text over the same flat context
6
Evolution of Reasoning - From Prompting for Reasoning to Training for It
DeepSeek proposed R1-Zero, a training paradigm that:
[1] Skips the intermediate supervised fine-tuning process, and directly apply RL to update the LLM
[2] Eliminates the need to train a reward model, but uses a rule-based reward (e.g., exact match) instead.
By 2026 this is table stakes: thinking is always on, with an effort dial
DeepSeek-AI (Guo et al.), "DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning", 2025
DeepSeek-R1-Zero’s results on AIME (American Invitational Mathematics Examination)
The LLM expands its reasoning chain to get more accurate answer, like a human!
7
What Is Structure, and Why Does It Matter?
Text states facts; the relations between them stay implicit
Structure makes the relations explicit (e.g., graphs, trees, tables, schemas)
Different shapes answer different questions — hops, hierarchy, aggregation
Text tells you what is known. Structure tells you how it connects.
“Aspirin thins the blood.
Warfarin also thins the blood."
raw text
extract relations
Aspirin
Warfarin
Bleeding risk
Interaction stated nowhere
increases
increases
the same knowledge, with relations made explicit
8
Pitfalls of Current Reasoning Methods - 1: Reasoning Is Not Knowledge
Parametric knowledge: frozen at pretraining — stale, thin in the long tail
Longer chain over wrong premises → more confident wrong answer
Traditional RAG and even trained methods (e.g., Search-R1) fix what the model sees…
…not how it reasons over it
Jin, Zeng, Yue, Yoon, Arik, Wang, Zamani, Han, "Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learning", COLM 2025
A real Search-R1 rollout: the model interleaves <think> and <search> until it can answer (github.com/PeterGriffinJin/Search-R1)
9
Pitfalls of Current Reasoning Methods - 2: Flat Context Defeats the Chain
Liu, Lin, Hewitt, Paranjape, Bevilacqua, Petroni, Liang, "Lost in the Middle: How Language Models Use Long Contexts", TACL 2024
Jin, Yoon, Han, Arik, "Long-Context LLMs Meet RAG", 2024
Retrieved chunks arrive flat — the model must
reconnect facts across documents
Accuracy depends on where the evidence sits, not
just whether it is present
Multi-hop is where it bites: the bridge fact is
there, and never connected
10
Pitfalls of Current Reasoning Methods - 3: The Chain Is Unverifiable
A chain-of-thought is a plausible narrative, not a
derivation
No provenance: no pointer from a claim back to its
evidence
In domains such as medicine and finance, the audit
trail is the deliverable!
Verification has to come from outside the chain
a fluent chain…
Step 1 — “Drug X was approved in 2019”
Step 2 — “Trial B reported no interactions”
Step 3 — “Therefore X is safe to combine with warfarin”
Doc A
Doc B
?
Steps 1–2 trace back to documents. The conclusion traces back to nothing — and nothing in the chain flags it.
11
Each Pitfall Has a Structural Remedy
Three pitfalls, one shape: relations left implicit
Not knowledge:
ground the chain in organized evidence
Flat context:
adjacency — bridge facts co-located
Unverifiable:
the traversal path is the explanation
Retrieve → STRUCTURE → reason
12
Outline
13
GraphRAG: Graph Community Detection and Textualization
Edge, et al. "From local to global: A graph rag approach to query-focused summarization." arXiv preprint arXiv:2404.16130
Overview of GraphRAG
Corpus
Triple
Extraction
Knowledge Graph
Community Detection
Graph Communities
Community Summarization
New Corpus
The core idea is to “reindex” the corpus into structurally meaningful text chunks
14
GraphRAG: Graph Community Detection and Textualization
Edge, et al. "From local to global: A graph rag approach to query-focused summarization." arXiv preprint arXiv:2404.16130
Leiden algorithm
Knowledge Graph
Graph Communities
(Leiden is a community detection algorithm that identifies well-connected groups of nodes in networks while guaranteeing connected communities and optimal node assignments through iterative refinement.)
Community Detection
15
GraphRAG: Graph Community Detection and Textualization
Edge, et al. "From local to global: A graph rag approach to query-focused summarization." arXiv preprint arXiv:2404.16130
Graph Communities at Different Hierarchical Level
Level 0
Level 1
Community Summaries
Summarize each community
New corpus for RAG
Community Textualization
16
GraphRAG: Graph Community Detection and Textualization
Edge, et al. "From local to global: A graph rag approach to query-focused summarization." arXiv preprint arXiv:2404.16130
GraphRAG outperforms Naïve RAG on comprehensiveness, diversity, and empowerment.
This shows the effectiveness of re-indexing the corpus with structure information.
17
Bernal, et al. "Hipporag: Neurobiologically inspired long-term memory for large language models." NeurIPS 2024
HippoRAG
HIppoRAG
Constructs KG for all the passages in the corpus using LLM.
Retrieve relevant information by finding paths in the KG between the entities in the query, using PageRank.
HippoRAG – Knowledge Graph Construction and Retrieval
18
SARG: Structure Without the Index
Build the reasoning structure on demand, over only the documents the retriever returned!
Jash Parekh, Pengcheng Jiang, Jiawei Han, "SARG: Structure-Augmented Reasoning Generation", arXiv:2506.08364
19
SARG Results: Multi-Hop and Domain-Specific Benchmarks
Bold = best within each backbone group; † = best overall across all methods
SARG leads on every multi-hop metric!
20
LLM-Powered Output Generation with Justification
SARG reconstructs the full pathway the human-annotated KG misses
SARG's key advantages:�
[1] Plug-and-play: a post-retrieval layer for any RAG pipeline �[2] Interpretable: the exact traversal path is surfaced
[3] Domain-adaptive: few-shot extraction, no fine-tuning
21
CGR: Condition-Gated Reasoning for Context-Dependent Biomedical Question Answering
Motivation: ALL clinical decisions are conditional (patient-dependent) – age, comorbidities, allergies, contraindications.
Existing benchmarks & RAG studies ignore patient context!
Parekh et al."Condition-Gated Reasoning for Context-Dependent Biomedical Question Answering“, KDD 2026
22
CGR: Condition-Gated Reasoning for Context-Dependent Biomedical Question Answering
Condition-aware KG: extract n-tuples that carry condition tags with LLM
Gating: prune paths by patient conditions
Inference sees only condition-appropriate knowledge
Parekh et al."Condition-Gated Reasoning for Context-Dependent Biomedical Question Answering“, KDD 2026
23
CGR Performance Across QA Benchmarks
Parekh et al."Condition-Gated Reasoning for Context-Dependent Biomedical Question Answering“, KDD 2026
24
Query-Time Structuring, Learned: StructRAG and Structure-R1
StructRAG: router picks the structure — table, graph, algorithm, catalogue, chunk
Structure-R1: RL-learned structuring — reward: answer from the structure alone
Results show that 7B + learned structure ≈ much larger models
Li, Chen, Yu, Lin, Lu, Tang, Huang, Han, Sun, Li, "StructRAG", ICLR 2026
Wu, Zhong, Sun, Li, Jin, Han, Zeng, "Structure-R1", 2025, arXiv:2510.15191
25
Outline
26
Where Does Structure Actually Come From?
Needed before reasoning: taxonomy, relations, roles, schema�
Old: expert annotation, fixed vocabularies�
New: LLMs propose, corpus evidence decides, humans constrain
Taxonomy
Relations
Roles
Schema
27
PriORE: Aligning Relation Extraction to a Specific Topic
Linyi Ding, Jinfeng Xiao, Sizhe Zhou, Chaoqi Yang, Jiawei Han, “Topic-Oriented Open Relation Extraction with A Priori Seed Generation”, EMNLP’24
Closed RE: needs a predefined list · open RE: drifts off-topic
PriORE: a-priori seed relations → classify mentions
Why it matters here: the relation vocabulary for SARG & CGR graphs
28
PriORE: Biggest Gains on Narrow, Domain-Specific Topics
Takeaways:�
Biggest wins: narrow specialist topics — no existing KG�
Largest gain: informativeness
Coarse-grained topics (DocRED, FewRel-Bio)
Fine-grained topics (EV batteries, redox reactions)
29
ObSchema: Inducing Attribute Schemas From Scientific Text
Attributes stated locally — values, units, conditions tangled�
Closed schemas: can't enumerate · open extraction: never consolidates�
Goal: induced, type-level attribute schema
Patrick Xu et al., ObSchema: From Local Observations to Global Entity Attribute Schemas in Scientific Literature , submitted
Local, condition-laden observations (left) and the type-level attribute schema they should roll up into (right).
30
Inside ObSchema: Extract, Organize, Refine
Extract n-ary observations (schema-guided)�
Promote only on corpus-level evidence�
Schema improves batch over batch
The schema S is carried forward as each batch arrives, so later batches are extracted against a better schema.
31
ObSchema: Best Schema Quality Under Both Base LLMs
Four metrics — Attribute Validity, Path Granularity, Sibling Coherence, Uniqueness — averaged over five independent LLM judges.
SOTA performance across the board!
Higher is better; bold marks the best method in each block.
32
ObSchema: Faster and Cheaper Than Iterative Induction
33
Takeaway: Structure Is Now Inducible
Taxonomies, relations, roles, and schemas are ALL now inducible without any predefined vocabulary!
Corpus
→
Candidates
→
Evidence gate
→
Structure
34
Outline
35
Long Document QA: No Document Can Be Ignored
Wang et al. "Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QA", ArXiv: 2405-17419v2
Every document required — top-k ≠ all
Tasks: locate · compare · cluster · chain
Loong’s four task types: locate the evidence; locate and compare; locate and cluster; locate and reason along a chain.
36
RAPTOR: A Tree of Summaries, Retrieval at Every Level
Embed → cluster → summarize, recursively�
Retrieve at any level: theme + detail in one pass
Sarthi, Abdullah, Tuli, Khanna, Goldie, Manning, "RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval", ICLR 2024
37
SLIDERS: Turn a Document Set Into a Database, Then Query It
Harshit Joshi, Priyank Shethia, Jadelynn Dao, and Monica S. Lam, "Contexts are Never Long Enough: Structured Reasoning for Scalable Question Answering over Long Document Sets", ArXiv:2604-22294
Chunk pipelines: the long-context problem regenerates
SLIDERS: DB rows + SQL answers + per-row provenance
Top: a text intermediate state hits the aggregation bottleneck. Bottom: the intermediate state is a database, and the answer is a query over it.
38
SLIDERS: From Raw Documents to a Queryable Database
Documents → contextualized chunks → induced schema → extracted rows → reconciled tables → SQL answer
1. Induce typed schema (query + metadata)
2. Extract rows w/ provenance · reconcile
3. Answer with SQL
39
SLIDERS: Scales Past 3.9M Tokens at ~$0.76 per Query
Only system past 3.9M tokens
~$0.76 / query · ~3 min end-to-end
Every answer auditable to the row
Benchmarks
FinanceBench — analyst questions on filings
Loong — every document required
Oolong — classify locally, aggregate globally
40
Outline
41
Jiang et al., "Reasoning-Enhanced Healthcare Predictions with Knowledge Graph Community Retrieval", ICLR 2025
Large Language Models are not good at everything.
For example, they are bad at clinical prediction, if no external knowledge is provided:
Brown, et al. "Large language models are less effective at clinical prediction tasks than locally trained machine learning models." JAMIA 2025
Chen et al. "ClinicalBench: Can LLMs Beat Traditional ML Models in Clinical Prediction?." arXiv preprint arXiv:2411.06469 (2024).
This is because clinical predictions given patient context needs highly relevant medical knowledge and complex reasoning process.
KARE: Graph Community-Indexed Corpus and Personalized Retrieval
42
Jiang et al., "Reasoning-Enhanced Healthcare Predictions with Knowledge Graph Community Retrieval", ICLR 2025
Naïve RAG?
EHR example
Retrieval Result from PubMed
Unwanted Information
KARE: Graph Community-Indexed Corpus and Personalized Retrieval
43
Jiang et al., "Reasoning-Enhanced Healthcare Predictions with Knowledge Graph Community Retrieval", ICLR 2025
KARE, a framework for clinical predictions, introducing fine-grained medical knowledge indexing, personalized (theme-specific) retrieval, and LLM reasoning over patient context and retrieved knowledge.
KARE: Graph Community-Indexed Corpus and Personalized Retrieval
44
We construct theme-specific summarization of KG communities w/ LLMs.
Jiang et al., "Reasoning-Enhanced Healthcare Predictions with Knowledge Graph Community Retrieval", ICLR 2025
We retrieve the KG communities based on multiple metrics:
Node Hits: the overlapped node between patient graph and the KG
Coherence: semantic similarity between the patient context and the KG community
Recency: communities that are more relevant to recent visits should be weighted higher
Theme Relevance: communities more relevant to the targeted theme should be weighted higher
KARE: Graph Community-Indexed Corpus and Personalized Retrieval
45
Jiang et al., "Reasoning-Enhanced Healthcare Predictions with Knowledge Graph Community Retrieval", ICLR 2025
We then finetune the LLM in a multi-task setting, performing both reasoning generation (w/ data distilled from larger models) and label prediction
KARE: Graph Community-Indexed Corpus and Personalized Retrieval
46
Jiang et al., "Reasoning-Enhanced Healthcare Predictions with Knowledge Graph Community Retrieval", ICLR 2025
For mortality prediction where the data is extremely imbalanced (5.42% positive labels), most ML models perform poor
LM+ML based methods improved the performance by leveraing external knowledge
Naïve RAG and few-shot prompting-based LLM methods perform worse than traditional ML methods in most cases (see full results in paper).
KARE significantly outperforms all the previous methods
Key results:
(accuracy of correctly predicting patients who cannot survive)
(accuracy of correctly predicting patients who will be readmitted within 15 days)
Machine Learning Methods
ML+LM Methods
LLM Methods
KARE: Graph Community-Indexed Corpus and Personalized Retrieval
47
Jiang et al., "Reasoning-Enhanced Healthcare Predictions with Knowledge Graph Community Retrieval", ICLR 2025
KARE: Graph Community-Indexed Corpus and Personalized Retrieval
(Base: raw patient context, Aug: augmented patient context)
KARE shows that:
fine-grained knowledge (from the constructed medical KG communities) and
structured, graph-information-awareness
are crucial for truly useful information retrieval.
48
What Is a Harness?
The harness is the program wrapped around the model — it renders what the model sees, parses what the model emits, calls the tools, and keeps the state�
The model itself is stateless between turns; whatever is “remembered” lives in the harness
49
Harness-1: The Problem — a Policy Over a Growing Transcript
Standard training: the policy owns a growing transcript
Search decisions AND bookkeeping compete inside one policy
Harness-1: move the state into the environment; keep only the semantic decisions
Pengcheng Jiang, Zhiyi Shi, Kelly Hong, Xueqiang Xu, Jiashuo Sun, Jimeng Sun, Hammad Bashir, Jiawei Han, "Harness-1: Reinforcement Learning for Search Agents with State-Externalizing Harnesses", 2026, arXiv:2606.02373
50
Harness-1: The State Lives in the Environment
The harness remembers: candidate pool, curated set, evidence graph, verification cache, full-text store
The policy decides: what to search, keep, verify — and when to stop
Pengcheng Jiang, Zhiyi Shi, Kelly Hong, Xueqiang Xu, Jiashuo Sun, Jimeng Sun, Hammad Bashir, Jiawei Han, "Harness-1: Reinforcement Learning for Search Agents with State-Externalizing Harnesses", 2026, arXiv:2606.02373
The harness state: six externalized stores the environment maintains across turns.
51
Harness-1: The State Lives in the Environment
Working memory rendered at each turn:
Pengcheng Jiang, Zhiyi Shi, Kelly Hong, Xueqiang Xu, Jiashuo Sun, Jimeng Sun, Hammad Bashir, Jiawei Han, "Harness-1: Reinforcement Learning for Search Agents with State-Externalizing Harnesses", 2026, arXiv:2606.02373
52
Harness-1: Rendered Working Memory, and a Reward That Sees It
Each turn: a budget-aware rendered working memory, not the raw transcript
Training: teacher rollouts → SFT → RL (CISPO) over full trajectories
SFT teaches the interface, RL the decisions.
Pengcheng Jiang, Zhiyi Shi, Kelly Hong, Xueqiang Xu, Jiashuo Sun, Jimeng Sun, Hammad Bashir, Jiawei Han, "Harness-1: Reinforcement Learning for Search Agents with State-Externalizing Harnesses", 2026, arXiv:2606.02373
53
Harness-1: Externalized State Generalizes
Structure moved from the knowledge into the environment
🡪 SOTA: Harness-1 outperforms frontier models (e.g., GPT-5.4) on long-horizon search!
Pengcheng Jiang, Zhiyi Shi, Kelly Hong, Xueqiang Xu, Jiashuo Sun, Jimeng Sun, Hammad Bashir, Jiawei Han, "Harness-1: Reinforcement Learning for Search Agents with State-Externalizing Harnesses", 2026, arXiv:2606.02373
54
Where Are We Heading?
build the index once, retrieve from it (e.g., GraphRAG, HippoRAG, RAPTOR)
Static Structure
build (or learn to build) the structure per question (e.g., SARG, StructRAG, Structure-R1)
Query-Time Structure
State and tasks live outside the model! (e.g., Harness-1, SLIDERS, Kimi K3)
Structure in the Environment
Flog-retrieval hacks → trained consolidation over explicit structure
Agent Memory, Trained Consolidation
55
This Loop Already Runs at Frontier Scale: Kimi K3
K3 RL tasks: self-evolving knowledge graph — sample concepts → retrieve materials → synthesize tasks
The knowledge graph is now training infrastructure
Kimi Team, “Kimi K3: Open Frontier Intelligence”, arXiv:2607.24653, 2026 — RL task-synthesis workflow over the concept graph
56
Conclusion
Reasoning with Structures: use it, induce it, scale it, live in it
Use it
Graphs guide the chain!
GraphRAG, SARG , CGR
Induce it
Structure from raw corpora!
PriORE , ObSchema
Scale it
Beyond the context window!
RAPTOR , SLIDERS
Live in it
Index and environment!
KARE , Harness-1
Text tells you what is known. Structure tells you how it connects. — Thank you!
57
References I
58
References II
59
References III
60
References IV
61