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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Lee, Alexander W., Chan, Justin, Fu, Michael, Kim, Nicolas, Mehta, Akshay, Raghavan, Deepti, Cetintemel, Ugur
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914014155505664
author Lee, Alexander W.
Chan, Justin
Fu, Michael
Kim, Nicolas
Mehta, Akshay
Raghavan, Deepti
Cetintemel, Ugur
author_facet Lee, Alexander W.
Chan, Justin
Fu, Michael
Kim, Nicolas
Mehta, Akshay
Raghavan, Deepti
Cetintemel, Ugur
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2503_00600
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Semantic Integrity Constraints: Declarative Guardrails for AI-Augmented Data Processing Systems
Lee, Alexander W.
Chan, Justin
Fu, Michael
Kim, Nicolas
Mehta, Akshay
Raghavan, Deepti
Cetintemel, Ugur
Databases
Artificial Intelligence
Computation and Language
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.
title Semantic Integrity Constraints: Declarative Guardrails for AI-Augmented Data Processing Systems
topic Databases
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2503.00600