Papers › LLMatic: Neural Architecture Search via Large Language Models and Quality Diversity...

LLMatic: Neural Architecture Search via Large Language Models and Quality Diversity Optimization

1 Jun 2023arXiv:2306.01102archive 2025-07-28

Muhammad U. Nasir, Sam Earle, Christopher Cleghorn, Steven James, Julian Togelius

Large Language Models (LLMs) have emerged as powerful tools capable of accomplishing a broad spectrum of tasks. Their abilities span numerous areas, and one area where they have made a significant impact is in the domain of code generation. Here, we propose using the coding abilities of LLMs to introduce meaningful variations to code defining neural networks. Meanwhile, Quality-Diversity (QD) algorithms are known to discover diverse and robust solutions. By merging the code-generating abilities of LLMs with the diversity and robustness of QD solutions, we introduce \texttt{LLMatic}, a Neural Architecture Search (NAS) algorithm. While LLMs struggle to conduct NAS directly through prompts, \texttt{LLMatic} uses a procedural approach, leveraging QD for prompts and network architecture to create diverse and high-performing networks. We test \texttt{LLMatic} on the CIFAR-10 and NAS-bench-201 benchmarks, demonstrating that it can produce competitive networks while evaluating just $2,000$ candidates, even without prior knowledge of the benchmark domain or exposure to any previous top-performing models for the benchmark. The open-sourced code is available in \url{https://github.com/umair-nasir14/LLMatic}.

PaperPDFCodeCode 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="2306.01102")

Code

Syntology Ran 0 of 13 code samples harvested from 1 repository linked to this paper; 13 have no recorded run.

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

umair-nasir14/llmatic officialmentioned in paperpytorchApache-2.0 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

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

13unverified

Licence: 0 of the 13 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 umair-nasir14/llmatic. “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.

bandit umair-nasir14/llmatic/map_elites/multitask.py official repository unverified Apache-2.0 (permissive) · 78bc6168812a4dea · report
count_parameters umair-nasir14/llmatic/utils.py official repository unverified Apache-2.0 (permissive) · 5f4c5fe8e317d932 · report
get_max_curiosity umair-nasir14/llmatic/utils.py official repository unverified Apache-2.0 (permissive) · 3ebacc35fe59b6df · report
get_network_width_depth_ratio umair-nasir14/llmatic/utils.py official repository unverified Apache-2.0 (permissive) · d467ccf630194685 · report
is_trainable umair-nasir14/llmatic/evaluations.py official repository unverified Apache-2.0 (permissive) · 529a95ce1c0c9d06 · report
iso_dd umair-nasir14/llmatic/map_elites/common.py official repository unverified Apache-2.0 (permissive) · 3a3a71c514ef66e8 · report
load_centroids umair-nasir14/llmatic/plot/plot_2d_map.py official repository unverified Apache-2.0 (permissive) · f001aeb47ed1c4c4 · report
load_data umair-nasir14/llmatic/plot/plot_2d_map.py official repository unverified Apache-2.0 (permissive) · 93c341f57f1b10fd · report
polynomial_mutation umair-nasir14/llmatic/map_elites/common.py official repository unverified Apache-2.0 (permissive) · 73bf5b8fb69d9f1a · report
replace_word_mutation umair-nasir14/llmatic/mutation_models.py official repository unverified Apache-2.0 (permissive) · 65d84b51afb19593 · report
sbx umair-nasir14/llmatic/map_elites/common.py official repository unverified Apache-2.0 (permissive) · 3c6472fd840d3195 · report
select_niche umair-nasir14/llmatic/map_elites/multitask.py official repository unverified Apache-2.0 (permissive) · e111d04d93bb13e1 · report
voronoi_finite_polygons_2d umair-nasir14/llmatic/plot/plot_2d_map.py official repository unverified Apache-2.0 (permissive) · 230de062c09a7ba5 · report

Tasks

Code GenerationDiversityImage ClassificationNeural Architecture Search

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Test

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