Quadratic Residual Networks: A New Class of Neural Networks for Solving Forward and Inverse Problems in Physics Involving PDEs

Jie Bu, Anuj Karpatne

Abstract

We propose quadratic residual networks (QRes) as a new type of parameter-efficient neural network architecture. By adding a quadratic residual term to the weighted sum of inputs before applying activation functions, QRes significantly enhances functional capacity and expressive power. This architecture is especially powerful for solving forward and inverse physics problems involving partial differential equations (PDEs). Using tools from algebraic geometry, we theoretically demonstrate that QRes achieves superior parameter efficiency in terms of network width and depth compared to plain neural networks. Empirically, QRes demonstrates faster convergence and higher accuracy, particularly when learning complex, high-frequency patterns.

Introduction

Solving partial differential equations (PDEs) is fundamental to physics and engineering, spanning fields from fluid dynamics to quantum mechanics. Recently, Physics-Informed Neural Networks (PINNs) have emerged as a promising tool, using the PDE itself as a loss function to guide learning.

However, standard PINNs typically rely on "plain" deep neural networks (DNNs). These architectures often require a massive number of parameters and extensive training to approximate complex physical patterns. Furthermore, they suffer from spectral bias, where the network quickly learns low-frequency shapes but struggles to capture sharp transitions or intricate details. Quadratic Residual Networks (QRes) address these limitations by increasing the expressive capacity of every individual neuron.

Methodology: The QRes Layer

The core innovation is the Quadratic Residual (QRes) layer. In a standard neuron, the output is a weighted sum of inputs passed through an activation function: $y = \sigma(Wx + b)$.

In contrast, a QRes layer introduces a quadratic term to this sum: $$y = \sigma((W_1x \circ W_2x) + W_1x + b)$$ where $\circ$ denotes the Hadamard (element-wise) product. This architectural change provides a "shortcut" to higher-order non-linearity.

Comparison between a plain DNN layer (a) and the proposed Quadratic Residual (QRes) layer architecture (b).

Theoretical analysis using algebraic geometry suggests that QRes is exponentially more efficient in terms of network width than plain DNNs. By imparting quadratic non-linearity before the activation function, each neuron becomes more powerful, allowing the network to represent complex polynomial spaces that would otherwise require much deeper or wider standard networks.

Experimental Evaluation

The researchers evaluated QRes across a suite of classic forward and inverse PDE problems, including:

  • Navier-Stokes (N-S): Fluid flow and pressure modeling.
  • Burgers’ Equation: Gas dynamics and traffic flow.
  • Korteweg–de Vries (KdV): Shallow water waves.
  • Schrödinger Equation: Quantum mechanics foundations.
  • Allen-Cahn Equation: Phase separation in alloys.

Additionally, a "toy" dataset of superimposed sine waves was used to test the network's ability to handle varying frequencies and overcome spectral bias.

Key Results and Discussion

QRes consistently outperformed standard PINNs across several metrics:

  • Parameter and Depth Efficiency: On the KdV equation, QRes achieved higher accuracy than a standard PINN while using less than half the parameters (4.6k vs 10.35k). As shown in the performance plots, QRes maintains lower error rates across varying widths and depths.
  • Faster Convergence: For the KdV problem, QRes reached comparable training loss in approximately 1/5th the training epochs required by standard architectures.
  • Beating Spectral Bias: QRes learns high-frequency patterns significantly faster. In Navier-Stokes experiments, QRes resolved sharp pressure drops within 10,000 epochs that standard PINNs failed to capture even after 50,000 epochs.
Performance comparison showing QRes (orange) achieving lower error with fewer parameters and layers compared to standard PINNs (blue).

Limitations and Future Work

While QRes offers superior convergence in terms of epochs, each individual epoch is computationally more intensive. The running time per epoch for QRes is typically 1.5 to 3.0 times longer than a standard DNN due to the additional Hadamard products and weight multiplications.

Future research may explore the application of QRes to broader machine learning tasks involving high-frequency data, such as signal processing or computer vision, and investigate its scalability for massive 3D industrial simulations.

Summary updated

BibTeX
@inproceedings{bu2021quadratic,
  author = {Jie Bu and Anuj Karpatne},
  title = {{Quadratic Residual Networks: A New Class of Neural Networks for Solving Forward and Inverse Problems in Physics Involving PDEs}},
  booktitle = {SDM},
  year = {2021},
  url = {https://openreview.net/forum?id=rdnHairkU},
}
Figure