Study on a Poisson's Equation Solver Based On Deep Learning Technique

Tao Shan, Wei Tang, Xunwang Dang, Maokun Li, Fan Yang, Shenheng Xu, Ji WuOpenReview 2017 · DOI

Introduction

In computational electromagnetics (CEM), solving Poisson’s equation for electrostatic potential is a foundational yet computationally intensive task. Traditional numerical methods, such as the Finite Difference Method (FDM) and Finite Element Method (FEM), rely on discretizing space into millions of subdomains, leading to massive systems of linear equations. These methods demand significant CPU and memory resources, often precluding real-time applications in fields like medical monitoring, radar imaging, and fluid detection. While acceleration techniques like model order reduction exist, they frequently lack the flexibility required for complex, multi-parameter systems. This study explores the use of deep learning to develop a fast, adaptable solver capable of predicting electric potential distributions with high accuracy.

Methodology

The researchers proposed a ConvNet model based on a fully convolutional network (FCN) architecture, specifically designed for pixel-wise (2D) and voxel-wise (3D) regression of physical fields.

Architecture and Inputs

Unlike standard image classifiers, this network avoids pooling layers to prevent the loss of spatial resolution, which is critical for maintaining physical accuracy. The model processes two primary inputs: the distribution of electrical permittivity ($\epsilon$) and the source information. To provide the network with geometric context, the source location is encoded as a distance function—a grid where each value represents the distance to the excitation point.

The ConvNet architecture features parallel 2D and 3D convolutional paths with seven stages of processing and ReLU activations, omitting pooling layers to preserve spatial resolution.

Loss Function and Regularization

A critical innovation in this approach is the use of a logarithmic loss function: $loss = \| \log_{10}(\phi) - \log_{10}(\hat{\phi}) \|^2$. Because electric potential decays rapidly across a domain, a standard linear loss would cause the optimizer to neglect small but physically significant values far from the source. Logarithmic scaling stabilizes the optimization process across multiple orders of magnitude. Additionally, L2 regularization was employed to ensure the model generalizes effectively to unseen permittivity distributions.

Datasets and Experimental Setup

To train the model, the authors generated synthetic datasets using a traditional FDM solver:

  • 2D Scenarios: 50,000 samples (40,000 training, 10,000 testing) involving ellipses of varying shapes, rotations, and permittivity values (0.125 to 6).
  • 3D Scenarios: 5,000 samples (4,000 training, 1,000 testing) featuring ellipsoids within a predicted region.
  • Resolution: The network receives a $64^n$ input domain and predicts the potential for a central $32^n$ region.

Results and Discussion

The deep learning solver demonstrated a significant performance advantage over traditional FDM in both accuracy and speed. The average relative error was maintained below 1.5% for 2D cases and below 3% for 3D cases.

Visualizations of 3D potential distributions for various ellipsoid configurations, demonstrating the model's ability to capture complex spatial fields.

Computational Speedup

The most striking result was the reduction in inference time. For 2D potential distributions, the ConvNet achieved a ~123x speedup (0.13s vs. 16s for 2,000 samples). In 3D, the performance gap widened to a ~243x speedup (1.2s vs. 292s for 5 samples). Unlike iterative solvers, the ConvNet maintains a fixed computational cost regardless of the scene's physical complexity.

Conclusion

This study serves as a proof-of-concept for real-time electromagnetic simulators. By leveraging logarithmic loss functions and geometric priors like distance functions, the proposed ConvNet can replace or augment traditional solvers in time-sensitive engineering tasks. Future work will focus on improving 3D precision, handling irregular geometries beyond ellipsoids, and incorporating more complex boundary conditions such as Neumann or absorbing boundaries.

Summary updated

BibTeX
@misc{shan2017study,
  author = {Tao Shan and Wei Tang and Xunwang Dang and Maokun Li and Fan Yang and Shenheng Xu and Ji Wu},
  title = {{Study on a Poisson's Equation Solver Based On Deep Learning Technique}},
  year = {2017},
  eprint = {1712.05559},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.05559},
}
Figure