SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.01685 · NeurIPS · 2023

MKOR: Momentum-Enabled Kronecker-Factor-Based Optimizer Using Rank-1 Updates

Zhao Zhang, Mohammad Mozaffari, Sikan Li, Maryam Dehnavi

arXiv · PDF · Open in the Atlas

Code that ran

9 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 3 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2306.01685.json · badge: /api/ran/2306.01685.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
mohammad-mozaffari/mkor alias (classifier label)
classifier basis: classifier_2025
9 ran · 1 no recorded run
FunctionStatusWhere it lives
ComputeCovA Ran
ran on a synthesized input
mohammad-mozaffari/mkor/mkor/mkor.py
pointer only (licence: NONE) · get_code("8e5181cec3cb7d0c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mohammad-mozaffari/mkor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ComputeCovG Ran
ran on a synthesized input
mohammad-mozaffari/mkor/mkor/mkor.py
pointer only (licence: NONE) · get_code("d2f1ea938929fecd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mohammad-mozaffari/mkor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ComputeG Ran
ran on a synthesized input
mohammad-mozaffari/mkor/mkor/mkor.py
pointer only (licence: NONE) · get_code("fd12dec47efc6010")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mohammad-mozaffari/mkor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ComputeI Ran
ran on a synthesized input
mohammad-mozaffari/mkor/mkor/mkor.py
pointer only (licence: NONE) · get_code("834785f37b636745")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mohammad-mozaffari/mkor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

EmptyBackend Ran
ran on a synthesized input · constructed an object; no result was computed
mohammad-mozaffari/mkor/mkor/mkor.py
pointer only (licence: NONE) · get_code("1e2ee6e87930866f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mohammad-mozaffari/mkor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Timer Ran
ran on a synthesized input · constructed an object; no result was computed
mohammad-mozaffari/mkor/mkor/mkor.py
pointer only (licence: NONE) · get_code("61eef187833440e6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mohammad-mozaffari/mkor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_extract_patches Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mohammad-mozaffari/mkor/mkor/mkor.py
pointer only (licence: NONE) · get_code("9a1d18d135e2e134")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mohammad-mozaffari/mkor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sm_inverse Ran
ran; our contract draft was wrong, not the code
mohammad-mozaffari/mkor/mkor/mkor.py
pointer only (licence: NONE) · get_code("a2a278e05b22e5e5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mohammad-mozaffari/mkor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

try_contiguous Ran
ran; our contract draft was wrong, not the code
mohammad-mozaffari/mkor/mkor/mkor.py
pointer only (licence: NONE) · get_code("c37ec5fa3e9fd20c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mohammad-mozaffari/mkor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MKOR Not yet run
unverified (harvested, no recorded run)
mohammad-mozaffari/mkor/mkor/mkor.py
pointer only (licence: NONE) · get_code("c5fca7ca09dcf5c0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mohammad-mozaffari/mkor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 1 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
try_contiguous
brick of this paper's assembly: helper
3 other papers
2 dated earlier, 1 later
1503.05671 (2015-03)
Optimizing Neural Networks with Kronecker-factored Approximate Curvature
2007.00784 (2020-07)
Convolutional Neural Network Training with Distributed K-FAC
2605.18591 (2026-05)
Randomized Advantage Transformation (RAT): Computing Natural Policy Gradients via Direct Backpropagation
_extract_patches
brick of this paper's assembly: helper
1 other paper
1 dated earlier
1503.05671 (2015-03)
Optimizing Neural Networks with Kronecker-factored Approximate Curvature

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

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

Abstract

This work proposes a Momentum-Enabled Kronecker-Factor-Based Optimizer Using Rank-1 Updates, called MKOR, that improves the training time and convergence properties of deep neural networks (DNNs). Second-order techniques, while enjoying higher convergence rates vs first-order counterparts, have cubic complexity with respect to either the model size and/or the training batch size. Therefore, they exhibit poor scalability and performance in transformer models, e.g. large language models (LLMs), because the batch sizes in these models scale by the attention mechanism sequence length, leading to large model size and batch sizes. MKOR's complexity is quadratic with respect to the model size, alleviating the computation bottlenecks in second-order methods. Because of their high computation complexity, state-of-the-art implementations of second-order methods can only afford to update the second order information infrequently, and thus do not fully exploit the promise of better convergence from these updates. By reducing the communication complexity of the second-order updates, as well as achieving a linear communication complexity, MKOR increases the frequency of second-order updates. We also propose a hybrid version of MKOR (called MKOR-H) that mid-training falls backs to a first order optimizer if the second order updates no longer accelerate convergence. Our experiments show that MKOR outperforms state-of-the-art first-order methods, e.g. the LAMB optimizer, and best implementations of second-order methods, i.e. KAISA/KFAC, up to 2.57× and 1.85× respectively on BERT-Large-Uncased on 64 GPUs.

For agents

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

get_harvested_code_for_paper("2306.01685")
get_code_for_paper("2306.01685")
have("2306.01685")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2306.01685.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2306.01685.svg)](https://syntology.ai/paper/2306.01685)

Connect an agent — have() is free.