NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Structuring Open-Ended NAS: Semi-Automated Design Knowledge Structuring with LLMs for Efficient Neural Architecture Search

Yuiko Sakuma, Masakazu Yoshimura, Marcel Gröpl, Zitang Sun, Junji Otsuka, Atsushi Irie, Takeshi Ohashi

TL;DR

Teaching Large Language Models (LLMs) to write neural network code from scratch sounds like the ultimate AI shortcut, until you realize LLMs are biased toward trendy ideas (like Transformers) and routinely pull irrelevant concepts from papers. This paper introduces FairNAD, a system that organizes research literature into a neat, hierarchical taxonomy before letting an evolutionary LLM search engine loose. By pairing structured knowledge with smart, multi-stage mutations and an automated "shrink-to-fit" feedback loop, FairNAD discovers compact vision backbones that beat current state-of-the-art methods.

What Problem Does This Paper Address?

Traditional Neural Architecture Search (NAS) is a bit like building with a basic Lego set: human experts predefine the blocks (e.g., 3x3 convolutions), and an algorithm snaps them together. You rarely get truly novel designs because the search space is closed.

Recently, researchers turned to open-ended NAS, prompting LLMs to write PyTorch code directly using inspiration mined from academic papers. While this removes the training wheels, it creates a messy new problem: unstructured knowledge pools are noisy and biased. If you ask an LLM to extract design ideas from recent papers, roughly 70% of the feature-extraction ideas it grabs are about "attention" simply because Transformers dominate recent literature. Worse, it pulls in things completely irrelevant to vision backbones, like loss functions or 3D NeRF rendering.

Figure 3: The difference of the model design ideas between (left) predefined [37], (middle) open- ended and unstructured [56], and (right) open-ended and structured methods.

Furthermore, exploring an infinite code space is treacherous. Standard evolutionary strategies tend to pick only the highest-scoring models (ignoring tiny, punchy architectures with great potential) and ruthlessly throw away models that exceed hardware limits, killing architectural diversity.

Methods

The authors tackle this in two phases: organizing the library of ideas, and upgrading the evolutionary search engine (powered by Qwen3-8B).

Figure 1: Overview of the proposed NAS. (Top) The model design attribute tree is generated from state-of-the-art (SOTA) models and a structured template. This tree is used to extract high-quality, fine-grained model design knowledge. (Bottom) FairNAD, a LLM-driven framework, then searches for high-performing models using mutation with fair idea sampling, Pareto-aware mutation, LLM- driven iterative mutation, and feedback loop.
  1. Semi-Automated Knowledge Structuring: Instead of a free-for-all, humans define a top-level template of architectural concepts (Granularity $\rightarrow$ Main Category, such as Operation level $\rightarrow$ Feature extraction). An LLM then analyzes 14 classic reference models (like ResNet, ViT, and ConvNeXT) to populate 55 fine-grained sub-categories. Using this "attribute tree," the LLM filters 2,353 academic papers down to 1,149 relevant ones, extracting 15,323 clean, tagged design ideas.
  2. FairNAD Search Framework: Starting from a base ResNet-32, an evolutionary loop mutates PyTorch code using three sequential strategies:
  3. Mutation with Fair Idea Sampling: Instead of drawing ideas at random (which would flood the search with attention blocks), it samples uniformly across the attribute tree's categories, ensuring underdogs like pooling or MLPs get fair play.
  4. Pareto-Aware Mutation: Using NSGA-II, it finds models on the accuracy-vs-efficiency frontier. Tiny, efficient models are scaled up (wider/deeper), while larger ones get hyperparameter tweaks (like kernel size or stride).
  5. LLM-Driven Iterative Mutation: The LLM looks at the mutation history of top performers and double-downs on refining winning concepts.
  6. The Feedback Loop: Before training, generated code passes through three automated gates: Execution (debugging syntax crashes), Budget (if a model exceeds FLOPs or parameter limits, the LLM is prompted to shrink it rather than trash it), and Structural (verifying the code actually changed and remains multi-layered).

(Note: Figure 4 in the paper illustrates the three mutation stages and verification pipeline in detail:) Detailed view of FairNAD mutation stages

Datasets

FairNAD is evaluated under the strict constraints of the NAS-Bench-201 benchmark protocol (capping models at 1.5M parameters and 0.05–0.2 GFLOPs) across three image classification datasets:

  • CIFAR-10 and CIFAR-100
  • ImageNet16-120 (a downsampled $16\times16$ variant of ImageNet with 120 classes)

The authors also construct a new structured Model Design Knowledge Database ($\mathcal{D}_{\text{kn}}$) containing 15,323 tagged architectural ideas scraped from recent computer vision papers.

Key Insights and Ideas

  • Unbiased sampling beats raw paper-mining: Simply structuring the paper database gave a modest +0.37% boost on CIFAR-100, while turning on fair idea sampling jumped accuracy by +1.81%. Forcing the search to explore minority operator categories prevents premature convergence on whatever is trendy on arXiv.
  • Exploitation without diversity is a trap: In ablation tests, combining LLM-driven iterative refinement directly with basic idea mutation actually hurt test accuracy (-1.41%). Iterative refinement can't invent novel structures on its own; it only shines (+0.69%) when paired with Pareto-aware mutation, which keeps feeding it diverse parent sizes.
  • Don't throw away overweight models—put them on a diet: Removing the budget verifier (which downscales oversized models instead of rejecting them) caused the valid-code pass rate to plummet from 56% down to 4%, costing 1.34 points in final accuracy. LLMs are bad at intuitively guessing FLOP counts when writing code, so automated downscaling is crucial.

Key Results

Searching across 500 architectures, FairNAD sets a new state-of-the-art under NAS-Bench-201 constraints, outperforming both traditional weight-sharing NAS and recent open-ended LLM methods like NADER:

  • CIFAR-10: 95.46% test accuracy (+0.84 points over NADER, and +1.09 over the closed NAS-Bench-201 optimal of 94.37%).
  • CIFAR-100: 78.17% test accuracy (+2.17 points over NADER).
  • ImageNet16-120: 52.87% test accuracy (+2.35 points over NADER).

Remarkably, even when restricted to searching just 100 architectures, FairNAD already beats NADER's 500-architecture runs on CIFAR-10 (94.93%) and CIFAR-100 (76.26%).

Limitations and Future Work

The authors explicitly scope this work to discovering vision backbones; FairNAD does not currently design neck or head architectures required for downstream tasks like object detection or segmentation. Additionally, the top two levels of the attribute tree still rely on human expert definitions to strike a balance against LLM bias. Broader discussions of limitations and future directions are deferred to the paper's appendix (not included in the main text).

Summary updated

BibTeX
@inproceedings{sakuma2026structuring,
  author = {Yuiko Sakuma and Masakazu Yoshimura and Marcel Gröpl and Zitang Sun and Junji Otsuka and Atsushi Irie and Takeshi Ohashi},
  title = {{Structuring Open-Ended NAS: Semi-Automated Design Knowledge Structuring with LLMs for Efficient Neural Architecture Search}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=aRGcG80o4Z},
}

Loading related content...

Figure