Solving Boltzmann equation with neural sparse representation

Zhengyi Li, Yanli Wang, Hongsheng Liu, Zidong Wang, Bin DongarXiv 2023 · OpenReview

Abstract

We consider the neural sparse representation to solve Boltzmann equation with BGK and quadratic collision model, where a network-based ansatz that can approximate the distribution function with extremely high efficiency is proposed. Precisely, fully connected neural networks are employed in the time and spatial space so as to avoid the discretization in space and time. The different low-rank representations are utilized in the microscopic velocity for the BGK and quadratic collision model, resulting in a significant reduction in the degree of freedom. We approximate the discrete velocity distribution in the BGK model using the canonical polyadic decomposition. For the quadratic collision model, a data-driven, SVD-based linear basis is built based on the BGK solution. All these will significantly improve the efficiency of the network when solving Boltzmann equation. Moreover, the specially designed adaptive-weight loss function is proposed with the strategies as multi-scale input and Maxwellian splitting applied to further enhance the approximation efficiency and speed up the learning process. Several numerical experiments, including 1D wave and Sod problems and 2D wave problem, demonstrate the effectiveness of these neural sparse representation methods.

Introduction

The Boltzmann equation is the cornerstone of kinetic theory, describing the evolution of gas particle distributions through motion and collisions. It is essential for simulating rarefied gas dynamics where traditional Navier-Stokes equations fail, such as in high-altitude hypersonic flight or micro-electro-mechanical systems (MEMS). However, solving the Boltzmann equation is computationally intensive due to its high dimensionality (7D: 3D position, 3D velocity, and 1D time) and the complex integral nature of the collision terms. While Physics-Informed Neural Networks (PINNs) offer a mesh-free alternative, standard architectures often struggle with the memory and time requirements imposed by the velocity space.

Methodology: Neural Sparse Representation (NSR)

The proposed Neural Sparse Representation (NSR) framework addresses these challenges by treating the distribution function as a compressed mathematical object rather than a dense grid.

Low-Rank Velocity Representation

To mitigate the "curse of dimensionality" in velocity space, NSR employs low-rank tensor decompositions:

  • BGK Model: The velocity distribution is approximated using Canonical Polyadic Decomposition (CPD). This reduces the degrees of freedom from $O(N^3)$ to $O(KN)$, where $K$ is the rank.
  • Quadratic Collision Model: For the full collision term, a data-driven basis is constructed. The system first solves the simpler BGK model and applies Singular Value Decomposition (SVD) to extract the dominant basis vectors, which are then used to solve the full quadratic model.

Maxwellian Splitting and Network Architecture

A key innovation is the splitting of the distribution function $f$ into an equilibrium part (Maxwellian $\mathcal{M}^{eq}$) and a non-equilibrium residual ($f^{neq}$). This allows the neural network to focus on learning the complex deviations from equilibrium.

The NSR architecture incorporates multi-scale inputs and Maxwellian splitting to efficiently approximate the distribution function.

As shown in Figure 1, the network utilizes multi-scale inputs ($c_i \hat{x}$) to capture features across different frequencies. One branch of the network predicts macroscopic variables ($\rho, u, T$) to construct $\mathcal{M}^{eq}$, while another branch predicts the sparse representation of $f^{neq}$.

Adaptive-Weight Loss Function

To optimize training, the authors implement an adaptive weighting strategy for the loss function. This mechanism dynamically adjusts the importance of initial conditions, boundary conditions, and the PDE residual, preventing the optimizer from stalling on less critical regions of the simulation.

Experimental Results

The NSR method was validated against classical benchmark problems, comparing results with high-fidelity Discrete Velocity Methods (DVM) and Fast Fourier Spectral Methods.

  • Accuracy: The framework consistently achieved relative errors in the range of $10^{-3}$ to $10^{-4}$ across various Knudsen numbers ($Kn \in [0.01, 1.0]$).
  • Efficiency: In 2D spatial simulations, NSR demonstrated significant speedups. For instance, the 2D BGK problem reached target accuracy in 32 seconds, nearly twice as fast as traditional deterministic solvers (58 seconds) and substantially faster than standard PINN implementations.
  • Memory Optimization: The low-rank approach enabled simulations on hardware like the Tesla V100 that would otherwise be impossible due to memory constraints of dense velocity grids.

Conclusion

Neural Sparse Representation provides a powerful framework for solving the Boltzmann equation by combining the flexibility of neural networks with the efficiency of low-rank tensor methods. By leveraging "data-driven shortcuts" (using BGK to prime quadratic models) and Maxwellian splitting, NSR overcomes significant computational barriers. Future research aims to extend this approach to full 3D3V industrial-scale simulations and improve handling of discontinuous shock waves.

Summary updated

BibTeX
@misc{li2023solving,
  author = {Zhengyi Li and Yanli Wang and Hongsheng Liu and Zidong Wang and Bin Dong},
  title = {{Solving Boltzmann equation with neural sparse representation}},
  year = {2023},
  eprint = {2302.09233},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.09233},
}
Figure