2-4 July 2020
University of Zurich
Europe/Zurich timezone

A Fortran-Keras Deep Learning Bridge for Scientific Computing

3 Jul 2020, 18:00
ZOOM (University of Zurich)


University of Zurich

Selected Presentations Session F


Mr Jordan Ott (UC Irvine)


Implementing artificial neural networks is commonly achieved via high-level programming languages like Python, and easy-to-use deep learning libraries like Keras. These software libraries come pre-loaded with a variety of network architectures, provide autodifferentiation, and support GPUs for fast and efficient computation. As a result, a deep learning practitioner will favor training a neural network model in Python where these tools are readily available. However, many large-scale scientific computation projects are written in Fortran, which makes them difficult to integrate with modern deep learning methods. To alleviate this problem, we introduce a software library, the Fortran-Keras Bridge (FKB). This two-way bridge connects environments where deep learning resources are plentiful, with those where they are scarce. The library a number of unique features offered by FKB, such as customizable layers, loss functions, and network ensembles. We apply FKB to address open questions about the robustness of an experimental approach to global climate simulation, in which subgrid physics are outsourced to deep neural network emulators. In this context, FKB enables a hyperparameter search of one hundred plus candidate models of subgrid cloud and radiation physics, initially implemented in Keras, to then be transferred and used in Fortran to assess their emergent behavior.

Primary authors

Mr Jordan Ott (UC Irvine) Dr Mike Pritchard (UC Irvine) Ms Natalie Best (Chapman University) Mr Erik Linstead (Chapman University) Dr Milan Curcic (University of Miami) Dr Pierre Baldi (UC Irvine)

Presentation Materials