Session 24 · Wed Nov 25 · Book section 4.7 (§1–3)
🔬
A working model rests on three pillars: the training data, the architecture, the training strategy.
How high can any architecture score when the labels themselves disagree?
Lab notebook: 4.7 Training and evaluating a network — sections 1–3 today, 4–7 on Monday · the loop and the leaderboard: lecture 24a
✗ Label errors in the grading data: ~3% of test labels in ten canonical benchmarks are wrong, enough to flip model rankings.
Northcutt, C. G., Athalye, A., & Mueller, J. (2021). Pervasive label errors in test sets destabilize machine learning benchmarks. NeurIPS Datasets and Benchmarks Track.
✓ Measuring the disagreement: hand experts the same seismic image and their interpretations diverge — labels are interpretations, and the spread is measurable.
Bond, C. E., Gibbs, A. D., Shipton, Z. K., & Jones, S. (2007). What do you think this is? “Conceptual uncertainty” in geoscience interpretation. GSA Today, 17(11), 4–10.
📖 Why random flips are the kind case: with enough data, deep networks average away massive uniform label noise.
Rolnick, D., Veit, A., Belongie, S., & Shavit, N. (2017). Deep learning is robust to massive label noise. arXiv:1705.10694.
Labels are interpretations. The disagreement between experts is measurable — and it caps what any model can demonstrate.
30% uniform flips cost 0.6 points. 30% adjacent-class disagreement costs 2.7: the two mappers vote coherently, and more data makes the model more confident in their shared mistake.
Shrinking the rare class: overall accuracy drifts 0.945 → 0.881, while andesite recall collapses 0.742 → 0.000. Report per-class recall and the confusion matrix; never accuracy alone. Synthetic lithology table (mlgeo_synth).
0.936 mixed lab- and field-grade data, variance ignored
0.946 same data, loss weighted by 1/σ²
All-lab-grade reference: 0.949. Heteroscedastic = the noise level varies sample to sample — and the metadata usually says by how much.
One line of loss code recovers most of what mixed data quality costs. Any column named uncertainty, std_err, or pick_weight is an invitation.
| Defect | Signature | First fix |
|---|---|---|
| Uniform label noise | validation ceiling sags on small datasets, most without a checkpoint | audit labels; keep the best epoch; more data |
| Structured disagreement | errors pile up on the boundaries of the disputed class; ceiling capped | measure inter-rater agreement, relabel |
| Class imbalance | accuracy fine, rare-class recall collapsing | class weights; check recall |
| Heteroscedastic noise | mixed-provenance table underperforms | weight the loss by 1/σ² |
Fixing a thousand labels usually beats adding a million parameters.
mlgeo_4.7_ModelTraining.ipynb: sections 1–2, one network step by step; Your turn (1): write the four lines of one epoch; then the baselineMonday: session II — uncertainty you can defend (4.7 §4–7) · HW-DL due Fri Dec 4 · classification leaderboard closed Nov 24
ESS 469/569 · Machine Learning in the Geosciences · Autumn 2026