MoonSay /Tutorials/Machine Learning Interview #2
Contents
  1. 01Introduction
  2. 02Setting and notation
  3. 03Intuition
  4. 04The decomposition and its proof
  5. 05A warm-up you can do by hand
  6. 06The experiment
  7. 07Models where every term has a formula
  8. 08Diagnosing bias and variance in practice
  9. 09Fixing high bias and high variance
  10. 10Beyond the classical picture
  11. 11Interview questions and model answers
  12. 12Summary
  13. References

References

  • Mikhail Belkin, Daniel Hsu, Siyuan Ma, and Soumik Mandal. Reconciling modern machine-learning practice and the classical bias–variance trade-off. Proceedings of the National Academy of Sciences, 116(32):15849–15854, 2019. doi:10.1073/pnas.1903070116.
  • Christopher M. Bishop. Pattern Recognition and Machine Learning. Springer, New York, 2006.
  • Leo Breiman. Bagging predictors. Machine Learning, 24(2):123–140, 1996. doi:10.1007/BF00058655.
  • Leo Breiman. Random forests. Machine Learning, 45(1):5–32, 2001. doi:10.1023/A:1010933404324.
  • Victor DeMiguel, Lorenzo Garlappi, and Raman Uppal. Optimal versus naive diversification: How inefficient is the 1/N portfolio strategy? The Review of Financial Studies, 22(5):1915–1953, 2009. doi:10.1093/rfs/hhm075.
  • Pedro Domingos. A unified bias–variance decomposition and its applications. In Proceedings of the 17th International Conference on Machine Learning (ICML), pages 231–238. Morgan Kaufmann, 2000. https://homes.cs.washington.edu/~pedrod/papers/mlc00a.pdf.
  • Pedro Domingos. A few useful things to know about machine learning. Communications of the ACM, 55(10):78–87, 2012. doi:10.1145/2347736.2347755.
  • Bradley Efron and Carl Morris. Stein’s paradox in statistics. Scientific American, 236(5):119–127, 1977. doi:10.1038/scientificamerican0577-119.
  • Bradley Efron and Robert J. Tibshirani. An Introduction to the Bootstrap. Chapman & Hall, New York, 1993. doi:10.1201/9780429246593.
  • Stuart Geman, Elie Bienenstock, and René Doursat. Neural networks and the bias/variance dilemma. Neural Computation, 4(1):1–58, 1992. doi:10.1162/neco.1992.4.1.1.
  • Gerd Gigerenzer and Henry Brighton. Homo heuristicus: Why biased minds make better inferences. Topics in Cognitive Science, 1(1):107–143, 2009. doi:10.1111/j.1756-8765.2008.01006.x.
  • Trevor Hastie, Robert Tibshirani, and Jerome Friedman. The Elements of Statistical Learning: Data Mining, Inference, and Prediction. Springer, New York, 2nd edition, 2009. doi:10.1007/978-0-387-84858-7.
  • Trevor Hastie, Andrea Montanari, Saharon Rosset, and Ryan J. Tibshirani. Surprises in high-dimensional ridgeless least squares interpolation. The Annals of Statistics, 50(2):949–986, 2022. doi:10.1214/21-AOS2133.
  • Arthur E. Hoerl and Robert W. Kennard. Ridge regression: Biased estimation for nonorthogonal problems. Technometrics, 12(1):55–67, 1970. doi:10.1080/00401706.1970.10488634.
  • International Organization for Standardization. ISO 5725-1: Accuracy (trueness and precision) of measurement methods and results, part 1: General principles and definitions. International standard, 2nd edition, 2023. https://www.iso.org/standard/69418.html.
  • W. James and Charles Stein. Estimation with quadratic loss. In Proceedings of the Fourth Berkeley Symposium on Mathematical Statistics and Probability, volume 1, pages 361–379. University of California Press, 1961. https://projecteuclid.org/euclid.bsmsp/1200512173.
  • Joint Committee for Guides in Metrology. International vocabulary of metrology: Basic and general concepts and associated terms (VIM), 3rd edition. JCGM 200:2012, entries 2.13–2.18. BIPM, 2012. https://jcgm.bipm.org/vim/en/2.14.html.
  • Daniel Kahneman, Olivier Sibony, and Cass R. Sunstein. Noise: A Flaw in Human Judgment. Little, Brown Spark, New York, 2021.
  • Ron Kohavi and David H. Wolpert. Bias plus variance decomposition for zero-one loss functions. In Proceedings of the 13th International Conference on Machine Learning (ICML), pages 275–283. Morgan Kaufmann, 1996. https://ai.stanford.edu/~ronnyk/biasVar.pdf.
  • David Lazer, Ryan Kennedy, Gary King, and Alessandro Vespignani. The parable of Google Flu: Traps in big data analysis. Science, 343(6176):1203–1205, 2014. doi:10.1126/science.1248506.
  • Xiao-Li Meng. Statistical paradises and paradoxes in big data (I): Law of large populations, big data paradox, and the 2016 US presidential election. The Annals of Applied Statistics, 12(2):685–726, 2018. doi:10.1214/18-AOAS1161SF.
  • Kevin P. Murphy. Probabilistic Machine Learning: An Introduction. MIT Press, Cambridge, MA, 2022. https://probml.github.io/pml-book/book1.html.
  • Preetum Nakkiran, Gal Kaplun, Yamini Bansal, Tristan Yang, Boaz Barak, and Ilya Sutskever. Deep double descent: Where bigger models and more data hurt. In International Conference on Learning Representations (ICLR), 2020. https://arxiv.org/abs/1912.02292.
  • Brady Neal. On the bias–variance tradeoff: Textbooks need an update. Master’s thesis, Université de Montréal, 2019.
  • Brady Neal, Sarthak Mittal, Aristide Baratin, Vinayak Tantia, Matthew Scicluna, Simon Lacoste-Julien, and Ioannis Mitliagkas. A modern take on the bias–variance tradeoff in neural networks. ICML 2019 workshop paper, 2018.
  • Andrew Ng and Tengyu Ma. CS229 lecture notes, chapter 8: Generalization. Stanford University, 2023. https://cs229.stanford.edu/main_notes.pdf.
  • Houshmand Shirani-Mehr, David Rothschild, Sharad Goel, and Andrew Gelman. Disentangling bias and variance in election polls. Journal of the American Statistical Association, 113(522):607–614, 2018. doi:10.1080/01621459.2018.1448823.
  • Peverill Squire. Why the 1936 Literary Digest poll failed. Public Opinion Quarterly, 52(1):125–133, 1988. doi:10.1086/269085.
  • Charles Stein. Inadmissibility of the usual estimator for the mean of a multivariate normal distribution. In Proceedings of the Third Berkeley Symposium on Mathematical Statistics and Probability, volume 1, pages 197–206. University of California Press, 1956. https://projecteuclid.org/euclid.bsmsp/1200501656.
  • Andrey N. Tikhonov. Solution of incorrectly formulated problems and the regularization method. Soviet Mathematics Doklady, 4:1035–1038, 1963.
  • Kilian Q. Weinberger. Lecture 12: Bias–variance tradeoff. CS4780 machine learning for intelligent systems. Cornell University, 2018. https://www.cs.cornell.edu/courses/cs4780/2018fa/lectures/lecturenote12.html.
  • Zitong Yang, Yaodong Yu, Chong You, Jacob Steinhardt, and Yi Ma. Rethinking bias–variance trade-off for generalization of neural networks. In Proceedings of the 37th International Conference on Machine Learning (ICML), volume 119 of Proceedings of Machine Learning Research, pages 10767–10777, 2020. https://proceedings.mlr.press/v119/yang20j.html.