AI 生成数学的技术债务
摘要
文章指出学术数学的核心在于促进人类理解而非单纯获取答案。当前AI能生成正确但晦涩繁冗的粗糙证明,在缺乏人类沟通与内化的情况下,这种做法将沉重的验证与梳理成本转嫁给学术共同体,制造了严重的认知技术债。作者强调仅仅按下按钮并非真正贡献,呼吁研究者秉持负责态度,协同推进知识的消化与整合。
内容框架与概述
学术数学的根本价值在于深化人类对世界的理解,而非单纯提供计算答案。历史表明认知与实用不可分割,脱离了对机理的深刻理解,人们既无法提出真正有价值的问题,也无法在既有答案上拓展新知。理解无法通过被动接收信息获得,必须依赖主动的认知重构与批判性探索。正如望月新一关于ABC猜想的证明因晦涩难解而难以被学术界消化一样,任何缺乏有效阐释、无法被共同体掌握的解法,即便在事实上完全正确,也难以对人类知识产生实质性推动。
当前人工智能展现出强大的解题与运算能力,但在与人类沟通思维脉络方面存在天然短板。AI常常生成结构凌乱、计算冗余且缺乏直观动机构造的数学粗糙产物。开放数学问题原本是学者间相互启发的协作邀请,但将AI生成的未经消化、难以阅读的证明直接抛向公共领域,实际上是将高强度的甄别、清洗与翻译负担转嫁给了审稿人与同行,超出了传统同行评审机制的承载能力。
这种现象构成了数学领域的严重技术债。在软件开发中,背负技术债的系统短期内仍可运行,但在纯粹数学中,缺乏理解的答案几乎不具备实用功能。任何人都可以轻易按下AI生成按钮,真正的学术贡献在于如何处理输出,提炼其背后的思想洞见。如果一项研究值得公布,贡献者就应承担起相应的学术与社会责任,主动协助学术界弥合认知鸿沟,将机器计算切实转化为人类文明的共有智慧。
核心概念及解读
理解与功利的不可分性:数学的实用价值根植于深度认知,缺乏对原理的透彻理解就无法解决现实需求与拓展新知。
数学粗糙产物 (Math Slop):指AI生成的事实正确但缺乏直觉动机、充斥冗余复杂计算且难以被人脑消化的低可读性证明。
数学认知技术债:将未消化的机器证明转嫁给学界所产生的隐性负担,阻碍理论发展并透支同行的审查精力。
按钮式贡献偏差:误将调用AI生成解答的机械操作当成实质学术贡献,忽视了将成果转化为人类理解的责任。
新意与局限
- 借用软件工程的技术债隐喻,敏锐指出了AI生成数学不仅是表述粗糙,更是一种将认知与清理成本外部化到学术共同体的负外部性行为,击碎了单纯以解题为导向的技术狂热。
- 深刻阐述了数学事实与人类理解的本质区别,论证了机器证明的正确性并不等同于知识进步,重新确立了以人的认知和概念内化为核心的学术价值坐标。
- 文章主要立足于纯数学与理论研究视角,对密码学破译、反例搜索等仅需事实成立即可发挥巨大现实效用的工程应用场景探讨相对简略。
- 未能就学术共同体如何重构同行评审规范、激励二次整理与消化工作给出具体的制度性解决方案,更多停留于呼吁研究者个体自律与责任感。
[这是一篇由 Henry Cohn 撰写的客座文章。这篇博文最初以另一种文件格式写成,之后使用 AI 转换了格式。——T.]
在这篇文章中,我想讨论 AI 生成的解答在数学中的作用,以及为什么许多数学家有充分理由担忧其中的价值观错位。让我们先从基础谈起,以便对数学是什么、取得进展需要什么形成共同认识。
理解的作用
学术数学关注的是理解,而不只是得到答案。答案可能有用,但它们并不是这项事业的目标,也不是其首要价值所在。
为什么我们如此重视理解?人天生就有好奇心,理解世界如何运转,是让生命有意义的因素之一,但还有一个更深层的原因。几千年的思想史表明,理解与实用性密不可分。你可能以为,数学与它的应用和影响之间可以划出一条清晰的界线:你向数学家询问自己想知道的事,他们就告诉你所需的答案,而不必解释为什么。但这样的界线是划不出来的。
这是一种普遍的规律,并不是针对你个人。如果缺乏关键的理解,谁也无法弄清自己需要知道什么。当非数学家提出一个数学问题时,那很可能并不是实际上最能帮助他们的问题。当数学家脱离其他背景给出一个答案时,那也很可能并不是外界真正需要的东西。这就是为什么应用数学往往需要具备不同专长的人深入合作。
当然,我们都是有限的个体,时间和能力都有限,不可能理解一切。我们必须共同协作,而即便如此,人类知识也仍然是一片有着巨大空白的拼凑物。这些空白无法避免,AI 的知识也不会例外,因为你不可能在有限的时间里填满无限的空间。
赋予所有这些知识以价值的,是理解,而不只是事实。理解让我们能够以有意义的方式运用知识,并将其拓展到更广阔的范围。
我们如何形成理解?
被动地吸收知识,不可能让你在他人的教导下深刻理解任何东西。这就是不可能的。技艺精湛的教师、私人导师、书籍、视频,或任何其他形式的教学,都做不到这一点。它们都可以帮助你朝正确的方向前进,但没有人能够让你在整个过程中始终被动地跟随。归根结底,要获得超越表面的理解,你必须深入接触各种思想,并亲自探索它们。
这就是数学教师说“数学不是一项观赏性运动”时的意思,也就是那个未经证实的故事里,欧几里得告诉托勒密国王几何学没有为国王铺设的捷径时的意思。这也是数学课要布置习题、博士生要写学位论文的原因。学习事实是不够的:你必须主动研究它们、质疑它们、亲自重新构建它们,并建立自己的理解。
当你作出一项发现时,这份知识不会毫无障碍地传递给其他所有人。事情并不只是解释你做了什么,再让其他人读一读那么简单。要把你的发现记录成一种真正对他人有用的形式,所需的工作量可能大得惊人;而即便完成了这些工作,整个共同体要掌握并内化它,仍然需要付出巨大的集体努力。如果这番努力未能成功进行,那么这项发现就只是纸上的文字,而不是对人类知识作出的更为实质性的贡献。我们常常把取得突破的人奉为偶像,因为他们完成了困难而不可或缺的工作,但那只是一个至关重要的更大过程中的一步。
望月新一所声称的 ABC 猜想证明就是一个很有启发性的例子。他是一位杰出的数学家,而我自己没有研究过他的工作,因此我们不妨姑且相信他,假定他确实已经想清楚了一个有效的证明。那会是一项了不起的个人成就,但更广泛的数学共同体一直未能充分理解他关于这个问题的论文,他也一直未能弥合这一理解上的鸿沟,因此他的工作没有产生人们所期望的影响。
简而言之,写下一个清晰、讲解精妙的解答,只是推动人类理解这一过程中的一小部分。写下一个让人无法理解的解答,即使出于最良好的意图,也几乎算不上进步。
未解问题与 AI
数学中有许多未解问题,也就是已经提出但尚未得到解答的问题。人们有时以为,这些问题是在宣告失败、请求帮助,但通常并非如此。很多时候,它们是尚无人尝试回答的问题,或是我们认为有望取得进展的问题。
人们精心整理未解问题清单,是为了向他人发出邀请。能得到一些关于富有成果的研究方向的建议,可能非常有用,尤其是在你刚开始接触一个不熟悉的主题时。提供这些建议,是在为共同体服务;即使别人可能抢先取得你原本希望取得的突破,这件事也值得做。归根结底,我们都在为同一支队伍效力。
当一位数学家研究别人提出的未解问题时,他是在受益于数学共同体的指引。作为回报,他会尽力帮助共同体理解并内化自己的解答,并在可能时提出后续问题。
最终结果是,所有人都以一种超越竞争的方式从中受益。例如,玛丽娜·维亚佐夫斯卡因解决了一个我曾努力求解多年的问题而获得了菲尔兹奖。当然,我本来也希望能由自己解决它,但她的解答极大地丰富了人类的理解,并开辟了许多我可以作出贡献的研究方向。很显然,这对所有人,包括我在内,总体上都是一件好事。
如果说“要是不能由我来解决这个问题,我希望谁也解决不了”,那是不合理的。然而,一个解答的首要价值,在于它带来的洞见和理解,而不在于问题已经解决这一事实本身。
当前的 AI 模型,解决数学问题的能力远强于向人类清楚传达解答的能力。这两种能力听起来可能相似,但其实并非如此。AI 经常生成晦涩、杂乱、临时拼凑、解题思路缺乏充分解释的解答,充斥着繁复的计算和不必要的复杂性。说白了,它们经常产出数学垃圾。这些内容可能是正确的,也可能包含真正新颖而重要的思想,但仔细梳理它们的过程可能非常糟糕。但愿不会像从头解决这个问题那么困难,可这仍可能是一个极其令人不快又耗时的过程。相比之下,人类的工作在早期往往也会经历一个垃圾阶段,但我们会竭力避免让它停留在那个阶段。
这项工作令人不快,部分原因来自社会层面:即使你理解得更深入,共同体对跟进或完善一项发现所给予的认可也较少。我预计这些规范会随时间演变,也许会很快。部分原因来自心理层面:我就是不喜欢阅读讲解糟糕的数学,即使经过相当大的努力,我能够从中提炼出吸引人得多的东西;而且不只是我这样想。当然,还有仔细审查这些垃圾内容所带来的实实在在的额外工作,无论你是否喜欢,这项工作都既困难又耗时。
此外,对于数学界应如何组织这一审查过程,也存在协调问题。传统的同行审稿无法应对无穷无尽的垃圾内容,而一片混乱也不是可行的解决办法。数学界的流程当然必须演变,但只有人人都尽到自己的责任,尽可能减轻共同体的工作负担,这种演变才能取得最好的效果。
我希望未来的 AI 模型能更好地避免产出垃圾内容,我也预计它们会做到,但它们的沟通能力能否有朝一日达到其解题能力的水平,目前还不清楚。相较于让模型有效地与人类沟通,训练它达到数学上的正确可能更容易,因为前者更加微妙,也没有那么客观。
正是这个沟通问题,让许多数学家对以下行为感到不满:有人让 AI 解决一个未解问题,把一个垃圾证明扔到互联网上,随后就撒手不管,既不尝试自己理解它,也不尝试向别人有效地传达它。他们认为自己作出了贡献,但往往主要是在给别人制造令人不快的工作。
当然,事情并不总是这样。我与不少非数学家交流过,他们以富有成效的方式、非常负责任地记录了 AI 辅助的工作;我很高兴 AI 让更多人能够为数学作出贡献。任何努力作出有意义贡献的人,都欢迎参与进来,而 AI 的这一方面无疑是好的。但我也在互联网上见过一些令人翻白眼的例子:AI 公司和个人大声宣扬自己那些垃圾贡献的功劳,而这些贡献实际上对这个领域的进步起着反作用。
技术债务
软件工程中与此对应的问题已经得到了充分认识;它叫作技术债务。有时,你可以匆匆写出一个能运行的程序,但它的工程设计很糟糕。架构决策不明智,文档不充分,测试框架也极其简陋。这段代码从能够运行的意义上说,实现了你原本瞄准的那些狭义目标,但它的编写方式并不支持你所希望的那种扩展和后续开发。如果你想取得进一步进展,就必须偿还这笔技术债务,而偿还它可能需要大量工作。你未必能靠修修补补现有系统来做到这一点;相反,其中某些部分可能必须重新设计、从头重写。
数学垃圾会在数学中造成技术债务,而且在某些方面,这种危害甚至更加隐蔽。在软件工程中,一个背负技术债务的可运行程序毕竟仍然能用;如果你确实需要它立即运行,那么有意识地接受技术债务可能是合理的。在数学中,根据我的经验,得到答案通常只能算是一种微不足道的“能用”。确实存在一些情况:无论我们是否理解,一个事实性的答案都能使人类受益。例如,知道某个密码系统不安全,会告诉我们应当停止依赖它;知道存在反例,会让我们不再浪费时间寻找证明。但即使在这些情况下,理解也很重要,而在大多数情况下,它更是至关重要。
技术债务的积累会妨碍理解。我们已经看到,理解始终需要付出努力,其中的原因并不只是垃圾内容或技术债务。没有必要地进一步加重这种困难,是一个重大问题。
技术债务在一定程度上无法避免:没有人有足够的智慧或远见,能够完全避免它。不过,过去它受到社会机制的约束,因为制造债务的人,大体上也就是将来不得不偿还债务的人。你既不想给未来的自己制造工作,又不想惹同事不快,因此你有动力避免无谓地这样做。相比之下,如果人们手里有一个按钮,按一下就会在自己不知情的情况下制造技术债务,那就成问题了。
我们生活在一个垃圾内容无限供应的世界:任何人都可以输入一个提示词,就自己选定的任何主题生成输出。按下 AI 按钮,通常并不是什么重大贡献,因为我们人人都有按钮,都可以按自己的意愿去按。贡献来自你如何处理输出。有时候,它几乎不需要额外工作,甚至完全不需要,就能派上用场;有时候,它则需要极其大量的工作。
当有人提示 AI 为一个未解问题生成一个垃圾解答,随后宣告胜利时,他是在给别人制造更多工作。在数学家听来,这可能就像是在说:“不,不要把时间花在你认为最有可能取得成果的思想和方向上。我随意选了一个问题,现在我希望有人花时间弄明白它的这个解答,这样我就能因为自己是那个按下按钮的人而感觉良好。”如果对方还在大肆吹嘘自己的伟大成就,仿佛这是理解过程的终点而非起点,那就更让人恼火了。
这当然是一种夸张的描绘,我相信没有人真正抱着我所描述的那种想法。我猜他们预期,一旦给出了答案,理解自然就会随之而来;如果真是这样,那工作确实就算完成了。但数学垃圾确实是一个问题,即使它在事实上是正确的。
没有人能规定你必须怎样做数学,但如果你只是想按按按钮,把垃圾内容输出到互联网上,那么你需要明白,你正在实实在在地阻碍整个事业的运转。你应该为自己的贡献负责,真诚地努力帮助它们成功融入人类的知识和理解。诚然,这说起来容易做起来难,也是我们所有人都在努力应对的事情,但我们每个人都需要为此承担责任。
那么,如果你不确定该如何理解自己的贡献,或如何为它负责,应该怎么办?你可以尝试与这个领域的人交流,并尽你所能提供帮助,而不是撒手不管。也许你能阐明它是如何产生的。如果你能够使用不同寻常的计算设施,可以利用它们来帮助理解这项成果。你可以尝试借助 AI 继续追问和澄清;也许它会生成更多垃圾内容,但也许它能帮上忙。没有放之四海而皆准的解决办法,但关键在于:如果这个项目一开始值得开展并公之于众,那么它就值得负责任地完成。
[This is a guest post by Henry Cohn. This blog post was initially written in a different file format and converted using AI. — T.]
In this essay I’d like to discuss the role of AI-generated solutions in mathematics and why many mathematicians are justifiably concerned about a mismatch of values. Let’s start with the groundwork, so we’re all on the same page regarding what mathematics is and what is needed for progress.
The role of understanding
Academic mathematics is about understanding, not just about getting answers. Answers can be useful, but they are not the goal or the primary value of this endeavor.
Why do we care so much about understanding? Humans are naturally curious, and understanding how the world works is part of what makes life meaningful, but there’s a deeper reason. Thousands of years of intellectual history have shown that understanding and utility are inseparable. You might think you can draw a sharp line separating mathematics from its implications, where you ask mathematicians what you want to know and they tell you the answer you need without having to explain why, but you can’t.
This is a universal pattern, not about you personally. Nobody can figure out what they need to know if they are missing crucial understanding. When non-mathematicians formulate a mathematical question, it’s not likely to be the question that would actually most help them. When mathematicians propose an answer in isolation, it’s also not likely to be what the rest of the world truly needs. This is why applied mathematics often requires deep collaboration between people with different expertise.
Of course we’re all finite beings, with limited time and abilities, and we can’t understand everything. We have to work together, and even when we do, human knowledge consists of patchwork with enormous gaps. These gaps are unavoidable, and AI knowledge will be no different, because you can’t fill infinite space in a finite amount of time.
What gives all of this knowledge value is understanding, not just facts. Understanding lets us make use of knowledge in meaningful ways and extend it more broadly.
How do we develop understanding?
You can’t be taught to understand anything deeply by passively absorbing knowledge. It’s just not possible. It can’t be done by a skilled teacher, a personal tutor, a book, a video, or any other form of instruction. These can all help guide you in the right direction, but nobody can lead you passively through the process. Ultimately, achieving more than a superficial understanding requires engaging deeply with ideas and exploring them yourself.
This is what math teachers mean when they say math isn’t a spectator sport, and what Euclid meant when he apocryphally told King Ptolemy that there is no royal road to geometry. It’s why math classes assign problem sets and PhD students write dissertations. Learning facts isn’t enough: you have to investigate them actively, question them, reconstruct them yourself, and build your own understanding.
When you make a discovery, the knowledge doesn’t transfer seamlessly to everyone else. It’s not simply a matter of explaining what you did and letting everyone else read it. It can take a shockingly large amount of work to document your discovery in a form that is truly useful for others, and even after all that work, the collective effort required for the community to master and internalize it is enormous. If that effort doesn’t successfully take place, then the discovery is just words on a page, rather than a more substantial contribution to human knowledge. We often idolize people who make breakthroughs, because they have done something difficult and essential, but it’s just one step in a crucial larger process.
Mochizuki’s purported proof of the ABC conjecture is an instructive example. He’s a brilliant mathematician, and I haven’t studied his work myself, so let’s give it the benefit of the doubt and assume he really has thought through a valid proof. That would be a magnificent individual achievement, but the broader mathematical community has not been able to fully understand his papers on this topic, he has not been able to bridge this gap in understanding, and as a result his work has not had the impact one would hope for.
In short, writing down a clear and beautifully explained solution is only a small part of the process of advancing human understanding. Writing down an impenetrable solution is barely progress at all, even when done with the best intentions.
Open problems and AI
Mathematics has many open problems, questions that have been asked but not yet answered. People sometimes imagine that these problems are declarations of failure and requests for help, but that’s usually not the case. In many cases, they are questions nobody has tried to answer, or problems where we expect progress can be made.
The reason people curate lists of open problems is as an invitation to others. It can be very useful to have suggestions for fruitful lines of investigation, especially if you are taking up an unfamiliar topic. Providing these suggestions is a service to the community, and it’s worth doing even though others might make a breakthrough you had your sights on. Ultimately, we’re all playing for the same team.
When a mathematician works on an open problem someone else suggested, they are benefiting from the mathematical community’s guidance. In exchange, they do their best to help the community understand and internalize their solution, and they pose further problems when they can.
The net result is that everyone benefits, in a way that transcends competition. For example, Maryna Viazovska won the Fields Medal by solving a problem I had tried to solve for many years. Of course I would have liked to have solved it myself, but her solution greatly enriched human understanding, and it opened up many lines of work I could contribute to. It was obviously a net win for everyone, including me.
It would be unreasonable to say “I hope nobody solves this problem if I can’t be the one to do it.” However, the primary value of a solution lies in the insight and understanding it provides, not in the mere fact that the problem was solved.
Current AI models are much better at solving mathematical problems than at communicating the solutions well to humans. These might sound like similar skills, but they aren’t. AI often produces cryptic, messy, ad hoc, poorly motivated solutions full of elaborate calculations and unnecessary complications. Basically, they often produce math slop. It may be correct, and it may contain genuinely novel and important ideas, but the process of going through it carefully can be awful. Hopefully not as difficult as solving the problem from scratch, but it can be an exceptionally unpleasant and time-consuming process. By comparison, human work often goes through a slop stage early on, but we try hard not to leave it at that.
Part of the reason this work is unpleasant is social: the community gives less credit for following up on or polishing a discovery, even if you understand it better. I expect these norms will evolve over time, perhaps quickly. Part of the reason is psychological: I just don’t enjoy reading poorly explained mathematics, even if with considerable effort I can extract something much more appealing, and I’m not the only one. And of course there’s the legitimate extra work of carefully examining the slop, which is difficult and time consuming whether or not you enjoy it.
Furthermore, there are coordination issues in how the field should organize this examination process. Traditional refereeing can’t handle limitless slop, and chaos is not a viable solution, either. The field’s procedures will of course have to evolve, but this will work best if everyone does their part to minimize the communal workload.
I hope future AI models get better at avoiding slop, and I expect they will, but it’s unclear whether they will ever be as good at communication as they are at problem solving. Mathematical truth may be easier to train for than effective communication with humans, which is more subtle and less objective.
This communication issue is why many mathematicians are unhappy when someone has AI solve an open problem, dumps a slop proof on the internet, and then abandons it, without any attempt to understand it themselves or communicate it effectively to others. They believe they are making a contribution, but often they are primarily creating unpleasant work for other people.
Of course it doesn’t always work this way. I’ve interacted with a number of non-mathematicians who have done a very responsible job of documenting AI-assisted work in a productive way, and I’m delighted that AI is broadening who is able to contribute to mathematics. Anyone who works to make a meaningful contribution is welcome to participate, and this aspect of AI is unambiguously good. But I’ve also seen examples on the internet that make me roll my eyes, where AI companies and individuals are loudly taking credit for slop contributions that are genuinely counterproductive for progress in the field.
Technical debt
The equivalent of this problem in software engineering is well understood; it’s called technical debt. Sometimes you can rush to write a program that works, but it’s poorly engineered. The architectural decisions are unwise, the documentation is inadequate, and the testing framework is minimal. The code accomplishes the narrowly stated goals you were aiming at, in the sense that it functions, but it’s not written in a way that can be extended and built on the way you’d hoped. This technical debt will have to be paid if you want to make further progress, and paying it may take lots of work. You can’t necessarily do it by patching up the existing system; instead, parts of it may have to be redesigned and rewritten from scratch.
Math slop causes technical debt in mathematics, and in some ways it’s even more insidious. In software engineering, a functioning program with technical debt still works, and deliberately accepting technical debt may be justified if you truly need it to work immediately. In mathematics, my experience is that getting the answer is usually a negligible form of “working.” There are cases where humanity can benefit from a factual answer whether or not we understand it. For example, knowing that a cryptosystem is insecure tells us to stop relying on it, and knowing that a counterexample exists keeps us from wasting time looking for a proof. But even in these cases understanding is important, and in most cases it’s crucial.
Accruing technical debt hinders understanding. We have seen that understanding always takes effort, for reasons that go beyond slop or technical debt. Compounding that difficulty unnecessarily is a major problem.
To a certain extent technical debt is unavoidable: nobody has the wisdom or foresight to avoid it completely. However, in the past it was kept in check socially, since the people creating the debt were largely the same as those who would have to pay it in the future. You don’t want to create future work for yourself and upset your colleagues at the same time, and so you have an incentive not to do so unnecessarily. In contrast, it’s a problem if people have a button that creates technical debt without their knowledge.
We live in a world with an infinite supply of slop: anyone can type a prompt and produce output on whatever topic they choose. Pushing the AI button is generally not a significant contribution, since we all have buttons and can push them as we see fit. The contribution comes from what you do with the output. Sometimes it requires little or no additional work to be useful, and sometimes it requires an awful lot.
When someone prompts AI to produce a slop solution to an open problem and declares victory, they are creating more work for other people. It can feel to mathematicians like saying “No, don’t spend time on the ideas and directions you feel are likely to be most productive. I want someone to devote time to making sense of this solution to a problem I arbitrarily chose, so I can feel good about having been the one who pushed the button.” And it feels even more galling if they are crowing about their great achievement, as if this were the end of the process of understanding rather than the beginning.
This is of course a caricature, and I’m sure no one really means it the way I described. I imagine they expect understanding will follow naturally once an answer has been provided, in which case the work really would be finished. But math slop really is a problem, even if it’s factually correct.
Nobody can tell you how you have to do mathematics, but if you just want to push buttons and output slop for the internet, then you need to understand that you are actively gumming up the works. Instead, you should take responsibility for your contributions and work in good faith to help integrate them successfully into human knowledge and understanding. This is admittedly easier said than done, and it’s something we all struggle with, but we all need to take responsibility for it.
So what should you do if you aren’t sure how to understand your contribution or take responsibility for it? You can try to talk with people in the field and help as best you can, rather than abandoning it. Maybe you can shed light on the process that led to it. If you had access to unusual computational facilities, you can use them to help with understanding it. You can try to follow up and clarify with AI; maybe it will produce more slop, but maybe it will help. There is no universal solution, but the key point is that if this project was worth doing and publicizing in the first place, then it’s worth doing responsibly.