After studying this material, you should be able to:
Before understanding AI's role, you need to understand what a scientific model actually does.
Core idea: A model is a simplified mathematical description of a real system that lets you make predictions.
In 1951, two scientists wanted to understand how nerve cells communicate using electrical pulses called action potentials.
They built a set of equations describing the nerve cell membrane as an electrical circuit.
Key moment: To make their equations match real measurements, they had to raise one variable to the fourth power (multiply it by itself three times).
They didn't fully know why the fourth power worked. They just knew simpler versions didn't fit the data as well.
Decades later: Scientists discovered the relevant protein had exactly four identical pieces arranged around a central pore.
The model, built purely to fit data in 1951, had accidentally predicted a physical structure nobody had seen yet.
This illustrates the true power of a good model:
All scientific modeling follows this repeating cycle:
BUILD → CONSTRAIN → INTERPRET → (revise and repeat)
What it means: Deciding the structure of your equations — what variables exist and how they relate.
| In Hodgkin-Huxley | General Meaning |
|---|---|
| Modeling membrane as electrical circuit | Choosing the conceptual framework |
| Raising variable to fourth power | Choosing the mathematical form |
The challenge: The space of possible model structures is essentially infinite. Scientists historically relied on expertise and intuition to narrow it down.
What it means: Tuning the adjustable numbers (parameters) inside your chosen model structure to match real data.
The restaurant bill analogy:
Imagine a group dinner totaled $120, but you don't know who ordered what. Many different combinations of orders could produce that same total.
This is exactly how model parameters work:
The problem with single best-fit values:
Single fit → "Here is ONE answer that works"
(hides all other equally valid answers)
The solution → Bayesian Inference:
Instead of finding one best set of parameters, find the entire distribution of parameter sets that fit reasonably well.
Bayesian approach → "Here is the RANGE of answers that work,
weighted by how well each fits"
This tells you:
The practical problem: Standard Bayesian inference requires calculating how likely your measurements are under every possible parameter combination. For complex models, this is computationally impossible.
What it means: Asking what the model tells you about the real physical system.
Hodgkin and Huxley's interpretation:
"The fourth power might mean four particles must move into place before the gate opens"
Critical insight: This interpretation only had weight because they had ruled out simpler alternatives. If a third-power model had worked equally well, the four-particle hypothesis would have been unjustified.
Understanding comes from knowing what didn't work, not just what did.
The problem AI solves: Standard Bayesian inference is often computationally impossible for complex models.
The solution: Simulation-Based Inference (SBI)
Here's how it works, step by step:
Step 1: Pick random parameter values
Step 2: Run the model with those parameters → get output
Step 3: Record the (parameters → output) pair
Step 4: Repeat 100,000 to millions of times
Step 5: Train a neural network on all these pairs
Step 6: Given NEW real data, the network returns the
distribution of parameters that could produce it
Key requirement: You only need a simulator — something where you put parameters in and get data out. You never need a formula for working backwards.
Why this matters:
Real-world applications of SBI:
| Domain | Application |
|---|---|
| Astronomy | Locating neutron star collisions fast enough to point telescopes |
| Cosmology | Constraining models of the universe |
| Neuroscience | Finding parameter distributions for nerve cell models |
| Structural biology | Inferring molecular structures |
The traditional approach: Scientists propose a handful of candidate model structures from expertise, test them, revise, repeat.
The AI approach: LLM-based agents now automate this loop:
1. Given data + natural language description of system
2. LLM writes code for candidate model(s)
3. System constrains parameters, compares to real data
4. LLM revises model structure
5. Loop repeats until model fits data accurately
The same fundamental problem reappears — one level up:
Just as many parameter sets can fit one model, many different model structures can fit the same data equally well.
Run the agent twice on same data
→ May get two DIFFERENT models
→ Both equally valid
→ Returning only one hides the other
The better approach: Treat model-building like parameter-constraining — seek a distribution of plausible models:
Many candidate models proposed
→ Each weighted by fit to data
(models needing excessive flexibility get less credit)
→ Weak candidates eliminated
→ Variations on strong candidates proposed
→ Result: distribution of plausible model structures
What a distribution of models tells you:
| Observation | Meaning |
|---|---|
| All surviving models share a feature | Data likely supports that feature |
| Surviving models disagree on a feature | Evidence is thin there; design an experiment |
Why interpretation is hardest to automate:
Two proposed approaches:
Approach 1 — Test predictions under disturbance:
Does the model correctly predict what happens when you interfere with the system? (e.g., blocking some sodium channels in a nerve cell)
Approach 2 — Measure impact on human understanding:
Do the AI's outputs help human scientists understand better?
Example: An AI system for quantum experiments was trained to write a short program generating a whole family of related experiments, so a physicist could read the underlying design principle directly.
Why distributions remain essential for interpretation:
Single model → Easy to read meaning into parts
NOT actually constrained by data
(false confidence)
Distribution of models → Shows which features are
genuinely required by data
vs. which are arbitrary choices
| System | Neurons |
|---|---|
| Hodgkin-Huxley model | 1 |
| Fruit fly brain | 100,000+ |
| Human brain | Tens of billions |
As AI handles more of the modeling work, the size limit on models lifts. We can model systems too complex to write by hand.
The fundamental shift in scientific questions:
| Old question | New question |
|---|---|
| "Which model is correct?" | "Which properties do ALL data-compatible models share?" |
| "What does this model predict?" | "Which predictions are robust across all valid models?" |
| "What is the best experiment?" | "Which experiment rules out the most remaining models?" |
What AI can now do in an afternoon (vs. Huxley's three weeks):
What AI must still deliver to provide genuine understanding:
Not just: "Here is the model that fits"
But also:
✓ Which parts are pinned down by data
✓ Which parts remain open/uncertain
✓ Which alternatives failed and why
✓ What new puzzles were uncovered
"The purpose of computing is insight, not numbers." — Richard Hamming, 1962
The process of building a model is where much of the understanding comes from. Hodgkin and Huxley understood their model deeply because they had built it themselves and knew what hadn't worked.
AI must replicate not just the output of that process, but the epistemic trail — the record of what was tried, what failed, and what remains uncertain.
| Step | Traditional Approach | AI Tool | Key Insight |
|---|---|---|---|
| Build | Expert intuition, trial and error | LLM agents proposing model families | Need distributions of models, not one |
| Constrain | Single best-fit parameters | Simulation-Based Inference (SBI) | Need parameter distributions, not one value |
| Interpret | Human reasoning about implications | Partially automated; hardest step | Requires knowing what failed, not just what worked |
The unifying principle across all three steps:
A single best answer — whether a parameter value, a model structure, or an interpretation — hides the uncertainty that is essential for genuine scientific understanding.