Physics-Informed Neural Networks for Modal Wave Field Predictions in 3D Room Acoustics

The generalization of Physics-Informed Neural Networks (PINNs) used to solve the inhomogeneous Helmholtz equation in a simplified three-dimensional room is investigated. PINNs are appealing since they can efficiently integrate a partial differential equation and experimental data by minimizing a los...

Full description

Saved in:
Bibliographic Details
Main Author: Stefan Schoder
Format: Article
Language:English
Published: MDPI AG 2025-01-01
Series:Applied Sciences
Subjects:
Online Access:https://www.mdpi.com/2076-3417/15/2/939
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832589207679270912
author Stefan Schoder
author_facet Stefan Schoder
author_sort Stefan Schoder
collection DOAJ
description The generalization of Physics-Informed Neural Networks (PINNs) used to solve the inhomogeneous Helmholtz equation in a simplified three-dimensional room is investigated. PINNs are appealing since they can efficiently integrate a partial differential equation and experimental data by minimizing a loss function. However, a previous study experienced limitations in acoustics regarding the source term. A challenging but realistic excitation case is a confined (e.g., single-point) excitation area, yielding a smooth spatial wave field periodically with the wavelength. Compared to studies using smooth (unrealistic) sound excitation, the network’s generalization capabilities regarding a realistic sound excitation are addressed. Different methods like hyperparameter optimization, adaptive refinement, Fourier feature engineering, and locally adaptive activation functions with slope recovery are tested to tailor the PINN’s accuracy to an experimentally validated finite element analysis reference solution computed with openCFS. The hyperparameter study and optimization are conducted regarding the network depth and width, the learning rate, the used activation functions, and the deep learning backends (PyTorch 2.5.1, TensorFlow 2.18.0 1, TensorFlow 2.18.0 2, JAX 0.4.39). A modified (feature-engineered) PINN architecture was designed using input feature engineering to include the dispersion relation of the wave in the neural network. For smoothly (unrealistic) distributed sources, it was shown that the standard PINNs and the feature-engineered PINN converge to the analytic solution, with a relative error of 0.28% and <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mn>2</mn><mo>×</mo><msup><mn>10</mn><mrow><mo>−</mo><mn>4</mn></mrow></msup></mrow></semantics></math></inline-formula>%, respectively. The locally adaptive activation functions with the slope lead to a relative error of 0.086% with a source sharpness of <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow></semantics></math></inline-formula> m. Similar relative errors were obtained for the case <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mi>s</mi><mo>=</mo><mn>0.2</mn></mrow></semantics></math></inline-formula> m using adaptive refinement. The feature-engineered PINN significantly outperformed the results of previous studies regarding accuracy. Furthermore, the trainable parameters were reduced to a fraction by Bayesian hyperparameter optimization (around 5%), and likewise, the training time (around 3%) was reduced compared to the standard PINN formulation. By narrowing this excitation towards a single point, the convergence rate and minimum errors obtained of all presented network architectures increased. The feature-engineered architecture yielded a one order of magnitude lower accuracy of 0.20% compared to 0.019% of the standard PINN formulation with a source sharpness of <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow></semantics></math></inline-formula> m. It outperformed the finite element analysis and the standard PINN in terms time needed to obtain the solution, needing 15 min and 30 s on an AMD Ryzen 7 Pro 8840HS CPU (AMD, Santa Clara, CA, USA) for the FEM, compared to about 20 min (standard PINN) and just under a minute of the feature-engineered PINN, both trained on a Tesla T4 GPU (NVIDIA, Santa Clara, CA, USA).
format Article
id doaj-art-a6cce9e88b214c70a8edfac32097770c
institution Kabale University
issn 2076-3417
language English
publishDate 2025-01-01
publisher MDPI AG
record_format Article
series Applied Sciences
spelling doaj-art-a6cce9e88b214c70a8edfac32097770c2025-01-24T13:21:25ZengMDPI AGApplied Sciences2076-34172025-01-0115293910.3390/app15020939Physics-Informed Neural Networks for Modal Wave Field Predictions in 3D Room AcousticsStefan Schoder0Institute of Fundamentals and Theory in Electrical Engineering, Graz University of Technology, Inffeldgasse 18/I, 8010 Graz, AustriaThe generalization of Physics-Informed Neural Networks (PINNs) used to solve the inhomogeneous Helmholtz equation in a simplified three-dimensional room is investigated. PINNs are appealing since they can efficiently integrate a partial differential equation and experimental data by minimizing a loss function. However, a previous study experienced limitations in acoustics regarding the source term. A challenging but realistic excitation case is a confined (e.g., single-point) excitation area, yielding a smooth spatial wave field periodically with the wavelength. Compared to studies using smooth (unrealistic) sound excitation, the network’s generalization capabilities regarding a realistic sound excitation are addressed. Different methods like hyperparameter optimization, adaptive refinement, Fourier feature engineering, and locally adaptive activation functions with slope recovery are tested to tailor the PINN’s accuracy to an experimentally validated finite element analysis reference solution computed with openCFS. The hyperparameter study and optimization are conducted regarding the network depth and width, the learning rate, the used activation functions, and the deep learning backends (PyTorch 2.5.1, TensorFlow 2.18.0 1, TensorFlow 2.18.0 2, JAX 0.4.39). A modified (feature-engineered) PINN architecture was designed using input feature engineering to include the dispersion relation of the wave in the neural network. For smoothly (unrealistic) distributed sources, it was shown that the standard PINNs and the feature-engineered PINN converge to the analytic solution, with a relative error of 0.28% and <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mn>2</mn><mo>×</mo><msup><mn>10</mn><mrow><mo>−</mo><mn>4</mn></mrow></msup></mrow></semantics></math></inline-formula>%, respectively. The locally adaptive activation functions with the slope lead to a relative error of 0.086% with a source sharpness of <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow></semantics></math></inline-formula> m. Similar relative errors were obtained for the case <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mi>s</mi><mo>=</mo><mn>0.2</mn></mrow></semantics></math></inline-formula> m using adaptive refinement. The feature-engineered PINN significantly outperformed the results of previous studies regarding accuracy. Furthermore, the trainable parameters were reduced to a fraction by Bayesian hyperparameter optimization (around 5%), and likewise, the training time (around 3%) was reduced compared to the standard PINN formulation. By narrowing this excitation towards a single point, the convergence rate and minimum errors obtained of all presented network architectures increased. The feature-engineered architecture yielded a one order of magnitude lower accuracy of 0.20% compared to 0.019% of the standard PINN formulation with a source sharpness of <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mrow><mi>s</mi><mo>=</mo><mn>1</mn></mrow></semantics></math></inline-formula> m. It outperformed the finite element analysis and the standard PINN in terms time needed to obtain the solution, needing 15 min and 30 s on an AMD Ryzen 7 Pro 8840HS CPU (AMD, Santa Clara, CA, USA) for the FEM, compared to about 20 min (standard PINN) and just under a minute of the feature-engineered PINN, both trained on a Tesla T4 GPU (NVIDIA, Santa Clara, CA, USA).https://www.mdpi.com/2076-3417/15/2/939PINNsFEMHelmholtz equationDeepXDEopenCFSacoustics
spellingShingle Stefan Schoder
Physics-Informed Neural Networks for Modal Wave Field Predictions in 3D Room Acoustics
Applied Sciences
PINNs
FEM
Helmholtz equation
DeepXDE
openCFS
acoustics
title Physics-Informed Neural Networks for Modal Wave Field Predictions in 3D Room Acoustics
title_full Physics-Informed Neural Networks for Modal Wave Field Predictions in 3D Room Acoustics
title_fullStr Physics-Informed Neural Networks for Modal Wave Field Predictions in 3D Room Acoustics
title_full_unstemmed Physics-Informed Neural Networks for Modal Wave Field Predictions in 3D Room Acoustics
title_short Physics-Informed Neural Networks for Modal Wave Field Predictions in 3D Room Acoustics
title_sort physics informed neural networks for modal wave field predictions in 3d room acoustics
topic PINNs
FEM
Helmholtz equation
DeepXDE
openCFS
acoustics
url https://www.mdpi.com/2076-3417/15/2/939
work_keys_str_mv AT stefanschoder physicsinformedneuralnetworksformodalwavefieldpredictionsin3droomacoustics