arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.00600cs.DBcs.AIcs.CL
收藏

语义完整性约束:AI增强型数据处理系统的声明式护栏

Semantic Integrity Constraints: Declarative Guardrails for AI-Augmented Data Processing Systems

Brown University(布朗大学)

Alexander W. Lee, Justin Chan, Michael Fu, Nicolas Kim, Akshay Mehta, Deepti Raghavan, Ugur Cetintemel

AI总结:

针对AI增强型数据处理系统中LLM输出错误导致的可靠性瓶颈,提出语义完整性约束这一声明式抽象,集成到查询全流程以保障输出正确性,为构建可靠可审计的相关系统提供基础。

摘要:

AI增强型数据处理系统(DPSs)将大语言模型(LLMs)集成到查询流水线中,可对结构化和非结构化数据执行强大的语义操作。然而,LLMs可能产生错误,从根本上挑战了这些系统的可靠性(又称可信度),限制了其在关键领域的应用。为帮助解决这一瓶颈,我们提出语义完整性约束(SICs)——一种用于在语义查询中指定并强制执行LLM输出正确性条件的声明式抽象。SICs将传统数据库完整性约束推广到语义场景,支持 grounding(事实锚定)、soundness(合理性)、exclusion(排他性)等常见约束类型,兼具反应式和主动式执行策略。我们认为SICs为构建可靠、可审计的AI增强型数据系统奠定了基础。具体而言,我们提出了将SICs集成到查询规划和运行时执行的系统设计,并讨论了其在AI增强型DPSs中的实现方式。为引导和评估我们的构想,我们列出了涵盖表达能力、运行时语义、集成性、性能及企业级适用性等维度的若干设计目标,讨论了本框架如何满足各目标,并提出了待解决的研究挑战。

英文摘要:

AI-augmented data processing systems (DPSs) integrate large language models (LLMs) into query pipelines, allowing powerful semantic operations on structured and unstructured data. However, the reliability (a.k.a. trust) of these systems is fundamentally challenged by the potential for LLMs to produce errors, limiting their adoption in critical domains. To help address this reliability bottleneck, we introduce semantic integrity constraints (SICs) -- a declarative abstraction for specifying and enforcing correctness conditions over LLM outputs in semantic queries. SICs generalize traditional database integrity constraints to semantic settings, supporting common types of constraints, such as grounding, soundness, and exclusion, with both reactive and proactive enforcement strategies. We argue that SICs provide a foundation for building reliable and auditable AI-augmented data systems. Specifically, we present a system design for integrating SICs into query planning and runtime execution and discuss its realization in AI-augmented DPSs. To guide and evaluate our vision, we outline several design goals -- covering criteria around expressiveness, runtime semantics, integration, performance, and enterprise-scale applicability -- and discuss how our framework addresses each, along with open research challenges.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑