How a neural network learns: a maths EPQ idea
A title to start from
How does a neural network learn, and how much of it is calculus you already know?
Why it works as an EPQ
Gradient descent and the chain rule are A Level ideas at heart; building a tiny network shows exactly where they appear.
Scope and difficulty
Ambitious. Ambitious. A network with one hidden layer on a small problem, written and explained by you.
The maths
Builds on these A Level topics: Differentiation · Numerical methods · Algebra and functions.
You would learn:
- Partial derivatives
- Gradient descent
- Backpropagation as the chain rule
One possible plan
- Fit a straight line by gradient descent and explain each step.
- Build a one-hidden-layer network and derive its updates with the chain rule.
- Train it on a simple data set and study the learning rate.
- Judge how far 'just calculus' explains modern systems.
Pitfalls
- Using a library you cannot explain.
- Claims about large AI systems without sources.
Where to start reading
- Mathematics for Machine Learning (Deisenroth, Faisal and Ong)
- Search for: backpropagation chain rule worked example
Making something? Read the artefact guide first: an artefact still needs a research-based written report.
Similar ideas
- Quick routes for the travelling salesmanHow close can quick methods get to the best route in the travelling salesman problem?
- How computers fake randomnessHow can a computer, which follows rules, produce random numbers, and how random are they?
- Hash collisions and the birthday problemHow likely are two different files to share a hash, and what does the birthday problem say about security?
- How RSA keeps payments secureHow does RSA encryption keep online payments secure, and what would it take to break it?
All maths and computer science ideas · all 93 ideas
Your EPQ must be your own work. These pages coach: ideas, structure, checklists and planning. Submitting text, proofs, code or analysis written by someone else or by an AI tool as your own is malpractice. How to use help and AI honestly.