Data-driven learning of robust nonlocal physics from high-fidelity synthetic data

Huaiqian You, Yue Yu, Nathaniel Trask, Mamikon A. Gulian, Marta D'Elia · DOI

Abstract

A key challenge to nonlocal models is the analytical complexity of deriving them from first principles, and frequently their use is justified a posteriori. In this work we extract nonlocal models from data, circumventing these challenges and providing data-driven justification for the resulting model form. Extracting provably robust data-driven surrogates is a major challenge for machine learning (ML) approaches, due to nonlinearities and lack of convexity. Our scheme allows extraction of provably invertible nonlocal models whose kernels may be partially negative. To achieve this, based on established nonlocal theory, we embed in our algorithm sufficient conditions on the non-positive part of the kernel that guarantee well-posedness of the learnt operator. These conditions are imposed as inequality constraints and ensure that models are robust, even in small-data regimes. We demonstrate this workflow for a range of applications, including reproduction of manufactured nonlocal kernels; numerical homogenization of Darcy flow associated with a heterogeneous periodic microstructure; nonlocal approximation to high-order local transport phenomena; and approximation of globally supported fractional diffusion operators by truncated kernels.

Introduction

In classical physics, Partial Differential Equations (PDEs) serve as the standard language for describing physical phenomena. These models rely on the assumption of locality—the idea that the state of a system at a specific point depends only on its immediate neighbors. However, many complex systems, such as fracturing materials, groundwater flow through heterogeneous porous rocks, and long-range molecular interactions, exhibit "nonlocal" behavior. In these systems, a point is influenced by a finite neighborhood around it, necessitating the use of integro-differential equations.

While nonlocal models offer superior descriptive power for multiscale systems, they are notoriously difficult to derive from first principles. Researchers often resort to selecting a simple kernel shape and tuning parameters to fit observations, a process that lacks rigorous justification. Furthermore, while machine learning (ML) offers a path to discover these models from data, standard ML surrogates often lack physical guarantees, potentially leading to unstable or non-physical solutions. This paper presents a framework to bridge this gap by learning nonlocal kernels from high-fidelity data while embedding mathematical constraints that guarantee the resulting model is "well-posed"—meaning it possesses a unique, stable solution.

Methodology: Constrained Data-Driven Discovery

The researchers treat the discovery of nonlocal physics as an inequality-constrained optimization problem. The goal is to identify an interaction kernel that best fits the data while adhering to the mathematical requirements of nonlocal operator theory.

Kernel Representation

The unknown interaction kernel is represented using Bernstein polynomials. This choice is strategic; Bernstein polynomials provide a flexible basis that simplifies the enforcement of shape and property constraints. By optimizing the coefficients of these polynomials, the framework can reconstruct complex kernel shapes from discrete data points.

Two-Stage Learning and Well-Posedness

To ensure numerical stability and physical consistency, the learning process is divided into two stages:

  1. Stage 1: Non-negative Initialization. The algorithm first identifies a strictly non-negative kernel that provides a baseline fit to the data using the Adam optimizer.
  2. Stage 2: Sign-Changing Kernels. Many physical systems, particularly those involving high-order transport phenomena, require kernels that can take on negative values. To allow for this while maintaining stability, the authors utilize an Augmented Lagrangian method. They embed specific mathematical constraints (derived from Mengesha and Du’s theory) that ensure the operator remains "coercive" or invertible. This prevents the model from becoming unstable even when the kernel includes negative "tails."

Discretization

The continuous integral equations are discretized using Silling’s one-point quadrature. This allows the framework to transform the theoretical model into a system that can be solved numerically and compared against high-fidelity synthetic datasets.

Experimental Validation

The framework was validated across four distinct physical scenarios:

  • Manufactured Kernels: The algorithm successfully "rediscovered" ground-truth linear, quadratic, and trigonometric kernels from synthetic data.
  • Numerical Homogenization of Darcy Flow: The model was trained on 1,000 simulations of fluid flow through a 1D periodic microstructure. It successfully created a simplified nonlocal model that captured the effective behavior of the complex, heterogeneous original system.
  • High-Order PDEs: The framework was applied to data from a biharmonic equation (used in modeling thin plates). This test highlighted the necessity of sign-changing kernels for capturing high-frequency vibrations.
  • Fractional Laplacian: The authors used 50,000 samples to approximate a fractional diffusion process. This is a significant challenge as fractional operators typically have infinite range, making them computationally expensive.

Key Insights

The Necessity of Negative Kernels

A major finding of the study is that strictly positive kernels are insufficient for certain classes of physics. In the biharmonic PDE tests, allowing the kernel to have a small negative component reduced prediction error by up to 44%. Without this flexibility, the model cannot accurately capture high-frequency system responses.

Data Frequency and Kernel Resolution

The resolution of the learned kernel is highly dependent on the frequency content of the training data. High-frequency signals are required to resolve the "shape" of the kernel near its center (short-range interactions), whereas low-frequency data only allows the model to learn the kernel's average or aggregate effect.

Efficient Truncation of Infinite Operators

Perhaps the most impactful result is the ability to approximate infinite-range fractional operators using "compactly supported" (finite-range) kernels. The learned finite-range kernels achieved relative errors as low as ~1% when approximating the fractional Laplacian. In contrast, a simple analytical "cut-off" of the fractional kernel resulted in errors exceeding 300%. This suggests that data-driven nonlocal models can provide a computationally efficient alternative to expensive fractional calculus simulations.

Conclusion and Future Directions

This research demonstrates that it is possible to extract robust, physically consistent nonlocal models directly from data. By embedding mathematical well-posedness into the optimization loop, the authors provide a bridge between "black box" machine learning and rigorous physical modeling.

While currently demonstrated in 1D, the framework provides a foundation for scaling to higher dimensions. Future work may explore the use of Deep Neural Networks (such as ReLU networks) as basis functions to capture sharper or discontinuous kernels, as well as more integrated single-stage optimization techniques to further improve computational efficiency.

Summary updated

BibTeX
@inproceedings{you2020data,
  author = {Huaiqian You and Yue Yu and Nathaniel Trask and Mamikon A. Gulian and Marta D'Elia},
  title = {{Data-driven learning of robust nonlocal physics from high-fidelity synthetic data}},
  booktitle = {Computer},
  year = {2020},
  doi = {10.1016/j.cma.2020.113553},
}
Figure