Modeling One-Dimensional Nonlinear Consolidation Problems by Physics-Informed Neural Network with Layer-Wise Locally Adaptive Activation Functions
Abstract
1. Introduction
2. Materials and Methods
2.1. 1D Consolidation by PINN with Layer-Wise Locally Adaptive Activation
2.1.1. 1D Terzagghi Consolidation with Continuous Drainage Boundaries
2.1.2. Feed-Forward Neural Network
- input layer:the hidden layer ():output layer:
2.1.3. PINN for 1D Terzaghi Consolidation Equation with Continuous Drainage Boundaries
2.2. Layer-Wise Locally Adaptive Activation Function
| Algorithm 1 L-LAAF-PINN |
| do |
| using automatic differentiation |
| end for |
2.3. Experiment
2.3.1. Experiment 1: 1D Nonlinear Large Strain Consolidation
2.3.2. Experiment 2: 1D Nonlinear Consolidation
2.3.3. Experiment 3: Inverse Modeling
3. Results
3.1. 1D Nonlinear Large Strain Consolidation (Experiment 1)
3.1.1. Performance Comparisons: Best Model (Experiment 1)
3.1.2. Performance Comparisons: Model Stability (Experiment 1)
3.2. 1D Nonlinear Consolidation (Experiment 2)
3.2.1. Performance Comparisons: Best Model (Experiment 2)
3.2.2. Performance Comparisons: Model Stability (Experiment 2)
3.3. Inverse Modeling (Experiment 3)
3.3.1. 1D Nonlinear Large Strain Consolidation
3.3.2. 1D Nonlinear Consolidation
4. Conclusions
- For solving 1D nonlinear consolidation problems, the baseline PINN is seriously affected by the loss term weight settings and random states, and the accuracy of the baseline PINN solution decreases as the weights of the training loss terms decrease, and the random states also lead to the instability of the performance of the baseline PINN.
- Regardless of the loss term weight settings, the L-LAAF-PINN model with the layer-wise locally adaptive activation function solves the 1D consolidation problem with significantly better convergence speed and prediction accuracy than the benchmark PINN model.
- The L-LAAF-PINN model with the locally layered adaptive activation functions is more stable than the baseline PINN model in solving 1D consolidation problems for random states, especially in two nonlinear consolidation problems. However, the effect of loss term weight settings on PINN is hardly improved.
- In the inverse modeling of two 1D nonlinear consolidation problems, the convergence speed of L-LAAF-PINN is faster, indicating that the layer-wise locally adaptive activation functions still accelerate the parameter inversion speed in 1D nonlinear consolidation problems.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Terzaghi, K. Erdbaumechanik auf Bodenphysikalischer Grundlage; Deuticke: Leipzig, Germany, 1925. [Google Scholar]
- Gibson, R.E.; England, G.L.; Hussey, M.J.L. The theory of one-dimensional consolidation of saturated clays. Géotechnique 1967, 17, 261–273. [Google Scholar] [CrossRef]
- Xie, K.H.; Leo, C.J. Analytical solutions of one-dimensional large strain consolidation of saturated and homogeneous clays. Comput. Geotech. 2004, 31, 301–314. [Google Scholar] [CrossRef]
- Davis, E.H.; Raymond, G.P. A non-linear theory of consolidation. Géotechnique 1965, 15, 161–173. [Google Scholar] [CrossRef]
- Shi, J.; Yang, L.; Zhao, W.; Liu, Y. Research of one-dimensional consolidation theory considering nonlinear characteristics of soil. J. HOHAI Univ. 2001, 29, 5. [Google Scholar]
- Xie, K.-H.; Xie, X.-Y.; Jiang, W. A study on one-dimensional nonlinear consolidation of double-layered soil. Comput. Geotech. 2002, 29, 151–168. [Google Scholar] [CrossRef]
- Poskitt, T.J. The consolidation of saturated clay with variable permeability and compressibility. Géotechnique 1969, 19, 234–252. [Google Scholar] [CrossRef]
- Xie, K.-H.; Zheng, H.; Li, B.-H.; Liu, X.-W. Analysis of one dimensional nonlinear consolidation of layered soils under time-dependent loading. J. Zhejiang Univ. (Eng. Sci.) 2003, 37, 426–431. [Google Scholar]
- Jagtap, A.D.; Kawaguchi, K.; Em Karniadakis, G. Locally adaptive activation functions with slope recovery for deep and physics-informed neural networks. Proc. R. Soc. A Math. Phys. Eng. Sci. 2020, 476, 20200334. [Google Scholar] [CrossRef] [PubMed]
- Tang, H.; Liao, Y.; Yang, H.; Xie, L. A transfer learning-physics informed neural network (TL-PINN) for vortex-induced vibration. Ocean Eng. 2022, 266, 113101. [Google Scholar] [CrossRef]
- Raissi, M.; Perdikaris, P.; Karniadakis, G.E. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J. Comput. Phys. 2019, 378, 686–707. [Google Scholar] [CrossRef]
- Paszke, A.; Gross, S.; Massa, F.; Lerer, A.; Bradbury, J.; Chanan, G.; Killeen, T.; Lin, Z.; Gimelshein, N.; Antiga, L.; et al. Pytorch: An imperative style, high-performance deep learning library. arXiv 2019, arXiv:1912.01703. [Google Scholar]
- Abadi, M.; Agarwal, A.; Barham, P.; Brevdo, E.; Chen, Z.; Citro, C.; Corrado, G.S.; Davis, A.; Dean, J.; Devin, M.; et al. Tensorflow: Large-scale machine learning on heterogeneous distributed systems. arXiv 2016, arXiv:1603.04467. [Google Scholar]
- Lu, L.; Meng, X.; Mao, Z.; Karniadakis, G.E. Deepxde: A deep learning library for solving differential equations. arXiv 2019, arXiv:1907.04502. [Google Scholar] [CrossRef]
- Haghighat, E.; Juanes, R. Sciann: A keras/tensorflow wrapper for scientific computations and physics-informed deep learning using artificial neural networks. Comput. Methods Appl. Mech. Eng. 2021, 373, 113552. [Google Scholar] [CrossRef]
- Jin, X.; Cai, S.; Li, H.; Karniadakis, G.E. Nsfnets (navier-stokes flow nets): Physics-informed neural networks for the incompressible navier-stokes equations. J. Comput. Phys. 2021, 426, 109951. [Google Scholar] [CrossRef]
- Wu, J.-L.; Xiao, H.; Paterson, E. Physics-informed machine learning approach for augmenting turbulence models: A comprehensive framework. Phys. Rev. Fluids 2018, 3, 074602. [Google Scholar] [CrossRef]
- Haghighat, E.; Raissi, M.; Moure, A.; Gomez, H.; Juanes, R. A physics-informed deep learning framework for inversion and surrogate modeling in solid mechanics. Comput. Methods Appl. Mech. Eng. 2021, 379, 113741. [Google Scholar] [CrossRef]
- Haghighat, E.; Bekar, A.C.; Madenci, E.; Juanes, R. A nonlocal physics-informed deep learning framework using the peridynamic differential operator. Comput. Methods Appl. Mech. Eng. 2021, 385, 114012. [Google Scholar] [CrossRef]
- Rao, C.; Sun, H.; Liu, Y. Physics-informed deep learning for computational elastodynamics without labeled data. J. Eng. Mech. 2021, 147, 04021043. [Google Scholar] [CrossRef]
- Stielow, T.; Scheel, S. Reconstruction of nanoscale particles from single-shot wide-angle free-electron-laser diffraction patterns with physics-informed neural networks. Phys. Rev. E 2021, 103, 053312. [Google Scholar] [CrossRef] [PubMed]
- Lin, C.; Li, Z.; Lu, L.; Cai, S.; Maxey, M.; Karniadakis, G.E. Operator learning for predicting multiscale bubble growth dynamics. J. Chem. Phys. 2021, 154, 104118. [Google Scholar] [CrossRef] [PubMed]
- Chen, Y.; Lu, L.; Karniadakis, G.E.; Dal Negro, L. Physics-informed neural networks for inverse problems in nano-optics and metamaterials. Opt. Express 2019, 28, 11618–11633. [Google Scholar] [CrossRef] [PubMed]
- Fang, Z.; Zhan, J. Deep physical informed neural networks for metamaterial design. IEEE Access 2020, 8, 24506–24513. [Google Scholar] [CrossRef]
- Bekele, Y.W. Physics-informed deep learning for one-dimensional consolidation. J. Rock Mech. Geotech. Eng. 2021, 13, 420–430. [Google Scholar] [CrossRef]
- Lu, Y.; Mei, G. A deep learning approach for predicting two-dimensional soil consolidation using physics-informed neural networks (pinn). Mathematics 2022, 10, 2949. [Google Scholar] [CrossRef]
- Tartakovsky, A.M.; Marrero, C.O.; Perdikaris, P.; Tartakovsky, G.D.; Barajas-Solano, D. Physics-informed deep neural networks for learning parameters and constitutive relationships in subsurface flow problems. Water Resour. Res. 2020, 56, e2019WR026731. [Google Scholar] [CrossRef]
- Bandai, T.; Ghezzehei, T.A. Forward and inverse modeling of water flow in unsaturated soils with discontinuous hydraulic conductivities using physics-informed neural networks with domain decomposition. Hydrol. Earth Syst. Sci. 2022, 26, 4469–4495. [Google Scholar] [CrossRef]
- Lan, P.; Su, J.-J.; Ma, X.-Y.; Zhang, S. Application of improved physics-informed neural networks for nonlinear consolidation problems with continuous drainage boundary conditions. Acta Geotech. 2024, 19, 495–508. [Google Scholar] [CrossRef]
- Cuomo, S.; Di Cola, V.S.; Giampaolo, F.; Rozza, G.; Raissi, M.; Piccialli, F. Scientific machine learning through physics–informed neural networks: Where we are and what’s next. J. Sci. Comput. 2022, 92, 88. [Google Scholar] [CrossRef]
- Chen, Y.; Xu, Y.; Wang, L.; Li, T. Modeling water flow in unsaturated soils through physics-informed neural network with principled loss function. Comput. Geotech. 2023, 161, 105546. [Google Scholar] [CrossRef]
- Mei, G.-X.; Xia, J.; Mei, L. Terzaghi’s one-dimensional consolidation equation and its solution based on asymmetric continuous drainage boundary. Chin. J. Geotech. Eng. 2011, 33, 28–31. [Google Scholar]
- Haghighat, E.; Amini, D.; Juanes, R. Physics-informed neural network simulation of multiphase poroelasticity using stress-split sequential training. Comput. Methods Appl. Mech. Eng. 2022, 397, 115141. [Google Scholar] [CrossRef]
- Glorot, X.; Bengio, Y. Understanding the difficulty of training deep feedforward neural networks. J. Mach. Learn. Res.—Proc. Track 2010, 9, 249–256. [Google Scholar]
- Helton, J.C.; Davis, F.J. Latin hypercube sampling and the propagation of uncertainty in analyses of complex systems. Reliab. Eng. Syst. Saf. 2003, 81, 23–69. [Google Scholar] [CrossRef]
- Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
- Bischof, R.; Kraus, M. Multi-objective loss balancing for physics-informed deep learning. arXiv 2021, arXiv:2110.09813. [Google Scholar] [CrossRef]
- Wang, S.; Teng, Y.; Perdikaris, P. Understanding and mitigating gradient flow pathologies in physics-informed neural networks. SIAM J. Sci. Comput. 2021, 43, A3055–A3081. [Google Scholar] [CrossRef]
- Kendall, A.; Gal, Y.; Cipolla, R. Multi-task learning using uncertainty to weigh losses for scene geometry and semantics. In Proceedings of the 2018 IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–22 June 2018; pp. 7482–7491. [Google Scholar]
- Xiang, Z.; Peng, W.; Liu, X.; Yao, W. Self-adaptive loss balanced physics-informed neural networks. Neurocomputing 2022, 496, 11–34. [Google Scholar] [CrossRef]
- Madhyastha, P.S.; Batra, D. On model stability as a function of random seed. In Proceedings of the Conference on Computational Natural Language Learning, Hong Kong, China, 3–4 November 2019. [Google Scholar]
- Bengio, Y. Practical recommendations for gradient-based training of deep architectures. In Neural Networks; Springer: Berlin/Heidelberg, Germany, 2012. [Google Scholar]
- Jagtap, A.D.; Kharazmi, E.; Karniadakis, G.E. Conservative physics-informed neural networks on discrete domains for conservation laws: Applications to forward and inverse problems. Comput. Methods Appl. Mech. Eng. 2020, 365, 113028. [Google Scholar] [CrossRef]
- Mesri, G.; Rokhsar, A. Theory of consolidation for clays. J. Geotech. Eng. Div. 1974, 100, 889–904. [Google Scholar] [CrossRef]
- Zong, M.-F.; Wu, W.-B.; Mei, G.-X.; Liang, R.-Z.; Tian, Y. An analytical solution for one-dimensional nonlinear consolidation of soils with continuous drainage boundary. Chin. J. Rock Mech. Eng. 2018, 37, 2829–2838. [Google Scholar] [CrossRef]















| 1D Nonlinear Large Strain Consolidation | PINN | L-LAAF-PINN |
|---|---|---|
| Maximum Absolute error | ||
| Random seed |
| 1D Nonlinear Consolidation | PINN | L-LAAF-PINN |
|---|---|---|
| Maximum Absolute error | ||
| Random seed |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhou, J.; Sun, D.; Chen, Y. Modeling One-Dimensional Nonlinear Consolidation Problems by Physics-Informed Neural Network with Layer-Wise Locally Adaptive Activation Functions. Appl. Sci. 2025, 15, 8341. https://doi.org/10.3390/app15158341
Zhou J, Sun D, Chen Y. Modeling One-Dimensional Nonlinear Consolidation Problems by Physics-Informed Neural Network with Layer-Wise Locally Adaptive Activation Functions. Applied Sciences. 2025; 15(15):8341. https://doi.org/10.3390/app15158341
Chicago/Turabian StyleZhou, Jie, De’an Sun, and Yang Chen. 2025. "Modeling One-Dimensional Nonlinear Consolidation Problems by Physics-Informed Neural Network with Layer-Wise Locally Adaptive Activation Functions" Applied Sciences 15, no. 15: 8341. https://doi.org/10.3390/app15158341
APA StyleZhou, J., Sun, D., & Chen, Y. (2025). Modeling One-Dimensional Nonlinear Consolidation Problems by Physics-Informed Neural Network with Layer-Wise Locally Adaptive Activation Functions. Applied Sciences, 15(15), 8341. https://doi.org/10.3390/app15158341

