标题与内情:数学、科学和工程领域对 AI 的理解与信任
[This is a guest post by Tapio Schneider. This blog post was initially written in a different file format and converted using AI. — T.]
[This will be cross-posted on the CliMA blog.]
The apparent proof of finite-time blow-up of the forced Navier-Stokes equation, announced by OpenAI on September 8, has brought into focus a debate about the role of AI in mathematics. The proof was produced with a system of some 10,000 AI agents that explored many approaches in parallel; it was then formalized and verified in Lean. The formal verification supports its correctness, but mathematicians are still working to digest it. A proof settles the truth value of a statement, but Terry Tao and others have argued that this is only part of the point of proofs; the other part is to advance our conceptual understanding of “ basic structures of shapes, numbers, and natural phenomena.” As Yehuda Rav put it a quarter-century ago, “ theorems are the headlines, proofs are the inside story.” A proof that is correct but incomprehensible, or undigested by the mathematical community, gives us the headline without the story. The issue is not whether the prover is a human or a machine, but whether the reasoning advances our collective understanding of methods and structures, which can spur new thinking and further advances. As Timothy Gowers has noted, the inadequate AI-generated write-ups of proofs are likely a temporary annoyance.
I want to argue that the same point about understanding holds in the natural sciences and engineering, where it also has intrinsic value and, in addition, acquires instrumental value when predictions must be trusted before they can be verified empirically. One role of science is what ancient philosophers called episteme, roughly explanatory understanding; here, understanding is the goal itself. Another role is techne, roughly the craft of predicting and making: forecasting how natural or engineered systems will behave under circumstances not yet observed. Whether the two roles can be separated depends on how easily predictions can be checked. When they can, techne can stand on its own. A black-box AI weather prediction model can predict tomorrow’s weather, and we can trust it because its forecasts can be checked every day. Techne can then also serve episteme as an instrument. For example, AlphaFold predicts 3D protein structures without providing explanations. But its predictions can be checked against experimentally determined structures, and they have become invaluable for understanding how drugs bind to their targets. Episteme and techne become inseparable when predictions must be acted upon, and hence trusted, before they can be empirically verified, because verification is too slow, costly, or dangerous, as in projecting climate change decades ahead or designing an aircraft. In those cases, an auditable causal chain from assumptions and input data to the predicted outcomes is what makes predictions trustworthy, and this constrains how AI can be used.
The Navier-Stokes equation, which describes fluid flow, is a good example, as it is at the heart not only of a Millennium Prize problem but also of aircraft design and climate prediction. The claimed result says that a fluid starting from rest, driven by just the right smooth stirring, develops an infinite velocity spike in finite time while its total kinetic energy remains bounded; the forcing is constructed to sustain the collapse. (The unforced version of the problem, whether smooth solutions exist for all time without external forcing, remains open.) Despite the mathematical singularity, nothing infinite happens physically: the incompressible equation stops being valid once energy concentrates at very small scales, where compressibility and molecular effects take over, as has long been known. By contrast, in turbulence, viscosity dissipates energy at a small but finite scale (the Kolmogorov scale), and the continuum description is valid across all scales of motions. Therefore, the result says little about how we model, predict, and understand the physical phenomenon of turbulence, which is likewise a solution of the Navier-Stokes equation, and one that, unlike finite-time blow-up, is ubiquitously realized.
The Navier-Stokes equation governs the flow and turbulence that control lift and drag around an aircraft wing, cloud formation in the atmosphere, and mixing in the oceans. In both aircraft design and climate prediction, verification comes late or is difficult and expensive. An aircraft is flight-tested only after it is built; a projection of how extreme rainfall statistics intensify in the coming decades must inform stormwater infrastructure that is built now but will likely be put to the extreme test only decades later. Such predictions earn trust not by end-to-end verification but by being the output of an auditable chain stretching from inputs (design parameters, atmospheric composition) to outcomes, whose links have known limits of validity and can be tested individually. Computational fluid dynamics (CFD) solves the Navier-Stokes equation together with additional equations (e.g., for thermodynamics) numerically. Its numerical methods for the resolved scales are based on established theories of stability, consistency, and convergence, and its subgrid-scale models for unresolved turbulence rest on plausible assumptions of universality at small scales (e.g., local isotropy) that can be tested separately against high-resolution simulations or laboratory experiments with canonical flows. Understanding and auditability of the individual links are what allow the chain as a whole to be trusted beyond the distribution of large-scale cases already observed, such as the present climate or existing aircraft wing designs.
Contrast that with end-to-end AI methods for weather prediction. Daily empirical verifiability suffices to establish trust in their forecasts. However, they do not come with a stability, consistency, and convergence theory (no analog of von Neumann stability analysis or the Lax equivalence theorem has been established for them), and how an initial condition becomes a forecast is difficult to audit. This is inconsequential for forecasting a few days ahead, where the forecasts can be checked daily. But it does matter for climate projection, which is a different task: predicting how weather statistics change over decades in response to a forcing such as increased greenhouse gas concentrations. An end-to-end model can learn the day-to-day evolution of weather states in today’s climate, but it contains no pathway through which greenhouse gases alter this evolution; their concentrations are typically not among its inputs, and if they were, no observations exist to learn about the response. The causal chain from greenhouse gases to their effects on radiative transfer, temperature, and winds, represented in physics-based models through their equations, is absent. Additionally, such models do not enforce conservation laws, for example of energy, so long integrations can drift by accumulating errors (e.g., in temperature). We would not currently trust them to project how the climate system responds to previously unobserved changes in the concentration of greenhouse gases over decades. Nor would we trust an AI surrogate of CFD simulations to certify an aircraft of novel shape. AI surrogates are used to explore and narrow down design spaces quickly, but the final assessment returns to established CFD methods or wind tunnel experiments, whose errors are controlled and whose steps are auditable.
So how do we best use AI in cases where episteme and techne combine, where understanding is essential for trust because predictions are difficult to verify? An answer suggested by the preceding argument is to embed AI at the links in the chain where trust can be earned by empirical verification. Concretely, use AI inside auditable scaffolds, such as physical conservation laws. Then use numerical methods with controlled errors to solve, e.g., the Navier-Stokes equation on the resolved large scales, while learning closure models for the unresolved subgrid scales from data, where some universality assumptions are defensible and individually testable. The rationale, in the case of the climate system, is that the large scales are where climate change moves the system out of the current distribution, whereas small-scale physics obeys the same local laws in a warmer or colder climate as in today’s. For an aircraft wing of novel shape, similarly, the geometry may be new but the functional relation between larger-scale conditions and the small-scale turbulence around it is not. The scaffold thus guides the extrapolation on the basis of the known equations, rather than with end-to-end models tied to the data available today.
Closures must be learned as functions of the resolved state, and extrapolation problems may reappear if the conditions for which data are available do not span the range of conditions for which predictions are needed (e.g., the temperature and humidity regimes in which cloud turbulence has been sampled, or the pressure gradients along a wing of novel shape). This can be mitigated with established tools, such as local high-resolution simulations for offline calibration and uncertainty quantification. Climate models and CFD codes have been built from resolved dynamics with embedded closures for decades. AI now enables a wider and faster search. Neural network closures can be individually tested and, to some extent, interpreted. Symbolic regression, which learns equations by selecting terms from a dictionary, as in SINDy, can sometimes produce closures that are more easily interpretable. AI agents are beginning to run the closure search in a closed loop, proposing symbolic closures, testing them against high-resolution simulations, observations, or experiments, and revising them. When this is successful, the resulting closure can be audited and, after the fact, understood.
This closed loop is similar to how AI is used in mathematics. In both cases, a verifier is used for checking: Lean for proofs; high-resolution simulations, observations, or experiments for turbulence closures. In the case of mathematics, the checks are complete; in the case of turbulence closures, they are limited to the conditions covered, so trust is restricted to the tested conditions. AI can accelerate this program by searching a larger space of possible closures or proof strategies than can be explored by humans in the same time. Once candidates have passed the checks, they become new objects for human study. In this way, understanding (episteme) and prediction (techne) improve together and reinforce each other, with humans, for now, remaining essential for extracting understanding and building trust in the end result: for writing the story behind the headline.
I thank Thomas Müller for pointing me to the paper by Yehuda Rav, and Thomas and my CliMA colleagues for discussions of the topics here over several years. I used AI for copy-editing.
摘要
针对AI证明纳维-斯托克斯方程爆破引发的争论,文章指出科学与工程AI不能脱离因果理解。短期天气预报可由日常检验支持,但气候预测与飞机设计等场景无法即时验证,端到端黑箱缺乏守恒约束与收敛理论,外推并不可信。唯有将AI嵌入守恒律支架中学习可审计的亚网格封闭模型,才能实现预测能力与机理认知的协同促进。
内容框架与概述
近期OpenAI借助数以万计的AI智能体与Lean形式化验证,宣称证明了受迫纳维-斯托克斯方程在有限时间内出现速度尖锐爆破。尽管形式化验证确保了命题在逻辑符号层面的正确性,但数学界仍难以消化其内在机理。定理仅是新闻头条,证明过程才是揭示数学结构与方法的内幕故事。若证明正确却无法被人类理解,就无法启发新的思维。更重要的是,在实际物理流动中,当能量集中在微小尺度时,分子效应与可压缩性便会介入打破连续介质假设,无限大奇点在现实中并不会发生;因此纯数学上的爆破结论,对理解无处不在的真实湍流物理几乎没有帮助。
这一矛盾揭示了科学认识论中解释性理解(episteme)与实用预测技术(techne)的核心分野。当预测结果能够快速且低成本地接受实证检验时,例如日常天气预报或由AlphaFold预测后经实验验证的蛋白质结构,黑箱模型便足以自立并辅助认知。然而,当重大决策必须在结果得到验证之前做出时——无论是关系未来数十年防洪基建的气候投影,还是造价高昂的新型客机机翼设计——验证往往极度迟滞、昂贵甚至危险。在这些涉及分布外外推的领域,端到端AI模型既缺乏经典数值分析中的稳定性与收敛性理论,也不遵循能量守恒等物理法则,更不存在温室气体等外力影响流体演变的因果路径,导致长时间积分必然积累漂移误差,无法建立真正的信任。
解决之道在于将AI严格约束在可审计的物理支架之内。在大尺度流动上,系统会随气候变暖或外形剧变而偏离现有数据分布,此时应继续沿用具有收敛保证与误差控制的经典数值方法求解守恒方程;在局部微观尺度上,物理规律保持普适性,可利用神经网络或符号回归从高精度模拟数据中学习亚网格封闭模型。AI智能体能够在此类封闭模型空间中开展闭环搜索与自动修正,其过程正如AI在Lean中寻找证明步骤一样受到严格验证器的把关。通过在可独立验证的机理环节嵌入AI,人类既获得了超越传统经验公式的预测精度,又能保留全程可审计的因果推理链,让技术预测与科学理解在双向反馈中共同演进。
核心概念及解读
认识与技艺(Episteme 与 Techne):前者指追求机制解释与理解本身,后者指实用的制作与预测工艺;二者在预测难以即时验证时必须深度结合。
可审计因果链(Auditable Causal Chain):从输入到结果各环节皆具明确物理边界且可分段独立测试的逻辑链条,是外推预测建立信任的前提。
物理支架与封闭模型(Physical Scaffold & Closures):在大尺度以守恒律作为数值求解骨架,仅在局部尺度利用AI学习未解析流动效应的混合建模架构。
闭环符号回归(Closed-loop Symbolic Regression):由AI智能体自主提出显式数学方程,结合高保真模拟进行自动化测试与迭代修正的可解释学习方法。
新意与局限
- 将数学证明中头条与内幕故事的隐喻拓展至工程科学,清晰界定了可即时验证与不可即时验证的信任边界,击中了当前唯端到端AI论的认知盲区。
- 提出了物理守恒骨架结合微观数据封闭的混合架构,将Lean形式化验证与高保真模拟检验亚网格模型对偶起来,为AI在严肃科学工程中的落地指明了切实路径。
- 尽管小尺度物理具有一定的局域不变性,但在极端多物理场耦合或突变条件下,微观训练数据仍可能面临外推风险;同时高维复杂系统下符号回归生成简洁方程的能力仍待更多实践检验。
[本文为 Tapio Schneider 的客座文章。这篇博文最初以另一种文件格式写成,后借助 AI 转换格式。——T.]
[本文也将发布于 CliMA 博客。]
9 月 8 日,OpenAI 宣布给出了带外力项的纳维–斯托克斯方程在有限时间内爆破的一个看来成立的证明,这使关于 AI 在数学中扮演何种角色的争论成为焦点。这个证明由一个包含约 10,000 个 AI 智能体的系统产生,这些智能体并行探索了许多方法;随后,证明在 Lean 中得到了形式化与验证。形式验证支持其正确性,但数学家仍在努力消化它。一个证明确定了某个命题的真值,但 Terry Tao 等人指出,这只是证明意义的一部分;另一部分,是增进我们对“形状、数以及自然现象的基本结构”的概念性理解。正如 Yehuda Rav 在四分之一个世纪前所说,“定理是新闻标题,证明是内文故事。”一个正确却无法理解、或尚未被数学共同体消化的证明,给了我们标题,却没有给我们故事。问题不在于证明者是人还是机器,而在于其推理是否增进了我们对方法与结构的共同理解,这种理解能够激发新的思考和进一步的进展。正如 Timothy Gowers 所指出的,AI 生成的证明文本不够完善,很可能只是一种暂时的困扰。
我想论证的是,关于理解的同一道理,也适用于自然科学和工程。在这些领域,理解同样具有内在价值;此外,当预测必须在人们能够凭经验验证之前就得到信任时,理解也获得了工具性价值。科学的一种作用,是古代哲学家所说的 episteme,大致可以理解为解释性的理解;在这里,理解本身就是目标。另一种作用是 techne,大致指预测与制作的技艺:预判自然系统或工程系统在尚未观测到的情形下会如何表现。这两种作用能否分开,取决于检验预测有多容易。如果预测容易检验,techne 就可以独立成立。一个黑箱式的 AI 天气预测模型可以预报明天的天气,我们可以信任它,因为它的预报每天都可以检验。这样一来,techne 也可以作为工具服务于 episteme。例如,AlphaFold 可以预测蛋白质的三维结构,却不给出解释。但是,它的预测可以与实验测定的结构对照检验,并且已经成为理解药物如何与靶标结合的宝贵工具。当经验验证太慢、太昂贵或太危险,因而人们必须在验证预测之前就依据预测采取行动、也就必须信任预测时,episteme 与 techne 就变得不可分割,例如预测数十年后的气候变化或设计飞机。在这些情况下,一条从假设和输入数据通向预测结果的、可审查的因果链,才是使预测值得信赖的依据,这也限制了 AI 的使用方式。
描述流体运动的纳维–斯托克斯方程就是一个很好的例子,因为它不仅是一个千禧年大奖难题的核心,也是飞机设计和气候预测的核心。所声称的结果是:一个初始静止的流体,在恰到好处的光滑搅动驱动下,会在有限时间内形成一个无穷大的速度尖峰,而其总动能仍然有界;外力被构造为能够维持这种塌缩。(不带外力的问题,即没有外部驱动力时,光滑解是否在所有时间都存在,仍然悬而未决。)尽管出现了数学奇点,物理上却没有任何量真的变成无穷大:当能量集中到极小尺度、可压缩性和分子效应开始起主导作用时,不可压缩方程就不再适用,这一点早已为人所知。相比之下,在湍流中,黏性在一个很小但有限的尺度(柯尔莫哥洛夫尺度)上耗散能量,连续介质描述在运动的所有尺度上都有效。因此,这个结果对于我们如何建模、预测和理解湍流这一物理现象,说明不了多少;湍流同样是纳维–斯托克斯方程的解,而且与有限时间爆破不同,它在现实中无处不在。
纳维–斯托克斯方程支配着流动和湍流,而这些流动和湍流决定了机翼周围的升力与阻力、大气中的云形成,以及海洋中的混合。在飞机设计和气候预测中,验证要么来得很晚,要么困难且昂贵。飞机只有建造完成后才能进行飞行测试;关于未来数十年极端降雨统计特征将如何增强的预测,必须为眼下建造的雨洪基础设施提供依据,但这些设施很可能要到数十年后才会经受极端考验。这样的预测赢得信任,靠的不是端到端的验证,而是它们出自一条从输入(设计参数、大气成分)延伸到结果的可审查链条,其中每个环节的适用界限都是已知的,而且可以逐一检验。计算流体力学(CFD)通过数值方法,将纳维–斯托克斯方程与其他方程(例如热力学方程)一起求解。对于可分辨尺度,它的数值方法建立在成熟的稳定性、相容性和收敛性理论之上;对于未分辨的湍流,它的亚网格尺度模型则建立在关于小尺度普适性的合理假设(例如局部各向同性)之上,这些假设可以通过高分辨率模拟或典型流动的实验室实验分别检验。正是对各个环节的理解及其可审查性,使得整条链在超出已观测的大尺度情形分布时,仍然值得信赖,例如超出当前气候或现有机翼设计的范围。
把这与端到端的 AI 天气预测方法比较一下。每天都能进行经验验证,足以建立对它们预报的信任。然而,它们并没有配套的稳定性、相容性和收敛性理论(尚未为它们建立类似冯·诺伊曼稳定性分析或 Lax 等价定理的理论),而且一个初始条件如何转变为一份预报,也很难审查。对于提前几天的预报,这无关紧要,因为预报每天都可以检验。但对于气候预测,这就重要了,因为那是另一种任务:预测天气统计特征如何在数十年间响应某种强迫因素,例如温室气体浓度的增加。端到端模型可以学会当今气候中天气状态逐日演变的方式,但它没有包含温室气体改变这种演变的任何途径;温室气体浓度通常不在它的输入之列,即使在,也没有可供学习这种响应的观测数据。从温室气体,到它们对辐射传输、温度和风的影响,这条因果链在基于物理的模型中通过方程来表示,在这里却是缺失的。此外,这类模型不强制满足守恒律,例如能量守恒,因此长时间积分可能因误差积累而发生漂移(例如温度漂移)。目前,我们不会信任它们对气候系统如何在数十年间响应此前未曾观测到的温室气体浓度变化所作的预测。我们也不会信任一个 CFD 模拟的 AI 代理模型,凭它来认证一架采用新颖外形的飞机。AI 代理模型被用于快速探索并缩小设计空间,但最终评估仍会回到成熟的 CFD 方法或风洞实验,因为它们的误差可控,步骤也可审查。
那么,在 episteme 与 techne 相结合、预测难以验证,因而理解对建立信任至关重要的情况下,我们应当怎样最好地使用 AI?前面的论证所指向的一个答案,是将 AI 嵌入链条中那些能够通过经验验证赢得信任的环节。具体而言,在可审查的框架之内使用 AI,例如物理守恒定律。然后,用误差可控的数值方法,在可分辨的大尺度上求解纳维–斯托克斯方程等方程,同时从数据中学习未分辨的亚网格尺度的闭合模型;在这些尺度上,某些普适性假设是有依据的,也可以分别检验。以气候系统为例,这样做的理由在于:气候变化使系统偏离当前分布的地方在大尺度,而在更暖或更冷的气候中,小尺度物理过程仍遵循与当今气候相同的局部定律。同样,对于采用新颖外形的机翼,几何形状也许是新的,但较大尺度条件与其周围小尺度湍流之间的函数关系并不是新的。因此,这个框架依据已知方程来指导外推,而不是依靠受限于当前可用数据的端到端模型。
闭合关系必须被学习为可分辨状态的函数;如果已有数据所涵盖的条件,没有覆盖需要作出预测的条件范围,外推问题就可能重新出现(例如,对云中湍流进行采样时所涵盖的温度和湿度范围,或采用新颖外形的机翼沿线的压力梯度)。这一问题可以通过成熟工具加以缓解,例如用局部高分辨率模拟进行离线校准和不确定性量化。几十年来,气候模型和 CFD 程序一直都是在可分辨动力学中嵌入闭合模型而构建的。如今,AI 使更广泛、更快速的搜索成为可能。神经网络闭合模型可以分别检验,也可以在一定程度上加以解释。符号回归通过从项库中选择项来学习方程,例如 SINDy 所采用的方法,有时能够产生更容易解释的闭合模型。AI 智能体开始以闭环方式搜索闭合模型:提出符号形式的闭合模型,用高分辨率模拟、观测或实验来检验它们,然后再加以修正。当这一过程成功时,所得到的闭合模型就可以被审查,并在事后被理解。
这种闭环与 AI 在数学中的使用方式相似。两种情况下,都借助验证器进行检查:证明使用 Lean;湍流闭合模型使用高分辨率模拟、观测或实验。在数学的情况下,检查是完整的;在湍流闭合模型的情况下,检查则局限于所涵盖的条件,因此信任也限于已经测试过的条件。与人类在同样时间内能够探索的范围相比,AI 可以搜索一个更大的可能闭合模型或证明策略的空间,从而加快这一进程。一旦候选对象通过检查,它们就成为人类研究的新对象。通过这种方式,理解(episteme)和预测(techne)共同进步,相互促进;就目前而言,在从中提取理解、建立对最终结果的信任方面,人类仍然不可或缺:我们要写出标题背后的故事。
感谢 Thomas Müller 向我推荐 Yehuda Rav 的论文,也感谢 Thomas 以及我的 CliMA 同事们,感谢他们多年来与我讨论这里涉及的话题。我使用了 AI 进行文字润色。