资源论文DIFF SIM :D IFFERENTIABLE PROGRAMMING FORP HYSICAL SIMULATION

DIFF SIM :D IFFERENTIABLE PROGRAMMING FORP HYSICAL SIMULATION

2020-01-02 | |  87 |   53 |   0

Abstract

We present DiffSim, a new differentiable programming language tailored for building high-performance differentiable physical simulators. Based on an imperative programming language, DiffSim 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 gradientbased learning and optimization tasks on 10 different physical simulators. For example, a differentiable elastic object simulator written in our language is 4.2× shorter than the hand-engineered CUDA version yet runs as fast, and is 188× faster than the TensorFlow implementation. Using our differentiable programs, neural network controllers are typically optimized within only tens of iterations.

上一篇:UNDERSTANDING GENERALIZATION IN RECURRENTN EURAL NETWORKS

下一篇:TOWARDS BETTER UNDERSTANDING OF ADAPTIVEG RADIENT ALGORITHMS IN GENERATIVE ADVER -SARIAL NETS

用户评价
全部评价

热门资源

  • Learning to Predi...

    Much of model-based reinforcement learning invo...

  • Stratified Strate...

    In this paper we introduce Stratified Strategy ...

  • The Variational S...

    Unlike traditional images which do not offer in...

  • A Mathematical Mo...

    Direct democracy, where each voter casts one vo...

  • Rating-Boosted La...

    The performance of a recommendation system reli...