Lune

POPL2021顶会

𝜆ₛ: computable semantics for differentiable programming with higher-order functions and datatypes

Benjamin Sherman, Jesse Michel, Michael Carbin

2021年份
11被引次数
9顶会引用

摘要

Deep learning is moving towards increasingly sophisticated optimization objectives that employ higher-order functions, such as integration, continuous optimization, and root-finding. Since differentiable programming frameworks such as PyTorch and TensorFlow do not have first-class representations of these functions, developers must reason about the semantics of such objectives and manually translate them to differentiable code.

We present a differentiable programming language, 𝜆 𝑆 , that is the first to deliver a semantics for higher-order functions, higher-order derivatives, and Lipschitz but nondifferentiable functions. Together, these features enable 𝜆 𝑆 to expose differentiable, higher-order functions for integration, optimization, and root-finding as first-class functions with automatically computed derivatives. 𝜆 𝑆 's semantics is computable, meaning that values can be computed to arbitrary precision, and we implement 𝜆 𝑆 as an embedded language in Haskell.

We use 𝜆 𝑆 to construct novel differentiable libraries for representing probability distributions, implicit surfaces, and generalized parametric surfaces -all as instances of higher-order datatypes -and present case studies that rely on computing the derivatives of these higher-order functions and datatypes. In addition to modeling existing differentiable algorithms, such as a differentiable ray tracer for implicit surfaces, without requiring any user-level differentiation code, we demonstrate new differentiable algorithms, such as the Hausdorff distance of generalized parametric surfaces.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

lune papers fulltext 5f042250-49e8-4f8f-b249-cc9b624d5125

引用它的顶会 Paper9

问问它们各自怎么用它

它引用的顶会 Paper2

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖