4.7 Article

Systematically Differentiating Parametric Discontinuities

Journal

ACM TRANSACTIONS ON GRAPHICS
Volume 40, Issue 4, Pages -

Publisher

ASSOC COMPUTING MACHINERY
DOI: 10.1145/3450626.3459775

Keywords

Automatic differentiation; differentiable programming; differentiable graphics; differentiable rendering; differentiable physics; domain-specific language

Funding

  1. DARPA [HR00112090017]

Ask authors/readers for more resources

Emerging research in computer graphics, inverse problems, and machine learning has highlighted the importance of differentiating and optimizing parametric discontinuities. A systematic approach has been proposed to deal with integrals with discontinuous integrands, by developing a new differentiable programming language. This approach allows for the generation of gradients and higher-order derivatives, making it widely applicable to various tasks including image stylization and physical design optimization.
Emerging research in computer graphics, inverse problems, and machine learning requires us to differentiate and optimize parametric discontinuities. These discontinuities appear in object boundaries, occlusion, contact, and sudden change over time. In many domains, such as rendering and physics simulation, we differentiate the parameters of models that are expressed as integrals over discontinuous functions. Ignoring the discontinuities during differentiation often has a significant impact on the optimization process. Previous approaches either apply specialized hand-derived solutions, smooth out the discontinuities, or rely on incorrect automatic differentiation. We propose a systematic approach to differentiating integrals with discontinuous integrands, by developing a new differentiable programming language. We introduce integration as a language primitive and account for the Dirac delta contribution from differentiating parametric discontinuities in the integrand. We formally define the language semantics and prove the correctness and closure under the differentiation, allowing the generation of gradients and higher-order derivatives. We also build a system, Teg, implementing these semantics. Our approach is widely applicable to a variety of tasks, including image stylization, fitting shader parameters, trajectory optimization, and optimizing physical designs.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.7
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available