NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scaling Up Parameter Generation: A Recurrent Diffusion Approach

Kai Wang, Dongwen Tang, Wangbo Zhao, Konstantin Schürholt, Zhangyang Wang, Yang You

Recurrent Diffusion for Large-Scale Parameter Generation (RPG) is a novel framework designed to synthesize the full weights of neural networks—scaling up to hundreds of millions of parameters—on a single GPU. By combining recurrent modeling to capture global weight correlations with a diffusion process to synthesize high-quality values, RPG produces models that perform nearly as well as those trained from scratch. Remarkably, it can even generate weights for tasks it has never seen before.

The Bottleneck: Memory and Correlation

For years, the machine learning community has envisioned "AI generating AI"—using one model to instantly produce the weights of another. However, while vision and language models have rapidly scaled to billions of parameters, parameter generators (such as HyperNetworks) have largely remained academic demonstrations, typically limited to tiny models with fewer than a million parameters.

Parameter generation scale gap

This stagnation stems from two primary bottlenecks:

  1. Memory: Storing and processing the massive weight matrices of a modern neural network is computationally prohibitive.
  2. Correlation: Neural network weights are not independent, random numbers; they exhibit complex, symmetrical relationships across layers. Generating chunks of weights independently usually results in a broken model because the different components fail to interact correctly.

The RPG Framework: A Two-Stage Pipeline

To overcome these barriers, the researchers introduce a two-stage pipeline that processes weights sequentially while maintaining a global understanding of the network's structure.

The RPG two-stage pipeline

1. Parameter Processing (Tokenization)

Instead of treating weights as one giant, flat list, RPG partitions them into non-overlapping "tokens" based on their respective layers. The framework applies layer-wise normalization to stabilize the values and injects 2D position embeddings (encoding both layer and token indices) so the generator understands exactly where each piece fits into the broader architecture.

Crucially, the authors introduce a "permutation state"—a one-hot vector that helps the model navigate "neural symmetry." Because neurons in a hidden layer can often be swapped without changing the network's function, this permutation state effectively labels these different valid configurations, stabilizing the learning process.

2. Recurrent Diffusion Modeling

Once tokenized, the parameters are passed through a dual-mechanism generation process:

  • Recurrence: A recurrent model—specifically Mamba, chosen for its efficiency with long sequences—processes the tokens. This allows the model to learn the global relationships between weights across the entire network while keeping memory usage low enough to fit on a single commodity GPU (like an RTX 3090). The output of this stage is a set of "prototypes."
  • Diffusion: These prototypes serve as conditioning signals for a 1D convolutional diffusion model. Starting from random noise, the diffusion model iteratively refines the sequence, guided by the prototypes, into high-quality, functional neural network parameters.

Key Results and Capabilities

The authors evaluated RPG across a massive range of tasks and architectures, including ImageNet-1K (ResNet, ConvNeXt, ViT), downstream vision tasks (ADE20K, COCO), and language modeling (LLaMA-7B using LoRA adapters).

  • Massive Scale: RPG is the first method to successfully generate parameters for models like ConvNeXt-L (~197.8M weights) and LLaMA-7B LoRA adapters (~113.1M weights) in a single pass.
  • Near-Parity Performance: On ImageNet, the generated models perform incredibly close to their traditionally trained counterparts. For instance, an RPG-generated ConvNeXt-L achieved 85.5% accuracy, compared to 85.8% for the fully trained version.
  • Speed and Efficiency: RPG can synthesize a full ConvNeXt-L model in just 1.3 minutes on a single H100 GPU. Furthermore, using RPG-generated weights as an initialization point for standard training leads to significantly faster convergence than random initialization.
  • Zero-Shot Task Adaptation: Perhaps most surprisingly, RPG can generate weights for unseen tasks. By feeding the model a binary embedding representing a new task (e.g., a specific binary classification derived from CIFAR-10), it can synthesize a specialized model on the fly that performs significantly better than a randomly initialized one.

Limitations and Future Work

While RPG represents a major leap forward for parameter generation, it is not without limitations. Currently, the framework is architecture-specific; a single RPG model is trained to generate weights for a specific architecture family (e.g., one for ViTs, another for ResNets) and cannot yet generate weights for an entirely unseen architecture.

Future work aims to overcome this by creating a "universal" parameter generator capable of simultaneously modeling relationships across diverse architectures and tasks. By solving the longstanding memory and scalability barriers, RPG serves as a critical stepping stone toward a truly autonomous, generalist "AI generating AI" system.

Summary updated

BibTeX
@inproceedings{wang2025scaling,
  author = {Kai Wang and Dongwen Tang and Wangbo Zhao and Konstantin Schürholt and Zhangyang Wang and Yang You},
  title = {{Scaling Up Parameter Generation: A Recurrent Diffusion Approach}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=65llKR17s4},
}
Figure