arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.09276cs.LGcs.AIcs.CLcs.LO
收藏

迈向神经λ演算:神经符号人工智能应用于函数式编程基础

Towards a Neural Lambda Calculus: Neurosymbolic AI Applied to the Foundations of Functional Programming

Institute of Informatics(信息学院);Federal University of Rio Grande do Sul(里约格兰德杜斯尔大学)

João Flach, Alvaro F. Moreira, Luis C. Lamb

AI总结:

本文提出用神经符号方法让神经网络学习λ演算的归约操作,从而实现对任意程序的执行能力,避免命令式语言的复杂结构和有偏学习限制。

摘要:

在过去的几十年里,基于深度神经网络的模型已成为机器学习的主导范式。此外,人工神经网络在符号学习中的应用近年来被认为越来越重要。为了研究神经网络在符号人工智能领域的能力,研究人员探索了深度神经网络学习数学构造(如加法和乘法)、逻辑推理(如定理证明器)甚至计算机程序执行的能力。后者被认为对神经网络而言过于复杂。因此,结果并不总是成功,并且通常需要在学习过程中引入有偏元素,同时还要限制可执行程序的范围。在这项工作中,我们将分析神经网络整体学习如何执行程序的能力。为此,我们提出了一种不同的方法。我们没有使用具有复杂结构的命令式编程语言,而是使用λ演算(λ-Calculus),这是一种简单但图灵完备的数学形式体系,是现代函数式编程语言的基础,也是可计算性理论的核心。我们将引入集成神经学习与λ演算形式化的方法。最后,我们探索λ演算中程序的执行是基于归约的,我们将证明只要学会如何执行这些归约,就足以执行任何程序。关键词:机器学习,λ演算,神经符号人工智能,神经网络,Transformer模型,序列到序列模型,计算模型

英文摘要:

Over the last decades, deep neural networks based-models became the dominant paradigm in machine learning. Further, the use of artificial neural networks in symbolic learning has been seen as increasingly relevant recently. To study the capabilities of neural networks in the symbolic AI domain, researchers have explored the ability of deep neural networks to learn mathematical constructions, such as addition and multiplication, logic inference, such as theorem provers, and even the execution of computer programs. The latter is known to be too complex a task for neural networks. Therefore, the results were not always successful, and often required the introduction of biased elements in the learning process, in addition to restricting the scope of possible programs to be executed. In this work, we will analyze the ability of neural networks to learn how to execute programs as a whole. To do so, we propose a different approach. Instead of using an imperative programming language, with complex structures, we use the Lambda Calculus (λ-Calculus), a simple, but Turing-Complete mathematical formalism, which serves as the basis for modern functional programming languages and is at the heart of computability theory. We will introduce the use of integrated neural learning and lambda calculi formalization. Finally, we explore execution of a program in λ-Calculus is based on reductions, we will show that it is enough to learn how to perform these reductions so that we can execute any program. Keywords: Machine Learning, Lambda Calculus, Neurosymbolic AI, Neural Networks, Transformer Model, Sequence-to-Sequence Models, Computational Models

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

↑