Multilevel Control Functional

Kaiyu Li, Yiming Yang, Xiaoyuan Cheng, Yi He, Zhuo SunICLR 2026

TL;DR

Estimating complex integrals in machine learning and physics is notoriously slow and computationally expensive. This paper introduces Multilevel Control Functionals (MLCFs), a novel technique that combines multi-fidelity modeling with Stein-based control variates to drastically reduce the variance and computational cost of Monte Carlo estimates. By applying this method to everything from differential equations to Bayesian neural networks, the authors demonstrate faster convergence and broader applicability than existing state-of-the-art estimators.

What Problem Does This Paper Address?

Monte Carlo (MC) integration is the workhorse of modern statistics and machine learning, used for everything from calculating probabilities in complex physics simulations to training Bayesian models. However, standard MC estimators suffer from high variance, meaning you need a massive number of samples to get an accurate estimate. If evaluating a single sample requires running a heavy climate simulation or a large neural network, standard MC becomes prohibitively expensive.

Researchers typically use two tricks to solve this:

  1. Control Variates (CVs): Using a cheaper, highly correlated function to "guide" the estimate and reduce variance.
  2. Multilevel Monte Carlo (MLMC): Using a hierarchy of models (from cheap/low-fidelity to expensive/high-fidelity). MLMC computes the bulk of the estimate using the cheap models and only uses the expensive models to calculate small correction terms.

While MLMC essentially treats the low-fidelity model as a basic control variate for the high-fidelity model, it doesn't actually minimize the variance of the difference between them. Existing attempts to combine MLMC with variance-reduction techniques are highly domain-specific. This paper seeks a general-purpose, plug-and-play method to combine the best of both worlds.

Methods

The authors propose Multilevel Control Functionals (MLCFs), which marries MLMC with a specific, powerful type of control variate called a Control Functional (CF).

  • The MLMC Base: Like standard MLMC, the algorithm breaks the integral down into a telescoping sum of differences between fidelity levels (e.g., the difference between a high-res and low-res simulation).
  • The CF Upgrade: Instead of just averaging these differences, MLCF applies a non-parametric, kernel-based Control Functional to the differences at each level. CFs use Stein's method, which allows them to construct a variance-reducing function without needing to know the normalization constant of the target probability distribution.
Visualizing Multilevel Control Functionals across fidelity levels and their differences.
  • Optimal Allocation: The authors mathematically derive the optimal number of samples to assign to each fidelity level to minimize variance under a strict computational budget.
  • Extension to Variational Inference (VI): The authors adapt MLCF into a gradient estimator called MLCFRG (Multilevel Control Functional Re-parameterized Gradient), allowing it to be used to train deep latent variable models and Bayesian Neural Networks.

Key Insights and Ideas

  • Synergy of Paradigms: MLMC reduces computational cost, while CF reduces variance. By applying CFs to the fine-level differences in an MLMC setup, the variance is squashed far beyond what either method could achieve alone.
  • Faster Theoretical Convergence: Standard MLMC converges at a rate of $\mathcal{O}(n^{-1/2})$. The authors prove that MLCF achieves a faster convergence rate that scales with the smoothness of the functions, provided the dimensionality isn't too high.
  • Un-normalized Densities are Welcome: Because MLCF relies on Stein operators, it only needs to evaluate the gradient of the log-density, not the full probability distribution. This makes it incredibly useful for Bayesian inference, where the true posterior distribution's normalizing constant is usually intractable.

Key Results

The authors evaluate their method across a diverse set of environments, including synthetic 2D distributions, boundary-value ODEs, ecological modeling (Lotka-Volterra equations on the classic Canadian Lynx and Snowshoe Hare dataset), and Bayesian Neural Networks (UCI wine-quality-red).

  • Physics/Math Simulations: In the ODE and synthetic tests, MLCF achieved significantly lower absolute integration errors compared to standard MLMC, standard CF, and Multilevel Bayesian Quadrature (MLBQ) under the exact same computational time budget.
  • Ecological Modeling: When estimating predator-prey dynamics using MCMC samples, MLCF outperformed standard MCMC and MLMC-MCMC baselines, proving its viability for complex Bayesian inference.
  • Bayesian Neural Networks: In Variational Inference tasks, the MLCFRG estimator reached optimal training ELBO (Evidence Lower Bound) and test log-likelihoods in fewer iterations than standard Monte Carlo and MLMC gradient estimators.

Limitations and Future Work

  • Cubic Scaling: Because Control Functionals rely on kernel methods, the computational cost scales cubically ($\mathcal{O}(m^3)$) with the number of samples due to the need to invert a kernel Gram matrix.
  • Curse of Dimensionality: The theoretical convergence speedup degrades in very high-dimensional spaces.
  • Requires a Hierarchy: The user still bears the burden of figuring out how to construct the "cheap" and "expensive" versions of their models (the fidelity levels).
  • Future Work: The authors suggest improving the empirical running speed of MLCFRG by wrapping it as a hardware-accelerated optimizer, and exploring algorithms that jointly optimize where to sample alongside cost minimization.

Summary updated

BibTeX
@inproceedings{li2026multilevel,
  author = {Kaiyu Li and Yiming Yang and Xiaoyuan Cheng and Yi He and Zhuo Sun},
  title = {{Multilevel Control Functional}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=Ahdsg2nkNH},
}
Figure