arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.04092cs.DB
收藏

可编程数据流:数据共享的抽象与编程模型

Programmable Dataflows: Abstraction and Programming Model for Data Sharing

Siyuan Xia, Chris Zhu, Tapan Srivastava, Bridget Fahey, Raul Castro Fernandez

AI总结:

本文提出契约抽象与契约编程模型(CPM),通过可编程数据流表示数据共享问题,并引入中间输出保存与无权访问跳过等优化,在保证监管与隐私约束下实现通用且高效的数据共享编程。

摘要:

数据共享在欺诈检测、广告匹配和研究等众多应用中处于核心地位。由于缺乏数据共享抽象,每个数据共享问题的解决方案都是定制化的且成本高昂,阻碍了价值生成。在本文中,我们首先引入一种数据共享模型,用一系列数据流来表示每一个数据共享问题。基于该模型,我们提炼出一种抽象——契约(contract),代理(agents)在数据流执行之前使用契约来传达数据流的意图并评估其后果。这有助于代理在不违反任何监管和隐私约束的情况下朝着共同的共享目标前进。然后,我们设计并实现了契约编程模型(CPM),该模型允许代理针对每个问题的需求来编程数据共享应用。契约允许数据共享,但其交互特性可能引入低效率。为了缓解这些低效率,我们扩展了CPM,使其能够保存数据流的中间输出,并在数据流试图访问其无权访问的数据时跳过计算。在我们的评估中,我们表明:1)契约抽象具有足够的通用性,能够表示广泛的共享问题;2)我们可以为复杂的数据共享问题编写程序,并展示出相对于其他替代技术的定性改进;3)在定量方面,我们的优化使使用CPM编写的共享程序变得高效。

英文摘要:

Data sharing is central to a wide variety of applications such as fraud detection, ad matching, and research. The lack of data sharing abstractions makes the solution to each data sharing problem bespoke and cost-intensive, hampering value generation. In this paper, we first introduce a data sharing model to represent every data sharing problem with a sequence of dataflows. From the model, we distill an abstraction, the contract, which agents use to communicate the intent of a dataflow and evaluate its consequences, before the dataflow takes place. This helps agents move towards a common sharing goal without violating any regulatory and privacy constraints. Then, we design and implement the contract programming model (CPM), which allows agents to program data sharing applications catered to each problem's needs. Contracts permit data sharing, but their interactive nature may introduce inefficiencies. To mitigate those inefficiencies, we extend the CPM so that it can save intermediate outputs of dataflows, and skip computation if a dataflow tries to access data that it does not have access to. In our evaluation, we show that 1) the contract abstraction is general enough to represent a wide range of sharing problems, 2) we can write programs for complex data sharing problems and exhibit qualitative improvements over other alternate technologies, and 3) quantitatively, our optimizations make sharing programs written with the CPM efficient.

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

↑