A general construction for abstract interpretation of higher-order automatic differentiation

Author:

Laurel Jacob1ORCID,Yang Rem1ORCID,Ugare Shubham1ORCID,Nagel Robert1ORCID,Singh Gagandeep2ORCID,Misailovic Sasa1ORCID

Affiliation:

1. University of Illinois at Urbana-Champaign, USA

2. University of Illinois at Urbana-Champaign, USA / VMware Research, USA

Abstract

We present a novel, general construction to abstractly interpret higher-order automatic differentiation (AD). Our construction allows one to instantiate an abstract interpreter for computing derivatives up to a chosen order. Furthermore, since our construction reduces the problem of abstractly reasoning about derivatives to abstractly reasoning about real-valued straight-line programs, it can be instantiated with almost any numerical abstract domain, both relational and non-relational. We formally establish the soundness of this construction. We implement our technique by instantiating our construction with both the non-relational interval domain and the relational zonotope domain to compute both first and higher-order derivatives. In the latter case, we are the first to apply a relational domain to automatic differentiation for abstracting higher-order derivatives, and hence we are also the first abstract interpretation work to track correlations across not only different variables, but different orders of derivatives. We evaluate these instantiations on multiple case studies, namely robustly explaining a neural network and more precisely computing a neural network’s Lipschitz constant. For robust interpretation, first and second derivatives computed via zonotope AD are up to 4.76× and 6.98× more precise, respectively, compared to interval AD. For Lipschitz certification, we obtain bounds that are up to 11,850× more precise with zonotopes, compared to the state-of-the-art interval-based tool.

Funder

USDA

NSF

Publisher

Association for Computing Machinery (ACM)

Subject

Safety, Risk, Reliability and Quality,Software

Reference52 articles.

1. Martín Abadi , Paul Barham , Jianmin Chen , Zhifeng Chen , Andy Davis , Jeffrey Dean , Matthieu Devin , Sanjay Ghemawat , Geoffrey Irving , and Michael Isard . 2016 . TensorFlow: A System for Large-Scale Machine Learning. In 12th USENIX symposium on operating systems design and implementation. Martín Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Geoffrey Irving, and Michael Isard. 2016. TensorFlow: A System for Large-Scale Machine Learning. In 12th USENIX symposium on operating systems design and implementation.

2. Aws Albarghouthi. 2021. Introduction to Neural Network Verification. Foundations and Trends® in Programming Languages. Aws Albarghouthi. 2021. Introduction to Neural Network Verification. Foundations and Trends® in Programming Languages.

3. Marco Ancona , Enea Ceolini , Cengiz Öztireli , and Markus Gross . 2018 . Towards better understanding of gradient-based attribution methods for Deep Neural Networks . In 6th International Conference on Learning Representations (ICLR). Marco Ancona, Enea Ceolini, Cengiz Öztireli, and Markus Gross. 2018. Towards better understanding of gradient-based attribution methods for Deep Neural Networks. In 6th International Conference on Learning Representations (ICLR).

4. Claus Bendtsen and Ole Stauning. 1996. FADBAD a flexible C++ package for automatic differentiation. Claus Bendtsen and Ole Stauning. 1996. FADBAD a flexible C++ package for automatic differentiation.

Cited by 3 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Synthesizing Precise Static Analyzers for Automatic Differentiation;Proceedings of the ACM on Programming Languages;2023-10-16

2. Incremental Verification of Neural Networks;Proceedings of the ACM on Programming Languages;2023-06-06

3. Building Trust and Safety in Artificial Intelligence with Abstract Interpretation;Static Analysis;2023

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3