ArXiv

Tytan: Interactive Neurosymbolic Construction of Analytic Semantic Schemas from Relational Data

Authors
Donna Hooshmand, Shubham Shahi, Cameron Barrie...
Categories
cs.DB, cs.AI
arXiv
https://arxiv.org/abs/2608.06331v1
PDF
https://arxiv.org/pdf/2608.06331v1

Brief

TYTAN is a neurosymbolic system that constructs analytic semantic schemas from relational databases by combining symbolic schema analysis with LLM-driven semantic inference and targeted user queries. Evaluated on eight datasets, it reports perfect coverage and retrieval correctness (1,678/1,678) and 92–100% semantic-role agreement; it also recovered a ten-table blind database’s entity structure and keys, reducing the manual knowledge-acquisition bottleneck for analytics.

Why it matters

TYTAN (Hooshmand et al., arXiv 2026-08-06) automates construction of analytic semantic schemas from relational databases by combining symbolic database analysis with LLM-based entity proposal, role assignment, and naming; it prompts users with targeted natural-language questions when evidence is ambiguous.

Key details

  • On eight databases spanning real-world and benchmark domains (reported across seven reference domains), TYTAN achieved 100% coverage of entities, attributes, and aggregable features, executed 1,678/1,678 retrieval instructions correctly, and matched semantic roles with reference schemas on 92–100% of matched attributes.
  • In a held-out blind test on a live ten-table database with no declared keys, TYTAN recovered the full entity structure with verified keys and met 100% of the satisfiable expectations of five independent blind annotators.
Source evidence

Abstract

From natural-language query interfaces to automated report generation, data analysis tools need a description of the data: the real-world entities it contains, which columns function as measures or identifiers, and how tables connect into units of analysis. Today, this semantic layer is usually written by hand. This is a knowledge-acquisition bottleneck that limits the scalability of analytic systems, keeps non-technical users dependent on experts, and is itself error-prone. We present TYTAN, a system for automatically constructing an analytic semantic schema from a relational database and, when available, a short user-provided description. TYTAN combines symbolic analysis of the database with LLM-based semantic inference for entity proposal, role assignment, and naming. When the evidence leaves a decision ambiguous, TYTAN asks the user a targeted natural-language question. We evaluate TYTAN on eight databases spanning real-world and benchmark domains along the three axes that define a schema's functional utility: (i) coverage, are all important entities and features captured?; (ii) retrieval correctness, do the schema's instructions actually reach the data; and (iii) characterization accuracy, are semantic types correct? Across the seven reference domains, TYTAN reaches every entity, attribute, and aggregable feature of the expert-corrected reference schemas (100% coverage). Additionally, 100% of its retrieval instructions execute correctly (1,678 of 1,678 self-generated claims), and semantic roles agree with the reference on 92-100% of matched attributes. Checking the underlying data showed the small disagreement is in the reference, not in TYTAN. On a held-out blind test (a live, ten-table database with no declared keys), TYTAN recovers the full entity structure with verified keys and satisfies 100% of the satisfiable expectations of five independent blind annotators.

Comment: 20 pages, 4 figures, 6 tables