LLM as a Neural Architect: Controlled Generation of Image Captioning Models Under Strict API Contracts
Not on the map. Why?
Abstract (arXiv)
Neural architecture search (NAS) traditionally requires significant human expertise or automated trial-and-error to design deep learning models. We present NN-Caption, an LLM-guided neural architecture search pipeline that generates runnable image-captioning models by composing CNN encoders from LEMUR's classification backbones with sequence decoders (LSTM/GRU/Transformer) under a strict Net API. Using DeepSeek-R1-0528-Qwen3-8B as the primary generator, we present the prompt template and examples of generated architectures. We evaluate on MS COCO with BLEU-4. The LLM generated dozens of captioning models, with over half successfully trained and producing meaningful captions. We analyse the outcomes of using different numbers of input model snippets (5 vs. 10) in the prompt, finding a slight drop in success rate when providing more candidate components. We also report training dynamics (caption accuracy vs. epochs) and the highest BLEU-4 attained. Our results highlight the promise of LLM-guided NAS: the LLM not only proposes architectures but also suggests hyperparameters and training practices. We identify the challenges encountered (e.g., code hallucinations or API compliance issues) and detail how prompt rules and iterative code fixes addressed them. This work presents a pipeline that integrates prompt-based code generation with automatic evaluation, and adds dozens of novel captioning models to the open LEMUR dataset to facilitate reproducible benchmarking and downstream AutoML research.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 9 of its 13 references that are in the map. First posted on arXiv 7 Dec 2025.
Builds on
9 of 13 references.
References · 9
- 2017Attention Is All You Needcited by 60,361
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2014Show and Tell: A Neural Image Caption Generatorcited by 879
- 2025Optuna vs Code Llama: Are LLMs a New Paradigm for Hyperparameter Tuning?cited by 21
- 2025LEMUR Neural Network Dataset: Towards Seamless AutoMLcited by 20
- 2025NNGPT: Rethinking AutoML with Large Language Modelscited by 13
- 2025VIST-GPT: Ushering in the Era of Visual Storytelling with LLMs?cited by 11
- 2025Preparation of Fractal-Inspired Computational Architectures for Advanced Large Language Model Analysiscited by 11
- 2025A Retrieval-Augmented Generation Approach to Extracting Algorithmic Logic from Neural Networkscited by 11
Built on by
Citing papers per year: 2025: 1; 2026: 8.
9 papers.
- 2025Enhancing LLM-Based Neural Network Generation: Few-Shot Prompting and Efficient Validation for Automated Architecture Designcited by 10
- 2026From Memorization to Creativity: LLM as a Designer of Novel Neural Architecturescited by 10
- 2026From Brute Force to Semantic Insight: Performance-Guided Data Transformation Design with LLMscited by 7
- 2026Resource-Efficient Iterative LLM-Based NAS with Feedback Memorycited by 7
- 2026Closed-Loop LLM Discovery of Non-Standard Channel Priors in Vision Modelscited by 6
- 2026Delta-Based Neural Architecture Search: LLM Fine-Tuning via Code Diffscited by 3
- 2026LEMUR 2: Unlocking Neural Network Diversity for AIcited by 2
- 2026Systematic Exploration of 4-Expert Heterogeneous Mixture-of-Experts via Automated Pipeline Searchcited by 1
- 2026Towards Robust Training in NNGPT AutoML Pipeline: A Loss-Optimizer Pairing Selection Studycited by 0
- 2026LEMUR 2: Unlocking Neural Network Diversity for AI7 Jul 2026
- 2026Systematic Exploration of 4-Expert Heterogeneous Mixture-of-Experts via Automated Pipeline Search21 Jun 2026
- 2026Towards Robust Training in NNGPT AutoML Pipeline: A Loss-Optimizer Pairing Selection Study18 Jun 2026
- 2026Delta-Based Neural Architecture Search: LLM Fine-Tuning via Code Diffs6 May 2026
- 2026Resource-Efficient Iterative LLM-Based NAS with Feedback Memory12 Mar 2026
- 2026Closed-Loop LLM Discovery of Non-Standard Channel Priors in Vision Models13 Jan 2026
- 2026From Brute Force to Semantic Insight: Performance-Guided Data Transformation Design with LLMs7 Jan 2026
- 2026From Memorization to Creativity: LLM as a Designer of Novel Neural Architectures6 Jan 2026
- 2025Enhancing LLM-Based Neural Network Generation: Few-Shot Prompting and Efficient Validation for Automated Architecture Design30 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2026LLM Compression with Jointly Optimizing Architectural and Quantization choices
- 2024Towards Retrieval-Augmented Architectures for Image Captioning
- 2024LLaMA-NAS: Efficient Neural Architecture Search for Large Language Models
- 2023CLAMP: Contrastive LAnguage Model Prompt-tuning
- 2024Personalizing Multimodal Large Language Models for Image Captioning: An Experimental Analysis
- 2025VELA: An LLM-Hybrid-as-a-Judge Approach for Evaluating Long Image Captions
- 2023EVCap: Retrieval-Augmented Image Captioning with External Visual-Name Memory for Open-World Comprehension
- 2024Brotherhood at WMT 2024: Leveraging LLM-Generated Contextual Conversations for Cross-Lingual Image Captioning