SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1708.03888 · 2017

Large Batch Training of Convolutional Networks

Yang You, Boris Ginsburg, Igor Gitman

arXiv · PDF · Open in the Atlas

Code that ran

4 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-23; 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/1708.03888.json · badge: /api/ran/1708.03888.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
frgfm/Holocron community
Papers with Code archive
1 ran · 0 no recorded run
krafton-ai/mini-batch-cl community
Papers with Code archive
1 ran · 0 no recorded run
noahgolmant/pytorch-lars community
Papers with Code archive
1 ran · 0 no recorded run
jxbz/fromage community
Papers with Code archive
1 ran · 0 no recorded run
NUS-HPC-AI-Lab/LARS-ImageNet-PyTorch community
Papers with Code archive
0 ran · 1 no recorded run
FunctionStatusWhere it lives
LARS Ran
ran on a synthesized input · constructed an object; no result was computed
frgfm/Holocron/holocron/optim/lars.py
code served (permissive licence) · get_code("4c2823d62e6b5ca1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, LARS: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from torch.optim.optimizer import Optimizer

torch.manual_seed(0)

# Create a simple model with parameters
model = nn.Linear(4, 3, bias=True)

# Create parameters iterable
params = model.parameters()

# Set up gradients for the parameters
for param in model.parameters():
    param.grad = torch.randn_like(param)

# Define ARGS dictionary with all parameters
ARGS = {
    'params': list(model.parameters()),
    'lr': 0.001,
    'momentum': 0.9,
    'dampening': 0.0,
    'weight_decay': 0.0001,
    'nesterov': False,
    'scale_clip': (0.0, 10.0)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type LARS — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a LARS output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
LARS Ran
ran on a synthesized input · constructed an object; no result was computed
krafton-ai/mini-batch-cl/sogclr/optimizer.py
code served (permissive licence) · get_code("350b8435032a7c95")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, LARS: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple model with parameters
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

# Create some dummy data to generate gradients
x = torch.randn(2, 4)
y = torch.randn(2, 2)

# Forward pass to generate gradients
output = model(x)
loss = torch.nn.functional.mse_loss(output, y)
loss.backward()

# Now prepare the ARGS dictionary
ARGS = {
    'params': model.parameters(),
    'lr': 0.1,
    'weight_decay': 0.0001,
    'momentum': 0.9,
    'trust_coefficient': 0.001
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type LARS — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a LARS output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
LARS Ran
ran on a synthesized input · constructed an object; no result was computed
noahgolmant/pytorch-lars/lars.py
code served (permissive licence) · get_code("2b456b26b38fabeb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, LARS: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from torch.optim.optimizer import required

torch.manual_seed(0)

# Create a simple model
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

# Create parameters to optimize
params = model.parameters()

# Define ARGS dictionary with all parameters for LARS.__init__
ARGS = {
    'params': params,
    'lr': 0.1,
    'momentum': 0.9,
    'weight_decay': 0.0005,
    'eta': 0.001,
    'max_epoch': 200
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type LARS — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a LARS output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Lars Ran
ran on a synthesized input · constructed an object; no result was computed
jxbz/fromage/generate-cifar/lars.py
pointer only (licence: NOASSERTION) · get_code("f189d069869671ac")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, jxbz/fromage (NOASSERTION). 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.

Lars Not yet run
unverified (harvested, no recorded run)
NUS-HPC-AI-Lab/LARS-ImageNet-PyTorch/lars.py
code served (permissive licence) · get_code("af8abbe0acb62ad6")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 5 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.

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-23.

Repositories linked to this paper

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

Abstract

A common way to speed up training of large convolutional networks is to add computational units. Training is then performed using data-parallel synchronous Stochastic Gradient Descent (SGD) with mini-batch divided between computational units. With an increase in the number of nodes, the batch size grows. But training with large batch size often results in the lower model accuracy. We argue that the current recipe for large batch training (linear learning rate scaling with warm-up) is not general enough and training may diverge. To overcome this optimization difficulties we propose a new training algorithm based on Layer-wise Adaptive Rate Scaling (LARS). Using LARS, we scaled Alexnet up to a batch size of 8K, and Resnet-50 to a batch size of 32K without loss in accuracy.

For agents

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

get_harvested_code_for_paper("1708.03888")
get_code_for_paper("1708.03888")
have("1708.03888")

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

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

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

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

Connect an agent — have() is free.