Zero Grads: Learning Local Surrogate Losses for Non-Differentiable Graphics
Not on the map. Why?
Abstract (arXiv)
Gradient-based optimization is now ubiquitous across graphics, but unfortunately can not be applied to problems with undefined or zero gradients. To circumvent this issue, the loss function can be manually replaced by a ``surrogate'' that has similar minima but is differentiable. Our proposed framework, ZeroGrads, automates this process by learning a neural approximation of the objective function, which in turn can be used to differentiate through arbitrary black-box graphics pipelines. We train the surrogate on an actively smoothed version of the objective and encourage locality, focusing the surrogate's capacity on what matters at the current training episode. The fitting is performed online, alongside the parameter optimization, and self-supervised, without pre-computed data or pre-trained models. As sampling the objective is expensive (it requires a full rendering or simulator run), we devise an efficient sampling scheme that allows for tractable run-times and competitive performance at little overhead. We demonstrate optimizing diverse non-convex, non-differentiable black-box problems in graphics, such as visibility in rendering, discrete parameter spaces in procedural modelling or optimal control in physics-driven animation. In contrast to other derivative-free algorithms, our approach scales well to higher dimensions, which we demonstrate on problems with up to 35k interlinked variables.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 37 of its 107 references that are in the map. First posted on arXiv 10 Aug 2023.
Builds on
37 of 107 references.
References · 37
- 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,170
- 2018On the Spectral Bias of Neural Networkscited by 1,321
- 2020Modular Primitives for High-Performance Differentiable Renderingcited by 439
- 2017Neural 3D Mesh Renderercited by 437
- 2019Soft Rasterizer: A Differentiable Renderer for Image-based 3D Reasoningcited by 420
- 2016The CMA Evolution Strategy: A Tutorialcited by 364
- 2019Monte Carlo Gradient Estimation in Machine Learningcited by 281
- 2019DiffTaichi: Differentiable Programming for Physical Simulationcited by 248
- 2021Real-time Deep Dynamic Characterscited by 133
- 2020Learning to Control PDEs with Differentiable Physicscited by 131
- 2016A Compositional Object-Based Approach to Learning Physical Dynamicscited by 119
- 2018Flexible Neural Representation for Physics Predictioncited by 91
25 more
- 2022Do Differentiable Simulators Give Better Policy Gradients?cited by 83
- 2017On Nesting Monte Carlo Estimatorscited by 82
- 2019Deep Parametric Indoor Lighting Estimationcited by 82
- 2021Gradients are Not All You Needcited by 82
- 2018SPNets: Differentiable Fluid Dynamics for Deep Neural Networkscited by 62
- 2020EcoNAS: Finding Proxies for Economical Neural Architecture Searchcited by 61
- 2016Deep Shading: Convolutional Neural Networks for Screen-Space Shadingcited by 46
- 2016A Versatile Scene Model with Differentiable Visibility Applied to Generative Pose Estimationcited by 42
- 2021PyGAD: An Intuitive Genetic Algorithm Python Librarycited by 24
- 2021An Inverse Procedural Modeling Pipeline for SVBRDF Mapscited by 24
- 2021Bundled Gradients through Contact via Randomized Smoothingcited by 23
- 2023PSDR-Room: Single Photo to Scene using Differentiable Renderingcited by 23
- 2019Learning Surrogate Lossescited by 21
- 2022Dr.Jit: A Just-In-Time Compiler for Differentiable Renderingcited by 16
- 2022Autoinverse: Uncertainty Aware Inversion of Neural Networkscited by 16
- 2020DiffTune: Optimizing CPU Simulator Parameters with Learned Differentiable Surrogatescited by 14
- 2022Node Graph Optimization Using Differentiable Proxiescited by 13
- 2022Designing Perceptual Puzzles by Differentiating Probabilistic Programscited by 12
- 2018Reparameterization Gradient for Non-differentiable Modelscited by 11
- 2022Metappearance: Meta-Learning for Visual Appearance Reproductioncited by 9
- 2021Differentiable Rendering with Perturbed Optimizerscited by 7
- 2020A Novel Evolution Strategy with Directional Gaussian Smoothing for Blackbox Optimizationcited by 6
- 2022Differentiable Collision Detection: a Randomized Smoothing Approachcited by 6
- 2020NICER: Aesthetic Image Enhancement with Humans in the Loopcited by 5
- 2019Accelerating Physics-Based Simulations Using Neural Network Proxies: An Application in Oil Reservoir Modelingcited by 1
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 2; 2026: 2.
5 papers.
- 2023Accurate Differential Operators for Hybrid Neural Fieldscited by 9
- 2025Locally Orderless Images for Optimization in Differentiable Renderingcited by 1
- 2025Learning Neural Antiderivativescited by 0
- 2026Latent Space Reinforcement Learning for Inverse Material Estimation in Food Fracture Simulationcited by 0
- 2026Feature-Guided Diffusion for Non-Differentiable Inverse Renderingcited by 0
- 2026Feature-Guided Diffusion for Non-Differentiable Inverse Rendering19 Jul 2026
- 2026Latent Space Reinforcement Learning for Inverse Material Estimation in Food Fracture Simulation15 Jun 2026
- 2025Learning Neural Antiderivatives22 Sep 2025
- 2025Locally Orderless Images for Optimization in Differentiable Rendering27 Mar 2025
- 2023Accurate Differential Operators for Hybrid Neural Fields10 Dec 2023