Year: 2026
Type: preprint
Abstract: These lecture notes are based on an introductory course on neural networks and deep learning that the author taught in the School of Mathematical Sciences at Queen Mary University of London in 2023/24 and 2024/25. The author, however, is a physicist, and it shows: wherever possible, ideas are explained with physical intuition rather than heavy formalism. Readers with a background in physics or mathematics who want a self-contained, introductory route into modern machine learning may therefore find these notes particularly friendly. The notes start from maximum likelihood, least squares, linear regression and (stochastic) gradient descent. They then cover neural networks, backpropagation, the vanishing gradient problem, batch and layer normalization, overfitting and regularization, adversarial examples, and the kernel method. The second half turns to natural language processing: word embeddings, recurrent networks and LSTMs, the attention mechanism and Transformers, and large language models, including scaling laws, the history of GPT, instruction tuning, reinforcement learning from human feedback, hallucination, alignment faking, chain-of-thought reasoning and test-time scaling. The emphasis on large language models reflects requests from the students. The notes are aimed at third- and fourth-year students in the UK system. Because the course was also taken by students from other departments, very little is assumed: even basic material such as matrix multiplication is explained from scratch, so readers familiar with it can safely skip such parts. No originality is claimed; the aim is a coherent, intuitive path through the material. Developments after spring 2025 are not covered, but the basic ideas emphasized here are unlikely to go out of date soon.
Source: arXiv (Cornell University)
Author: Hanada, Masanori
Institution: Queen Mary University of London
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Keywords: deep learning, artificial neural networks, linear regression, gradient descent, backpropagation, gradient vanishing, normalization, overfitting, regularization, adversarial examples, kernel methods, natural language processing, word embeddings, recurrent neural networks, LSTM, attention mechanism, transformer models, large language models, scaling laws, GPT, instruction tuning, reinforcement learning from human feedback, hallucinations, alignment faking, chain-of-thought reasoning, test-time scaling
Open Access status: green
OpenAlex ID: W7235530201
