Search arXiv⌕ Search

arXiv subjects

Miaowen Dong

Publications and source records attributed to Miaowen Dong.

2 recordsLinked to original sources

Neural Scaling Laws and Feature Learning in Quadratic Neural Networks

Solvable random-feature models reproduce the power-law scaling of the test loss with model size $N$ and dataset size $T$, but they are linear in their parameters, so their features cannot change during training. We study the simplest extension that learns features: a quadratic random-feature model, in which a random meta-feature adds a term quadratic in the parameters and lets the effective features adapt to the data. To compute its test loss we introduce a diagrammatic framework for random-matrix averages, complementary to that of Maloney, Roberts and Sully, and derive the leading feature-learning correction in closed form. For clean labels, feature learning changes the prefactor of the scaling law but not its exponents; whether it helps or hurts depends on the ratio $T/N$, the spectral decay of the data and the choice of meta-feature, and it can make parameters and data no longer interchangeable. Numerical experiments confirm these predictions, which carry over to real images: on MNIST and CIFAR-10, the correction matches that of Gaussian inputs with the same covariance.

cs.LG↗

Equivariance and Augmentation for Bayesian Neural Networks

Symmetries are important for many deep learning tasks, ranging from applications in the sciences to medical imaging. However, there is an ongoing debate about whether to impose symmetry constraints on the neural network architecture (yielding equivariant neural networks) or learn them from augmented training data. Although equivariant networks are well-studied theoretically, much less is known about data augmentation, since analyzing augmentation requires control over the training dynamics. Inspired by recent results that show that augmented infinite deep ensembles are exactly equivariant, we study data augmentation for Bayesian neural networks (BNNs) trained with variational inference. We focus on variational distributions in the exponential family and derive conditions under which exact equivariance is reached. We furthermore obtain bounds on the equivariance error and introduce three novel symmetrization techniques which boost the effect of data augmentation in this setting. We conduct extensive numerical experiments which show that one of our symmetrization methods (orbit expansion) outperforms the baseline in both equivariance and overall performance. Our code is available at github.com/dmw1998/augment-BNNs

cs.LG↗