成为评测基准
[This is a guest post by Talia Ringer. This blog post was initially written in a different file format and converted using AI. — T.]
When I was wrapping up graduate school in computer science in Spring 2021, I was given access to a curious little programming model on OpenAI’s “playground.” The model, called Codex, took in natural language text and generated programs from that text. The task of automatically generating programs given an expression of programmer intent had been one of many major questions in my field of study—programming languages—for decades. This was the first time I had seen a neural model, with little to no input from anyone in my field, actually succeed at that task to any degree. This was more than a year before ChatGPT was released, and yet I knew that everything was about to change.
On one hand, I was glad that programming was becoming more accessible. My mom came to visit shortly after that, and I pulled out my laptop and told her she could now program. I had her make a little video game. It was not perfect, sure, but my mom was programming, and that was wild. I had always wanted programming to become accessible to everyone.
On the other hand, I had so many worries. At a technical level, would the software of the future be full of AI-introduced bugs? Would people run a bunch of unit tests on AI-produced programs and think that they are OK, but miss out on edge cases? Would AI tools overfit to the tests they are given access to? Would people sometimes feel more productive using these tools, but actually get less done? (Yes, yes, yes, and yes.)
Those technical worries were overshadowed by a larger existential dread. My specific focus within programming languages research had been on using classic programming languages techniques to make it easier to write formal, machine-checkable proofs using proof assistants like Rocq and Lean. Was my entire field of research about to die? To be swallowed by AI? I was not worried about my field actually being fully “solved,” but I was very worried about the prospect of AI researchers claiming to fully solve my research area, and of the general public actually believing them. I had seen this play out before in linguistics and natural language processing.
Worse, if AI swallowed my field, would AI’s culture leak into my field’s culture? I had known AI’s culture to involve all sorts of things I find distasteful and immoral in research, like “scooping,” competition, and secrecy. My field, by contrast, was (and thankfully still is) a lot more like mathematics in this regard. We value communication, collaboration, and openness. I was scared that AI would rot this culture from without.
I have come to understand what I went through as the AI grief cycle, the one that starts when one’s life’s work becomes a benchmark for AI companies. And as I worked through this cycle of grief, I realized that I had to communicate both to AI companies and to the general public that my work will not be replaced by these tools, but that it will change. I had to understand that myself, come to terms with it, and move with it in my own work. And above all, I had to make sure incentives stayed aligned with that reality.
This started with communicating what I actually do, both to the AI community and to those outside of it who set incentives. This was the most exhausting part of it, since I was coming from a small research community, while the AI community is large and powerful. So that means I really had to immerse myself and learn to speak their language. In lieu of that, it would have been too difficult to honestly and reputably assess the limitations and impacts of what AI tools do. (In doing so, I accidentally nerd-sniped myself into actually doing AI work as part of my broader research portfolio, but it is probably possible and fine to do this in a way that still keeps one’s research far away from AI.)
On an individual level, funders and the AI community alike have since come to respect me. And also, my field of programming languages has come out pretty OK so far. I will never know how much of an impact I have had on that. But I have found that the whole community has reacted in ways that are pretty aligned with what I have done. We have engaged honestly with the changes, and we really have assessed both the capabilities and limitations of the tools that had infringed on our field so suddenly. When relevant, now, we use neural techniques to improve our own work. But we have also found ways that our techniques are strictly complementary to those techniques, and we have figured out how to communicate that. Our culture has come out intact, too.
But I think one thing we have going for ourselves in programming languages is that basically nobody has ever heard of our field, and most people do not care about what we do. People do care a lot about math. We don’t even get the “oh, I hate math” response that mathematicians get; hatred means that people care.
Culturally, at least in the US, math is simultaneously revered and hated. Peak “intelligence” is often culturally associated with mathematical ability—people even bring up Terry Tao as an example of this. Poor performance at math, or anxiety around such poor performance, is often coupled with statements about not being “smart enough” to do math. Mathematicians, then, come to represent the intellectual elite, with all of the scapegoating such a label carries. And leaders of AI companies come to believe that if they can “solve math,” they can “ solve everything,” whatever that means. (Sorry, Jesse; we are still friends.)
Because of this dual reverence and hatred, people are paying way more attention to AI infringing on math than they did to AI infringing on my field. This is good and bad. It does mean that mathematicians’ statements are getting lots of coverage; they have a real chance to communicate to the entire world what it is they actually do. But it also means that their legitimate sour gripes are being misread as sour grapes. There is a perception that they are gatekeeping. Just like, in 2021, if people had paid this much attention to my field, they might have wrongly concluded that I was just being bitter because I did not want my mom to be able to program. (I did!)
This makes mathematicians’ jobs harder than mine was. Their audience can at times be actively adversarial. Just learning the language of AI folks will not be enough.
Still, I think mathematicians are on the right track. The work many are already doing of addressing the public is even more important than addressing the AI industry. Yes, the AI industry’s goals are misaligned with those of the math community. But it is actually OK if that remains true, so long as the rest of society recognizes that misalignment and continues to value and incentivize the kind of work that mathematicians value. AI companies will always want to use whatever field is hot at the time to show that their models are the “best.” There are ways to help them better understand what “best” should mean, but it’s also pretty OK if they never do understand that, as long as the general public does. So math—the process, not the benchmark—will need a PR campaign that lasts for as long as math the benchmark is relevant to AI companies. That means deliberate and consistent engagement with news outlets, social media, education systems, policymakers, and funders.
This work of engagement is exhausting and unending, but it does get easier as society and AI companies alike move on. Remember when art and writing were the main targets of these companies? Two things seem to have happened: First, society seems to have collectively developed a distaste for AI art and writing, and even for human art and writing that vaguely resembles AI art and writing. Second, AI companies seem to have reached the point at which showing off their tools’ art and writing results no longer proves them to have the “best models,” so they have largely moved on to other fields.
Have art and writing been negatively impacted? Absolutely. And the fight is still ongoing. But at least the fight is no longer all-consuming. (Collective action like unionizing, or like the Hollywood writer’s strike, might also have to do with that, though. I do think mathematicians should consider unionizing.)
And what if mathematicians actually do want AI tools that help with math the process, and not just math the benchmark? (I do. I’m super excited about what math could be like in such a world.) In that case, I think it is probably best to look for collaborations with smaller companies and academics, especially those that have a participatory model where mathematicians get to co-design the tools to reflect their own values and use-cases. (I have one such collaboration with Emily Riehl already, and I am hungry for more!) It also helps to be upfront about expectations around credit, especially where the culture might clash.
In any case, a friend who is a professor of linguistics told me in 2021 that, in ten years’ time, my research would be different in ways I could not possibly predict ahead of time. And that still, it would be OK. I took great comfort in that. It really will be OK.
摘要
文章以形式化验证学者的经历,探讨了学科研究沦为AI商业跑分基准时的冲击与应对。作者指出,AI企业将数学等领域简化为评测指标,与追求理解的学科本质根本错位。学者需掌握AI话语以厘清技术局限,更需面向公众建立持久公关防线,捍卫探究过程的社会激励,并通过参与式协同打造真正符合自身价值观的研究工具。
内容框架与概述
2021年春OpenAI Codex模型的诞生,首次在未经程序语言领域专业人员介入的情况下实现了自然语言到代码的自动生成。这种技术突破虽然降低了编程门槛,但也迅速暴露出深刻的技术隐患:生成代码充斥隐藏缺陷、过拟合有限测试用例、以及开发者主观生产力幻觉。比技术缺陷更严峻的是学科生存危机:当学者毕生深耕的交互式定理证明与形式化验证被AI商业叙事包装为已被解决的基准测试,伴随而来的是学术成果被抢先发表、恶性竞争与黑箱封闭等外来文化的侵蚀,学者因而陷入由学科沦为AI基准所引发的悲伤周期。
应对这场生存危机并不能依靠被动抵制,而必须主动打破信息差。形式化验证学者通过深入学习AI领域的话语体系,不仅准确界定了大模型在严格逻辑与长程推理上的根本局限,还促使资助机构与工业界认识到传统形式化技术与神经网络方法之间具有不可替代的互补性。程序语言社区既吸收神经模型辅助自身工作,又保持了开放、协作的学术文化,最终平稳渡过了冲击。
然而,数学领域正面临比程序语言更为严酷的舆论处境。公众对数学兼具崇拜与焦虑的情感投射,使数学家被贴上智力精英标签,其关于AI局限性的专业质疑极易被歪曲为维护行业壁垒的酸葡萄心态。与此同时,AI商业机构为了彰显模型最强而热衷于攻克数学基准,其商业动机与追求理解的数学研究过程存在不可调和的错位。对此,数学界最关键的防线不在于迎合或纠正AI企业,而在于面向公众、政策制定者与教育系统展开持久的沟通,确保全社会持续激励真实的探究过程。随着商业炒作周期转向,数学界更应通过参与式协同设计,与理解学术价值的研究者共同打造契合数学家实际需求的智能工具。
核心概念及解读
AI悲伤周期(AI Grief Cycle):学者目睹自身深耕领域被AI机构降维简化为跑分基准时,经历的恐慌、防御到重构价值的心理历程。
作为过程的数学与作为基准的数学(Math as Process vs Benchmark):区分数学作为追求直觉理解的思维探索过程,与AI商业将其视作衡量模型能力的单向跑分指标。
激励错位(Incentive Misalignment):AI企业追求宣称突破与模型领先的商业目标,与学术界追求严谨洞察、可解释性的根本价值冲突。
参与式协同设计(Participatory Co-design):由学科领域学者深度介入工具定义与研发的合作模式,确保AI工具契合科研人员的真实工作流程。
新意与局限
- 创造性地从学术文化与社会心理学视角,揭示了学者研究被AI降维为跑分基准时的生态异化风险,指出公众对数学精英爱恨交织的文化心态使数学家的专业论争处于被动处境,跳出了单纯的技术竞争讨论。
- 敏锐洞察到商业热点的生命周期律,提出学者应对AI冲击的终极防线在于面向社会与资助机构捍卫过程价值,且论证了形式化方法与神经网络模型的互补共存关系,为学术界提供了极具实操性的生存战略。
- 论证主要基于形式化验证与程序语言社区的个案经验,将艺术、写作、数学等跨学科抵抗直接类比,在分析各领域被技术渗透的程度差异与资本重塑机制上略显宽泛,对工会化倡议的具体落地缺乏可行性论证。
[本文为 Talia Ringer 的客座文章。这篇博文最初以另一种文件格式撰写,后使用 AI 转换格式。——T.]
2021 年春天,当我即将完成计算机科学研究生阶段的学业时,我获得了使用 OpenAI 的“playground”上一个奇妙的小型编程模型的机会。这个模型叫作 Codex,它接收自然语言文本,并根据文本生成程序。给定程序员意图的一种表述,自动生成程序,这项任务几十年来一直是我的研究领域——编程语言——的许多重大问题之一。这是我第一次看到,在几乎没有、甚至完全没有我们领域研究者参与的情况下,一个神经网络模型真的在某种程度上成功完成了这项任务。当时距离 ChatGPT 发布还有一年多,但我已经知道,一切都将改变。
一方面,我很高兴编程正变得更容易上手。不久之后,妈妈来看我,我拿出笔记本电脑,告诉她,她现在也能编程了。我让她做了一个小游戏。当然,它并不完美,但我妈妈居然在编程,这实在太不可思议了。我一直希望每个人都能接触和使用编程。
另一方面,我有太多的担忧。在技术层面,未来的软件会不会充满 AI 引入的缺陷?人们会不会对 AI 生成的程序跑上一堆单元测试,就觉得它们没问题,却漏掉边界情况?AI 工具会不会对它们能够接触到的测试过拟合?人们有时会不会在使用这些工具时感觉更有效率,实际上却完成了更少的工作?(会,会,会,还是会。)
这些技术层面的担忧,在一种更深重的生存危机感面前显得微不足道。在编程语言研究中,我具体关注的是利用经典的编程语言技术,让人们更容易借助 Rocq、Lean 这样的证明辅助工具,写出可由机器检查的形式化证明。我的整个研究领域是不是就要消亡了?是不是就要被 AI 吞没了?我并不担心我的领域真的会被完全“解决”,但我非常担心 AI 研究者会宣称他们已经彻底解决了我的研究领域,而公众竟然会相信他们。我此前已经见过这一幕在语言学和自然语言处理中上演。
更糟的是,如果 AI 吞没了我的领域,AI 的文化会不会也渗入我们领域的文化?在我的印象里,AI 领域的文化包含各种我认为在研究中令人反感且不道德的事情,比如“抢先发表”、竞争和保密。相比之下,我的领域在这方面要更像数学,过去如此,谢天谢地,现在也依然如此。我们重视沟通、协作和开放。我害怕 AI 会从外部侵蚀这种文化。
如今我明白,自己所经历的是一种 AI 哀伤周期;当一个人毕生的工作成为 AI 公司的评测基准时,这个周期就开始了。在经历这一哀伤周期的过程中,我意识到,我必须向 AI 公司和公众说明:我的工作不会被这些工具取代,但它会改变。我必须先让自己理解这一点,接受它,并在自己的工作中随之调整。而最重要的是,我必须确保激励机制始终与这一现实相一致。
第一步,是向 AI 共同体以及共同体之外那些设定激励机制的人说明,我究竟在做什么。这是最令人筋疲力尽的部分,因为我来自一个小小的研究共同体,而 AI 共同体庞大且强势。这意味着,我确实必须深入其中,学会用他们的语言交流。否则,要诚实而有公信力地评估 AI 工具所做之事的局限与影响,就会过于困难。(在这个过程中,我一不小心被这些问题勾住了兴趣,真的开始把 AI 研究纳入自己更广泛的研究工作之中;不过,我想也完全可能以另一种方式完成这些事,让自己的研究依然远离 AI,那样也很好。)
就我个人而言,从那以后,资助者和 AI 共同体都开始尊重我。而且,我所在的编程语言领域到目前为止也还算顺利地走了过来。我永远也无法知道自己对此产生了多大影响。但我发现,整个共同体的反应,与我所做的事情相当一致。我们诚实地面对了这些变化,也确实评估了那些突然侵入我们领域的工具,既看到了它们的能力,也看到了局限。如今,在适用的地方,我们会用神经网络技术来改进自己的工作。但我们也找到了我们自身的技术与这些技术严格互补的方式,并弄清楚了该如何把这一点传达出去。我们的文化也完整地保留了下来。
不过,我想我们编程语言领域有一个有利条件:基本上没人听说过这个领域,大多数人也不关心我们在做什么。人们却非常关心数学。我们甚至都不会像数学家那样,听到“哦,我讨厌数学”这样的回应;讨厌意味着人们在意。
从文化上说,至少在美国,数学同时受到敬仰与憎恶。文化观念往往把最高水平的“智力”与数学能力联系起来,人们甚至会拿陶哲轩来举例。数学表现不佳,或者对这种表现不佳的焦虑,常常伴随着“自己不够聪明,学不了数学”之类的说法。于是,数学家就成了知识精英的代表,也承担了这个标签所带来的一切替罪羊待遇。而 AI 公司的领导者则开始相信,只要他们能“解决数学”,就能“解决一切”,不管这究竟是什么意思。(抱歉,Jesse;我们还是朋友。)
由于这种敬仰与憎恶并存的态度,人们对 AI 侵入数学的关注,远远超过当初对 AI 侵入我的领域的关注。这有好处,也有坏处。这确实意味着数学家的发声正在得到大量报道;他们真的有机会向全世界说明自己究竟在做什么。但这也意味着,他们那些合理却尖锐的抱怨,正被误读成“吃不到葡萄说葡萄酸”。有人觉得,他们是在把守门槛、排斥他人。就像在 2021 年,如果当时人们也这么关注我的领域,他们可能会错误地认为,我不过是因为不想让我妈妈也能编程而心生不满。(我当然想让她能编程!)
这让数学家面临的任务比我当初更难。他们的受众有时会主动采取敌对态度。仅仅学会 AI 从业者的语言,还不够。
尽管如此,我认为数学家正在朝正确的方向前进。许多人已经在做的面向公众的沟通工作,比面向 AI 行业的沟通更重要。没错,AI 行业的目标与数学共同体的目标并不一致。但只要社会其他部分认识到这种不一致,并继续重视、激励数学家所珍视的那类工作,那么即便这种不一致持续存在,其实也没关系。AI 公司总会想利用当时最热门的领域,来证明自己的模型是“最好的”。我们可以设法帮助他们更好地理解,“最好”究竟应该意味着什么;但只要公众理解,就算这些公司永远不理解,其实也完全可以。因此,作为过程的数学,而不只是作为评测基准的数学,将需要一场持续的公共传播行动;只要作为评测基准的数学对 AI 公司仍有意义,这场行动就必须持续下去。这意味着,有意识地、持之以恒地与新闻媒体、社交媒体、教育体系、政策制定者和资助者沟通。
这种沟通工作令人筋疲力尽,而且没有尽头,但随着社会和 AI 公司都转移注意力,它的确会变得轻松一些。还记得艺术和写作曾是这些公司的主要目标吗?似乎发生了两件事:第一,社会似乎普遍开始反感 AI 艺术和 AI 写作,甚至连只是隐约有些像 AI 作品的人类艺术和写作也遭到反感。第二,AI 公司似乎已经到了这样一个阶段:展示工具的艺术和写作成果,不再能证明它们拥有“最好的模型”,因此它们大体上已经转向其他领域。
艺术和写作受到负面影响了吗?当然。而且抗争仍在继续。但至少,这场抗争不再吞噬一切精力了。(不过,组建工会、好莱坞编剧罢工之类的集体行动,可能也与此有关。我确实认为数学家应当考虑组建工会。)
如果数学家确实想要一些 AI 工具,用来帮助作为过程的数学,而不只是作为评测基准的数学,又该怎么办呢?(我就想要。对于在那样的世界里数学可能呈现的样子,我非常兴奋。)在这种情况下,我认为最好的办法大概是寻求与规模较小的公司和学术研究者合作,尤其是那些采用参与式模式,让数学家能够共同设计工具,使工具体现他们自身价值观和使用场景的合作方。(我已经与 Emily Riehl 开展了这样一项合作,而且非常渴望有更多合作!)此外,事先坦率说明在成果归属和认可方面的期望,也会有帮助,尤其是在双方文化可能产生冲突的地方。
无论如何,2021 年,我的一位语言学教授朋友告诉我,十年之后,我的研究会以一些我事先根本无法预测的方式变得不同。即便如此,一切也会好好的。这给了我很大的安慰。一切真的会好起来的。