一种简单的可微程序设计语言
A Simple Differentiable Programming Language
摘要:
自动微分在科学计算和现代机器学习中发挥着重要作用,通常在强大的编程系统的背景下。自动微分的各种具体化与数学导数概念的关系并不总是完全清楚的-有时会无意中出现差异。为了研究自动微分,在这样的编程环境中,我们定义了一个小的,但表现力程序设计语言,其中包括一个结构的反向模式分化。我们给这种语言的操作和指称语义。操作语义学采用了流行的实现技术,而指称语义采用了与实分析相似的区分概念。我们确定这些语义是一致的。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。