Harmonized Cone for Feasible and Non-conflict Directions in Training Physics-Informed Neural Networks

Dohyun Bu, Yujung Byun, Jong-Seok LeeICLR 2026

Training Physics-Informed Neural Networks (PINNs) is notoriously difficult. It often resembles a high-stakes tug-of-war between competing objectives: satisfying the underlying physics of a partial differential equation (PDE), adhering to boundary conditions, and matching initial states. This paper introduces HARMONIC, a novel optimization strategy that uses geometric analysis to find a "Harmonized Cone"—a mathematical sweet spot where neural network update directions are both feasible and free from internal conflict.

The Challenge of Multi-Objective PINN Training

PINNs aim to solve PDEs by embedding physical laws directly into the neural network's loss function. However, a typical PINN loss is a complex, multi-objective landscape. The model must simultaneously minimize the PDE residual (the physics), the boundary conditions (the edges), and the initial conditions (the starting state).

When calculating gradients for these distinct terms, they frequently point in wildly different, conflicting directions. Existing remedies usually fall into two categories, both of which have significant flaws:

  1. Reweighting: This involves adjusting the relative "importance" or scale of each loss term. Unfortunately, this often fails to prevent the gradients from fighting each other, leading to stalled training.
  2. Multi-Objective Optimization (MOO): These methods seek a "non-conflict" direction that doesn't degrade any single loss term. However, the authors demonstrate that these non-conflict directions are often infeasible. This means they represent update paths that cannot actually be formed by a valid, positive combination of the original gradients, ultimately leading the model into "dead zones" far from the true solution.

The HARMONIC Method

To resolve this, the authors propose a geometric solution called HARMONIC (HARMONIzed Cone gradient descent). Their key innovation is the formal definition of the Harmonized Cone ($\mathbb{H}$).

To understand this concept, imagine two distinct regions in the gradient space:

  • The Primal Cone ($\mathbb{K}$): The region of "feasible" directions. Any direction here can be constructed by a positive weighted sum of the individual loss gradients.
  • The Dual Cone ($\mathbb{K}^*$): The region of "non-conflict" directions. Any direction here has a non-negative inner product with all individual gradients, ensuring no loss is made worse.
Illustration of gradient directions and the harmonized update vector ($g_h$).

HARMONIC identifies the exact intersection of these two cones. To find this intersection efficiently during training, the algorithm employs the Double Description method, a classic technique from polyhedral geometry, to aggregate the "extreme rays" (the boundaries) of this harmonized region. By constraining model updates strictly within this intersection, HARMONIC ensures that every step is both physically consistent (feasible) and cooperative (non-conflicting).

Key Insights and the "Infeasibility Trap"

  • The Infeasibility Trap: The paper’s most striking insight is demonstrating that simply finding a "non-conflict" direction is insufficient. If an update direction is non-conflicting but infeasible (falling outside the primal cone), the model can prematurely converge to a suboptimal point completely outside the Pareto front.
  • Guaranteed Existence: The authors mathematically prove that a non-trivial Harmonized Cone always exists. This guarantees that there is always at least one direction that is both feasible and non-conflicting, providing a rigorous theoretical foundation for the algorithm.
  • Geometric Unification: HARMONIC effectively bridges the gap between simplistic loss reweighting and overly complex multi-objective optimization. It provides a principled, geometric way to handle the "numerical stiffness" that plagues physics-informed machine learning.
Optimization trajectories showing HARMONIC successfully reaching the Pareto optimal front.

Experimental Results

The researchers evaluated HARMONIC using the PINNacle benchmark, a comprehensive suite designed to stress-test PINNs across diverse challenges, including standard PDEs (1D Burgers', 2D Poisson), high-dimensional problems (N-dimensional Heat equation), integro-differential equations, and inverse parameter estimation problems.

HARMONIC consistently outperformed state-of-the-art methods (such as MGDA, PCGrad, and GradNorm) across almost all benchmarks:

  • Superior Accuracy: On the challenging 2D Poisson equation (Poisson2d-C), where most existing methods struggled with relative $L^2$ errors above 0.5, HARMONIC achieved a dramatically lower error of 0.0214.
  • Enhanced Robustness: In the 1D Burgers' equation tests, HARMONIC was the only method that reliably converged to the Pareto front, regardless of the initial starting weights or scaling factors.
  • Computational Efficiency: Despite its geometric sophistication, HARMONIC remains computationally efficient. It avoids the expensive iterative optimization steps required by methods like MGDA, maintaining a wall-clock training time comparable to simpler, less effective non-conflict methods.

Limitations and Future Work

The authors identify a few promising areas for future development:

  • Objective Preferences: Currently, HARMONIC treats all loss terms as equally important as long as they fall within the cone. In specific engineering applications, a practitioner might want to strictly prioritize boundary conditions over the PDE residual. Incorporating "preference guidance" into the cone selection process is a logical next step.
  • Higher-Order Optimization: The current framework relies on first-order gradient descent. Extending these geometric insights to second-order methods (which utilize Hessian matrices) could potentially accelerate convergence even further for highly complex, non-linear physics problems.

Summary updated

BibTeX
@inproceedings{bu2026harmonized,
  author = {Dohyun Bu and Yujung Byun and Jong-Seok Lee},
  title = {{Harmonized Cone for Feasible and Non-conflict Directions in Training Physics-Informed Neural Networks}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=PRYl1mO1go},
}
Figure