Papers › Does SGD really happen in tiny subspaces?

Does SGD really happen in tiny subspaces?

25 May 2024arXiv:2405.16002archive 2025-07-28

Minhak Song, Kwangjun Ahn, Chulhee Yun

Understanding the training dynamics of deep neural networks is challenging due to their high-dimensional nature and intricate loss landscapes. Recent studies have revealed that, along the training trajectory, the gradient approximately aligns with a low-rank top eigenspace of the training loss Hessian, referred to as the dominant subspace. Given this alignment, this paper explores whether neural networks can be trained within the dominant subspace, which, if feasible, could lead to more efficient training methods. Our primary observation is that when the SGD update is projected onto the dominant subspace, the training loss does not decrease further. This suggests that the observed alignment between the gradient and the dominant subspace is spurious. Surprisingly, projecting out the dominant subspace proves to be just as effective as the original update, despite removing the majority of the original update component. We observe similar behavior across practical setups, including the large learning rate regime (also known as Edge of Stability), Sharpness-Aware Minimization, momentum, and adaptive optimizers. We discuss the main causes and implications of this spurious alignment, shedding light on the dynamics of neural network training.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2405.16002")

Code

Syntology Ran 14 of 15 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 1 ran · our draft was wrong; 13 ran with no contract checked.

By repository: found in paper text by Syntology: 15 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

locuslab/edge-of-stability found in paper text by Syntology report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 14 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
13ran
1unverified

Licence: 15 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from locuslab/edge-of-stability. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

center locuslab/edge-of-stability/src/cifar.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · b37b8602123cd711 · report
conv3x3 locuslab/edge-of-stability/src/resnet_cifar.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · fac5364e2f53c6db · report
flatten locuslab/edge-of-stability/src/cifar.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 5ae58d45938cf313 · report
get_activation locuslab/edge-of-stability/src/archs.py found in paper text by Syntology ran no licence file found · pointer only · 9d866a28174c7773 · report
get_adam_nu locuslab/edge-of-stability/src/adam.py found in paper text by Syntology ran no licence file found · pointer only · c9020a109e8d40e6 · report
get_flow_directory locuslab/edge-of-stability/src/utilities.py found in paper text by Syntology ran no licence file found · pointer only · 6fc397cdc1cb7bfd · report
get_gd_directory locuslab/edge-of-stability/src/utilities.py found in paper text by Syntology ran no licence file found · pointer only · 668f4bd271368cb3 · report
get_modified_flow_directory locuslab/edge-of-stability/src/utilities.py found in paper text by Syntology ran no licence file found · pointer only · 469c24f9be20c5be · report
get_pooling locuslab/edge-of-stability/src/archs.py found in paper text by Syntology ran no licence file found · pointer only · 295abaa4814b4e95 · report
make_chebyshev_dataset locuslab/edge-of-stability/src/synthetic.py found in paper text by Syntology ran no licence file found · pointer only · 5107ac691376fc43 · report
make_layers locuslab/edge-of-stability/src/vgg.py found in paper text by Syntology ran no licence file found · pointer only · ac62432dc5134b0d · report
num_input_channels locuslab/edge-of-stability/src/data.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 3f99563e280b4081 · report
standardize locuslab/edge-of-stability/src/cifar.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · c931ef45cfe86923 · report
unflatten locuslab/edge-of-stability/src/data.py found in paper text by Syntology ran no licence file found · pointer only · 6e1ce477ef41fc78 · report
make_linear_dataset locuslab/edge-of-stability/src/synthetic.py found in paper text by Syntology unverified no licence file found · pointer only · f04e278f3a337f1a · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SGDSharpness-Aware Minimization

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections