mlsanityData to 14 Oct 2026

LLM as a Neural Architect: Controlled Generation of Image Captioning Models Under Strict API Contracts

arXiv 2512.14706 ↗First posted 7 Dec 2025cs.LG cs.AI cs.CLcited by 9

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  3. 2014Show and Tell: A Neural Image Caption Generatorcited by 879
  4. 2025Optuna vs Code Llama: Are LLMs a New Paradigm for Hyperparameter Tuning?cited by 21
  5. 2025LEMUR Neural Network Dataset: Towards Seamless AutoMLcited by 20
  6. 2025NNGPT: Rethinking AutoML with Large Language Modelscited by 13
  7. 2025VIST-GPT: Ushering in the Era of Visual Storytelling with LLMs?cited by 11
  8. 2025Preparation of Fractal-Inspired Computational Architectures for Advanced Large Language Model Analysiscited by 11
  9. 2025A Retrieval-Augmented Generation Approach to Extracting Algorithmic Logic from Neural Networkscited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 8.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026LLM Compression with Jointly Optimizing Architectural and Quantization choices
  2. 2024Towards Retrieval-Augmented Architectures for Image Captioning
  3. 2024LLaMA-NAS: Efficient Neural Architecture Search for Large Language Models
  4. 2023CLAMP: Contrastive LAnguage Model Prompt-tuning
  5. 2024Personalizing Multimodal Large Language Models for Image Captioning: An Experimental Analysis
  6. 2025VELA: An LLM-Hybrid-as-a-Judge Approach for Evaluating Long Image Captions
  7. 2023EVCap: Retrieval-Augmented Image Captioning with External Visual-Name Memory for Open-World Comprehension
  8. 2024Brotherhood at WMT 2024: Leveraging LLM-Generated Contextual Conversations for Cross-Lingual Image Captioning