Abstract
Accurate modeling of boundary conditions is crucial in computational physics. The ever increasing use of neural networks as surrogates for physics-related problems calls for an improved understanding of boundary condition treatment, and its influence on the network accuracy. In this paper, several strategies to impose boundary conditions (namely padding, improved spatial context, and explicit encoding of physical boundaries) are investigated in the context of fully convolutional networks applied to recurrent tasks. These strategies are evaluated on two spatio-temporal evolving problems modeled by partial differential equations: the 2D propagation of acoustic waves (hyperbolic PDE) and the heat equation (parabolic PDE). Results reveal a high sensitivity of both accuracy and stability on the boundary implementation in such recurrent tasks. It is then demonstrated that the choice of the optimal padding strategy is directly linked to the data semantics. Furthermore, the inclusion of additional input spatial context or explicit physics-based rules allows a better handling of boundaries in particular for large number of recurrences, resulting in more robust and stable neural networks, while facilitating the design and versatility of such types of networks. (Datasets, code and supplementary material are available at https://gitlab.isae-supaero.fr/a.alguacil/boundary_conditions_fcn_dyn).
Supported by the French “Programme d’Investissements d’avenir” ANR-17-EURE- 0005 and the Natural Sciences and Engineering Research Council of Canada (NSERC). W.G.P. and M.B. are supportted by the French Direction Générale de l’Armement (DGA) through the AID POLA3 project.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Alguacil, A., Bauerheim, M., Jacob, M.C., Moreau, S.: Predicting the propagation of acoustic waves using deep convolutional neural networks. In: AIAA Aviation Forum, Reston, VA, p. 2513 (2020)
Alsallakh, B., Kokhlikyan, N., Miglani, V., Yuan, J., Reblitz-Richardson, O.: Mind the pad - CNNs can develop blind spots. In: 9th International Conference on Learning Representations (ICLR), Vienna, Austria (2021)
Fotiadis, S., Pignatelli, E., Bharath, A.A., Lino Valencia, M., Cantwell, C.D., Storkey, A.: Comparing recurrent and convolutional neural networks for predicting wave propagation. In: ICLR 2020 Workshop on Deep Learning and Differential Equations (2020)
Gao, H., Sun, L., Wang, J.X.: PhyGeoNet: physics-informed geometry-adaptive convolutional neural networks for solving parametric PDEs on irregular domain. J. Comput. Phys. 428, 110079 (2021)
Geneva, N., Zabaras, N.: Modeling the dynamics of PDE systems with physics-constrained deep auto-regressive networks. J. Comput. Phys. 403, 109056 (2019)
Hamey, L.G.: A functional approach to border handling in image processing. In: International Conference on Digital Image Computing: Techniques and Applications, (DICTA), Adelaide, Australia (2015)
Innamorati, C., Ritschel, T., Weyrich, T., Mitra, N.J.: Learning on the edge: investigating boundary filters in CNNs. Int. J. Comput. Vis. 128(4), 773–782 (2019). https://doi.org/10.1007/s11263-019-01223-y
Islam, A., Jia, S., Bruce, N.D.B.: How much position information do convolutional neural networks encode? In: 8th International Conference on Learning Representations (ICLR), Addis Ababa, Ethiopia (2020)
Kayhan, O.S., Van Gemert, J.C.: On translation invariance in CNNs: convolutional layers can exploit absolute spatial location. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 14274–14285. Virtual Event (2020)
Latt, J., et al.: Palabos: parallel lattice boltzmann solver. Comput. Math. Appl. 81, 334–350 (2020)
Lee, S., You, D.: Data-driven prediction of unsteady flow over a circular cylinder using deep learning. J. Fluid Mech. 879(1), 217–254 (2019)
Liu, G., et al.: Partial convolution based padding. arXiv preprint arXiv:1811.11718 (2018)
Liu, R., Jia, J.: Reducing boundary artifacts in image deconvolution. In: 15th IEEE International Conference on Image Processing, San Diego, CA, pp. 505–508 (2008)
Liu, R., et al.: An intriguing failing of convolutional neural networks and the CoordConv solution. In: Advances in Neural Information Processing Systems, Montréal, Canada, vol. 31, pp. 9605–9616 (2018)
Mathieu, M., Couprie, C., LeCun, Y.: Deep multi-scale video prediction beyond mean square error. In: 4th International Conference on Learning Representtions, ICLR (2016)
Mohan, A.T., Lubbers, N., Livescu, D., Chertkov, M.: Embedding hard physical constraints in neural network coarse-graining of 3D turbulence. In: ICLR 2020 Workshop Tackling Climate Change with Machine Learning. arXiv (2020)
Poinsot, T.J., Lele, S.K.: Boundary conditions for direct simulations of compressible viscous flows. J. Comput. Phys. 101(1), 104–129 (1992)
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. 378, 686–707 (2019)
Schubert, S., Neubert, P., Poschmann, J., Pretzel, P.: Circular convolutional neural networks for panoramic images and laser data. In: 2019 IEEE Intelligent Vehicles Symposium (IV), Paris, France, pp. 653–660 (2019)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Alguacil, A., Pinto, W.G., Bauerheim, M., Jacob, M.C., Moreau, S. (2021). Effects of Boundary Conditions in Fully Convolutional Networks for Learning Spatio-Temporal Dynamics. In: Dong, Y., Kourtellis, N., Hammer, B., Lozano, J.A. (eds) Machine Learning and Knowledge Discovery in Databases. Applied Data Science Track. ECML PKDD 2021. Lecture Notes in Computer Science(), vol 12979. Springer, Cham. https://doi.org/10.1007/978-3-030-86517-7_7
Download citation
DOI: https://doi.org/10.1007/978-3-030-86517-7_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-86516-0
Online ISBN: 978-3-030-86517-7
eBook Packages: Computer ScienceComputer Science (R0)