Nonlocal Kernel Network (NKN): a Stable and Resolution-Independent Deep Neural Network

Huaiqian You, Yue Yu, Marta D'Elia, Tian Gao, Stewart Silling · DOI

Abstract

Neural operators have recently become popular tools for designing solution maps between function spaces in the form of neural networks. Differently from classical scientific machine learning approaches that learn parameters of a known partial differential equation (PDE) for a single instance of the input parameters at a fixed resolution, neural operators approximate the solution map of a family of PDEs. Despite their success, the uses of neural operators are so far restricted to relatively shallow neural networks and confined to learning hidden governing laws. In this work, we propose a novel nonlocal neural operator, which we refer to as nonlocal kernel network (NKN), that is resolution independent, characterized by deep neural networks, and capable of handling a variety of tasks such as learning governing equations and classifying images. Our NKN stems from the interpretation of the neural network as a discrete nonlocal diffusion reaction equation that, in the limit of infinite layers, is equivalent to a parabolic nonlocal equation, whose stability is analyzed via nonlocal vector calculus. The resemblance with integral forms of neural operators allows NKNs to capture long-range dependencies in the feature space, while the continuous treatment of node-to-node interactions makes NKNs resolution independent. The resemblance with neural ODEs, reinterpreted in a nonlocal sense, and the stable network dynamics between layers allow for generalization of NKN's optimal parameters from shallow to deep networks. This fact enables the use of shallow-to-deep initialization techniques. Our tests show that NKNs outperform baseline methods in both learning governing equations and image classification tasks and generalize well to different resolutions and depths.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
MNIST · image classificationNKN (r=2, L=1)Validation classification error4.37%-6.29 vs baselinesplit: val · resolution=28x28 · downsampling=bilinear · eval-resolution=14x14 · train-resolution=28x28
Source quote
L419: NKN, r=2, L=1 │ 3.37% │ {\bf 4.37%} │ 4.55% │ 4.53%
Reported baseline / comparator measurements (1)
BenchmarkMethodMetricScoreProtocol / Evidence
MNIST · image classificationNNN (L=1) baselineValidation classification error10.66%split: val · resolution=28x28 · downsampling=bilinear · eval-resolution=14x14 · train-resolution=28x28
Source quote
L415: NNN, L=1 │ 4.31% │ 10.66% │ 9.51% │ 5.05%
BibTeX
@article{you2022nonlocal,
  author = {Huaiqian You and Yue Yu and Marta D'Elia and Tian Gao and Stewart Silling},
  title = {{Nonlocal Kernel Network (NKN): a Stable and Resolution-Independent Deep Neural Network}},
  journal = {Journal of Computational Physics},
  year = {2022},
  doi = {10.1016/j.jcp.2022.111536},
}

Loading related content...

Figure