Differentiable Programming: Efficient Smoothing of Control-Flow-Induced Discontinuities
Not on the map. Why?
Abstract (arXiv)
We want to obtain derivatives in discontinuous program code, where default Algorithmic Differentiation may not perform well. Specifically, we consider discontinuities induced by control flow statements, where meaningful derivatives should ideally be capable of representing the resulting kinks in the trajectory. To achieve this, one can interpolate the trajectory at the control flow statements before taking the derivative. We formulate a method to efficiently interpolate between all boundaries induced by control flow in program code. Theoretically, code can be viewed as a series of piecewise continuous functions applied in succession. These functions are nested inside one another and result in a function composition with several cases. We interpret this function composition as a tree and devise a heuristic to identify paths that are relevant to the interpolation. This allows us to conceive a language that smoothly interpolates control-flow statements automatically and efficiently, making it fully differentiable.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). First posted on arXiv 11 May 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 2.
3 papers.
- 2023Smoothing Methods for Automatic Differentiation Across Conditional Branchescited by 7
- 2024RobKiNet: Robotic Kinematics Informed Neural Network for Optimal Robot Configuration Predictioncited by 1
- 2024Automatic Gradient Estimation for Calibrating Crowd Models with Discrete Decision Makingcited by 1
- 2024Automatic Gradient Estimation for Calibrating Crowd Models with Discrete Decision Making6 Apr 2024
- 2024RobKiNet: Robotic Kinematics Informed Neural Network for Optimal Robot Configuration Prediction26 Feb 2024
- 2023Smoothing Methods for Automatic Differentiation Across Conditional Branches5 Oct 2023