Partial differential equations (PDEs) are the mathematical bedrock of the physical and financial sciences, describing everything from fluid dynamics and quantum states to option pricing. Yet, when these equations span dozens or hundreds of dimensions, traditional numerical methods hit an insurmountable wall: the curse of dimensionality.
If you discretize a 100-dimensional space with just 10 grid points along each axis, you get $10^{100}$ points—more than the number of atoms in the observable universe. To bypass this exponential explosion, a powerful paradigm shift has emerged. By exploiting the mathematical duality between deterministic differential operators and probabilistic stochastic processes, researchers can reformulate high-dimensional PDEs as path-sampling problems. When combined with deep learning, this stochastic-to-deterministic mapping turns previously intractable equations into solvable optimization tasks.
The Core Intuition: The Feynman-Kac Duality
To understand why this approach works, consider a standard linear parabolic PDE, such as the heat equation. Instead of asking how heat diffuses across a massive, rigid spatial grid, we can ask a probabilistic question: If we release a collection of random particles from a specific point, where do they travel, and what states do they collect along the way?
This connection is formalized by the Feynman-Kac formula. As reviewed by Jan Blechschmidt and Oliver G. Ernst in Three Ways to Solve Partial Differential Equations with Neural Networks - A Review, linear parabolic equations can be solved by treating the solution at any given point as an expected value over simulated random walks (such as Brownian motion).
Deterministic PDE Solution u(x,t)
│
▼ (Feynman-Kac Mapping)
Expected Value 𝔼[ f(X_T) ] over Stochastic Paths
│
▼ (Monte Carlo Sampling)
Polynomial Scaling O(N) instead of Exponential Grid Scaling O(N^d)
Why does this change the computational complexity? In a grid-based method, every dimension multiplies the required effort. In a stochastic path representation, evaluating the solution at a single point requires sampling trajectories via Monte Carlo simulation. Because the variance of a Monte Carlo estimator decreases at a rate proportional to $1/\sqrt{M}$ (where $M$ is the number of samples), the convergence rate is completely independent of the spatial dimension $d$. As Charlie Frogner et al. demonstrate in Approximate Inference with Wasserstein Gradient Flows, evaluating these dual functions at sampled points rather than on a fixed mesh completely circumvents the grid-based curse of dimensionality.
Extending to the Nonlinear Regime
While the classical Feynman-Kac formula elegantly handles linear equations, real-world problems—like fluid turbulence or financial derivatives with default risk—are inherently nonlinear. Extending the stochastic mapping to nonlinear PDEs requires a more sophisticated mathematical toolset: Backward Stochastic Differential Equations (BSDEs) and stochastic fixed-point reformulations.
In a standard stochastic differential equation (SDE), you start with an initial state and move forward in time. In a BSDE, you are given a terminal condition at a future time $T$, and you must find a pair of stochastic processes that evolve backward to satisfy the system.
Christian Beck et al. capitalized on this in Machine learning approximation algorithms for high-dimensional fully nonlinear partial differential equations and second-order backward stochastic differential equations by introducing the "Deep 2BSDE" method. They proved that fully nonlinear PDEs can be reformulated as second-order BSDEs. Instead of solving the equation globally across all space, a neural network learns the solution and its gradients strictly along specific trajectories generated through forward Monte Carlo simulations. This pathwise learning strategy concentrates computational resources on the most relevant regions of the state space, enabling the resolution of fully nonlinear problems in up to 100 dimensions.
Forward Simulation: X_0 ───────────────► Brownian Motion Paths ───────────────► X_T
│
Backward Learning: u(X_0, 0) ◄───────── Neural Network Gradients ◄────────────── u(X_T, T)
For semilinear equations, where the nonlinearity only affects the solution or its first derivative, the problem can be recast as a stochastic fixed-point equation. The authors of On nonlinear Feynman–Kac formulas for viscosity solutions of semilinear parabolic partial differential equations established a formal correspondence between these stochastic fixed-point equations and the "viscosity solutions" of semilinear equations. By treating the nonlinear term as a source of inhomogeneity, the solution becomes a recursive expectation. This theoretical bridge allows algorithms like the Full History Recursive Multilevel Picard (MLP) schemes, analyzed by Arnulf Jentzen et al. in Overcoming the curse of dimensionality in the approximative pricing of financial derivatives with default risks, to achieve polynomial complexity when pricing complex financial derivatives.
Deep Learning and Stochastic Solvers
How do we practically compute these expectations when the underlying stochastic processes are complex? Deep neural networks act as the perfect function approximators for this task, giving rise to a family of scientific machine learning techniques.
One approach is to reframe the PDE as a reinforcement learning or control problem. For instance, Jihun Han et al. in A derivative-free method for solving elliptic partial differential equations with deep neural networks reframe elliptic PDEs as Markov Reward Processes. Instead of forcing a neural network to satisfy local differential operators by calculating expensive high-order derivatives, they train the network to satisfy the Bellman equation via simulated Brownian motion. The network learns the global structure of the solution by fitting the expected rewards collected along random trajectories.
Alternatively, one can inject Monte Carlo path integration directly into Physics-Informed Neural Networks (PINNs). Traditional PINNs rely on automatic differentiation to calculate residual losses on a set of collocation points, which can become unstable in high dimensions or with fractional operators. To solve this, Ling Guo et al. developed Monte Carlo fPINNs: Deep learning method for forward and inverse problems involving high dimensional fractional partial differential equations. By integrating a Monte Carlo sampling strategy to estimate fractional derivatives, they replaced rigid discretization with a stochastic approximation, drastically lowering memory overhead.
Beyond Solvers: Regularizing Machine Learning
The utility of the stochastic-to-deterministic mapping extends beyond merely solving physics equations; it can also be used to regularize machine learning models themselves. If we want a neural network's loss landscape to be smooth and robust against distribution shifts, we can force its loss function to behave like a physical system governed by a stable PDE.
In Elliptic Loss Regularization, Ali Hasan et al. proposed constraining a network's loss landscape using an elliptic operator. To compute this constraint in high-dimensional data spaces without hitting the curse of dimensionality, they turned to the Feynman-Kac formula. By sampling Brownian bridges—random paths that explicitly connect pairs of training data points—they could approximate the elliptic operator via Monte Carlo integration.
This elegant loop closes the circle between physics and machine learning: the same probabilistic tools developed to escape the curse of dimensionality when simulating physical particles are now used to navigate and smooth the high-dimensional loss landscapes of deep neural networks.
Key Foundational Work
Second‐order backward stochastic differential equations and fully nonlinear parabolic PDEs (2006) — contributed 3 concept elements to this direction.