Learning Neural Antiderivatives

Fizza Rubab, Ntumba Elie Nsampi, Martin Bálint, Felix Mujkanovic, Hans-Peter Seidel, Tobias Ritschel, Thomas LeimkühlerarXiv 2025 · DOI

Introduction

In computer graphics, Summed-Area Tables (SATs)—also known as integral images—are a cornerstone for performance. They enable the calculation of the average value of any rectangular area in constant time, a feature essential for fast box filtering and generating glossy reflections. However, SATs are traditionally tied to discrete grids like pixels or voxels. As the field moves toward Neural Fields (continuous, coordinate-based representations like NeRFs or SDFs), this powerful tool is lost, often forcing a return to expensive Monte Carlo sampling for filtering tasks.

This paper introduces Neural Antiderivatives, a continuous analogue to SATs. By training neural networks to represent the repeated integrals of a function, the authors provide a way to perform efficient, high-quality filtering and rendering operations within a continuous framework.

Methodology

The authors propose a hierarchical taxonomy of methods to learn these neural antiderivatives ($F^{(n)}$) from samples of a base function ($f$).

Taxonomy of methods for learning neural antiderivatives, categorized by supervision type.

Supervision Strategies

The learning process is divided into two primary approaches:

  1. Integral Supervision: This "direct" approach involves numerically estimating the integral of $f$ at various points using Monte Carlo sampling. To handle high-order integrals efficiently, the authors employ Cauchy’s formula, which reduces a repeated integral into a single integral calculation.
  2. Differential Supervision: This "inverse" approach leverages the Fundamental Theorem of Calculus, training the network so its derivative matches the input function $f$.
Comparison of the Integral Supervision (left) and Differential Supervision (right) pipelines. Note the use of the compensation operator B in the differential path.

Within Differential Supervision, several techniques are explored:

  • Automatic Differentiation (AD): Highly accurate but computationally expensive as integration order increases.
  • Numerical Differentiation: Faster than AD but prone to blurring. To counteract this, the authors introduce a Compensation Operator ($B$). Instead of matching the blurred derivative to the sharp original signal $f$, they blur $f$ by the same amount, ensuring the network learns a consistent representation.

Evaluation

The methods were evaluated across various dimensionalities and signal types:

  • 1D: Motion-capture sequences (joint positions over time).
  • 2D: Natural RGB images (DIV2K) and HDR environment maps.
  • 3D: Signed Distance Functions (SDFs) for complex surfaces.
  • Synthetic: Gaussians, hyper-rectangles (discontinuities), and the oscillatory Ackley function.

Key Insights and Results

  • Performance Trade-offs: While Naive Automatic Differentiation (AD-NAÏVE) serves as the gold standard for quality, it is significantly slower to train. Numerical differentiation with finite differences and the compensation operator (NUM-FD-B) provides a practical middle ground, offering high speed without the "ringing" artifacts typical of uncompensated methods.
  • Filtering and Rendering: Learned antiderivatives enable nearly "instant" filtering. The authors demonstrated this with "Neural Glossy Reflections," where an environment map's neural antiderivative allowed rendering materials with varying roughness by simply adjusting the lookup width.
  • Higher-Order Splines: By learning repeated antiderivatives, the framework supports weighted filtering (e.g., Gaussian blurs) using higher-order splines, extending beyond simple box filters.

Limitations and Future Work

Despite its success, the approach faces challenges with High Dynamic Range (HDR) data, where intense "hot spots" can cause artifacts that the compensation operator may not fully resolve. Training remains computationally intensive, with some 2D models taking hours to converge. Future research may explore "progressive supervision," starting with fast numerical gradients and transitioning to more accurate automatic differentiation.

Summary updated

BibTeX
@misc{rubab2025learning,
  author = {Fizza Rubab and Ntumba Elie Nsampi and Martin Bálint and Felix Mujkanovic and Hans-Peter Seidel and Tobias Ritschel and Thomas Leimkühler},
  title = {{Learning Neural Antiderivatives}},
  year = {2025},
  eprint = {2509.17755},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.17755},
}
Figure