Abstract. Geoscientific models are facing increasing challenges to exploit growing datasets coming from remote sensing. Universal differential equations (UDEs), aided by differentiable programming, provide a new scientific modelling paradigm enabling both complex functional inversions to potentially discover new physical laws and data assimilation from heterogeneous and sparse observations. We demonstrate an application of UDEs as a proof of concept to learn the creep component of ice flow, i.e. a nonlinear diffusivity differential equation, of a glacier evolution model. By combining a mechanistic model based on a two-dimensional shallow-ice approximation partial differential equation with an embedded neural network, i.e. a UDE, we can learn parts of an equation as nonlinear functions that then can be translated into mathematical expressions. We implemented this modelling framework as ODINN.jl, a package in the Julia programming language, providing high performance, source-to-source automatic differentiation (AD) and seamless integration with tools and global datasets from the Open Global Glacier Model in Python. We demonstrate this concept for 17 different glaciers around the world, for which we successfully recover a prescribed artificial law describing ice creep variability by solving ∼ 500 000 ordinary differential equations in parallel. Furthermore, we investigate which are the best tools in the scientific machine learning ecosystem in Julia to differentiate and optimize large nonlinear diffusivity UDEs. This study represents a proof of concept for a new modelling framework aiming at discovering empirical laws for large-scale glacier processes, such as the variability in ice creep and basal sliding for ice flow, and new hybrid surface mass balance models.
more »
« less
icepack: a new glacier flow modeling package in Python, version 1.0
Abstract. We introduce a new software package called “icepack” for modeling the flow of glaciers and ice sheets.The icepack package is built on the finite element modeling library Firedrake, which uses the Unified Form Language (UFL), a domain-specific language embedded into Python for describing weak forms of partial differential equations.The diagnostic models in icepack are formulated through action principles that are specified in UFL.The components of each action functional can be substituted for different forms of the user's choosing, which makes it easy to experiment with the model physics.The action functional itself can be used to define a solver convergence criterion that is independent of the mesh and requires little tuning on the part of the user. Theicepack package includes the 2D shallow ice and shallow stream models.We have also defined a 3D hybrid model based on spectral semi-discretization of the Blatter–Pattyn equations.Finally, icepack includes a Gauss–Newton solver for inverse problems that runs substantially faster than the Broyden–Fletcher–Goldfarb–Shanno (BFGS) method often used in the glaciological literature.The overall design philosophy of icepack is to be as usable as possible for a wide a swath of the glaciological community, including both experts and novices in computational science.
more »
« less
- Award ID(s):
- 1835321
- PAR ID:
- 10309973
- Date Published:
- Journal Name:
- Geoscientific Model Development
- Volume:
- 14
- Issue:
- 7
- ISSN:
- 1991-9603
- Format(s):
- Medium: X
- Sponsoring Org:
- National Science Foundation
More Like this
-
-
A physical blocks world, despite its relative simplicity, requires (in fully interactive form) a rich set of functional capabilities, ranging from vision to natural language understanding. In this work we tackle spatial question answering in a holistic way, using a vision system, speech input and output mediated by an animated avatar, a dialogue system that robustly interprets spatial queries, and a constraint solver that derives answers based on 3-D spatial modeling. The contributions of this work include a semantic parser that maps spatial questions into logical forms consistent with a general approach to meaning representation, a dialogue manager based on a schema representation, and a constraint solver for spatial questions that provides answers in agreement with human perception. These and other components are integrated into a multi-modal human-computer interaction pipeline.more » « less
-
Storage, organizing, and decorating are important aspects of home design. Buying commercial items for many of these tasks, this can be costly, and reuse is more sustainable. An alternative is a “home hack,” i.e., a functional assembly constructed from existing household items. However, coming up with such hacks requires combining objects to make a physically valid design, which might be difficult to test if they are large, require nailing or screwing to the wall, or if the designer has mobility limitations. We present a design and visualization system, FabHacks, for cre- ating workable functional assemblies. The system is based on a new solver-aided domain-specific language (S-DSL) called FabHaL. By analyzing existing home hacks shared online, we create a design abstraction for connecting household items using predefined con- nection types. We also provide a UI for designing hack assemblies that fulfill a given specification. FabHacks leverages a physics-based solver that finds the expected physical configuration of an assembly design. Our validation includes a user study with our UI, which shows that users can easily create assemblies and explore a range of designs.more » « less
-
The variability of the Antarctic and Greenland ice sheets occurs on various timescales and is important for projections of sea level rise; however, there are substantial uncertainties concerning future ice-sheet mass changes. In this Review, we explore the degree to which short-term fluctuations and extreme glaciological events reflect the ice sheets’ long-term evolution and response to ongoing climate change. Short-term (decadal or shorter) variations in atmospheric or oceanic conditions can trigger amplifying feedbacks that increase the sensitivity of ice sheets to climate change. For example, variability in ocean-induced and atmosphere-induced melting can trigger ice thinning, retreat and/or collapse of ice shelves, grounding-line retreat, and ice flow acceleration. The Antarctic Ice Sheet is especially prone to increased melting and ice sheet collapse from warm ocean currents, which could be accentuated with increased climate variability. In Greenland both high and low melt anomalies have been observed since 2012, highlighting the influence of increased interannual climate variability on extreme glaciological events and ice sheet evolution. Failing to adequately account for such variability can result in biased projections of multi-decadal ice mass loss. Therefore, future research should aim to improve climate and ocean observations and models, and develop sophisticated ice sheet models that are directly constrained by observational records and can capture ice dynamical changes across various timescales.more » « less
-
Sound gradual types come in many forms and offer varying levels of soundness. Two extremes are deep types and shal- low types. Deep types offer compositional guarantees but depend on expensive higher-order contracts. Shallow types enforce only local properties, but can be implemented with first-order checks. This paper presents a language design that supports both deep and shallow types to utilize their complementary strengths. In the mixed language, deep types satisfy a strong com- plete monitoring guarantee and shallow types satisfy a first- order notion of type soundness. The design serves as the blueprint for an implementation in which programmers can easily switch between deep and shallow to leverage their dis- tinct advantages. On the GTP benchmark suite, the median worst-case overhead drops from several orders of magnitude down to 3x relative to untyped. Where an exhaustive search is feasible, 40% of all configurations run fastest with a mix of deep and shallow types.more » « less