Research questionHow do gradient-based training dynamics determine the generalization gap of neural networks?Training and test performance can diverge as gradient-based updates change a neural network, yet existing analyses lack a general account of how this gap changes over time. The difficulty sharpens for binary activations, where straight-through training rules are discontinuous and it is unclear whether small sample changes yield stable predictors with controlled population error.