Papers › Beyond a Single Explanation of the Adam--SGD Gap

Beyond a Single Explanation of the Adam--SGD Gap

12 Jun 2026arXiv:2606.14259added by Syntology

Chenxiang Zhang, Rustem Islamov, Enea Monzio Compagnoni, Jun Pang, Aurelien Lucchi, Antonio Orvieto

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Prior work has identified several factors that can contribute to the performance gap between Adam and SGD, spanning data aspects, architecture design, and optimization properties. Yet these explanations are often studied in isolation, leaving their relative importance unclear. In this work, we revisit these hypotheses through a controlled empirical study across vision, language, genomics, and graph tasks, spanning modern and classical architectures, and carefully designed training setups. Our results suggest that no single factor consistently explains the Adam--SGD gap. For instance, the Adam advantage can (1) persist under a uniform vocabulary distribution yet nearly disappear under a heavy-tailed one; (2) reverse in favor of SGD in softmax-attention models; and (3) become larger under soft architectural modifications, e.g., when ReLU is replaced by a GeLU nonlinearity. This suggests that the gap arises from nontrivial data and architecture interactions, rather than from a single common factor. Yet, we observe a pattern across our settings: a \emph{crossover batch size} at which the relative advantage shifts from SGD to Adam as the batch size scales. These empirical results are captured by our theoretical gap model, which predicts this batch-size-dependent crossover. Our perspective helps reconcile several existing hypotheses while offering practical insights across domains.

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="2606.14259")

Code

Syntology Ran 22 of 25 code samples harvested from 2 repositories linked to this paper; 3 have no recorded run. Of those that ran: 22 ran with no contract checked.

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

lucidrains/vit-pytorch found in paper text by Syntology report
LiamMa/GRIT found in paper text by SyntologyMIT report
orientino/gap found in paper text by Syntology report

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

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

22ran
3unverified

Licence: 0 of the 25 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

accuracy_SBM LiamMa/GRIT/grit/logger.py found in paper text by Syntology ran MIT (permissive) · ecf14287d3465c48 · report
add_aggregate_loss orientino/gap/_plot_utils.py found in paper text by Syntology ran Apache-2.0 (permissive) · 9ca8f33fe86bb265 · report
apply_rotary_emb orientino/gap/language/model.py found in paper text by Syntology ran Apache-2.0 (permissive) · c400816c9ec79f9f · report
compute_axial_cis orientino/gap/vision/model.py found in paper text by Syntology ran Apache-2.0 (permissive) · 85a782a793e8ffe1 · report
convnext_tiny orientino/gap/vision/model_convnext.py found in paper text by Syntology ran Apache-2.0 (permissive) · 2d81ed4b2a99020d · report
eval_spearmanr LiamMa/GRIT/grit/logger.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 9dc78001d467fc9d · report
gcnn_small orientino/gap/language/model_gcnn.py found in paper text by Syntology ran Apache-2.0 (permissive) · ca1f47b2a6e190ce · report
get_dataloaders orientino/gap/genomics/data.py found in paper text by Syntology ran Apache-2.0 (permissive) · 4740a336be8375d0 · report
get_final_pretrained_ckpt LiamMa/GRIT/grit/finetuning.py found in paper text by Syntology ran MIT (permissive) · 1bb331bf70a78136 · report
get_hg38_char_dataloaders orientino/gap/genomics/data.py found in paper text by Syntology ran Apache-2.0 (permissive) · 2e17c467e6e1c07f · report
get_hg38_kmer_dataloaders orientino/gap/genomics/data.py found in paper text by Syntology ran Apache-2.0 (permissive) · cb48934d64099708 · report
get_log_deg LiamMa/GRIT/grit/layer/grit_layer.py found in paper text by Syntology ran MIT (permissive) · b5c9e7acf599a98a · report
gpt_small orientino/gap/language/model.py found in paper text by Syntology ran Apache-2.0 (permissive) · 3896a13d569e632c · report
init_model_from_pretrained LiamMa/GRIT/grit/finetuning.py found in paper text by Syntology ran MIT (permissive) · 9e4db46ba20af98e · report
init_t_xy orientino/gap/vision/model.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 27d774f9c3ee1a49 · report
posemb_sincos_1d orientino/gap/language/model_gcnn.py found in paper text by Syntology ran Apache-2.0 (permissive) · 0ab15fea2bec5aaf · report
precompute_freqs_cis orientino/gap/language/model.py found in paper text by Syntology ran Apache-2.0 (permissive) · 07d78260ee121828 · report
reshape_for_broadcast orientino/gap/vision/model.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 2a42dbf54fd0d1fe · report
resnet18 orientino/gap/vision/model_resnet.py found in paper text by Syntology ran Apache-2.0 (permissive) · 8d60dd66630e993f · report
resnet50 orientino/gap/vision/model_resnet.py found in paper text by Syntology ran Apache-2.0 (permissive) · b592361a494969d3 · report
resnet_transition orientino/gap/vision/model_transition.py found in paper text by Syntology ran Apache-2.0 (permissive) · f4248ba076d7cd2b · report
subtoken_cross_entropy LiamMa/GRIT/grit/loss/subtoken_prediction_loss.py found in paper text by Syntology ran MIT (permissive) · 47e492109e6d308f · report
adj_l1_losses LiamMa/GRIT/grit/loss/adj.py found in paper text by Syntology unverified MIT (permissive) · dc82c18c9d42c1c1 · report
l1_losses LiamMa/GRIT/grit/loss/l1.py found in paper text by Syntology unverified MIT (permissive) · d59c374db2cf64ae · report
multilabel_cross_entropy LiamMa/GRIT/grit/loss/multilabel_classification_loss.py found in paper text by Syntology unverified MIT (permissive) · f1cbbbc857d8b871 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2606.14259, was issued in June 2026, after that date, so the archive has no leaderboard rows for it.

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