IEEE BigData 2026 · Tutorial · Phoenix, December 2026

Uncertainty Quantification for Dynamical Networks

One hospital ward. One outbreak. Seven questions, each a little harder than the last. Every figure builds on screen, computed live from one simulation on a real contact network.

Marouane BenbrahimRochester Institute of Technology
Tamanna RashmeMississippi State University
Zhiqian ChenRochester Institute of Technology

Two hours with a five-minute break · → advances one idea at a time · S speaker notes · F fullscreen · code, data and this deck: github.com/aquastar/uq-dynamical-networks

Part 0 · Why graphs

Four things that spread on a graph

light not reached yet · red active now · amber been through it

Vanhems et al. 2013 · Cinelli et al. 2020 · Granell et al. 2013 · Motter & Lai 2002 · Outage Task Force 2004 · Holme & Saramäki 2012

Part 0 · Why graphs

The same two, on the record

NOAA/DMSP 2003, public domain · Outage Task Force 2004 · Cinelli et al. 2020, CC BY 4.0

Part 0 · Why graphs

Graphs are everywhere

White et al. 1986 · Watts & Strogatz 1998 · OpenFlights 2014 · Adamic & Glance 2005 · Peixoto 2020 · Natural Earth

Part 0 · Why graphs

More roads, longer commutes

Braess 1968 · Steinberg & Zangwill 1983 · Easley & Kleinberg 2010 · Baker 2009 · photo: Morin 2024, CC BY-SA 4.0

Part 0 · Why one number is never enough

Meet the ward

Vanhems et al. 2013, CC BY · Holme & Saramäki 2012 · Natural Earth · photo: Aldg692VX 2023, CC BY-SA 4.0

Part 0 · Why one number is never enough

Same ward, same virus, same first patient

Part 0 · Why one number is never enough

Four questions a ward manager asks

Part 0 · What uncertainty quantification is

A number, a spread, a check, a decision

How sure are we, and what does it cost to be wrong? Uncertainty quantification is the second and third panel: turn the number into a spread, check the spread against what actually happened, then decide with it.

Part 0 · What uncertainty quantification is

Two kinds of uncertainty, and only one of them shrinks

Spread = luck + not knowing. In symbols, Var Z = E[Var(Z | β)] + Var(E[Z | β]). Data shrinks only the second term; the first is the floor under every forecast.

Der Kiureghian & Ditlevsen 2009 · Hüllermeier & Waegeman 2021

Part 0 · What uncertainty quantification is

The UQ lifecycle, and where today’s tour stops

StageThe questionRepresentative techniquesToday
RepresentationWrite every unknown as a random variablerandom variables and priors, random graphs, Gaussian processes, random fieldsParts 1 to 3: a prior on β, a probability on each missed contact
PropagationPush the unknowns through the modelMonte Carlo and quasi-Monte Carlo, polynomial chaos, emulators and surrogatesPart 1: 2000 runs · Part 2: a surrogate, checked
InverseLearn the unknowns from dataBayes: MCMC, approximate Bayesian computation, variational and neural posteriorsPart 2: β from ten days · Part 6: patient zero
SensitivityWhich unknown matters most?Sobol indices, Morris screening, Shapley valuesPart 2: β against γ (how fast people recover), the first patient and luck
SequentialUpdate as data streams inKalman, ensemble Kalman and particle filters, smoothersPart 4: who is infected right now
Distribution-freeFix a band you cannot trust, and score itconformal prediction, calibration, proper scoring rulesPart 5: three lines, then the scorecard
RiskAct while still unsureexpected value, CVaR, robust and distributionally robust optimisation, stochastic programsPart 7: eight doses, before anyone is sick

Chen & Zhang 2026 · Smith 2013 · Sullivan 2015

Part 0 · What uncertainty quantification is

The framework, in one picture

Chen & Zhang 2026 · Smith 2013 · Sullivan 2015

Part 0 · The agenda

Five places uncertainty gets in

Part 1 of 8 · 10 min

1

Luck

the randomness you can’t remove

“Suppose we knew everything about the virus and the ward. How big will it get?”

The one theorem. A quantile estimated from n runs is off by about √(p(1−p)/n) in probability: from 2000 runs, the 5% and 95% edges of our band are good to about one person (Dvoretzky–Kiefer–Wolfowitz).

Part 1 · Luck

The rules of the game: the only simulator we use all day

Part 1 · Luck

Run it 2000 times

Newman 2002 · Stehlé et al. 2011 · Kiss et al. 2017

Part 1 · Luck

Where it starts changes the odds

Kitsak et al. 2010 · Lawyer 2015

Part 1 · Luck

Tool 1: simulate, then report quantiles

1Monte Carlo: run the model many times, read the histogram
2Report the probability of die-out, and the 5%–95% range of the big-outbreak branch
3Cheaper: message passing gives each person’s probability of infection in one pass

Karrer & Newman 2010

Part 1 · Luck

Report it to someone who wants one number

Probabilities of events they care about

“68% chance of more than 50 cases”

and 31% that it fizzles below 15. A number they can put in a sentence, with the odds attached.

Three quantiles, never the mean

5%: 1 · 50%: 61 · 95%: 67

The mean, about 43, is a world that never happens. The median and the two tails are worlds that do.

The bad day

Worst 10% of outbreaks: 67 on average

The number to plan beds and staff around. Part 7 optimises against it.

One rule: never report a band without saying what it was checked against. “90%, and it held 90% of the time on 2000 reruns” is a forecast. “90%” alone is a hope.

Part 2 of 8 · 12 min

2

Numbers we don’t know

learn β from ten days of data

“It’s day 10. We’ve seen the case counts so far. How contagious is this thing, and what happens next?”

The one theorem. As the tolerance shrinks to zero, the kept guesses are draws from the exact posterior p(β | counts); with a tolerance of four, from a posterior given counts measured to within four (Pritchard et al. 1999; Beaumont, Zhang & Balding 2002).

Part 2 · Numbers we don’t know

Bayes in one sentence

“Keep the explanations that fit the data, in proportion to how well they fit.”

Part 2 · Numbers we don’t know

The 3-line algorithm: guess β, simulate 10 days, keep it if it fits

Dutta et al. 2018 · Kypraios et al. 2017 · Chatha et al. 2024

Part 2 · Numbers we don’t know

What ten days of data buy you

Part 2 · Numbers we don’t know

Which unknown should we spend money measuring?

Sobol’ 2001 · Hart et al. 2017 · Lu & Borgonovo 2023

Part 2 · Numbers we don’t know

When the simulator is too slow: a surrogate, checked

Kennedy & O’Hagan 2001 · Cranmer et al. 2020 · Chatha et al. 2024 · Biazzo et al. 2022

Part 2 · Numbers we don’t know

Part 2 in one line

Unknown numbers

a posterior, not a best guess

Through the model

a band, not a line

Which unknown matters

spend money there

Done once with real infection times: the 1861 Hagelloch measles outbreak, where the contact graph was inferred along with β. That is the bridge to Part 3.

Groendyke et al. 2011 · Biazzo et al. 2022

Part 3 of 8 · 9 min

3

A graph we don’t fully know

the badges missed a third of the contacts

“The badges recorded the contacts. But badges miss things. How wrong does that make us?”

The one theorem. Averaging the forecast over graphs drawn from p(graph | badges) gives the posterior predictive, and its 90% band is honest exactly when that graph distribution is: a wrong prior over missed contacts is a wrong band (Bayes; Génois et al. 2015 for the missed-contact rate).

Part 3 · A graph we don’t fully know

The recorded graph is thinner than reality

Génois et al. 2015

Part 3 · A graph we don’t fully know

Three ways to put a band on a graph

Newman 2018 · Young et al. 2020 · Hoff et al. 2002 · Sewell & Chen 2015 · Peixoto 2019 · Kipf et al. 2018 · Wang et al. 2024b · Dabush & Routtenberg 2024 · Prasse & Van Mieghem 2022

Part 4 of 8 · 13 min · after the break

4

What we can’t see

who is infected right now

“We test 30% of the ward every two days. Tests miss 10% of cases. Who is infected right now?”

The one theorem. With K copies the filter’s estimate converges to the true posterior at rate 1/√K (Del Moral 2004), but the K needed grows exponentially with the dimension of what is observed: that is why 1000 copies collapse on a city (Snyder et al. 2008).

Part 4 · What we can’t see

The Kalman filter is a weighted average

Kalman 1960

Part 4 · What we can’t see

Our ward isn’t a bell curve, so we use 1000 copies

Gordon et al. 1993 · Evensen 2003 · Ju et al. 2021 · Li et al. 2020

Part 4 · What we can’t see

It works, mostly: tracking the hidden count

Part 4 · What we can’t see

Uncertainty has a location

Tsui et al. 2024 · Meirom et al. 2021 · Borovitskiy et al. 2021 · Stadler et al. 2021

Part 5 of 8 · 13 min

5

A model that is wrong

fix a model’s band in three lines

“Any model can say 90% and deliver less. Can we fix the band without touching the model?”

The one theorem. If the n calibration cases and the new case are exchangeable, then P(truth ∈ forecast ± q) lies between 90% and 90% + 1/(n+1), for any forecaster and any distribution (Vovk, Gammerman & Shafer 2005; Lei et al. 2018).

Part 5 · A model that is wrong

The 3-line recipe

1Take any forecaster. Keep a stock of past cases it was not trained on: the calibration cases.
2On those, measure how far off it was: |truth − forecast|. Take the 90th percentile. Call it q.
3From now on, report forecast ± q.
The promise: the truth falls inside forecast ± q at least 90% of the time, on average over calibration sets, for any forecaster, with no assumption about the model. A set of 2000 cases wobbles by about a point. One condition: future cases must be exchangeable with the calibration cases: deal the calibration cases out as cards, add tomorrow’s, shuffle; if nobody could tell which card was tomorrow’s, the promise holds. Its name: conformal prediction.

Angelopoulos & Bates 2023 · Shafer & Vovk 2008

Part 5 · A model that is wrong

Before and after, on the ward

Part 5 · A model that is wrong

Back to Part 4’s filter: the same three lines

Angelopoulos & Bates 2023 · Gibbs & Candès 2021 · Barber et al. 2023

Part 5 · A model that is wrong

The scorecard the field uses

Gneiting et al. 2007 · Gneiting & Raftery 2007 · Bracher et al. 2021

Part 5 · A model that is wrong

Why graphs and time break the promise, and the fixes

Neighbours are not independent

Nurse 12’s case tells you about nurse 13’s.

Fix: calibrate with the graph, smoothing the scores over neighbours.

Huang et al. 2023 · Zargarbashi et al. 2023 · Cini et al. 2025

The graph changes

New patients arrive; a model’s scores shift when its neighbourhood does.

Fix: calibrate for the graph you will have at prediction time.

Zargarbashi & Bojchevski 2024

Time drifts

A variant arrives. Policy changes.

Fix: adjust q online whenever coverage slips, like a thermostat. Restored the coverage of the CDC ensemble’s COVID intervals.

Angelopoulos et al. 2023 · Barber et al. 2023

Part 5 · A model that is wrong

The deep-learning column: three heuristics and one guarantee

Lakshminarayanan et al. 2017 · Gal & Ghahramani 2016 · Wang et al. 2024a · Hsu et al. 2022 · Wen et al. 2023 · Kamarthi et al. 2021 · Stadler et al. 2021

Part 5 · A model that is wrong

Leaving the ward for one slide: a country

Cramer et al. 2022 · Lakshminarayanan et al. 2017 · Wu et al. 2021

Part 6 of 8 · 11 min

6

Running it backwards

forward is done: now the same three lines, backwards

“It’s day 8. We have a good picture of who is infected. Who started it?”

The one theorem. On a regular tree, the person with the most orderings of infection consistent with the picture is the maximum-likelihood source, and is found in linear time; on a general graph the likelihood needs simulation or message passing (Shah & Zaman 2011).

Part 6 · Running it backwards

Why it’s hard: many starts, one ending

Shah & Zaman 2011 · Antulov-Fantulin et al. 2015

Part 6 · Running it backwards

A posterior over suspects, and a set

Dutta et al. 2018 · Dawkins et al. 2021 · Jian et al. 2026 · Yan et al. 2023 · Ling et al. 2022

Part 7 of 8 · 13 min

7

Deciding anyway

before anyone is sick, so patient zero is unknown too

“We have 8 doses, before the next outbreak. Whom do we vaccinate?”

The one theorem. The expected number of people saved by a set of doses is monotone and submodular, so greedy picking is within 1 − 1/e ≈ 63% of the best set (Nemhauser, Wolsey & Fisher 1978; Kempe, Kleinberg & Tardos 2003); the bad-day version is not submodular, and the guarantee weakens (Ohsaka & Yoshida 2017).

Part 7 · Deciding anyway

We have 8 doses. Whom do we vaccinate?

Kempe et al. 2003 · Rockafellar & Uryasev 2000 · Ohsaka & Yoshida 2017

Part 7 · Deciding anyway

The risk dial: three notches, three plans

Rockafellar & Uryasev 2000 · Staib et al. 2019 · Esfahani & Kuhn 2018 · Ohsaka & Yoshida 2017 · Chen et al. 2016

Part 7 · Deciding anyway

And the graph is uncertain too

Han et al. 2015

Part 7 · Deciding anyway

Closing the loop: a set in, a guarantee out

Part 5 gave a band or a set that holds the truth 90% of the time

Optimise against that set, and the decision inherits the 90%.

Same for Part 6

Isolate everyone in the 90% suspect set and, if the posterior is calibrated, you caught patient zero 9 times in 10. Ours held it 70% of the time: Part 5’s point.

Newer idea

Train the forecaster for decision quality, not accuracy.

Isolating the 90% suspect set caught patient zero in 70% of outbreaks and isolated 31.0 people on average. The most-connected-8 plan predicted a bad day of 52 from 400 simulated outbreaks; in 100 more, re-simulated with fresh random numbers, it was 52: the same simulator checked against itself, which is all a decision made before the outbreak can be checked against.

Patel et al. 2024 · Wilder et al. 2019 · Elmachtoub & Grigas 2022 · Hu et al. 2026

Part 8 · The map

Which method, when

Part 8 · The map

Seven questions, one tool each, and what each costs at scale

UncertaintyLooks likeToolOur check: coverage · widthCost at a million nodes
Lucksame inputs, different outcomessimulate, report quantiles90% · 10cheap: runs are independent, so parallel
Numbersβ, γ unknownposterior (ABC, or MCMC: a random walk that visits β in proportion to fit), sensitivity100% · 15the bottleneck: thousands of simulations; use a neural or surrogate posterior
Graphmissing contactsedge probabilities, latent space, infer from dynamics100% · 70 vs 6% · 56sample graphs, rerun: multiplies the cost above
Observationfew noisy testsparticle or ensemble filter, uncertainty map83% · 7 → 93% fixedparticles collapse in high dimension; ensemble and local filters are the fix
Modelreality isn’t the simulatorconformal calibration89% · 19free: one quantile
Backwardswho started itposterior over suspects, a set70% · 31.0 peoplesuspects × simulations; message passing instead of simulating
Decidingwhom to vaccinateCVaR or robust, against a setbad day 52 → 52greedy is near-optimal for the average; for the bad day the guarantee weakens (Ohsaka & Yoshida 2017)

Part 8 · The map

Every band in the deck, on one line

Coverage on fresh cases against the 90% each band claimed; widths in people. Part 6 is a set, so its width is the number of people in it.

Part 8 · The map

The cost column, measured

Kiss et al. 2017 · Rebeschini & van Handel 2015 · Snyder et al. 2008

Part 8 · Open challenges

Where the ward stops and the research starts

Structure and dynamics that shape each other

Our graph was fixed. In real systems the outbreak changes the contacts: isolation, panic, line trips. Joint uncertainty over both is mostly open.

Gross et al. 2006 · Holme & Saramäki 2012

A million nodes, streaming data

Particle filters collapse, posteriors need surrogates, graphs cannot be resampled. Local filters, neural posteriors and calibrated surrogates are the current answers, and none of them reports its own error bars yet.

Rebeschini & van Handel 2015 · Psaros et al. 2023

Guarantees without exchangeability

Conformal on graphs and under drift is a few years old. The bands are honest in experiments; the theory covers only special cases, and training a model for the decision it feeds, with a guarantee on the decision, has four papers.

Lunde et al. 2025 · Gibbs & Candès 2021 · Barber et al. 2023 · Hu et al. 2026

Part 8 · Reading list

If you read a dozen papers after today

Foundations

Newman 2002, exact SIR on networks · Kiss, Miller & Simon 2017, the book with code · Angelopoulos & Bates 2023, conformal prediction with code

Inference on networks

Dutta, Mira & Onnela 2018, ABC on a contact network · Peixoto 2019, the graph from the dynamics · Génois et al. 2015, what missing contacts do

Tracking and testing

Ju, Heng & Jacob 2021, particle filters on contact networks · Li, Pei et al. 2020 Science, ensemble filtering at country scale · Tsui et al. 2024 PNAS, whom to test next

Guarantees and decisions

Huang et al. 2023 CF-GNN and Cini et al. 2025 CoRel, conformal on graphs and networked time series · Cramer et al. 2022 PNAS, the Forecast Hub · Han et al. 2015, robust vaccination with an uncertain graph

Every paper cited today, with a link to each: the references page on the deck’s site. The code, the data and the pipeline behind every figure are in the same repository.

aquastar.github.io/
uq-dynamical-networks/refs.html

Part 8 · What to run on Monday

One library per rung, and the data to try them on

Simulate · Parts 1, 3

NetworkX and EoN for the ward and the SIR runs · graph-tool or NetworKit past 10⁵ nodes · SALib for Sobol indices

Posterior · Parts 2, 6

sbi (neural posterior estimation) · NumPyro or PyMC for MCMC · ndlib and epinet for epidemic likelihoods on graphs

Track, calibrate · Parts 4, 5

particles and FilterPy for particle and Kalman filters · MAPIE, TorchCP and crepes for conformal · PyTorch Geometric for GNN forecasters

Decide · Part 7

cvxpy for CVaR and robust programs · greedy submodular picks in a few lines of NumPy

Data with ground truth: SocioPatterns (this ward and nine more contact networks) · the US COVID-19 Forecast Hub CSVs, every quantile of every model · METR-LA and PeMS for traffic sensors on a road graph · the 1861 Hagelloch measles outbreak in R’s epinet. The deck’s own pipeline, NumPy only, is in the repository on the cover.

Part 8 · Take home

A band is only honest if you checked it

Five places uncertainty gets in. Every unknown input is a random variable you push through the model. One tool each. The same test at the end of every one: did the band contain what actually happened, and how wide was it? And a band is a decision input, not a report.

Skipped on purpose

The internals of GNN architectures · stochastic-physics closures · causal inference on networks · real traffic and grid data (the tools slide says where to get them)

Yours to take

This deck, every figure rebuilt from the data · the pipeline on the real hospital data · every paper cited today, with links

aquastar.github.io/
uq-dynamical-networks/
refs.html

Questions