arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.11693cs.DBcs.LO
收藏

关于线性代数和关系代数的统一语言LARA的表达性

On the Expressiveness of LARA: A Unified Language for Linear and Relational Algebra

Pablo Barceló, Nelson Higuera, Jorge Pérez, Bernardo Subercaseaux

摘要:

我们研究的LARA语言的表达能力-最近提出的统一模型表示关系和线性代数操作-无论是在传统的数据库查询语言和一些分析任务经常在机器学习管道。我们首先表明LARA是表达完整的一阶逻辑与聚合。由于LARA是由一组用户定义的函数参数化的,这些函数允许转换表中的值,因此该语言的确切表达能力取决于这些函数是如何定义的。我们区分两种主要的情况下,根据级别的泛型查询强制满足。在强泛型假设下,该语言不能表达矩阵卷积,这是当前机器学习操作中非常重要的操作。这种语言也是局部的,因此不能表达诸如表现出递归行为的矩阵求逆之类的操作。为了表示卷积,可以通过在域上添加潜在的线性序来放松通用性要求。然而,这破坏了地方性,使语言的表达能力变得更加难以理解。特别是,尽管在复杂性假设下,所得到的语言仍然不能表示矩阵逆,但在没有这种假设的情况下证明这一事实似乎具有挑战性。

英文摘要:

We study the expressive power of the LARA language -- a recently proposed unified model for expressing relational and linear algebra operations -- both in terms of traditional database query languages and some analytic tasks often performed in machine learning pipelines. We start by showing LARA to be expressive complete with respect to first-order logic with aggregation. Since LARA is parameterized by a set of user-defined functions which allow to transform values in tables, the exact expressive power of the language depends on how these functions are defined. We distinguish two main cases depending on the level of genericity queries are enforced to satisfy. Under strong genericity assumptions the language cannot express matrix convolution, a very important operation in current machine learning operations. This language is also local, and thus cannot express operations such as matrix inverse that exhibit a recursive behavior. For expressing convolution, one can relax the genericity requirement by adding an underlying linear order on the domain. This, however, destroys locality and turns the expressive power of the language much more difficult to understand. In particular, although under complexity assumptions the resulting language can still not express matrix inverse, a proof of this fact without such assumptions seems challenging to obtain.

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

↑