Lune

SIGGRAPH2024Top-tier venue

ZeroGrads: Learning Local Surrogates for Non-Differentiable Graphics

Michael Fischer, Tobias Ritschel

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Stochastic Gradient Estimation for Higher-Order Differentiable Rendering cites Soft Rasterizer: A Differentiable Renderer for Image-Based 3D Reasoning
  • Photons × Force: Differentiable Radiation Pressure Modeling cites DiffTaichi: Differentiable Programming for Physical Simulation
  • Photons × Force: Differentiable Radiation Pressure Modeling cites Learning to Control PDEs with Differentiable Physics
  • Accurate Differential Operators for Hybrid Neural Fields cites Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domains
  • Locally Orderless Images for Optimization in Differentiable Rendering cites Soft Rasterizer: A Differentiable Renderer for Image-Based 3D Reasoning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Practical Stylized Nonlinear Monte Carlo RenderingXiaochun Tong, Toshiya HachisukaSIGGRAPH 2025 · 2 citations
  2. Stochastic Gradient Estimation for Higher-Order Differentiable RenderingZican Wang, Michael Fischer, Tobias RitschelICCV 2025 · 1 citation
  3. Photons × Force: Differentiable Radiation Pressure ModelingCharles Constant, Santosh Bhattarai, Elizabeth Bates, Marek Ziebart et al.SIGGRAPH 2026
  4. Accurate Differential Operators for Hybrid Neural FieldsAditya Chetan, Guandao Yang, Zichen Wang, Steve Marschner et al.CVPR 2025
  5. Locally Orderless Images for Optimization in Differentiable RenderingIshit Mehta, Manmohan Chandraker, Ravi RamamoorthiCVPR 2025

Builds on20

  1. Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional DomainsMatthew Tancik, Pratul P. Srinivasan, Ben Mildenhall, Sara Fridovich-Keil et al.NeurIPS 2020 · 4,036 citations
  2. Soft Rasterizer: A Differentiable Renderer for Image-Based 3D ReasoningShichen Liu, Weikai Chen, Tianye Li, Hao LiICCV 2019 · 789 citations
  3. DiffTaichi: Differentiable Programming for Physical SimulationYuanming Hu, Luke Anderson, Tzu-Mao Li, Qi Sun et al.ICLR 2020 · 479 citations
  4. Learning to Control PDEs with Differentiable PhysicsPhilipp Holl, Nils Thuerey, Vladlen KoltunICLR 2020 · 221 citations
  5. Learning with Differentiable Pertubed OptimizersQuentin Berthet, Mathieu Blondel, Olivier Teboul, Marco Cuturi et al.NeurIPS 2020 · 181 citations

Related papers

  1. Black-Box Optimization with Local Generative SurrogatesSergey Shirobokov, Vladislav Belavin, Michael Kagan, Andrey Ustyuzhanin et al.NeurIPS 2020 · 60 citations
  2. Node Graph Optimization Using Differentiable ProxiesYiwei Hu, Paul Guerrero, Milos Hasan, Holly E. Rushmeier et al.SIGGRAPH 2022 · 20 citations
  3. Generalizing Stochastic Smoothing for Differentiation and Gradient EstimationFelix Petersen, Christian Borgelt, Aashwin Mishra, Stefano ErmonICML 2026 · 4 citations
  4. SNUG: Self-Supervised Neural Dynamic GarmentsIgor Santesteban, Miguel A. Otaduy, Dan CasasCVPR 2022 · 96 citations
  5. Neural Network Accelerated Implicit Filtering: Integrating Neural Network Surrogates With Provably Convergent Derivative Free Optimization MethodsBrian Irwin, Eldad Haber, Raviv Gal, Avi ZivICML 2023 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines