arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.05679cs.DBcs.AI
收藏

数据流控制:AI 智能体的数据安全策略

Data Flow Control: Data Safety Policies for AI Agents

Columbia University(哥伦比亚大学)

Charlie Summers, Eugene Wu

AI总结:

提出数据流控制框架,通过声明式策略和可移植查询重写层 Passant,在 DBMS 中强制执行元组级数据安全策略,实现接近零开销。

摘要:

智能体越来越多地代表用户生成 SQL、编排管道和自动化数据分析。虽然最近的工作提高了查询的正确性,但正确性不等于安全性。一个查询可能在语义上有效,却违反了管理数据如何组合和发布的监管、隐私或业务约束。我们认为,强制执行此类约束本质上是一个数据基础设施问题。本文介绍了数据流控制(DFC),一个在 DBMS 查询中声明式指定并保证对元组级数据流实施策略的框架。一个关键挑战是定义一种优化器无关但可大规模高效执行的策略语言。我们将数据安全形式化为关于溯源单项的聚合谓词,并提出了 Passant,一个可移植的查询重写层,无需物化溯源即可强制执行 DFC 策略。在五个 DBMS 引擎——DuckDB、Umbra、PostgreSQL、DataFusion 和 SQLServer 上,Passant 实现了约 0% 的开销,并且性能优于替代方案数个数量级。因此,数据流控制是将数据安全从提示和事后检查转移到数据基础设施的第一步。数据流控制开源可用:https://github.com/dataflowcontrol/data-flow-control。

英文摘要:

Agents increasingly generate SQL, orchestrate pipelines, and automate data analysis on behalf of users. While recent work improves query correctness, correctness is not safety. A query may be semantically valid yet violate regulatory, privacy, or business constraints that govern how data may be combined and released. We argue that enforcing such constraints is fundamentally a data infrastructure problem. This paper introduces Data Flow Control (DFC), a framework to declaratively specify and guarantee policy enforcement over tuple-level data flows within a DBMS query. A key challenge is defining a policy language that is optimizer-invariant yet efficient to enforce at scale. We formalize data safety as aggregate predicates over provenance monomials and present Passant, a portable query rewriting layer that enforces DFC policies without materializing provenance. Across five DBMS engines -- DuckDB, Umbra, PostgreSQL, DataFusion, and SQLServer -- Passant achieves ~0% overhead and outperforms alternatives by orders of magnitude. As a result, Data Flow Control is the first step towards moving data safety from prompts and post-hoc checks into the data infrastructure. Data Flow Control is available open source at https://github.com/dataflowcontrol/data-flow-control.

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

↑