NeuroGen: Neural Network Parameter Generation via Large Language Models
Jiaqi Wang, Yusen Zhang, Xi Li
TL;DR
Neural network parameters are traditionally obtained through gradient-based optimization. NeuroGen introduces a two-stage approach to generate NN weights with large language models, using Stage 1 for parameter-reference knowledge injection and Stage 2 for context-enhanced instruction tuning, guiding the LLM to produce usable weights conditioned on data, task, and architecture. Experimental results on both image and text classification show that LLM-generated parameters can be functional and task-adaptive, especially for simple architectures and in low-data regimes, indicating a promising new paradigm for data-efficient model construction. This work opens a direction for instruction-guided, multimodal, and edge-deployable neural parameter synthesis, bridging generative modeling and network design through language models.
Abstract
Acquiring the parameters of neural networks (NNs) has been one of the most important problems in machine learning since the inception of NNs. Traditional approaches, such as backpropagation and forward-only optimization, acquire parameters via iterative data fitting to gradually optimize them. This paper aims to explore the feasibility of a new direction: acquiring NN parameters via large language model generation. We propose NeuroGen, a generalized and easy-to-implement two-stage approach for NN parameter generation conditioned on descriptions of the data, task, and network architecture. Stage one is Parameter Reference Knowledge Injection, where LLMs are pretrained on NN checkpoints to build foundational understanding of parameter space, whereas stage two is Context-Enhanced Instruction Tuning, enabling LLMs to adapt to specific tasks through enriched, task-aware prompts. Experimental results demonstrate that NeuroGen effectively generates usable NN parameters. Our findings highlight the feasibility of LLM-based NN parameter generation and suggest a promising new paradigm where LLMs and lightweight NNs can coexist synergistically
