arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2212.10740cs.PLcs.CCcs.CL
收藏

ToL:一种基于列表的统一计算模型的张量

ToL: A Tensor of List-Based Unified Computation Model

Chinese Academy of Sciences(中国科学院);International Open Benchmark Council(国际开放基准测试委员会)

Hongxiao Li, Wanling Gao, Lei Wang, Jianfeng Zhan

摘要:

以往的计算模型要么在表示所有计算方面具有等价的能力,但无法提供用于编程复杂算法的原语运算符,要么缺乏表示新增计算的广义表达式能力。本文提出了一个具有广义表达式能力的统一计算模型和一组简洁的原语运算符,用于编写高级算法。本文提出了一种统一的数据抽象--Tensor of List,并给出了一种基于Tensor of List的统一计算模型--ToL模型(简称ToL)。ToL引入了五个原子计算,可以通过有限组合来表示任何基本计算,并通过严格的形式证明来保证。在ToL的基础上,我们设计了一个纯函数语言--ToLang。ToLang提供了一组简洁的原语运算符,可用于对复杂的大数据和AI算法进行编程。我们的评估表明,ToL具有广义的表达能力和内置的性能指标,天生具有严格定义的计算度量-基本操作计数(EOP),在很小的误差范围内与FLOP一致。

英文摘要:

Previous computation models either have equivalent abilities in representing all computations but fail to provide primitive operators for programming complex algorithms or lack generalized expression ability to represent newly-added computations. This article presents a unified computation model with generalized expression ability and a concise set of primitive operators for programming high-level algorithms. We propose a unified data abstraction -- Tensor of List, and offer a unified computation model based on Tensor of List, which we call the ToL model (in short, ToL). ToL introduces five atomic computations that can represent any elementary computation by finite composition, ensured with strict formal proof. Based on ToL, we design a pure-functional language -- ToLang. ToLang provides a concise set of primitive operators that can be used to program complex big data and AI algorithms. Our evaluations show ToL has generalized expression ability and a built-in performance indicator, born with a strictly defined computation metric -- elementary operation count (EOPs), consistent with FLOPs within a small error range.

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

↑