Skip to content

Notes

Longer explanations, mathematical readings, and implementation notes.

Series

Verifying neural networks

How to prove what a neural network does on infinitely many inputs. Boxes, zonotopes, linear bounds and tropical geometry, then solvers and branch and bound, then training, probabilities, controllers and other architectures, and finally the category theory that ties them together. With figures you can play with and a small verifier written along the way.

  1. PrefaceWhy prove anything about a neural network?
  2. Chapter 1A question about infinitely many inputs
  3. Chapter 2Boxes, and what they forget
  4. Chapter 3Abstract interpretation: being wrong in the safe direction
  5. Chapter 4Zonotopes: remembering where every value came from
  6. Chapter 5Linear bounds: DeepPoly and CROWN
  7. Chapter 6Tropical geometry: the algebra in which ReLU is linear
  8. Chapter 7Exact answers: SMT, MILP and the price of completeness
  9. Chapter 8Branch and bound: splitting only where it helps
  10. Chapter 9Training networks that can be proved
  11. Chapter 10Probabilities: random inputs and randomized smoothing
  12. Chapter 11For all, there exists: inner and outer approximations
  13. Chapter 12Networks in the loop: verifying controllers
  14. Chapter 13Beyond feedforward networks: recurrence, attention and undecidability
  15. Chapter 14Categories: one construction behind all the others