paperbot · PL 论文追踪

全部论文 待读 收藏

P0 Synthesizing Backward Error Bounds, Backward

合成后向误差界:后向稳定性
PLDI 10(PLDI)2026匹配度 9/10 · 论文直接研究浮点程序的后向误差分析,提出可组合的形式化定义、范畴 Shel,并实现自动化工具 eggshel,属于用户画像中“浮点程序分析”的核心方向;虽未涉及 LLM/Agent 交叉,但理论形式化与工程实现兼具,匹配度高。引用 0 inbox
Laura Zielinski, Justin Hsu
crossref: 2026-09-10

AI 速览

一句话:提出可组合的后向稳定性定义与范畴 Shel,并实现工具 eggshel 自动合成数值程序的后向误差界。

后向稳定性是数值算法的重要性质:浮点程序对某输入产生的输出,恰好是附近输入在实数下的精确结果。现有工具多针对前向误差,后向误差分析自动化不足。本文提出形式化框架,对一大类数值程序进行可靠、自动的后向误差分析。作者先给出后向稳定性定义的可组合推广,覆盖多种浮点操作;再构造范畴 Shel,其中态射建模稳定的数值程序,并展示其结构支持丰富分析;最后实现 eggshel,在 Shel 的语法子范畴中自动搜索以证明程序后向稳定。算法能处理变量复用这一难题,作者证明其可靠性,并为一批此前自动化分析难以处理的程序合成后向误差界。

问题
自动化后向误差分析工具稀缺;需要为广泛浮点数值程序可靠地证明后向稳定性并合成误差界。
方法
提出可组合的后向稳定性推广,构造范畴 Shel 作为分析框架,并实现 eggshel 在语法子范畴中自动搜索证明。
评估
证明算法可靠性,并在多个此前自动化分析无法处理的程序上合成后向误差界。
原文摘要(Abstract)

Backward stability is a desirable property for a well-designed numerical algorithm: given an input, a backward stable floating-point program produces the exact output for a nearby input. While automated tools for bounding the forward error of a numerical program are well-established, few existing tools target backward error analysis. We present a formal framework that enables sound, automated backward error analysis for a broad class of numerical programs. First, we propose a novel generalization of the definition of backward stability that is both compositional and flexible, satisfied by a wide range of floating-point operations. Second, based on this generalization, we develop the category Shel where morphisms model stable numerical programs, and show that structures in Shel support a rich variety of backward error analyses. Third, we implement a tool, eggshel, that automatically searches within a syntactic subcategory of Shel to prove backward stability for a given program. Our algorithm handles many programs with variable reuse, a known challenge in backward error analysis. We prove soundness of our algorithm and use our tool to synthesize backward error bounds for a suite of programs that were previously beyond the reach of automated analysis.

链接与引用

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

BibTeX
@article{paperbot3757,
  title = {Synthesizing Backward Error Bounds, Backward},
  author = {Laura Zielinski and Justin Hsu},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {PLDI},
  year = {2026},
  doi = {10.1145/3808333}
}