2025-10-15 · 专家 · 自然语言处理 · 机器学习

Tensor Logic: The Language of AI

该论文提出了一种名为“张量逻辑”的新语言,旨在通过统一神经和符号AI,解决现有AI编程语言在自动化推理、知识获取和学习方面的不足。

更新于 2025-10-15。作者:Pedro Domingos。

中文摘要

人工智能的进步受到缺乏具备所有必要特性的编程语言的阻碍。像PyTorch和TensorFlow这样的库提供了自动微分和高效的GPU实现,但它们只是Python的补充,而Python原本并非为人工智能而设计。它们对自动推理和知识获取的不支持导致了漫长且昂贵的尝试,试图将这些功能勉强附加上去。另一方面,像LISP和Prolog这样的AI语言缺乏可扩展性和对学习的支持。本文提出了一种张量逻辑语言,通过在根本层面上统一神经和符号人工智能来解决这些问题。张量逻辑中的唯一构造是张量方程,这一构造基于观察到的逻辑规则和爱因斯坦求和本质上是一种相同的操作,所有其他内容都可以归结为这些操作。我展示了如何在张量逻辑中优雅地实现神经、符号和统计人工智能的关键形式,包括变换器、形式推理、核机和图模型。最重要的是,张量逻辑使得新的方向成为可能,例如在嵌入空间中进行合理的推理。这结合了神经网络的可扩展性和可学习性与符号推理的可靠性和透明性,并可能成为更广泛采用人工智能的基础。

英文摘要

Progress in AI is hindered by the lack of a programming language with all the requisite features. Libraries like PyTorch and TensorFlow provide automatic differentiation and efficient GPU implementation, but are additions to Python, which was never intended for AI. Their lack of support for automated reasoning and knowledge acquisition has led to a long and costly series of hacky attempts to tack them on. On the other hand, AI languages like LISP an Prolog lack scalability and support for learning. This paper proposes tensor logic, a language that solves these problems by unifying neural and symbolic AI at a fundamental level. The sole construct in tensor logic is the tensor equation, based on the observation that logical rules and Einstein summation are essentially the same operation, and all else can be reduced to them. I show how to elegantly implement key forms of neural, symbolic and statistical AI in tensor logic, including transformers, formal reasoning, kernel machines and graphical models. Most importantly, tensor logic makes new directions possible, such as sound reasoning in embedding space. This combines the scalability and learnability of neural networks with the reliability and transparency of symbolic reasoning, and is potentially a basis for the wider adoption of AI.

解读

一句话总结

该论文提出了一种名为“张量逻辑”的新语言,旨在通过统一神经和符号AI,解决现有AI编程语言在自动化推理、知识获取和学习方面的不足。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt