Séminaire EDP-Analyse ICJ

Scaling up the solving of large biological systems of ordinary differential equations with mixed-precision arithmetic.

par Arsène Marzorati (ICJ - INRIA)

Europe/Paris
Fokko (ICJ)

Fokko

ICJ

Description

In computational biology, agent-based models (ABM) are a computational modelling approach for complex living systems, enabling heterogeneity across agents. ABMs are often better aligned with data from real large systems. However, the computational cost, which can increase supra-linearly with size, is a major challenge that limits applicability. In our work, we suggest to tackle this problem with the use of mixed-precision. Mixed-precision methods consist in using two or more numerical formats, usually floating point numbers, inside a single numerical method, to find a good trade-off between the accuracy and speed. These methods are developed in several fields that encounter similar dimensional computing problems such as machine-learning, linear algebra or meteorology.
Here, we consider an ABM of N heterogenous agents, and we assume that the dynamical dependence is split into two parts, an agent-centered term and another term accounting for complex pairwise interactions. We make no assumption on the form of the interaction term, except that all the N agents can interact heterogeneously with each other. This leads to an ODE system with a right-hand side presenting a complexity in N^2 that is difficult to reduce.
We show that accuracy of numerical scheme is improved with the mixed-precision tuning as the system size increases. As the size of the population increases, rounding errors coming from low precision terms are absorbed by the large number of interactions. In addition, the complexity of non-linear functions used in modeling and the increasing size tend to increase the speed-up of low precision. This leads to an interesting gain in performance with a limited degradation in accuracy, particularly for interaction evaluations.