大型语言模型对数学的理解:来源批判与外推
Large Language Models' Understanding of Math: Source Criticism and Extrapolation
AI总结:
本研究通过设计网上无现成证明的数学题,批判性评估GPT-4的数学理解,发现其仅能复现已知证明而非真正理解概念,且能力随时间扩展,质疑其用于定理证明的价值。
摘要:
有观点认为,像GPT-4这样的大型语言模型已经获得了某种超越文本中词语之间相关性的理解形式,其中也包括对数学的某种理解。在此,我们通过对GPT-4模型的数学理解进行评估,对这一主张进行批判性探究。考虑到GPT-4的训练集是保密的,因此无法直接评估模型的正确答案是基于数学理解,还是基于对模型之前见过的证明的复制。我们专门设计了其形式证明在网上不易获取的数学问题,即那些GPT-4更可能未曾见过的证明。我们发现,尽管这些问题很简单,GPT-4却无法解决它们。很难找到科学证据表明GPT-4已经获得了对即使是最基础数学概念的理解。寻找GPT-4在定理证明中失败模式的一个直接方法是设计其形式证明在网上无法获取的问题。我们的发现表明,GPT-4的能力在于复现、改写和润色它之前见过的数学证明,而非掌握数学概念。我们还发现,尽管声称GPT-4是一个固定的模型,但其证明数学定理的能力却随着时间的推移持续扩展。我们认为,用形式语言证明数学定理的任务与谷歌等搜索引擎使用的方法类似,而预测句子中的下一个单词可能是一种误导性的方法,这种方法往往会导致过度外推和最终失败。反复提示GPT-4可能对GPT-4和OpenAI有益,但我们质疑这是否对机器学习或定理证明有价值。
英文摘要:
It has been suggested that large language models such as GPT-4 have acquired some form of understanding beyond the correlations among the words in text including some understanding of mathematics as well. Here, we perform a critical inquiry into this claim by evaluating the mathematical understanding of the GPT-4 model. Considering that GPT-4's training set is a secret, it is not straightforward to evaluate whether the model's correct answers are based on a mathematical understanding or based on replication of proofs that the model has seen before. We specifically craft mathematical questions which their formal proofs are not readily available on the web, proofs that are more likely not seen by the GPT-4. We see that GPT-4 is unable to solve those problems despite their simplicity. It is hard to find scientific evidence suggesting that GPT-4 has acquired an understanding of even basic mathematical concepts. A straightforward way to find failure modes of GPT-4 in theorem proving is to craft questions where their formal proofs are not available on the web. Our finding suggests that GPT-4's ability is to reproduce, rephrase, and polish the mathematical proofs that it has seen before, and not in grasping mathematical concepts. We also see that GPT-4's ability to prove mathematical theorems is continuously expanding over time despite the claim that it is a fixed model. We suggest that the task of proving mathematical theorems in formal language is comparable to the methods used in search engines such as Google while predicting the next word in a sentence may be a misguided approach, a recipe that often leads to excessive extrapolation and eventual failures. Prompting the GPT-4 over and over may benefit the GPT-4 and the OpenAI, but we question whether it is valuable for machine learning or for theorem proving.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。