Quiz, Part 0: Neural networks from zero
Learning objectives
- Answer questions drawn at random from the practice questions of Part 0's ten sections, Sections 0.1 to 0.10, six from each
- Read the key and the reason after each answer, and reread the section a miss belongs to
This quiz covers Part 0, Neural networks from absolute zero. Its 60 questions are the practice questions of the Part's ten sections, six from each; every attempt draws 10 of them at random and puts their options in a new order, and each answer shows the key and the reason. An answer here counts toward its own section's mastery. A question's numbers are its section's, on the problem that section states; for most of the book that is the Marmousi2 window the FWI Lab holds, a 2D acoustic, constant-density slice of a published synthetic model, not field data.
What the sections teach
- Section 0.1, What is a neuron? Read a neuron's arithmetic, , and name each part.
- Section 0.2, Layers, depth, and universal approximation. Write a layer of neurons as a sum of switches, and a second layer as switches of those sums.
- Section 0.3, Activation functions and inductive bias. Name four activations (tanh, sine, swish, ReLU) and draw each with its first and second derivatives.
- Section 0.4, Loss functions and the loss landscape. Write a network's mean-squared loss on the column and read it as an RMS error in m/s.
- Section 0.5, Gradient descent by hand. Write one gradient-descent step and carry it out for two parameters.
- Section 0.6, The chain rule and backpropagation. State backpropagation as the chain rule run from the loss backwards, each node's delta reused for every edge into it.
- Section 0.7, Auto-differentiation as a computational graph. Run the chain rule forwards through a network's graph, each node carrying its value and its first and second derivatives with respect to the input.
- Section 0.8, Training loops and optimisers. Write the training loop every optimiser shares: the loss and its gradient, then a step.
- Section 0.9, Spectral bias and why physics needs it fixed. Measure a fit's error by wavelength: the DFT of the column and of the fit's error, and the share of each band the fit still misses.
- Section 0.10, A geophysics primer for ML readers. Describe the book's one earth, the Marmousi2 window the FWI Lab holds, and say what it is and what it is not.
Section 11.2 is the quiz of Part 1, The PINN formulation.