LLM as a Tool, Not an Agent: Code-Mined Tree Transformations for Neural Architecture Search
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
Neural Architecture Search (NAS) aims to automatically discover high-performing deep neural network (DNN) architectures. However, conventional algorithm-driven NAS relies on carefully hand-crafted search spaces to ensure executability, which restricts open-ended exploration. Recent coding-based agentic approaches using large language models (LLMs) reduce manual design, but current LLMs struggle to reliably generate complex, valid architectures, and their proposals are often biased toward a narrow set of patterns observed in their training data. To bridge reliable algorithmic search with powerful LLM assistance, we propose LLMasTool, a hierarchical tree-based NAS framework for stable and open-ended model evolution. Our method automatically extracts reusable modules from arbitrary source code and represents full architectures as hierarchical trees, enabling evolution through reliable tree transformations rather than code generation. At each evolution step, coarse-level planning is governed by a diversity-guided algorithm that leverages Bayesian modeling to improve exploration efficiency, while the LLM resolves the remaining degrees of freedom to ensure a meaningful evolutionary trajectory and an executable generated architecture. With this formulation, instead of fully agentic LLM approaches, our method explores diverse directions beyond the inherent biases in the LLM. Our method improves over existing NAS methods by 0.69, 1.83, and 2.68 points on CIFAR-10, CIFAR-100, and ImageNet16-120, demonstrating its effectiveness.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 9 of its 77 references that are in the map. First posted on arXiv 17 Apr 2026.
Builds on
9 of 77 references.
References · 9
- 2025Qwen3 Technical Reportcited by 8,820
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 642
- 2017A Downsampled Variant of ImageNet as an Alternative to the CIFAR datasetscited by 377
- 2023Can GPT-4 Perform Neural Architecture Search?cited by 74
- 2022Lambda-DARTS: Mitigating Performance Collapse by Harmonizing Operation Selection among Cellscited by 15
- 2024LeMo-NADe: Multi-Parameter Neural Architecture Discovery with LLMscited by 11
- 2025CoLLM-NAS: Collaborative Large Language Models for Efficient Knowledge-Guided Neural Architecture Searchcited by 6
- 2026SF-Mamba: Rethinking State Space Model for Visioncited by 4
- 2024Mixed-precision Supernet Training from Vision Foundation Models using Low Rank Adaptercited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Agentic Neural Architecture Search
- 2025SEKI: Self-Evolution and Knowledge Inspiration based Neural Architecture Search via Large Language Models
- 2024LLaMA-NAS: Efficient Neural Architecture Search for Large Language Models
- 2026Building LLM Agent Systems the Deep Learning Way: From Modular Design to Architecture Search
- 2026LLM Compression with Jointly Optimizing Architectural and Quantization choices
- 2025Language Modeling by Language Models
- 2024NADER: Neural Architecture Design via Multi-Agent Collaboration
- 2025RevoNAD: Reflective Evolutionary Exploration for Neural Architecture Design