Lune

PLDI2024顶会

Numerical Fuzz: A Type System for Rounding Error Analysis

Ariel E. Kellison, Justin Hsu

摘要

Algorithms operating on real numbers are implemented as floating-point computations in practice, but floatingpoint operations introduce roundoff errors that can degrade the accuracy of the result. We propose Λ num , a functional programming language with a type system that can express quantitative bounds on roundoff error. Our type system combines a sensitivity analysis, enforced through a linear typing discipline, with a novel graded monad to track the accumulation of roundoff errors. We prove that our type system is sound by relating the denotational semantics of our language to the exact and floating-point operational semantics.

To demonstrate our system, we instantiate Λ num with error metrics proposed in the numerical analysis literature and we show how to incorporate rounding operations that faithfully model aspects of the IEEE 754 floating-point standard. To show that Λ num can be a useful tool for automated error analysis, we develop a prototype implementation for Λ num that infers error bounds that are competitive with existing tools, while running significantly faster and scaling to larger programs. Finally, we consider semantic extensions of our graded monad to bound error under more complex rounding behaviors, such as non-deterministic and randomized rounding.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Synthesizing Backward Error Bounds, Backward 引用了 Bean: A Language for Backward Error Analysis
  • Synthesizing Sound and Precise Abstract Transformers for Nonlinear Hyperbolic PDE Solvers 引用了 Scalable yet rigorous floating-point error analysis
  • Bean: A Language for Backward Error Analysis 引用了 A relational theory of effects and coeffects
  • Bean: A Language for Backward Error Analysis 引用了 Scalable yet rigorous floating-point error analysis
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Bean: A Language for Backward Error AnalysisAriel E. Kellison, Laura Zielinski, David Bindel, Justin HsuPLDI 2025 · 2 次引用
  2. Dependent Coeffects for Local Sensitivity AnalysisVictor Sannier, Patrick BaillotPOPL 2026 · 1 次引用
  3. Synthesizing Sound and Precise Abstract Transformers for Nonlinear Hyperbolic PDE SolversJacob Laurel, Ignacio Laguna, Jan HückelheimOOPSLA 2025 · 1 次引用
  4. Synthesizing Backward Error Bounds, BackwardLaura Zielinski, Justin HsuPLDI 2026

它引用的 Paper3

  1. Scalable yet rigorous floating-point error analysisArnab Das, Ian Briggs, Ganesh Gopalakrishnan, Sriram Krishnamoorthy 等SC 2020 · 36 次引用
  2. A relational theory of effects and coeffectsUgo Dal Lago, Francesco GavazzoPOPL 2022 · 22 次引用
  3. One polynomial approximation to produce correctly rounded results of an elementary function for multiple representations and rounding modesJay P. Lim, Santosh NagarakattePOPL 2022 · 15 次引用

相关 Paper

  1. Rigorous Floating-Point Round-Off Error Analysis in PRECiSA 4.0Laura Titolo, Mariano M. Moscato, Marco A. Feliú, Paolo Masci 等FM 2024 · 1 次引用
  2. Rigorous Roundoff Error Analysis of Probabilistic Floating-Point ComputationsGeorge A. Constantinides, Fredrik Dahlqvist, Zvonimir Rakamaric, Rocco SalviaCAV 2021 · 5 次引用
  3. Total Type Error Localization and Recovery with HolesEric Zhao, Raef Maroof, Anand Dukkipati, Andrew Blinn 等POPL 2024 · 15 次引用
  4. When AllClose Fails: Round-Off Error Estimation for Deep Learning ProgramsQi Zhan, Xing Hu, Yuanyi Lin, Tongtong Xu 等ASE 2025
  5. A graded dependent type system with a usage-aware semanticsPritam Choudhury, Harley Eades III, Richard A. Eisenberg, Stephanie WeirichPOPL 2021 · 33 次引用
黄昏的海面,两侧是细线勾勒的悬崖