Measuring how well training sample gradients match the gradient direction of a held-out validation set.