References

Axler, Sheldon. 2024. Linear Algebra Done Right. 4th ed. Undergraduate Texts in Mathematics. Springer. https://doi.org/10.1007/978-3-031-41026-0.
Ba, Jimmy Lei, Jamie Ryan Kiros, and Geoffrey E. Hinton. 2016. Layer Normalization. https://arxiv.org/abs/1607.06450.
Bahdanau, Dzmitry, Kyunghyun Cho, and Yoshua Bengio. 2014. Neural Machine Translation by Jointly Learning to Align and Translate. https://arxiv.org/abs/1409.0473.
Baydin, Atılım Güneş, Barak A. Pearlmutter, Alexey Andreyevich Radul, and Jeffrey Mark Siskind. 2018. “Automatic Differentiation in Machine Learning: A Survey.” Journal of Machine Learning Research 18 (153): 1–43. https://jmlr.org/papers/v18/17-468.html.
Bengio, Yoshua, Réjean Ducharme, Pascal Vincent, and Christian Jauvin. 2003. “A Neural Probabilistic Language Model.” Journal of Machine Learning Research 3: 1137–55. https://www.jmlr.org/papers/v3/bengio03a.html.
Billingsley, Patrick. 1995. Probability and Measure. 3rd ed. Wiley. https://openlibrary.org/isbn/0471007102.
Bolte, Jérôme, and Edouard Pauwels. 2020. A Mathematical Model for Automatic Differentiation in Machine Learning. https://arxiv.org/abs/2006.02080.
Bottou, Léon, Frank E. Curtis, and Jorge Nocedal. 2018. “Optimization Methods for Large-Scale Machine Learning.” SIAM Review 60 (2): 223–311. https://doi.org/10.1137/16M1080173.
Boyd, Stephen, and Lieven Vandenberghe. 2004. Convex Optimization. Cambridge University Press. https://doi.org/10.1017/CBO9780511804441.
Chen, Stanley F., and Joshua Goodman. 1999. “An Empirical Study of Smoothing Techniques for Language Modeling.” Computer Speech & Language 13 (4): 359–93. https://doi.org/10.1006/csla.1999.0128.
Chen, Tianqi, Bing Xu, Chiyuan Zhang, and Carlos Guestrin. 2016. Training Deep Nets with Sublinear Memory Cost. https://arxiv.org/abs/1604.06174.
Clifford, W. K. 1871. “Preliminary Sketch of Biquaternions.” Proceedings of the London Mathematical Society s1-4 (1): 381–95. https://doi.org/10.1112/plms/s1-4.1.381.
Cover, Thomas M., and Joy A. Thomas. 2006. Elements of Information Theory. 2nd ed. Wiley. https://doi.org/10.1002/047174882X.
Cybenko, G. 1989. “Approximation by Superpositions of a Sigmoidal Function.” Mathematics of Control, Signals, and Systems 2 (4): 303–14. https://doi.org/10.1007/BF02551274.
Deisenroth, Marc Peter, A. Aldo Faisal, and Cheng Soon Ong. 2020. Mathematics for Machine Learning. Cambridge University Press. https://doi.org/10.1017/9781108679930.
Glorot, Xavier, and Yoshua Bengio. 2010. “Understanding the Difficulty of Training Deep Feedforward Neural Networks.” Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, Proceedings of machine learning research, vol. 9: 249–56. https://proceedings.mlr.press/v9/glorot10a.html.
Goh, Gabriel. 2017. “Why Momentum Really Works.” Distill 2 (4). https://doi.org/10.23915/distill.00006.
Goldberg, David. 1991. “What Every Computer Scientist Should Know about Floating-Point Arithmetic.” ACM Computing Surveys 23 (1): 5–48. https://doi.org/10.1145/103162.103163.
Goodfellow, Ian, Yoshua Bengio, and Aaron Courville. 2016. Deep Learning. MIT Press. https://www.deeplearningbook.org/.
Griewank, Andreas. 1992. “Achieving Logarithmic Growth of Temporal and Spatial Complexity in Reverse Automatic Differentiation.” Optimization Methods and Software 1 (1): 35–54. https://doi.org/10.1080/10556789208805505.
Griewank, Andreas, and Andrea Walther. 2000. “Algorithm 799: Revolve: An Implementation of Checkpointing for the Reverse or Adjoint Mode of Computational Differentiation.” ACM Transactions on Mathematical Software 26 (1): 19–45. https://doi.org/10.1145/347837.347846.
Griewank, Andreas, and Andrea Walther. 2008. Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation. 2nd ed. Society for Industrial; Applied Mathematics. https://doi.org/10.1137/1.9780898717761.
Grinstead, Charles M., and J. Laurie Snell. 1997. Introduction to Probability. 2nd ed. American Mathematical Society. https://math.dartmouth.edu/~prob/prob/prob.pdf.
He, Kaiming, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2015. Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification. https://arxiv.org/abs/1502.01852.
He, Kaiming, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. “Deep Residual Learning for Image Recognition.” 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 770–78. https://doi.org/10.1109/CVPR.2016.90.
Higham, Nicholas J. 2002. Accuracy and Stability of Numerical Algorithms. 2nd ed. Society for Industrial; Applied Mathematics. https://doi.org/10.1137/1.9780898718027.
Hornik, Kurt, Maxwell Stinchcombe, and Halbert White. 1989. “Multilayer Feedforward Networks Are Universal Approximators.” Neural Networks 2 (5): 359–66. https://doi.org/10.1016/0893-6080(89)90020-8.
IEEE. 2019. IEEE Standard for Floating-Point Arithmetic. IEEE Std 754-2019. IEEE. https://doi.org/10.1109/IEEESTD.2019.8766229.
Jurafsky, Daniel, and James H. Martin. 2026. Speech and Language Processing. 3rd, draft of 19 August 2026. https://web.stanford.edu/~jurafsky/slp3/.
Kahn, A. B. 1962. “Topological Sorting of Large Networks.” Communications of the ACM 5 (11): 558–62. https://doi.org/10.1145/368996.369025.
Kakade, Sham, and Jason D. Lee. 2018. Provably Correct Automatic Subdifferentiation for Qualified Programs. https://arxiv.org/abs/1809.08530.
Karpathy, Andrej. 2020. Micrograd: A Tiny Scalar-Valued Autograd Engine and a Neural Net Library on Top of It. GitHub repository. https://github.com/karpathy/micrograd.
Karpathy, Andrej. 2026a. “Microgpt.” February 12. https://karpathy.github.io/2026/02/12/microgpt/.
Karpathy, Andrej. 2026b. Microgpt.py: Train and Run a GPT in Pure, Dependency-Free Python. GitHub gist. https://gist.github.com/karpathy/8627fe009c40f57531cb18360106ce95.
Kingma, Diederik P., and Jimmy Ba. 2014. Adam: A Method for Stochastic Optimization. https://arxiv.org/abs/1412.6980.
Leshno, Moshe, Vladimir Ya. Lin, Allan Pinkus, and Shimon Schocken. 1993. “Multilayer Feedforward Networks with a Nonpolynomial Activation Function Can Approximate Any Function.” Neural Networks 6 (6): 861–67. https://doi.org/10.1016/S0893-6080(05)80131-5.
Lessard, Laurent, Benjamin Recht, and Andrew Packard. 2016. “Analysis and Design of Optimization Algorithms via Integral Quadratic Constraints.” SIAM Journal on Optimization 26 (1): 57–95. https://doi.org/10.1137/15M1009597.
Linnainmaa, Seppo. 1976. “Taylor Expansion of the Accumulated Rounding Error.” BIT 16 (2): 146–60. https://doi.org/10.1007/BF01931367.
MacKay, David J. C. 2003. Information Theory, Inference, and Learning Algorithms. Cambridge University Press. https://www.inference.org.uk/itila/.
Nesterov, Yurii. 2018. Lectures on Convex Optimization. 2nd ed. Vol. 137. Springer Optimization and Its Applications. Springer. https://doi.org/10.1007/978-3-319-91578-4.
Nocedal, Jorge, and Stephen J. Wright. 2006. Numerical Optimization. 2nd ed. Springer Series in Operations Research and Financial Engineering. Springer. https://doi.org/10.1007/978-0-387-40065-5.
Polyak, B. T. 1964. “Some Methods of Speeding up the Convergence of Iteration Methods.” USSR Computational Mathematics and Mathematical Physics 4 (5): 1–17. https://doi.org/10.1016/0041-5553(64)90137-5.
PyTorch Contributors. 2026. “Autograd Mechanics.” PyTorch documentation. https://docs.pytorch.org/docs/stable/notes/autograd.html.
Radford, Alec, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language Models Are Unsupervised Multitask Learners. OpenAI. https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf.
Reddi, Sashank J., Satyen Kale, and Sanjiv Kumar. 2018. On the Convergence of Adam and Beyond. https://arxiv.org/abs/1904.09237.
Robbins, Herbert, and Sutton Monro. 1951. “A Stochastic Approximation Method.” The Annals of Mathematical Statistics 22 (3): 400–407. https://doi.org/10.1214/aoms/1177729586.
Rumelhart, David E., Geoffrey E. Hinton, and Ronald J. Williams. 1986. “Learning Representations by Back-Propagating Errors.” Nature 323 (6088): 533–36. https://doi.org/10.1038/323533a0.
Sennrich, Rico, Barry Haddow, and Alexandra Birch. 2016. “Neural Machine Translation of Rare Words with Subword Units.” Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 1715–25. https://doi.org/10.18653/v1/P16-1162.
Shannon, C. E. 1948. “A Mathematical Theory of Communication.” Bell System Technical Journal 27 (3): 379–423. https://doi.org/10.1002/j.1538-7305.1948.tb01338.x.
Stoer, J., and R. Bulirsch. 2002. Introduction to Numerical Analysis. 3rd ed. Texts in Applied Mathematics. Springer. https://doi.org/10.1007/978-0-387-21738-3.
Tarjan, Robert. 1972. “Depth-First Search and Linear Graph Algorithms.” SIAM Journal on Computing 1 (2): 146–60. https://doi.org/10.1137/0201010.
Vaswani, Ashish, Noam Shazeer, Niki Parmar, et al. 2017. “Attention Is All You Need.” Advances in Neural Information Processing Systems 30. https://arxiv.org/abs/1706.03762.
Wasserman, Larry. 2004. All of Statistics: A Concise Course in Statistical Inference. Springer Texts in Statistics. Springer. https://doi.org/10.1007/978-0-387-21736-9.
Wengert, R. E. 1964. “A Simple Automatic Derivative Evaluation Program.” Communications of the ACM 7 (8): 463–64. https://doi.org/10.1145/355586.364791.
Xiong, Ruibin, Yunchang Yang, Di He, et al. 2020. “On Layer Normalization in the Transformer Architecture.” Proceedings of the 37th International Conference on Machine Learning. https://arxiv.org/abs/2002.04745.
Zhang, Biao, and Rico Sennrich. 2019. “Root Mean Square Layer Normalization.” Advances in Neural Information Processing Systems 32. https://arxiv.org/abs/1910.07467.
Zorich, Vladimir A. 2015. Mathematical Analysis I. 2nd ed. Universitext. Springer. https://doi.org/10.1007/978-3-662-48792-1.
Zorich, Vladimir A. 2016. Mathematical Analysis II. 2nd ed. Universitext. Springer. https://doi.org/10.1007/978-3-662-48993-2.