Functional Gradient Descent with Adaptive Representations

Daniel Csillag, Rodrigo Schuller, Pedro Dall'Antonia, Leonidas Guibas, Luiz Velho, Tiago Novello

TL;DR

Functional Gradient Descent (FGD) optimizes directly in function space to avoid the messy, non-convex landscapes of parameterized neural networks, but it is challenging to implement because functional gradients are infinite-dimensional. This paper introduces an adaptive FGD algorithm that dynamically refines the gradient's representation based on a mathematically rigorous relative error bound. The resulting method guarantees global convergence, avoids the accuracy plateaus of fixed approximations, and drastically outperforms standard neural networks in both speed and accuracy across regression, PDE solving, and inverse rendering tasks.

What Problem Does This Paper Address?

When solving functional optimization problems—such as training a machine learning model or solving a differential equation—the standard approach is to parameterize the target function using a neural network and optimize its weights. However, this introduces highly non-convex loss landscapes, making training difficult to analyze and optimize.

A cleaner alternative is Functional Gradient Descent (FGD), which updates the function directly in function space. While FGD has elegant convergence theory, it hits a massive roadblock in practice: functional gradients are infinite-dimensional. To implement it, researchers must approximate these gradients using a finite representation (like a fixed grid or a fixed-depth decision tree). This introduces an irreducible approximation error, causing the optimization to hit an "error floor" and plateau before reaching the global minimum.

Methods

The authors propose Adaptive Functional Gradient Descent (Adaptive FGD). Instead of sticking to a predefined, fixed-resolution representation for the gradients, their algorithm dynamically refines the representation during the optimization process.

The core mechanism relies on a relative error condition. At each optimization step, the algorithm:

  1. Approximates the functional gradient using the current representation.
  2. Calculates a tight, computable upper bound on the approximation error.
  3. Checks if this error satisfies a specific relative error tolerance.
  4. If the error is too high, it automatically refines the representation (e.g., deepening a decision tree or increasing grid resolution) and retries until the condition is met.

The authors also provide a novel theoretical framework that bridges Hilbert spaces (where the true gradients live) and broader Banach spaces (where the practical approximations reside, such as $L^\infty$). They prove that this adaptive approach guarantees convergence to a stationary point for smooth losses, and to a global minimizer under a Polyak-Łojasiewicz (PL) condition.

Datasets

The method was evaluated on three distinct functional optimization tasks:

  1. Regression in an RKHS: Evaluated on a binary classification dataset for detecting non-coding RNA sequences (Fan & Lin, 2011).
  2. Solving the Wave Equation: A physics-informed machine learning benchmark modeling wave propagation phenomena over a synthetic domain.
  3. Learning Radiance Fields (Inverse Rendering): Evaluated on the Ficus scene from the standard NeRF-Synthetic dataset (Mildenhall et al., 2021).

Key Insights and Ideas

  • Breaking the Error Floor: Traditional approximate FGD methods hit a resolution-dependent plateau. By starting coarse and adaptively refining the representation only when needed, Adaptive FGD bypasses this limitation entirely, achieving true global convergence.
  • Hilbert-to-Banach Bridging: A key mathematical insight of this work is analyzing optimization when true gradients live in a restrictive Hilbert space (like an RKHS) but are approximated in a flexible, larger Banach space (like $L^\infty$). This allows the use of highly practical approximation schemes like decision trees or uniform grids while maintaining strict convergence guarantees.
  • Efficiency via Coarseness: The algorithm saves massive amounts of computation in the early stages of training by starting with a very coarse representation, refining its representation only as it gets closer to the optimum.

Key Results

  • Toy Problem: On a toy mean squared error (MSE) minimization task, Adaptive FGD reached the global minimum significantly faster than an Adam-trained neural network and completely avoided the plateaus seen in fixed-grid FGD methods.
Figure 1: Our method on a toy MSE minimization task. We compare adaptive FGD (ours) with (i) approximate FGD using fixed representations, which converge quickly but plateau at a resolution- dependent error, and (ii) a neural network baseline trained with Adam, which converges more slowly. In contrast, our method starts from a coarse representation and automatically refines it, achieving faster convergence and reaching the global minimum.
  • RKHS Regression: Adaptive FGD achieved a test MSE of 0.0378 (compared to 12.84 for a standard MLP) and a cross-entropy test loss of 0.2434 (compared to 0.3325 for the MLP), while running faster or comparably to high-depth fixed FGD.
Figure 2: Our method for regression in an RKHS. We compare our method against FGD with a fixed tree representation and a neural network for regression. Our method quickly converges towards the global minimizer with a good test loss, whereas fixed-representation FGD stagnates at a higher loss, and the neural network is slow to converge.
  • Wave Equation PDE: Adaptive FGD solved the wave equation in just 34 seconds, matching the high-fidelity reference solution. In contrast, a physics-informed neural network baseline took 18 minutes and 43 seconds (nearly two orders of magnitude slower) and still produced a lower-quality, blurrier solution.
Figure 3: Our method solves PDEs. Comparison of learned wave dynamics over time. Our adaptive FGD solution (middle) closely matches the reference solution (bottom), while achieving higher quality than the neural network baseline (top) with a much lower training time.
  • Radiance Fields (NeRF): On the Ficus scene, Adaptive FGD achieved a lower test loss ($3.4 \times 10^{-3}$) in 4 minutes and 36 seconds compared to an Adam-trained neural network ($5.3 \times 10^{-3}$ in 7 minutes and 21 seconds), yielding significantly sharper novel-view reconstructions.

Limitations and Future Work

  • Task-Specific Refinement Strategies: The success of the algorithm relies on designing an appropriate sequence of representations and a computable error upper bound tailored to the specific problem (e.g., decision trees for RKHS, frequency grids for PDEs). Generalizing this to arbitrary function spaces without manual design remains an open challenge.
  • Memory Scaling: As the representation refines and becomes highly detailed (e.g., very fine 3D grids or extremely deep trees), the memory footprint increases, which could become a bottleneck for exceptionally high-dimensional or complex problems.

Summary updated

BibTeX
@inproceedings{csillag2026functional,
  author = {Daniel Csillag and Rodrigo Schuller and Pedro Dall'Antonia and Leonidas Guibas and Luiz Velho and Tiago Novello},
  title = {{Functional Gradient Descent with Adaptive Representations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=xCAaTAUix7},
}
Figure