Papers › Knowledge Evolution in Neural Networks

Knowledge Evolution in Neural Networks

9 Mar 2021CVPR 2021 1arXiv:2103.05152archive 2025-07-28

Ahmed Taha, Abhinav Shrivastava, Larry Davis

Deep learning relies on the availability of a large corpus of data (labeled or unlabeled). Thus, one challenging unsettled question is: how to train a deep network on a relatively small dataset? To tackle this question, we propose an evolution-inspired training approach to boost performance on relatively small datasets. The knowledge evolution (KE) approach splits a deep network into two hypotheses: the fit-hypothesis and the reset-hypothesis. We iteratively evolve the knowledge inside the fit-hypothesis by perturbing the reset-hypothesis for multiple generations. This approach not only boosts performance, but also learns a slim network with a smaller inference cost. KE integrates seamlessly with both vanilla and residual convolutional networks. KE reduces both overfitting and the burden for data collection. We evaluate KE on various network architectures and loss functions. We evaluate KE using relatively small datasets (e.g., CUB-200) and randomly initialized deep networks. KE achieves an absolute 21% improvement margin on a state-of-the-art baseline. This performance improvement is accompanied by a relative 73% reduction in inference cost. KE achieves state-of-the-art results on classification and metric learning benchmarks. Code available at http://bit.ly/3uLgwYb

PaperPDFConference PDFCodeCode 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="2103.05152")

Code

Syntology Ran 8 of 10 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 7 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ahmdtaha/knowledge_evolution officialmentioned on GitHubpytorch report

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.

Code Syntology ran Syntology

10 samples harvested; 8 ran; 0 honoured the contract we drafted; 2 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.

1ran · our draft was wrong
7ran
2unverified

Licence: 0 of the 10 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 ahmdtaha/knowledge_evolution. “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.

ProgressMeter ahmdtaha/knowledge_evolution/KE_model.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 141518eec41c8dd6 · report
constant_lr ahmdtaha/knowledge_evolution/KE_model.py official repository ran Apache-2.0 (permissive) · 02513766727c1955 · report
cosine_lr ahmdtaha/knowledge_evolution/KE_model.py official repository ran Apache-2.0 (permissive) · e00ffa6d0e1a9ddb · report
get_optimizer ahmdtaha/knowledge_evolution/KE_model.py official repository ran Apache-2.0 (permissive) · d8fd6e0b4bb8c99d · report
get_policy ahmdtaha/knowledge_evolution/KE_model.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 680e25d1c3bf5523 · report
get_trainer ahmdtaha/knowledge_evolution/KE_model.py official repository ran Apache-2.0 (permissive) · 2e692a0113e3d709 · report
multistep_lr ahmdtaha/knowledge_evolution/KE_model.py official repository ran Apache-2.0 (permissive) · 6a2882fda97658f6 · report
step_lr ahmdtaha/knowledge_evolution/KE_model.py official repository ran Apache-2.0 (permissive) · 5bde7897e093d758 · report
ke_cls_train ahmdtaha/knowledge_evolution/KE_model.py official repository unverified Apache-2.0 (permissive) · 599452487dd6f1fd · report
resume ahmdtaha/knowledge_evolution/KE_model.py official repository unverified Apache-2.0 (permissive) · a2c2a12b95bad563 · report

Tasks

Metric Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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