SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2503.00856 · ICLR · 2025

Asymptotic Analysis of Two-Layer Neural Networks after One Gradient Step under Gaussian Mixtures Data with Structure

Zafer Dogan, Samet Demir

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 4 functions out of this paper's own repositories and ran 1 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
KU-MLIP/2-Layer-NNs-with-Gaussian-Mixtures-Data canonical 1 of 4
FunctionStatusWhere it lives
load_celebA Ran KU-MLIP/2-Layer-NNs-with-Gaussian-Mixtures-Data/utils.py
code served (permissive licence) · get_code("3a1c3d5bae9c495b")
dataloader Not yet run KU-MLIP/2-Layer-NNs-with-Gaussian-Mixtures-Data/dataloader.py
code served (permissive licence) · get_code("17a13fda48fac95a")
load_mnist Not yet run KU-MLIP/2-Layer-NNs-with-Gaussian-Mixtures-Data/utils.py
code served (permissive licence) · get_code("3ceb0ad81b0b7777")
save_images Not yet run KU-MLIP/2-Layer-NNs-with-Gaussian-Mixtures-Data/utils.py
code served (permissive licence) · get_code("eb49535f1d6b6115")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In this work, we study the training and generalization performance of two-layer neural networks (NNs) after one gradient descent step under structured data modeled by Gaussian mixtures. While previous research has extensively analyzed this model under isotropic data assumption, such simplifications overlook the complexities inherent in real-world datasets. Our work addresses this limitation by analyzing two-layer NNs under Gaussian mixture data assumption in the asymptotically proportional limit, where the input dimension, number of hidden neurons, and sample size grow with finite ratios. We characterize the training and generalization errors by leveraging recent advancements in Gaussian universality. Specifically, we prove that a high-order polynomial model performs equivalent to the nonlinear neural networks under certain conditions. The degree of the equivalent model is intricately linked to both the "data spread" and the learning rate employed during one gradient step. Through extensive simulations, we demonstrate the equivalence between the original model and its polynomial counterpart across various regression and classification tasks. Additionally, we explore how different properties of Gaussian mixtures affect learning outcomes. Finally, we illustrate experimental results on Fashion-MNIST classification, indicating that our findings can translate to realistic data.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2503.00856")
get_code_for_paper("2503.00856")
have("2503.00856")

Connect an agent — have() is free.