Living Context Graphs: Continual Semantic Learning for Enterprise Data Reasoning
Varun Agrawal, Ayush Srivastava, Eshan Gujar, Kaushal Kumar, Ayush Gupta
Key points
From the paper's conclusion- We evaluate LCG through text-to-SQL, a core data-reasoning task, on a transfer-aware split of three BIRD databases comprising 499 questions: 353 form the learning history and 146 are held out and never used to update the context layer.
Abstract
Enterprise AI can now perform analytics, reporting, and data-driven workflows, yet the data foundations it relies on remain hard to operationalize: business meaning, relationships, metric definitions, and reporting conventions are absent from database schemas and scattered across undocumented systems and tribal knowledge. We introduce the Living Context Graph (LCG), a continually learned context layer that makes existing enterprise data operational for AI without requiring a copy or transformation of the underlying warehouse. LCG bootstraps base semantics and relationships from the data itself, builds a concept graph that indexes business context as queries are served, writes durable semantic learnings from verified outcomes, and withdraws or re-earns context when later outcomes contradict prior routes. We evaluate LCG through text-to-SQL, a core data-reasoning task, on a transfer-aware split of three BIRD databases comprising 499 questions: 353 form the learning history and 146 are held out and never used to update the context layer. Bootstrapping alone improves overall accuracy by +4.6 percentage points. Learning only from the history raises accuracy on the untouched held-out transfer set by +22.6 points (95% CI [+14.4, +30.8]), exceeding five-shot retrieval from the same history by +12.3 points. Incremental learning reaches the one-shot endpoint within observed evaluation noise on every database. Ablating the graph changes held-out accuracy by at most one question per database but increases per-query cost 2.3-3.3x and median latency 1.8-3.4x: continually learned semantics drive accuracy, while the graph makes that context efficient to serve.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Schema-Free Text-to-SQL: Learning Enterprise Database Structure from Query LogsarXiv · 2026
- Know Your Context Bank: Repairing Inconsistency and Measuring Generalization in Context-Aware Text-to-SQLarXiv · 2026
- AgentOnto: Ontology-Guided LLM Agents for Enterprise Data AnalyticsarXiv · 2026
- Recovering Business Rules as Cascade Lookups for Enterprise Field PredictionarXiv · 2026
- HarnessSQL: Harness-Native Training for SQL Agents in Realistic Database EnvironmentsarXiv · 2026
- RubikSQL-HB: Agentic Text-to-SQL with Knowledge in the LooparXiv · 2026