[2211.13239] Relating Regularization and Generalization through the Intrinsic Dimension of Activations