+ your ownwrite your own likelihood or
latent effect and it meets the same call: the catalogue is where you
start, not where you stop
Linux·macOS·Windows
binaries ship in the package, nothing to compile
Since 2009, and 186
papers that extend the method rather than just use it.
What the data is made of
What the method was built on
The assumptions of 2009
1The precision matrix Q is sparse
2A handful of hyperparameters
3The latent field is Gaussian
What the method was built on
The assumptions of 2009
The precision matrix Q is sparse?
Y ~ 1
+ f(region, "iid")
Y ~ 1
+ f(region, "besag", graph = germany)
Y ~ 1
+ f(region, "besag", graph = germany)
+ f(year, "rw2")
Y ~ 1
+ f(region, "besag", graph = germany,
group = period,
control.group = list(model = "rw1"))
Y ~ 1 + x1 + ... + x40
+ f(region, "besag", graph = germany,
group = period,
control.group = list(model = "rw1"))
y ~ 1
+ f(animal, "generic0", Cmatrix = A)
y ~ 1
+ f(subject, "iid")
+ f(item, "iid")
Germany, 544 districts · one effect per district
545unknowns
Q, as INLA assembled it
What the literature already measured
Why INLA needs HPC
Practice has outgrown the assumptions of 2009.
620,000inla() calls for one trial
design, took 20 days!1
2.4 daysfor one model, on 10 threads and 64 GB2
1 millionlatent parameters in one model, and 2 million
observations3
1 Hosseini et al., Contemp. Clin. Trials142, 2024
· 2 Quijal-Zamorano et al., Int. J. Epidemiol.54(4), 2025 · 3 Gaedke-Merzhäuser et al.,
SIAM J. Sci. Comput.46(4), 2024
What those seconds are
1ordering
41evaluations
11selected inverses
8,705posterior marginals
Q(θ) x = ba factorization, then a solve · every evaluation
diag Q(θ)−1a selected inverse · every configuration
Not one of these is the model. All of it is linear algebra on
.
Where the engine has to get better
To make it faster
1A faster solve
, which is the factorization
under it
2A faster selected inverse
, once per
configuration
3Memory known, and more of the machine
what the factor will cost, and how the parallelism should be
tuned
A high-performance framework for structured matrices
The first solver that covers the
full range, from very sparse to
fully dense
a smooth in time
rw2 · Tokyo · n = 366
a map of districts
bym2 · Germany · n = 1,174
continuous space
spde mesh · n = 24,455
space times time
48 periods · n = 26,113
a pedigree of animals
animal1 · n = 5,126 · 20%
all pairs of points
kriging · dense precision
different sparsity patterns
fully dense
One methodology, a few lines of R. Underneath it the matrix goes from
banded to graph to mesh to block to fully dense, and
no single representation is right for all of them.
How much of the tile do you keep?
a nonzeroa stored zeroone matrix, 36 × 36
the matrix
sTiles
full dense
dense
semisparse
sparse
the matrix decides which one wins ·
sTiles picks it
What the method rests on now
The assumptions, revisited
1The precision matrix Q is sparse
2A handful of hyperparameters
More than a handful, and each one
multiplies the solves
the design table runs out at
52 of them, 4,201 points, and after that the points
have to be your own.
3The latent field is Gaussian
It still is, and the
extensions need it to be
Where the method ends and the machine begins
What limits it now
the hyperparameters
how many evaluations the integration asks for
the parallel scheme
how many of them you hold at once
the structure of Q
how big one factor is, after fill-in
↓
Does it fit in memory?memory grows with evaluations in flight
× nnz(L)
Not one of the three is a property of the method. The limit moved from INLA to the machine you run it on.
Integration points, by how many hyperparameters
How many can run at once
How many you run at once is not what the table allows.
It is what your machine has, divided by what one evaluation needs.
one factor in memory per evaluation in flight
The widest parallel step INLA has
What runs them at once
4,201
θ = 52 · one dot, one evaluation
DALIA
on GPUs, through CuPy
across many nodes, through MPI4Py
in Python, modular and portable
github.com/dalia-project/DALIA
An application of the new engine
Modelling global temperature data for one year
A global temperature model
is what one station
s should read on one day t:
the average of that day’s low and high
one average for the globe, and how much colder per km of height
2numbers
how it varies with latitude, and through the year
6basis columns
how one place departs from that pattern
3,7503 fields on the mesh
the weather: space and time, coupled
456,2501,250 nodes × 365 days
460,008 unknowns, from 4,234,989 daily observations
Lindgren, Bakka, Bolin, Krainski and Rue, A diffusion-based
spatio-temporal extension of Gaussian Matérn fields,
SORT48(1), 2024
The spatial mesh, and where the data actually is
1,250mesh nodes, 2,496 triangles median edge 584 km
13,579stations, 2022 4,234,989 daily observations
77.5%of stations lie between 30°N and 60°N
55.9%of the whole network is in the United States
Climate, and the weather on top of it
the normal for 15 February and 16 August
the same two days, as departures from those normals
Climate is what we
expect; weather is what we get.
The four models on the slides before
What one fit costs
ModelINLA 2024 · PARDISOINLA 2026 · sTiles
1027 h 07 m1 h 19 m
12121 h 05 m1 h 34 m
2028 h 35 m1 h 38 m
22031 h 27 m4 h 19 m
all four68 h 14 m8 h 50 m
460,008 unknowns, 4,234,989 observations, every evaluation a factorization.
Three of the four fit in under two hours.