Day 5: Uncertainty and chaos are helpful
What does uncertainty buy you?
Choice.
How do you choose?
Data!
What is biomed?
Multi-scale,
Cryptic,
Multi-source
Personal
Fields of study: component view
Any list of âpartsâ will likely be incomplete (many parts to count, but also a classification problem!)
A list of parts ignores interactions and dynamics
Integumentary
(connective tissues)
Skeletal
(bones)
Excretory
(digestion)
Circulatory
(blood)
Nervous
(nerves, brain)
Respiratory
(breathing)
Reproductive
(sex)
Cells
genes
Fields of study: Pathology view
(is death health?)
Fields of study: systems view
How do we study biology
Topic
Scale
Method
Personal
Niche
3. Cancer
2. nm-mm
1. Microscopy
Cancer cell
migration
1. Cancer
2. SNPs
3. genetics
Cancer
mutations
Data
What you care most about
constrains your options
Algorithms
(from Al-Kwarizmi, in honor of âthe man of Khivaâ a 9th century writer on algebra (al jabara â the uniting of broken pieces))
Take thing(s)
Do thing(s)
Get thing(s)
Real world constraints!
Compliance, cost, reliability, etcâŚ
Real world metrics!
Cost, usability, information, etcâŚ
Whatâs a model?
Combined factors that fit data and predict future observations.
Mathematical model â hypothesis driven (by necessity)
Machine learning model â computation driven
(hypothesis driven if you feel like it)
Dependent on two sets of assumptions:
1) what features carry information (variables)
2) what are relationships (equations)
Unsupervised learning
Supervised learning
40-50 yo
Men
Women
-/+ Hypertension
How can we explore data landscapes?
Add up features
Add in time
Include broadly
Guided approach:
What is bias?
Prediction error in a given test compared to training
Note: this is not = variance or effect size
What is systematic bias?
Bias that is predictable due to condition
Note: this can arise from variance or effect size
Why is this especially relevant
in biomedicine?
Complexity 𥺠unpredictable clustering
Note: cluster identities act like other identities
Types of error
Imprecision
White noise
Uniform, unaccounted variance
(remember, stochastic â random)
Uncalibrated
Non-white noise
Unaccounted variance
Interference
Spikiness
Unaccounted events
Types of error
Types of Shift
Expected Data X with Labels Y, and actual (current) Data X and Labels Y
Ë
Ë
Ë
Ë
Ë
Ë
Types of variance
What is chaos? Complexity
Why a butterfly?
Small things add up.
âThat thou canst not stir a flower
Without troubling a starâ
Chaos theory
Recall: you canât compute true randomnessâŚ
Nature is complex (and stochastic), butâŚ
We should be able to predict deterministic systems, dang it! Deterministic: no ârandomâ input (no dice involved in the game) Enter: âthe three body problem!â
Lyapunov time
MY
Lyapunov time
How do we quantify the extent to which a system is chaotic?
Calculate divergence across iterations in a system with 2 starting conditions: X vs. X+e
D amplitude â time and frequency
Whatâs big for your system?
Lorenz Attractors as example chaotic systems
Whatâs a bioengineer to do?
When chaos / entropy is a feature
Burks et al., PLoS Digital Health, 2025
Featurizing complexity â signal processing but not frequency
Lower overall complexity
Higher overall complexity
Entropy at different timescales changes in age & condition
In complex systems we can still measure stuff.
Argue from numbers.
Leave things out, one at a time, with the full model as a positive control.
Show the cost.
Whatever costs you the most is the most valuable.
Consider independence too
If feature overlap carry the same information, they are redundant
Including redundant features costs compute, adds noise
independence, âorthogonalityâ, correlation, co-information, etc.,
Past glucose data
Can we predict
future glucose?
LLMs: biology is more complex than language
LLMs on language prediction:
Sentences are complicated but not complex.
We know the full state of every sentence.
Sentence accuracy is 100% verifiable upon creation.
LLMs on biological prediction:
Organisms are complex but bounded by inputs.
We have very few stable ground truths.
Prediction accuracy can never be fully evaluated (in many cases)
âyou have COVIDâ can
âyou are aging wellâ cannot
Because of bounding, predictions on biological systems are not random or deterministic, but must be probabilistic
Bounded chaotic systems are still chaotic
HW 5. combine projects and compare
You all have features related to estrus detection.
Merge with another group.
Tally how many right and wrong detections you each make.
Are your features redundant or additive?
Make a rule for voting on or combining your features to help improve on your individual detectors.