paperbot · PL 论文追踪

全部论文 待读 收藏

P1 Synthesizing Precise Static Analyzers for Automatic Differentiation

为自动微分合成精确的静态分析器
OOPSLA 7(OOPSLA2)2023匹配度 7/10 · 该论文属于将程序分析与抽象解释静态分析技术应用于机器学习系统(自动微分、神经网络验证/敏感度分析)的方向,符合‘PL→AI’中在ML系统中应用静态分析的兴趣,且兼具形式化证明与工程实现。但它不涉及LLM/Agentic程序、浮点舍入分析或贝叶斯程序分析,因此未命中当前最核心的几个交叉点。引用 8 inbox
Jacob Laurel, Siyuan Brant Qian, Gagandeep Singh, Sasa Misailovic
crossref: 2026-09-10

AI 速览

一句话:提出 Pasado,通过直接合成自动微分链式、乘积和商法则复合表达式的抽象变换器,获得比组合标准变换器更精确且可靠的静态分析器。

自动微分的静态分析通常将各非线性运算的标准抽象变换器逐层组合,导致精度损失。Pasado 直接为链式法则、乘法法则和除法法则的复合表达式合成抽象变换器,同时抽象其中的非线性运算,并证明所得分析器可靠。方法可实例化于不同非线性函数、区间与 zonotope 抽象域以及前向/反向自动微分。评估中,Pasado 在最大 CNN 上计算的局部 Lipschitz 常数比先进 zonotope 分析精确至多 2750 倍;对气候、化学与金融微分方程解敏感度的界平均精确 1.31–2.81 倍。

问题
现有自动微分静态分析通过组合标准抽象变换器来抽象复合表达式,导致精度次优,难以对 AD 复合表达式给出紧致界。
方法
Pasado 直接为链式、乘积与商法则的复合表达式合成能同时抽象所有非线性操作的抽象变换器,并证明其可靠性;可泛化到不同非线性函数、区间/zonotope 抽象域及前向/反向 AD。
评估
在神经网络局部 Lipschitz 常数、金融模型敏感度、单调性认证以及气候/化学微分方程解敏感度等案例上评估,并与先进 zonotope 分析比较精度。
原文摘要(Abstract)

We present Pasado, a technique for synthesizing precise static analyzers for Automatic Differentiation. Our technique allows one to automatically construct a static analyzer specialized for the Chain Rule, Product Rule, and Quotient Rule computations for Automatic Differentiation in a way that abstracts all of the nonlinear operations of each respective rule simultaneously. By directly synthesizing an abstract transformer for the composite expressions of these 3 most common rules of AD, we are able to obtain significant precision improvement compared to prior works which compose standard abstract transformers together suboptimally. We prove our synthesized static analyzers sound and additionally demonstrate the generality of our approach by instantiating these AD static analyzers with different nonlinear functions, different abstract domains (both intervals and zonotopes) and both forward-mode and reverse-mode AD. We evaluate Pasado on multiple case studies, namely soundly computing bounds on a neural network’s local Lipschitz constant, soundly bounding the sensitivities of financial models, certifying monotonicity, and lastly, bounding sensitivities of the solutions of differential equations from climate science and chemistry for verified ranges of initial conditions and parameters. The local Lipschitz constants computed by Pasado on our largest CNN are up to 2750× more precise compared to the existing state-of-the-art zonotope analysis. The bounds obtained on the sensitivities of the climate, chemical, and financial differential equation solutions are between 1.31 − 2.81× more precise (on average) compared to a state-of-the-art zonotope analysis.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot1889,
  title = {Synthesizing Precise Static Analyzers for Automatic Differentiation},
  author = {Jacob Laurel and Siyuan Brant Qian and Gagandeep Singh and Sasa Misailovic},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {7},
  number = {OOPSLA2},
  year = {2023},
  doi = {10.1145/3622867}
}