Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

ConFIG: Towards Conflict-free Training of Physics Informed Neural Networks

About

The loss functions of many learning problems contain multiple additive terms that can disagree and yield conflicting update directions. For Physics-Informed Neural Networks (PINNs), loss terms on initial/boundary conditions and physics equations are particularly interesting as they are well-established as highly difficult tasks. To improve learning the challenging multi-objective task posed by PINNs, we propose the ConFIG method, which provides conflict-free updates by ensuring a positive dot product between the final update and each loss-specific gradient. It also maintains consistent optimization rates for all loss terms and dynamically adjusts gradient magnitudes based on conflict levels. We additionally leverage momentum to accelerate optimizations by alternating the back-propagation of different loss terms. We provide a mathematical proof showing the convergence of the ConFIG method, and it is evaluated across a range of challenging PINN scenarios. ConFIG consistently shows superior performance and runtime compared to baseline methods. We also test the proposed method in a classic multi-task benchmark, where the ConFIG method likewise exhibits a highly promising performance. Source code is available at https://tum-pbs.github.io/ConFIG

Qiang Liu, Mengyu Chu, Nils Thuerey• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10
Mean Accuracy52.5
42
Image ClassificationCIFAR-100
Mean Accuracy20.8
42
PDE solvingKlein-Gordon equation
Relative L2 Error0.0339
31
PDE solvingPoisson
L2 Error6.88e-4
30
Forward PDE problem solvingBurgers
Relative L2 Error0.0708
19
PDE solvingHeat2D-CG
Relative L2 Error0.2401
18
PDE solvingHighFreq Poisson
RMSE0.101
17
PDE solvingVarCoeff
RMSE4.05e-4
17
PDE solvingKdV
RMSE0.0174
17
PDE solvingHelmholtz
RMSE (Helmholtz)0.502
17
Showing 10 of 24 rows

Other info

Follow for update