Skip to main content

Effects of Boundary Conditions in Fully Convolutional Networks for Learning Spatio-Temporal Dynamics

  • Conference paper
  • First Online:
Machine Learning and Knowledge Discovery in Databases. Applied Data Science Track (ECML PKDD 2021)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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)

    Google Scholar 

  2. 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)

    Google Scholar 

  3. 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)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. Geneva, N., Zabaras, N.: Modeling the dynamics of PDE systems with physics-constrained deep auto-regressive networks. J. Comput. Phys. 403, 109056 (2019)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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

    Article  Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. Latt, J., et al.: Palabos: parallel lattice boltzmann solver. Comput. Math. Appl. 81, 334–350 (2020)

    Google Scholar 

  11. 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)

    Google Scholar 

  12. Liu, G., et al.: Partial convolution based padding. arXiv preprint arXiv:1811.11718 (2018)

  13. 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)

    Google Scholar 

  14. 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)

    Google Scholar 

  15. Mathieu, M., Couprie, C., LeCun, Y.: Deep multi-scale video prediction beyond mean square error. In: 4th International Conference on Learning Representtions, ICLR (2016)

    Google Scholar 

  16. 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)

    Google Scholar 

  17. Poinsot, T.J., Lele, S.K.: Boundary conditions for direct simulations of compressible viscous flows. J. Comput. Phys. 101(1), 104–129 (1992)

    Article  MathSciNet  Google Scholar 

  18. 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)

    Article  MathSciNet  Google Scholar 

  19. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Antonio Alguacil .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics