Models in science

MCSB Bootcamp — Mathematical and Computational Track

Author

Jun Allard

What a model is

Coffee bean titration

Twenty small zip bags of coffee beans laid out in two long columns down a wooden table, one bag per day, with a bag of beans, a scoop and a cup at the far end.

Coffee bean dynamical system

Eight labelled mason jars of coffee beans on a kitchen counter between an espresso machine and a grinder, each lid marked either in-to-other or out-to-grinder with a time.

Coffee bean strategy

Coffee beans, measuring each aliquot and titrating it in carefully. Mixing the two gradually. So I guess at day 10 it should be at 50%.

N = 10  # number of scoops in each jar
n_max = 2 * N  # max number of days to simulate

x = np.zeros(n_max)  # fraction caffeinated
x[0] = 1.0  # initial fraction caffeinated

for n in range(1, n_max):

    x[n] = (1 - 1 / N) * x[n - 1]

# finished loop through days

days = np.arange(1, n_max + 1)

fig, ax = plt.subplots()
ax.plot(days, x, "-ok")
ax.set_ylabel("Fraction caffeinated")
ax.set_xlabel("Days")
plt.show()
Twenty points falling smoothly from one at day one to about a third by day twenty, joined by a line.
Figure 1: Fraction of the jar still caffeinated, day by day, for a ten-scoop jar.

What a model is

Two mason jars side by side on a counter, one labelled in-to-other and nearly empty, the other labelled out-to-grinder and full of beans.

  • A model takes model parameters and assumptions and leads to an inevitable predicted behavior.
  • (“Inevitable” does not mean deterministic. Can be stochastic.)
  • The input assumptions can be imperfect.
  • The output can be counter-intuitive and surprising.
  • It’s not always time that separates inputs from outputs.

Barnhart et al., 2016

The head of the paper: Current Biology, Adhesion-Dependent Wave Generation in Crawling Cells, by Erin L. Barnhart, Jun Allard, Sunny S. Lou, Julie A. Theriot and Alex Mogilner, with their affiliations.

The input assumptions, drawn as a cross-section of a crawling cell's leading edge: branched actin barbed ends pushing a green membrane outward, nascent and mature adhesions along the substrate below, and VASP molecules either unbound, adhesion-bound or barbed-end-bound.

The model behaviour, as five snapshots down a time arrow: VASP accumulates at the leading edge, protrusion begins and membrane tension rises, the protrusion spreads sideways, VASP is depleted behind the travelling wave, and tension falls again as a new wave forms.

Story, setting, characters traits, and plotline

Two words in orange, heading the halves of the drawing below: Parameters on the left, Behavior on the right.

A hand-drawn storyline running left to right along an arrow. On the left a tree and a house, then two stick figures standing still, labelled characters and setting. A dashed magenta line divides the drawing. On the right the same figures in motion beside a dancing creature, labelled storyline and plot.

Inevitability is what makes it useful as a hypothesis-rejection tool.

Why might you do this?

Hand-drawn axes, behaviour against parameters. A dot on the parameter axis is carried up to a magenta curve of behaviour, which is followed left to the behaviour axis and off to a question mark at its far right.

Reason 1: Perturbable predictive understanding of the world

“If someone changes this, then the biological system will do this.”

This is what is needed for modern engineering practices to be brought to biomedical and biotech.

Models in MCSB

Sousa (MCSB 2026) et al. Cancer Research, 2026

Three researchers standing together in a laboratory, smiling at the camera, with bench shelving and pipettes behind them.

Four panels of cell counts against time in days, for inactive dendritic cells, active dendritic cells, regulatory T cells and effector T cells. Each carries black measured points with error bars and an orange model curve running through them: three rise steadily over thirty days, and the effector T cells peak at about day fifteen and fall away again.

A laptop icon marks this panel as run in silico. Three stacked grids, one per dose of dendritic-cell inhibition, each four layers deep in dendritic-cell activation. Every cell is coloured by mean tumour size, from red for a large tumour to near-black for a small one: the grids go darker from left to right and from bottom to top, so the tumour shrinks as both doses rise.

A mouse icon marks this panel as run in vivo. Four panels of tumour volume against time, one per treatment: control with isotype clears none of six, control with anti-PD-1 clears two of six, S1PR1 knockout with isotype clears one of five, and S1PR1 knockout with anti-PD-1 clears three of seven. A fifth panel plots the four median growth curves together, the knockout with anti-PD-1 rising last and latest.

We are in the infancy of a field.

Why might you do this?

Reason 2: Reverse-engineer something that is hard to observe

Hand-drawn axes: the parameter axis is labelled something easy to measure and the behaviour axis hard to measure. A dot on the easy axis is carried up to a rising magenta curve and then followed left to the hard axis, along an arrow labelled INFER.

Reason 3: Learning about evolution’s design principles - some functional output, and some parameter. Why did evolution choose this value? “Teleology”

Hand-drawn axes, biological function against parameters. A magenta curve peaks over one parameter value, marked design principles. A green arrow on the axis marks the actual value evolution chose, and other points along it are labelled counterfactual values.

Modeling is bi-directional

Two hand-drawn blobs facing each other: Model and parameters on the left, Behavior (prediction) on the right. A black arrow curves along the bottom from the model to the behaviour, so the model predicts what is seen. A second arrow curves back along the top from the behaviour to the model, labelled Learning, Training, Inference, and a short arrow into the right-hand blob is labelled OBSERVE.