NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Differentiable Visual Computing for Inverse Problems and Machine Learning

Andrew Spielberg, Fangcheng Zhong, Konstantinos Rematas, Krishna Murthy Jatavallabhula, Cengiz Öztireli, Tzu-Mao Li, Derek NowrouzezahraiNat. Mac. Intell 2023

Introduction

Visual Computing (VC) has traditionally focused on the "forward problem": generating images or simulations from defined 3D models and physical parameters. However, the "inverse problem"—reconstructing 3D scenes or physical properties from observed images—remains a significant challenge. While Deep Learning (DL) has made strides in this area, it often lacks physical grounding and requires vast datasets. Differentiable Visual Computing (DVC) emerges as a bridge, making graphics pipelines fully differentiable to enable efficient, gradient-based optimization for complex inverse problems.

The Three Pillars of DVC

The DVC framework re-imagines the standard graphics pipeline as a transparent, differentiable system. This transformation is built upon three core pillars:

1. Differentiable Geometry

Instead of discrete, static representations, DVC utilizes continuous mathematical forms like Signed Distance Functions (SDFs) or Neural Radiance Fields (NeRFs). By applying domain smoothing or neural operators, researchers can navigate the sharp edges of geometry, allowing gradients to flow through shape changes.

2. Differentiable Animation and Physics

Differentiable physics engines calculate how variations in physical parameters (e.g., mass, friction) impact long-term trajectories. This is achieved through explicit methods derived from first principles or learning-based approximations using neural networks.

Differentiable animation allows for calculating gradients through physical trajectories, enabling efficient optimization of motion.

3. Differentiable Rendering

The primary hurdle in rendering is visibility—the discrete nature of objects occluding one another. DVC employs "soft" rasterizers and differentiable ray tracers that mathematically blur edges, ensuring that gradients do not vanish when objects move behind one another.

The Differentiable Visual Computing pipeline, showing the three core pillars—Geometry, Animation, and Rendering—and their downstream applications.

Key Insights: Inductive Bias and Efficiency

A central advantage of DVC is the incorporation of inductive bias. By embedding physical laws (like gravity or light transport) directly into the model, DVC becomes significantly more data-efficient than "black-box" deep learning. Furthermore, for tasks like robotic control, using true gradients from a differentiable simulator can be orders of magnitude faster than trial-and-error reinforcement learning.

Breakthrough Applications

DVC has enabled several high-impact applications:

  • System Identification: Determining physical properties of real-world objects from video.
  • Co-Design: Simultaneously optimizing a robot's physical geometry and its control patterns.
  • Inverse Rendering: High-fidelity 3D scene reconstruction from limited 2D views, as seen in the rapid advancement of NeRF technologies.

Challenges and Future Outlook

Despite its promise, DVC faces hurdles. The chaotic nature of physics can lead to "bumpy" loss landscapes and local minima. Additionally, the memory requirements for caching intermediate states in long simulations are substantial. Future work aims to develop more robust "universal" differentiable engines and better handle discrete events like object fracture or lighting state changes.

Summary updated

BibTeX
@inproceedings{spielberg2023differentiable,
  author = {Andrew Spielberg and Fangcheng Zhong and Konstantinos Rematas and Krishna Murthy Jatavallabhula and Cengiz Öztireli and Tzu-Mao Li and Derek Nowrouzezahrai},
  title = {{Differentiable Visual Computing for Inverse Problems and Machine Learning}},
  booktitle = {Nat. Mac. Intell},
  year = {2023},
  url = {https://openreview.net/forum?id=2vMZGkD6ke},
}
Figure