SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.12606 · ICLR · 2022

Optimizing Neural Networks with Gradient Lexicase Selection

Li Ding, Lee Spector

arXiv · PDF · Open in the Atlas

Code that ran

6 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2312.12606.json · badge: /api/ran/2312.12606.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
ld-ing/gradient-lexicase canonical (classifier label)
classifier basis: census
6 ran · 0 no recorded run
FunctionStatusWhere it lives
DenseNet121 Ran
ran; our contract draft was wrong, not the code
ld-ing/gradient-lexicase/models/densenet.py
pointer only (licence: MIT); the stored copy get_code serves, from LIONS-EPFL/SAMPa, is pointer only (licence: NONE) · get_code("dfb395bae3d07d76")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from LIONS-EPFL/SAMPa, and GitHub detected no licence in that repository 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.

DenseNet169 Ran
ran; our contract draft was wrong, not the code
ld-ing/gradient-lexicase/models/densenet.py
pointer only (licence: MIT); the stored copy get_code serves, from LIONS-EPFL/SAMPa, is pointer only (licence: NONE) · get_code("f295fe3c209ecf78")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from LIONS-EPFL/SAMPa, and GitHub detected no licence in that repository 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.

DenseNet201 Ran
ran; our contract draft was wrong, not the code
ld-ing/gradient-lexicase/models/densenet.py
pointer only (licence: MIT); the stored copy get_code serves, from LIONS-EPFL/SAMPa, is pointer only (licence: NONE) · get_code("6383aee1c940e7a5")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from LIONS-EPFL/SAMPa, and GitHub detected no licence in that repository 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.

EfficientNetB0 Ran
ran; our contract draft was wrong, not the code
ld-ing/gradient-lexicase/models/efficientnet.py
code served (permissive licence) · get_code("f7b96dbdddb56a68")
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 EfficientNet. 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)

ARGS = {
    'num_classes': 10
}
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 EfficientNet — a EfficientNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a EfficientNet 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
drop_connect Ran
ran; our contract draft was wrong, not the code
ld-ing/gradient-lexicase/models/efficientnet.py
pointer only (licence: MIT); the stored copy get_code serves, from EnumaCaliber/BRIDGE, is pointer only (licence: NONE) · get_code("4304a326c593f8db")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from EnumaCaliber/BRIDGE, and GitHub detected no licence in that repository 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.

swish Ran
ran; our contract draft was wrong, not the code
ld-ing/gradient-lexicase/models/efficientnet.py
pointer only (licence: MIT); the stored copy get_code serves, from EnumaCaliber/BRIDGE, is pointer only (licence: NONE) · get_code("8737c82de631cffc")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from EnumaCaliber/BRIDGE, and GitHub detected no licence in that repository 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.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 5 later) and 0 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
swish 32 other papers
20 dated earlier, 10 later, 2 same year, order not determinable
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
2002.11318 (2020-02)
Can we have it all? On the Trade-off between Spatial and Adversarial Robustness of Neural Networks
2106.01440 (2021-06)
Memory Wrap: a Data-Efficient and Interpretable Extension to Image Classification Models
and 29 more not named here
drop_connect 29 other papers
21 dated earlier, 7 later, 1 same year, order not determinable
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
2002.09564 (2020-02)
Towards Robust and Reproducible Active Learning Using Neural Networks
and 26 more not named here
DenseNet121 11 other papers
7 dated earlier, 4 later
2006.15815 (2020-06)
Adaptive Inertia: Disentangling the Effects of Adaptive Learning Rate and Momentum
2105.13937 (2021-05)
Polygonal Unadjusted Langevin Algorithms: Creating stable and efficient adaptive algorithms for neural networks
2108.09976 (2021-08)
Revealing the Distributional Vulnerability of Discriminators by Implicit Generators
and 8 more not named here
DenseNet169 9 other papers
6 dated earlier, 3 later
2006.15815 (2020-06)
Adaptive Inertia: Disentangling the Effects of Adaptive Learning Rate and Momentum
2108.09976 (2021-08)
Revealing the Distributional Vulnerability of Discriminators by Implicit Generators
2201.13329 (2022-01)
Can Adversarial Training Be Manipulated By Non-Robust Features?
and 6 more not named here
DenseNet201 9 other papers
6 dated earlier, 3 later
2006.15815 (2020-06)
Adaptive Inertia: Disentangling the Effects of Adaptive Learning Rate and Momentum
2108.09976 (2021-08)
Revealing the Distributional Vulnerability of Discriminators by Implicit Generators
2201.13329 (2022-01)
Can Adversarial Training Be Manipulated By Non-Robust Features?
and 6 more not named here
EfficientNetB0 3 other papers
3 dated earlier
2108.09976 (2021-08)
Revealing the Distributional Vulnerability of Discriminators by Implicit Generators
2206.09387 (2022-06)
Dual Representation Learning for Out-of-Distribution Detection
2305.15316 (2023-05)
Training on Thin Air: Improve Image Classification with Generated Data

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

One potential drawback of using aggregated performance measurement in machine learning is that models may learn to accept higher errors on some training cases as compromises for lower errors on others, with the lower errors actually being instances of overfitting. This can lead to both stagnation at local optima and poor generalization. Lexicase selection is an uncompromising method developed in evolutionary computation, which selects models on the basis of sequences of individual training case errors instead of using aggregated metrics such as loss and accuracy. In this paper, we investigate how lexicase selection, in its general form, can be integrated into the context of deep learning to enhance generalization. We propose Gradient Lexicase Selection, an optimization framework that combines gradient descent and lexicase selection in an evolutionary fashion. Our experimental results demonstrate that the proposed method improves the generalization performance of various widely-used deep neural network architectures across three image classification benchmarks. Additionally, qualitative analysis suggests that our method assists networks in learning more diverse representations. Our source code is available on GitHub: https://github.com/ld-ing/gradient-lexicase.

For agents

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

get_harvested_code_for_paper("2312.12606")
get_code_for_paper("2312.12606")
have("2312.12606")

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

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

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

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

Connect an agent — have() is free.