arXiv:2608.06331cs.DBcs.AI2026-08

自动构建数据语义模型,让非技术人员也能快速理解数据库。

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

  • 结合符号分析与大模型推理,自动推断数据实体和属性角色。
  • 在8个数据库上实现100%实体覆盖与92%-100%语义准确率。
  • 通过交互式提问解决模糊问题,适合数据分析师和初学者使用。

从自然语言查询接口到自动化报告生成,数据分析工具需要数据的语义描述:包含哪些现实世界实体、哪些列是度量或标识符、表之间如何关联成分析单元。当前这一语义层通常手工编写,存在知识获取瓶颈,限制系统可扩展性,使非技术用户依赖专家,且易出错。我们提出TYTAN,一个从关系型数据库及可选的简短用户描述中自动生成分析语义模式的系统。它结合数据库的符号分析与大模型驱动的语义推断,用于实体提议、角色分配和命名。当证据不足以判断时,系统会提出针对性自然语言问题。我们在涵盖真实世界与基准领域的8个数据库上评估了TYTAN,从三个维度衡量语义模式的功能效用:(i) 覆盖率,是否捕获所有重要实体和特征;(ii) 检索正确性,模式指令是否能准确访问数据;(iii) 表征准确性,语义类型是否正确。在7个参考领域中,TYTAN实现了对专家修正参考模式中所有实体、属性和可聚合特征的100%覆盖率。此外,其1678条自生成声明全部正确执行(100%检索正确性),语义角色与参考标准匹配率达92%-100%。检查底层数据表明,微小差异源于参考标注,而非TYTAN。在一项保留测试中(一个无键声明的十表数据库),TYTAN成功恢复完整实体结构并验证了键信息,满足五位独立盲评者提出的100%可满足期望。

原文摘要 · Abstract (English)

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.

语义建模大模型数据理解交互系统

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。