Closed-Loop LLM Discovery of Non-Standard Channel Priors in Vision Models
Tolgay Atinc Uzun, Dmitry Ignatov, Radu Timofte
TL;DR
This work introduces a closed-loop NAS framework where a fine-tuned large language model optimizes vision-network channel configurations directly in executable code. It overcomes data scarcity by bootstrapping with AST mutations to create a large, valid corpus (LEMER) that teaches the LLM architectural priors, enabling conditional code generation to improve performance. On CIFAR-100, the approach yields a 24.1% relative improvement over the initial distribution and reveals non-standard channel widths and late-stage expansion as effective priors, along with Pareto-efficient, parameter-saving configurations. The results demonstrate that language models can acquire domain-specific architectural knowledge from synthetic data and performance feedback, offering a scalable, architecture-agnostic path for vision NAS with practical impact on design efficiency and hardware-aware optimization.
Abstract
Channel configuration search the optimization of layer specifications such as layer widths in deep neural networks presents a complex combinatorial challenge constrained by tensor shape compatibility and computational budgets. We posit that Large Language Models (LLMs) offer a transformative approach to Neural Architecture Search (NAS), capable of reasoning about architectural code structure in ways that traditional heuristics cannot. In this paper, we investigate the application of an LLM-driven NAS framework to the problem of channel configuration. We formulate the search as a sequence of conditional code generation tasks, where an LLM refines architectural specifications based on performance telemetry. Crucially, we address the data scarcity problem by generating a vast corpus of valid, shape-consistent architectures via Abstract Syntax Tree (AST) mutations. While these mutated networks are not necessarily high-performing, they provide the critical volume of structural data required for the LLM to learn the latent relationship between channel configurations and model performance. This allows the LLM to internalize complex design patterns and apply them to optimize feature extraction strategies. Experimental results on CIFAR-100 validate the efficacy of this approach, demonstrating that the model yields statistically significant improvements in accuracy. Our analysis confirms that the LLM successfully acquires domain-specific architectural priors, distinguishing this method from random search and highlighting the immense potential of language-driven design in deep learning.
