Papers › Adam: A Method for Stochastic Optimization
Adam: A Method for Stochastic Optimization
Diederik P. Kingma, Jimmy Ba
We introduce Adam, an algorithm for first-order gradient-based optimization of stochastic objective functions, based on adaptive estimates of lower-order moments. The method is straightforward to implement, is computationally efficient, has little memory requirements, is invariant to diagonal rescaling of the gradients, and is well suited for problems that are large in terms of data and/or parameters. The method is also appropriate for non-stationary objectives and problems with very noisy and/or sparse gradients. The hyper-parameters have intuitive interpretations and typically require little tuning. Some connections to related algorithms, on which Adam was inspired, are discussed. We also analyze the theoretical convergence properties of the algorithm and provide a regret bound on the convergence rate that is comparable to the best known results under the online convex optimization framework. Empirical results demonstrate that Adam works well in practice and compares favorably to other stochastic optimization methods. Finally, we discuss AdaMax, a variant of Adam based on the infinity norm.
In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.
Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, on Syntology's MCP service (how to connect):
get_harvested_code_for_paper(arxiv_id="1412.6980")get_code(code_sha256="…")with a sample'scode_sha256from the list belowget_citation_path(paper_1="1412.6980", paper_2="…")with another paper's arXiv id or titleget_concepts_for_paper(arxiv_id="1412.6980")
Code
Syntology 37 code samples harvested from 14 repositories linked to this paper: 27 ran (of which 7 constructed an object rather than computing a result; 23 with no instrument failure: 4 honoured, 2 violated, 17 with no contract checked; 4 where Syntology's instrument failed) · 10 unverified. Where Syntology's instrument failed: 2 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.
By repository: community (archive-listed): 37 samples from 14 repositories, 27 ran (23 with no instrument failure; 4 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
No sample is linked to this paper from 13 of its repositories that Syntology harvested for other papers:
- 201419/Optimizer-PyTorch, community (archive-listed): harvested for another paper, listed under the repository
- BarbaAlGhul/recommender-system-thesis, community (archive-listed): harvested for another paper, listed under the repository
- TimRoith/BregmanLearning, community (archive-listed): harvested for another paper, listed under the repository
- alpaficia/MOSEAC_Limo, community (archive-listed): harvested for another paper, listed under the repository
- arampacha/clip-rsicd, community (archive-listed): harvested for another paper, listed under the repository
- bsvineethiitg/adams, community (archive-listed): harvested for another paper, listed under the repository
- hydrogo/rainnet, community (archive-listed): harvested for another paper, listed under the repository
- joseluis1061/neuralnilm, community (archive-listed): harvested for another paper, listed under the repository
- jpjuvo/64-3D-RaSGAN, community (archive-listed): harvested for another paper, listed under the repository
- siddarth-c/FedGMA, community (archive-listed): harvested for another paper, listed under the repository
- sisl/MultiAgentVariationalOcclusionInference, community (archive-listed): harvested for another paper, listed under the repository
- MindCode-4/code-11, community (archive-listed): harvested for another paper, listed under the repository
- MindSpore-scientific/code-3, community (archive-listed): harvested for another paper, listed under the repository
Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.
87 repositories listed; official and paper-mentioned ones first.
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.
A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.
Code Syntology ran Syntology
37 samples harvested: 27 ran (of which 7 constructed an object rather than computing a result; 23 with no instrument failure: 4 honoured, 2 violated, 17 with no contract checked; 4 where Syntology's instrument failed) · 10 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.
Licence: 8 of the 37 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 14 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.
Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.
A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.
8afdc607e63b281b · report
fixture: signature Y:Tensor/2/float, sigma2:NoneType/0/?, H:NoneType/0/? · returned tuple · level recorded 2026-09-26 0f7078f4c86b344a · report
fixture: signature Y:ndarray/2/float, cacb:float/0/float, sigma2:NoneType/0/?, H:NoneType/0/? · returned tuple · level recorded 2026-09-22 8f58597b290faee4 · report
fixture: signature Y:ndarray/2/float, cacb:float/0/float, sigma2:NoneType/0/?, H:NoneType/0/? · returned tuple · level recorded 2026-09-26 9e8ce2d162e22cdd · report
fixture: signature sigma2:float/0/float, L:int/0/int, M:int/0/int, cacb:float/0/float, s:ndarray/1/float, residual:float/0/float · returned float64 · level recorded 2026-09-22 cd7d9260519b0c88 · report
fixture: signature pretrained:bool/0/bool, progress:bool/0/bool · returned AlexNet · level recorded 2026-09-26 9a5925e41635d417 · report
fixture: signature str_number:str/0/str · returned float · level recorded 2026-09-26 0a32bb4b38232251 · report
fixture: signature string:str/0/str, e:str/0/str · returned float · level recorded 2026-09-26 d05c0d4ad3893add · report
fixture: signature node:AnnAssign/0/? · returned AnnAssign · level recorded 2026-09-26 b8d84bad5cfe2f9c · report
fixture: signature node:FunctionDef/0/? · returned bool · level recorded 2026-09-26 census: 9 implementations from 11 papers, 6 distinct outputs across 4 buckets, one shared input per bucket left_right_driving_data_preprocessing.py ran fingerprinted MIT (permissive) ·
755b233b6180c3d0 · report
fixture: signature a:ndarray/1/float, n:int/0/int · returned ndarray · level recorded 2026-09-26 6f648e6ff626dfd5 · report
fixture: returned Adam_cls · level recorded 2026-09-22 35275a9e3c1edf4f · report
fixture: signature Y:Tensor/2/float, sigma2:NoneType/0/?, H:NoneType/0/? · returned tuple · level recorded 2026-09-26 e2f77eaf75568aa2 · report
fixture: signature sigma2:float/0/float, L:int/0/int, M:int/0/int, s:ndarray/1/float, residual:float/0/float, xubar:float/0/float · returned float64 · level recorded 2026-09-22 2760d409b48cf23f · report
fixture: signature x:ndarray/1/float · returned ndarray · level recorded 2026-09-22 d617942446009de2 · report
fixture: signature dw:ndarray/2/float · returned ndarray · level recorded 2026-09-24 77da68eb2be45988 · report
fixture: returned optimizer · level recorded 2026-09-22 7f2c925da971c0b5 · report
fixture: returned Adam · level recorded 2026-09-22 2601595a91035c3b · report
fixture: returned Optimizer · level recorded 2026-09-22 2425339890ade98d · report
fixture: signature x:float/0/float · returned float · level recorded 2026-09-22 3c047cbc5f859f9b · report
fixture: signature x:int/0/int · returned int · level recorded 2026-09-22 62c36ccd5072fcd8 · report
fixture: signature mu:ndarray/1/float, q:float/0/float · returned ndarray · level recorded 2026-09-22 c5c5da8da7132910 · report
da1304a720259f4d · report
fixture: signature objective:callable/0/?, derivative:callable/0/?, bounds:ndarray/2/float, n_iter:int/0/int, alpha:float/0/float, beta1:float/0/float, beta2:float/0/float, eps:float/0/float · returned list · level recorded 2026-09-22 4618e61672a36671 · report
fixture: signature x:float/0/float, y:float/0/float · returned ndarray · level recorded 2026-09-22 f6c61d4de559ffe9 · report
fixture: signature x:float/0/float, y:float/0/float · returned float · level recorded 2026-09-22 1a88d05a828e9b9c · report
a3a5ccc0ea8274ee · report
540ea376e18a8af6 · report
7ce4d43450d6e037 · report
fixture: returned NeuralNetwork · level recorded 2026-09-22 cbb1359e9a11e474 · report
fixture: returned Adam · level recorded 2026-09-22 10c32bb6eaf9662a · report
9dfa8e2f09245ff2 · report
fixture: returned AdamState · level recorded 2026-09-22 c48006199ed3e050 · report
Method as code Syntology
What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it. Siblings are assemblies lifted from this paper in the same batch for the same method: alternative readings kept side by side; none replaces or supersedes another.
9 assemblies on this paper: 9 harvested, 0 generated, listed in 1 groups (siblings lifted in one batch form one group).
9 sibling assemblies for Adam (harvested), lifted in the same batch on 2026-09-09: alternative readings kept side by side; none replaces or supersedes another.
harvested Assembly for Adam (graph method: Adam). 4 bricks; individually on a fixture: 4 ran (of which 2 constructed an object rather than computing a result; 4 with no instrument failure: 2 honoured, 0 violated, 2 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified. The assembly has not been run end-to-end.
one of 9 siblings
- Adam entry · level 1 · ran ·
7f2c925da971c0b5 - Optimizer helper · level 1 · ran ·
2601595a91035c3b - positive_float helper · level 1 · ran · honoured contract ·
2425339890ade98d - positive_int helper · level 1 · ran · honoured contract ·
3c047cbc5f859f9b
harvested Assembly for Adam (graph method: Adam). 2 bricks; individually on a fixture: 1 ran (of which 1 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 1 unverified; the one sample that ran constructed an object rather than computing a result. The assembly has not been run end-to-end.
one of 9 siblings
- Adam entry · level 0 · unverified ·
c48006199ed3e050 - AdamState helper · level 1 · ran ·
9dfa8e2f09245ff2
harvested Assembly for Adam (graph method: Adam). 2 bricks; individually on a fixture: 2 ran (of which 1 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 0 violated, 2 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified. The assembly has not been run end-to-end.
one of 9 siblings
harvested Assembly for Adam (graph method: Adam). 1 brick; individually on a fixture: 1 ran (of which 1 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified; the one sample that ran constructed an object rather than computing a result. The assembly has not been run end-to-end.
one of 9 siblings
- Adam entry · level 1 · ran ·
cbb1359e9a11e474
harvested Assembly for Adam (graph method: Adam). 1 brick; individually on a fixture: 1 ran (of which 1 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified; the one sample that ran constructed an object rather than computing a result. The assembly has not been run end-to-end.
one of 9 siblings
- NeuralNetwork entry · level 1 · ran ·
7ce4d43450d6e037
harvested Assembly for Adam (graph method: Adam). 2 bricks; individually on a fixture: 1 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 1 unverified. The assembly has not been run end-to-end.
one of 9 siblings
- optimize entry · level 0 · unverified ·
c5c5da8da7132910 - st_ops helper · level 1 · ran; the contract check could not run (RAISES) ·
62c36ccd5072fcd8
harvested Assembly for Adam (graph method: Adam). 1 brick; individually on a fixture: 1 ran (of which 1 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified; the one sample that ran constructed an object rather than computing a result. The assembly has not been run end-to-end.
one of 9 siblings
- Adam_cls entry · level 1 · ran ·
6f648e6ff626dfd5
harvested Assembly for Adam (graph method: Adam). 3 bricks; individually on a fixture: 3 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 2 honoured, 0 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified. The assembly has not been run end-to-end.
one of 9 siblings
harvested Assembly for Adam (graph method: Adam). 3 bricks; individually on a fixture: 2 ran (of which 2 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 0 violated, 2 with no contract checked; 0 where Syntology's instrument failed) · 1 unverified; every one of the 2 samples that ran constructed an object rather than computing a result. The assembly has not been run end-to-end.
one of 9 siblings
- Adam entry · level 0 · unverified ·
10c32bb6eaf9662a - GenericAdaptiveOptimizer helper · level 1 · ran ·
15bc730db57a3642 - WeightDecay helper · level 1 · ran ·
ba6a2ba94fbeb5e9
Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="1412.6980") returns these assemblies with each brick's role and wiring (how to connect).
Tasks
Results from the paper archive 2025-07-28
No leaderboard rows for this paper in the archive.
Methods
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