journal article·2025-08-11Open access

An Improved Causal Physics-Informed Neural Network Solution of the One-Dimensional Cahn–Hilliard Equation

Jinyu Hu, Jun-Jie Huang

Applied Sciences· Volume 15· Issue 16

Abstract

Physics-Informed Neural Networks (PINNs) provide a promising framework for solving partial differential equations (PDEs). By incorporating temporal causality, Causal PINN improves training stability in time-dependent problems. However, applying Causal PINN to higher-order nonlinear PDEs, such as the Cahn–Hilliard equation (CHE), presents notable challenges due to the inefficient utilization of temporal information. This inefficiency often results in numerical instabilities and physically inconsistent solutions. This study systematically analyzes the limitations of Causal PINN in solving the one-dimensional CHE. To resolve these issues, we propose a novel framework called APM (Adaptive Progressive Marching)-PINN that enhances temporal representation and improves model robustness. APM-PINN mainly integrates a progressive temporal marching strategy, a causality-based adaptive sampling algorithm, and a residual-based adaptive loss weighting mechanism (effective with the chemical potential reformulation). Comparative experiments on two one-dimensional CHE test cases show that APM-PINN achieves relative errors consistently near 10−3 or even 10−4. It also preserves mass conservation and energy dissipation better. The promising results highlight APM-PINN’s potential for the accurate, stable modeling of complex high-order dynamic systems.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Model Reduction and Neural Networks · Nanofluid Flow and Heat Transfer · Heat Transfer and Optimization

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Engineering Mechanics, College of Aerospace Engineering, Chongqing University, Chongqing 400044, China

Chongqing Key Laboratory of Heterogeneous Material Mechanics, Chongqing University, Chongqing 400044, China

Funding

National Natural Science Foundation of China

References (63)

Show source-provided references
1. Free energy of a nonuniform system. I. Interfacial free energy10.1063/1.1744102 ↗
2. On spinodal decomposition10.1016/0001-6160(61)90182-1 ↗
3. Interface capturing method based on the Cahn–Hilliard equation for two-phase flows10.1134/S0965542520030124 ↗
4. Droplet impact simulation with Cahn–Hilliard phase field method coupling Navier-slip boundary and dynamic contact angle model10.1063/5.0202604 ↗
5. Calculation of droplet coalescence in binary liquid–liquid systems: An incompressible Cahn–Hilliard/Navier–Stokes approach using the non-random two-liquid model10.1021/acs.jced.9b00493 ↗
6. Multimaterial structural topology optimization with a generalized Cahn–Hilliard model of multiphase transition10.1007/s00158-006-0035-9 ↗
7. Modeling and simulation of multi-component immiscible flows based on a modified Cahn–Hilliard equation10.1016/j.euromechflu.2022.04.013 ↗
8. Computation of multiphase systems with phase field models10.1016/S0021-9991(03)00280-8 ↗
9. Cahn-Hilliard vs singular Cahn-Hilliard equations in phase field modeling10.4208/cicp.2009.09.016 ↗
10. The Fourier spectral method for the Cahn–Hilliard equation
11. Spectral Galerkin method for Cahn-Hilliard equations with time periodic solution10.3934/dcdsb.2023212 ↗
12. Numerical methods for solving the Cahn–Hilliard equation and its applicability to related energy-based models10.1007/s11831-014-9112-1 ↗
13. Conservative multigrid methods for Cahn–Hilliard fluids10.1016/j.jcp.2003.07.035 ↗
14. Solving inverse problems using data-driven models10.1017/S0962492919000059 ↗
15. Application of artificial intelligence in computational fluid dynamics10.1021/acs.iecr.0c05045 ↗
16. Additive-feature-attribution methods: A review on explainable artificial intelligence for fluid dynamics and heat transfer10.1016/j.ijheatfluidflow.2024.109662 ↗
17. A review of the applications of big data and artificial intelligence in oilfield reservoir and fluid dynamics simulation: Feature analysis and development optimization
18. Xie, Y., Pan, Y., Xu, H., and Mei, Q. (2024). Bridging AI and Science: Implications from a Large-Scale Literature Analysis of AI4Science. arXiv.
19. Sofos, F., Stavrogiannis, C., Exarchou-Kouveli, K.K., Akabua, D., Charilas, G., and Karakasidis, T.E. (2022). Current trends in fluid research in the era of artificial intelligence: A review. Fluids, 7.10.3390/fluids7030116 ↗
20. Machine learning for fluid mechanics10.1146/annurev-fluid-010719-060214 ↗
21. Accelerated, scalable and reproducible AI-driven gravitational wave detection10.1038/s41550-021-01405-0 ↗
22. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations10.1016/j.jcp.2018.10.045 ↗
23. From pinns to pikans: Recent advances in physics-informed machine learning10.1007/s44379-025-00015-1 ↗
24. FD-PINN: Frequency domain physics-informed neural network
25. Conservative physics-informed neural networks on discrete domains for conservation laws: Applications to forward and inverse problems10.1016/j.cma.2020.113028 ↗
26. Physics-informed neural operator for learning partial differential equations
27. Optimally weighted loss functions for solving pdes with neural networks10.1016/j.cam.2021.113887 ↗
28. When and why PINNs fail to train: A neural tangent kernel perspective10.1016/j.jcp.2021.110768 ↗
29. Self-adaptive loss balanced Physics-informed neural networks10.1016/j.neucom.2022.05.015 ↗
30. An efficient framework for solving forward and inverse problems of nonlinear partial differential equations via enhanced physics-informed neural network based on adaptive learning10.1063/5.0168390 ↗
31. Artificial neural networks for solving ordinary and partial differential equations10.1109/72.712178 ↗
32. Physics-informed neural networks with hard constraints for inverse design10.1137/21M1397908 ↗
33. PFNN: A penalty-free neural network method for solving a class of second-order boundary-value problems on complex geometries10.1016/j.jcp.2020.110085 ↗
34. D3M: A Deep Domain Decomposition Method for Partial Differential Equations10.1109/ACCESS.2019.2957200 ↗
35. Weak adversarial networks for high-dimensional partial differential equations10.1016/j.jcp.2020.109409 ↗
36. Efficient training of physics informed neural networks via importance sampling10.1111/mice.12685 ↗
37. A comprehensive study of non-adaptive and residual-based adaptive sampling for physics-informed neural networks10.1016/j.cma.2022.115671 ↗
38. PPINN: Parareal physics-informed neural network for time-dependent PDEs10.1016/j.cma.2020.113250 ↗
39. Parallel physics-informed neural networks via domain decomposition10.1016/j.jcp.2021.110683 ↗
40. Extended Physics-Informed Neural Networks (XPINNs): A Generalized Space-Time Domain Decomposition Based Deep Learning Framework for Nonlinear Partial Differential Equations10.4208/cicp.OA-2020-0164 ↗
41. Cao, W., and Zhang, W. (2023). TSONN: Time-stepping-oriented neural network for solving partial differential equations. arXiv.
42. Stiasny, J., Chevalier, S., and Chatzivasileiadis, S. (2021, January 25–28). Learning without data: Physics-informed neural networks for fast time-domain simulation. Proceedings of the 2021 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm), Aachen, Germany.10.1109/SmartGridComm51999.2021.9631995 ↗
43. Respecting causality for training physics-informed neural networks10.1016/j.cma.2024.116813 ↗
44. TCAS-PINN: Physics-informed neural networks with a novel temporal causality-based adaptive sampling method10.1088/1674-1056/ad21f3 ↗
45. Thermodynamically consistent, frame indifferent diffuse interface models for incompressible two-phase flows with different densities10.1142/S0218202511500138 ↗
46. Computation of geometric partial differential equations and mean curvature flow10.1017/S0962492904000224 ↗
47. Quasi incompressible cahn hilliard fluids and topological transitions10.1098/rspa.1998.0273 ↗
48. Solving Allen-Cahn and Cahn-Hilliard Equations Using the Adaptive Physics Informed Neural Networks10.4208/cicp.OA-2020-0086 ↗
49. A novel sequential method to train physics informed neural networks for Allen Cahn and Cahn Hilliard equations10.1016/j.cma.2021.114474 ↗
50. Huang, Q., Ma, J., and Xu, Z. (2024). Mass-preserving Spatio-temporal adaptive PINN for Cahn-Hilliard equations with strong nonlinearity and singularity. arXiv.
51. Applications of Physics-Informed Neural Network Based on Soft Constraint Optimization in Solving Partial Differential Equations
52. Sun, Y., Sun, Q., and Qin, K. (2021). Physics-based deep learning for flow problems. Energies, 14.10.3390/en14227760 ↗
53. Physics-informed neural networks (PINNs) for fluid mechanics: A review10.1007/s10409-021-01148-1 ↗
54. A method for representing periodic functions and enforcing exactly periodic boundary conditions with deep neural networks10.1016/j.jcp.2021.110242 ↗
55. AT-PINN: Advanced time-marching physics-informed neural network for structural vibration analysis10.1016/j.tws.2023.111423 ↗
56. On the theory of superfluidity
57. On the theory of phase transitions
58. Kendall, A., Gal, Y., and Cipolla, R. (2018, January 18–23). Multi-task learning using uncertainty to weigh losses for scene geometry and semantics. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake, UT, USA.
59. Liebel, L., and Körner, M. (2018). Auxiliary tasks in multi-task learning. arXiv.
60. Chen, Z., Badrinarayanan, V., Lee, C.Y., and Rabinovich, A. (2018, January 10–15). Gradnorm: Gradient normalization for adaptive loss balancing in deep multitask networks. Proceedings of the International Conference on Machine Learning, PMLR, Stockholm, Sweden.
61. Bradbury, J., Frostig, R., Hawkins, P., Johnson, M.J., Leary, C., Maclaurin, D., and Wanderman-Milne, S. (2024, August 09). JAX: Composable Transformations of Python+ NumPy Programs. Available online: http://github.com/google/jax.
62. Driscoll, T.A., Hale, N., and Trefethen, L.N. (2014). Chebfun Guide, Pafnuty Publications.
63. Kleinberg, B., Li, Y., and Yuan, Y. (2018, January 10–15). An alternative view: When does SGD escape local minima?. Proceedings of the International Conference on Machine Learning, PMLR, Stockholm, Sweden.