ConFIG: Towards Conflict-free Training of Physics Informed Neural Networks
<|reference_start|>ConFIG: Towards Conflict-free Training of Physics Informed Neural Networks: 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. The proposed method is evaluated across a range of challenging PINN scenarios, consistently showing 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 \url{https://tum-pbs.github.io/ConFIG}.<|reference_end|>
@article{liu2024config:,
    title={ConFIG: Towards Conflict-free Training of Physics Informed Neural
  Networks},
    author={Qiang Liu, Mengyu Chu and Nils Thuerey},
    journal={arXiv preprint arXiv:2408.11104},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.11104},
    primaryClass={cs.LG}
}