Appendix D — Master List of Catastrophic Failures
Every failure mode catalogued
A quick debugging reference of common pitfalls that can break model quality, safety, or deployment reliability.
🚨 Failure 1: Matrix Multiplication is NOT Commutative (Ch 1) Symptom: Output values are wrong even though shapes still “work.” Cause: You assumed AB = BA; matrix multiplication order changes the transformation.
🚨 Failure 2: Assuming Independence (Ch 2) Symptom: Overconfident but wrong probabilities. Cause: Correlated features were treated as independent.
🚨 Failure 3: The Wrong Learning Rate (Ch 3) Symptom: Loss flatlines (too low LR) or explodes to
NaN(too high LR). Cause: Step size is badly tuned.🚨 Failure 4: Data Leakage during Scaling (Ch 4) Symptom: Great test metrics, poor real-world behavior. Cause: Preprocessing fit on full dataset before splitting.
🚨 Failure 5: Underfitting vs. Overfitting (Ch 5) Symptom: The model either learns nothing useful or memorizes noise. Cause: Capacity/regularization/training setup is mismatched to the task.
🚨 Failure 6: Choosing the Wrong K (Ch 6) Symptom: Clusters look arbitrary or mixed. Cause: K-Means forced an unnatural number of clusters.
🚨 Failure 7: The Precision/Recall Trade-off (Ch 7) Symptom: High aggregate metric but harmful operational behavior. Cause: Metric target does not match business/safety cost of FP vs FN.
🚨 Failure 8: Shrinking the Image (Ch 9) Symptom: Deep CNN feature maps collapse toward 0 \times 0. Cause: Repeated convolutions without sufficient padding.
🚨 Failure 9: The Autoregressive Quadratic Wall (Ch 12) Symptom: Long generations stall or OOM. Cause: Attention cost grows rapidly with sequence length; caching/IO strategy is weak.
🚨 Failure 10: The Infinite Loop (Ch 14) Symptom: Return diverges in continuing tasks. Cause: Discounting/environment setup causes non-convergent cumulative reward.
🚨 Failure 11: The Cliff Walking Problem (Ch 15) Symptom: Learned policy is high-reward in expectation but unsafe in practice. Cause: Off-policy optimism ignores exploratory execution risk.
🚨 Failure 12: The Delusional Critic (Ch 16) Symptom: Actor destabilizes and policy quality collapses. Cause: Critic estimates are poor, so policy gradients push in wrong directions.
🚨 Failure 13: The Forgetting Wall (Ch 17) Symptom: Model becomes polite but loses core capabilities. Cause: Over-aggressive SFT overwrote useful pretrained behavior.
🚨 Failure 14: The Pipeline Bubble (Ch 23) Symptom: Low GPU utilization despite many devices. Cause: Poor microbatch scheduling leaves pipeline stages idle.