Using Differentiable Programming for Flexible Statistical Modeling

Maren Hackenberg, Marlon Grodd, Clemens Kreutz et al. · The American Statistician · 2021

Maren Hackenberga* , Marlon Grodda, Clemens Kreutza, Martina Fischerb, Janina Esinsb, Linus Grabenhenrichb, Christian Karagiannidisc & Harald Binderaa Institute of Medical Biometry and Statistics, Faculty of Medicine and Medical Center, University of Freiburg, Germany;;b Robert-Koch-Institut, Berlin, Germany;;c Department of Pneumology and Critical Care Medicine, Cologne-Merheim Hospital, ARDS and ECMO Center, Kliniken der Stadt Köln, Witten/Herdecke University Hospital, Cologne, GermanySupplementary materials for this article are available online. Please go to www.tandfonline.com/r/TAS.CONTACT Maren Hackenberg maren@imbi.uni-freiburg.de Institute of Medical Biometry and Statistics, Faculty of Medicine and Medical Center, University of Freiburg, Institute of Medical Biometry and Statistics, Stefan-Meier-Str. 26, Freiburg im Breisgau, 79104 Germany.ABSTRACTDifferentiable programming has recently received much interest as a paradigm that facilitates taking gradients of computer programs. While the corresponding flexible gradient-based optimization approaches so far have been used predominantly for deep learning or enriching the latter with modeling components, we want to demonstrate that they can also be useful for statistical modeling per se, for example, for quick prototyping when classical maximum likelihood approaches are challenging or not feasible. In an application from a COVID-19 setting, we use differentiable programming to quickly build and optimize a flexible prediction model adapted to the data quality challenges at hand. Specifically, we develop a regression model, inspired by delay differential equations, that can bridge temporal gaps of observations in the central German registry of COVID-19 intensive care cases for predicting future demand. With this exemplary modeling challenge, we illustrate how differentiable programming can enable simple gradient-based optimization of the model by automatic differentiation. This allowed us to quickly prototype a model under time pressure that outperforms simpler benchmark models. We thus exemplify the potential of differentiable programming also outside deep learning applications to provide more options for flexible applied statistical modeling.

Cited by 6 works. doi:10.1080/00031305.2021.2002189 Open-access PDF

Authors

References