A Simple Differentiable Programming Language

被引:26
|
作者
Abadi, Martin [1 ]
Plotkin, Gordon D. [1 ]
机构
[1] Google Res, Mountain View, CA 94043 USA
来源
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL | 2020年 / 4卷 / POPL期
关键词
automatic differentiation; differentiable programming; CALCULUS;
D O I
10.1145/3371106
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Automatic differentiation plays a prominent role in scientific computing and in modern machine learning, often in the context of powerful programming systems. The relation of the various embodiments of automatic differentiation to the mathematical notion of derivative is not always entirely clear discrepancies can arise, sometimes inadvertently. In order to study automatic differentiation in such programming contexts, we define a small but expressive programming language that includes a construct for reverse-mode differentiation. We give operational and denotational semantics for this language. The operational semantics employs popular implementation techniques, while the denotational semantics employs notions of differentiation familiar from real analysis. We establish that these semantics coincide.
引用
收藏
页数:28
相关论文
共 50 条
  • [41] Differentiable Direct Volume Rendering
    Weiss, Sebastian
    Westermann, Ruediger
    IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS, 2022, 28 (01) : 562 - 572
  • [42] Coupling Large Language Models with Logic Programming for Robust and General Reasoning from Text
    Yang, Zhun
    Ishay, Adam
    Lee, Joohyung
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, ACL 2023, 2023, : 5186 - 5219
  • [43] The programming method of MATLAB language for solving AI-based digital health problems
    Jiang S.
    Journal of Commercial Biotechnology, 2022, 27 (01): : 151 - 159
  • [44] A differentiable quantum phase estimation algorithm
    Castaldo, Davide
    Jahangiri, Soran
    Migliore, Agostino
    Arrazola, Juan Miguel
    Corni, Stefano
    QUANTUM SCIENCE AND TECHNOLOGY, 2024, 9 (04):
  • [45] Characterizations of generalized differentiable fuzzy functions
    Chalco-Cano, Y.
    Rodriguez-Lopez, R.
    Jimenez-Gamero, M. D.
    FUZZY SETS AND SYSTEMS, 2016, 295 : 37 - 56
  • [46] Surface Measures Generated by Differentiable Measures
    Bogachev, Vladimir I.
    Malofeev, Ilya I.
    POTENTIAL ANALYSIS, 2016, 44 (04) : 767 - 792
  • [47] JAX, MD A framework for differentiable physics
    Schoenholz, Samuel S.
    Cubuk, Ekin D.
    JOURNAL OF STATISTICAL MECHANICS-THEORY AND EXPERIMENT, 2021, 2021 (12):
  • [48] The core of large differentiable TU games
    Epstein, LG
    Marinacci, M
    JOURNAL OF ECONOMIC THEORY, 2001, 100 (02) : 235 - 273
  • [49] JAX, MD A Framework for Differentiable Physics
    Schoenholz, Samuel S.
    Cubuk, Ekin D.
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 33, NEURIPS 2020, 2020, 33
  • [50] Flexible Differentiable Optimization via Model Transformations
    Besancon, Mathieu
    Garcia, Joaquim Dias
    Legat, Benoit
    Sharma, Akshay
    INFORMS JOURNAL ON COMPUTING, 2024, 36 (02) : 456 - 478