Physics-informed neural networks (PINNs) have emerged as a flexible framework for solving partial differential equations, but interface problems remain challenging because continuity and flux conditions are typically imposed through soft penalty terms, leading to imperfect interface enforcement and degraded accuracy near interfaces. We introduce two ansatz-based hard-constrained PINN formulations for interface problems that embed the interface physics into the solution representation, decoupling interface enforcement from PDE residual minimization. The windowing approach constructs the trial space from compactly supported windowed subnetworks so that interface continuity and flux balance are satisfied by design. The buffer approach discretely hard-constrains subnetworks with additive buffer functions that enforce boundary and interface constraints at sampled points through a lightweight correction. We study both formulations on one- and two-dimensional elliptic interface benchmarks against soft-constrained baselines. A statistical study in one dimension shows that the windowing approach occasionally attains very high accuracy (as low as $O(10^{-9})$) on simple structured cases, but its rigid ansatz makes training stiff, so its median errors are often worse than the baselines. In contrast, the buffer approach achieves the smallest median error (as low as $O(10^{-5})$) across a wider range of source terms and interface configurations. In two dimensions, the buffer formulation is more robust for general geometries, while the windowing construction is more sensitive to overlap and corner effects and over-constrains the problem. These results position the buffer method as a straightforward and promising approach for interface problems, with the search for an optimal buffer function form left for future work.
Improving physics-informed DeepONets with hard constraints
University of Hamburg(汉堡大学);Memorial University of Newfoundland(纽芬兰纪念大学);Silesian University in Opava(俄帕瓦斯莱西亚大学);Institute of Mathematics of NAS of Ukraine(乌克兰国家科学院数学研究所)
Optimization with learning-informed differential equation constraints and its applications
Institute for Mathematics, Humboldt University of Berlin(柏林洪堡大学数学研究所);Weierstrass Institute for Applied Analysis and Stochastics (WIAS)(魏尔斯特拉斯应用分析与随机研究所)
Reliability-Aware Hard--Soft Physics-Informed Neural Networks for Robust Learning of Challenging Partial Differential Equations
College of Engineering and Computer Science, VinUniversity(越南 Vin 大学工程与计算机科学学院);Center for AI Research, VinUniversity(越南 Vin 大学人工智能研究中心);Department of Computer Science and Engineering, University of North Texas(北德克萨斯大学计算机科学与工程系);Department of Mathematics and Informatics, Hanoi University of Science and Technology(河内科学技术大学数学与信息学系);Group of Materials and Structures, School of Mechanical Engineering, Hanoi University of Science and Technology(河内科学技术大学机械工程学院材料与结构组)
Covariance-Informed Subspace: an Adaptive Gradient-Free Input Dimension Reduction Method for Bayesian Inference
CEA DAM DIF(法国原子能及替代能源委员会达姆达夫研究所);Geosciences center, Mines Paris PSL(巴黎高等矿业学校PSL地球科学中心);CMAP, CNRS, Ecole Polytechnique(法兰西学院国家科学研究中心数学与计算物理中心);Autorité de Radioprotection et de Sureté Nucléaire (ASNR), PSE-ENV/SCAN(核安全与辐射防护管理局)