§ Gradients · Interactive Graduate Primer
Tensor by Tensor · expanded

Further reading

Learn how changing several inputs changes one output. Begin with partial derivatives, then explore gradient descent, backpropagation, and optimizers. The later sections include proofs and deeper mathematical detail.
A first reading path

Start with sections 2–4, then section 7. Return to the directional-derivative proof after you understand a gradient-descent update. An optimizer is a rule for updating the model’s adjustable numbers.

For L(a, b) = a² + 2b², the gradient at (1, 2) is [2, 8]. The first entry measures change along a while b stays fixed. The second measures change along b while a stays fixed. With step size 0.1, subtract [0.2, 0.8] to reach (0.8, 1.2). The loss falls from 9 to 3.52.

Check: why subtract the gradient?

The gradient points toward the steepest local increase under the usual Euclidean length measure. Subtracting it moves toward a local decrease when the step is small enough. A large step can still overshoot and increase the loss.

14. References

Introduction

This reading list supports different next steps rather than one linear lesson. It groups sources for mathematical foundations, neural-network backpropagation, convex optimization, and the design and behavior of modern optimizers.

Learning goal

Choose an appropriate source for a specific gap and understand what each reference category contributes.

Before you start

Familiarity with the main gradient topics in this guide and a question to investigate.

Lesson plan

  1. Use foundation texts to strengthen derivatives, gradients, and deep-learning notation.
  2. Choose neural-network or convex-optimization sources for proofs and broader context.
  3. Read optimizer surveys and papers when comparing update rules and practical assumptions.
  1. Goodfellow, Bengio, Courville. Deep Learning, §4.3–4.4.
  2. Nielsen. Neural Networks and Deep Learning, Ch. 2.
  3. Boyd & Vandenberghe. Convex Optimization.
  4. Ruder. "An overview of gradient descent optimization algorithms." arXiv:1609.04747.
  5. Kingma & Ba. "Adam." arXiv:1412.6980.
  6. Loshchilov & Hutter. "Decoupled Weight Decay Regularization." arXiv:1711.05101.
  7. Jordan. "Dynamical, Symplectic and Stochastic Perspectives on Gradient-Based Optimization." ICM 2018.