We present DiffTaichi, a new differentiable programming language tailored for building high-performance differentiable physical simulators. Based on an imperative programming language, DiffTaichi generates gradients of simulation steps using source code transformations that preserve arithmetic intensity and parallelism. A light-weight tape is used to record the whole simulation program structure and replay the gradient kernels in a reversed order, for end-to-end backpropagation. We demonstrate the performance and productivity of our language in gradient-based learning and optimization tasks on 10 different physical simulators. For example, a differentiable elastic object simulator written in our language is 4.2x shorter than the hand-engineered CUDA version yet runs as fast, and is 188x faster than the TensorFlow implementation. Using our differentiable programs, neural network controllers are typically optimized within only tens of iterations.
Massachusetts Institute of Technology(麻省理工学院);Microsoft Research(微软研究院);Google Brain(谷歌大脑)
实例编程(Programming by Example,PBE)是从输入输出实例中归纳出计算机程序的任务。它可以被看作是一种机器学习,其中假设空间是某些程序设计语言中的合法程序的集合。最近的工作可微解释放松离散空间的程序到一个连续的空间,使搜索程序可以使用基于梯度的优化。虽然概念上很强大,但到目前为止,基于可微解释器的程序合成只能解决非常简单的问题。在这项工作中,我们研究建模时出现的选择,构建一个微分程序设计语言和它们的影响,成功的合成。建模选择的主要动机来自函数式编程:我们研究内存分配方案、不可变数据、类型系统和内置控制流结构的影响。从经验上讲,我们表明,将函数式编程思想到微分程序设计语言,使我们能够学习更复杂的程序比现有的微分语言是可能的。
New directions for surrogate models and differentiable programming for High Energy Physics detector simulation
Paul Scherrer Institute(保罗·谢勒研究所);Argonne National Laboratory(阿贡国家实验室);SLAC National Accelerator Laboratory(SLAC国家加速器实验室);Universität Hamburg(汉堡大学);Rutgers University(罗格斯大学);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室);Fermi National Accelerator Laboratory(费米国家加速器实验室);Massachusetts Institute of Technology(麻省理工学院)
Differentiable Satisfiability and Differentiable Answer Set Programming for Sampling-Based Multi-Model Optimization
National University of Ireland, Galway(爱尔兰国立高威大学)
本文提出了一种求解多模型优化问题的可微可满足性和可微答案集编程算法(Differentiable Satisfiability and Differentiable Answer Set Programming,简称SAT/ASP)。模型(答案集或满足真值分配)使用一种新的SAT/ASP求解方法,该方法使用基于梯度下降的分支机制进行采样。采样继续进行,直到用户定义的多模型成本函数的值达到给定阈值。作为我们的方法的主要用例,我们提出了分布感知模型采样和表达但可扩展的概率逻辑编程。作为我们的主要算法方法,微分SAT/ASP,我们介绍了一个增强的国家的最先进的CDNL/CDCL算法SAT/ASP解决。此外,我们提出了替代算法,使用未经修改的ASP求解器(Clingo/扣)和映射的优化任务,以传统的答案集优化或使用所谓的传播。我们还报告了开源软件DelSAT,我们的主要算法的最近原型实现,以及初步实验结果,这些结果表明,DelSAT的性能,当应用于概率逻辑推理的用例时,与马尔可夫逻辑网络(MLN)推理性能相当,尽管与MLN相比具有有利的特性,例如表达归纳定义的能力,以及在所有情况下直接将概率作为权重的能力。我们的实验还表明,我们的主要算法是非常优越的性能相比,所提出的替代方法,减少了一个共同的情况下,一般的问题,定期SAT/ASP。
Differentiable Quantum Programming with Unbounded Loops
Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Tsinghua University(清华大学);University of Maryland(马里兰大学)
A differentiable programming framework for spin models
Center for Exact Sciences and Technology, Federal University of São Carlos(圣卡洛斯联邦大学精确科学与技术中心);Center for Natural and Exact Sciences, Federal University of Santa Maria(圣玛丽亚联邦大学自然与精确科学中心);Institute and Center for Development and Research in Software Technology - ICTS(软件技术发展与研究中心(ICTS))
High resolution functional imaging through Lorentz transmission electron microscopy and differentiable programming
Argonne National Laboratory(阿贡国家实验室)
洛仑兹透射电子显微镜是一种独特的表征技术,能够以高空间分辨率同时成像材料的微观结构和功能特性。诸如磁化和电势的定量信息由电子波的相位携带,并且在成像期间丢失。为了理解局域相互作用和发展结构-性质关系,有必要恢复电子波的完整波函数,这需要求解电子的相移(相位恢复)。在这里,我们已经开发了一种基于微分编程的方法来解决相位恢复的逆问题,使用一系列的散焦显微镜图像。我们表明,我们的方法是强大的,可以超越广泛使用的\textit{transport of intensity equation}的空间分辨率和准确性方面的检索相位在相同的电子剂量条件下。此外,我们的方法与先进的机器学习算法具有相同的基本结构,并且很容易适应电子显微镜中各种其他形式的相位恢复。
High-dimensional inference for the $γ$-ray sky with differentiable programming
Faculty of Computing;Data Sciences, Boston University, Boston, MA 02215, USA;The NSF AI Institute for Artificial Intelligence;Center for Theoretical Physics -- a Leinweber Institute, Massachusetts Institute of Technology, Cambridge, MA 02139, USA;Department of Physics, Harvard University, Cambridge, MA 02138, USA;Center for Theoretical Physics, Massachusetts Institute of Technology, Cambridge, MA 02139, USA;Trottier Space Institute \& Department of Physics, McGill University, Montreal, QC H3A 2T8, Canada;Department of Physics, Cornell University, Ithaca, NY 14853, USA
Improved Logical Reasoning of Language Models via Differentiable Symbolic Programming
Carnegie Mellon University(卡内基梅隆大学);University of Pennsylvania(宾夕法尼亚大学);Mohamed Bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Petuum Inc.(Petuum公司)
Iterative Linear Quadratic Optimization for Nonlinear Control: Differentiable Programming Algorithmic Templates
Google Brain, Seattle, USA(谷歌大脑);Paul G. Allen School of Computer Science and Engineering, University of Washington, Seattle, USA(保罗·G·艾伦计算机科学与工程学院);Department of Electrical and Computer Engineering, University of Washington, Seattle, USA(电气与计算机工程系);Department of Statistics University of Washington, Seattle, USA(统计学系)
OkadaTorch: A Differentiable Programming of Okada Model to Calculate Displacements and Strains from Fault Parameters
Earthquake Reseach Institute, The University of Tokyo(东京大学地震研究所);Research Center for Prediction of Earthquakes and Volcanic Eruptions, Tohoku University(东北大学地震与火山喷发预测研究中心);RIKEN Center for Advanced Intelligence Project(理化学研究所先进情报项目中心)
ANDRE: An Attention-based Neuro-symbolic Differentiable Rule Extractor for Inductive Logic Programming
Dept. of Mechanical and Aerospace Engineering, George Washington University, USA(机械与航空航天工程系,乔治华盛顿大学);Dept. of Mechanical Engineering Sciences, University of Surrey, UK(机械工程科学系,萨里大学)
Learned multiphysics inversion with differentiable programming and machine learning
Georgia Institute of Technology(佐治亚理工学院);Rice University(莱斯大学);University Medical Center Utrecht(乌得勒支大学医学中心);Microsoft(微软);SINTEF Digital(挪威科技工业研究院数字研究所);Imperial College London(帝国理工学院)