Towards Code-Oriented LM Embeddings for Surrogate-Assisted Neural Architecture Search
Not on the map. Why?
Abstract (arXiv)
Developing effective surrogates (performance predictors) for Neural Architecture Search (NAS) typically requires expensive fine-tuning or the engineering of complex representations. We propose a low-cost embedding strategy that leverages the inductive bias of Language Models (LMs) to eliminate these overheads. By representing architectures as PyTorch class definition text, we demonstrate that off-the-shelf LMs act as competitive feature extractors without NAS-specialized fine-tuning. The final predictor is constructed by passing the extracted Code-Oriented LM Embeddings (COLE) through a lightweight regression head. We also investigate strategies to improve embedding quality and utilization. Our experiments on the NAS-Bench-201 and einspace search spaces reveal that raw code inputs yield higher predictive performance than other text-based encodings (e.g., ONNX-to-text encodings) when using frozen LMs. We also observe COLE drives superior surrogate-assisted search using the BANANAS algorithm in NAS-Bench-201. When optimizing for CIFAR-100 performance, replacing structural path encodings with COLE for architecture representation allows for a 34% decrease in the evaluation budget required to reach within 1% of the fittest architecture in the search space (by test accuracy). As any neural architecture can be represented as code, these findings establish COLE as a versatile and efficient foundation for advancing NAS.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 23 of its 35 references that are in the map. First posted on arXiv 15 May 2026.
Builds on
23 of 35 references.
References · 23
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2018DARTS: Differentiable Architecture Searchcited by 1,798
- 2017Learning Transferable Architectures for Scalable Image Recognitioncited by 1,101
- 2020Pruning neural networks without any data by iteratively conserving synaptic flowcited by 479
- 2020NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Searchcited by 416
- 2019NAS-Bench-101: Towards Reproducible Neural Architecture Searchcited by 344
- 2020Neural Architecture Search without Trainingcited by 244
- 2021Zero-Cost Proxies for Lightweight NAScited by 199
- 2019BANANAS: Bayesian Optimization with Neural Architectures for Neural Architecture Searchcited by 179
- 2021How Powerful are Performance Predictors in Neural Architecture Search?cited by 90
- 2020Surrogate NAS Benchmarks: Going Beyond the Limited Search Spaces of Tabular NAS Benchmarkscited by 67
- 2020A Generic Graph-based Neural Architecture Encoding Scheme for Predictor-based NAScited by 55
11 more
- 2020Semi-Supervised Neural Architecture Searchcited by 46
- 2023LLM Performance Predictors are good initializers for Architecture Searchcited by 29
- 2021CATE: Computation-aware Neural Architecture Encoding with Transformerscited by 21
- 2021NAS-Bench-x11 and the Power of Learning Curvescited by 20
- 2024LLM Guided Evolution -- The Automation of Models Advancing Modelscited by 20
- 2025LM-Searcher: Cross-domain Neural Architecture Search with LLMs via Unified Numerical Encodingcited by 7
- 2024einspace: Searching for Neural Architectures from Fundamental Operationscited by 5
- 2025Transferrable Surrogates in Expressive Neural Architecture Search Spacescited by 5
- 2025RBFleX-NAS: Training-Free Neural Architecture Search Using Radial Basis Function Kernel and Hyperparameter Detectioncited by 4
- 2025HyperNAS: Enhancing Architecture Representation for NAS Predictor via Hypernetworkcited by 2
- 2025ONNX-Net: Towards Universal Representations and Instant Performance Prediction for Neural Architecturescited by 1
Built on by
Not cited yet.