Abstract
Generative models for neural network weights aim to produce high-performing models without traditional training. However, this study investigates whether these models truly generalize or merely memorize training checkpoints. By auditing four leading methods, the authors find that current weight-generation techniques often rely on memorization or simple interpolation, failing to significantly outperform basic baselines.
Introduction
The success of generative AI in images and video has inspired a new frontier: Generative Modeling of Weights (GMW). The objective is to train a model—such as a Diffusion Model or Autoencoder—on a dataset of neural network checkpoints to sample new, high-performing weights in a single forward pass. This approach promises to bypass the computationally expensive gradient-based optimization process.
Despite the promise, a critical question arises: are these models learning a functional manifold of weights, or are they simply acting as high-tech photocopiers? This paper provides a rigorous audit of four representative methods—Hyper-Representations, G.pt, HyperDiffusion, and P-diff—to determine if they truly generalize.
Auditing Memorization in Weight Generation
To distinguish between creative synthesis and rote memorization, the researchers employed several diagnostic tools beyond standard accuracy metrics:
- Nearest Neighbor Analysis: Measuring the $L_2$ distance between generated weights and the closest training checkpoint.
- Behavioral Visualization: Comparing decision boundaries and 3D shapes of generated models against their training counterparts.
- Error Similarity Metric: Quantifying the overlap in "mistakes" between generated and training models.
- Baseline Comparisons: Evaluating generative models against "dumb" baselines like Gaussian noise addition or simple weight averaging (interpolation).
Key Findings: The Memorization Reality
The audit reveals that many current GMW methods are prone to memorization. For instance, in HyperDiffusion, 94.4% of generated checkpoints were found to be nearly identical to training models, with $L_2$ distances significantly smaller than the distances between any two training models.
The Interpolation Trap
One notable finding involves P-diff, which appeared to exceed training accuracy. Investigation showed it was primarily performing weight interpolation—a technique similar to "Model Soups." While effective for boosting accuracy, this does not represent the discovery of novel weight configurations.
Weights vs. Images
The study highlights that weight data has a significantly higher intrinsic dimension than image data. Weights lack the spatial redundancy found in pixels, making them harder for standard architectures to compress and generalize. Furthermore, current models often fail to account for "permutation symmetry"—the ability to swap neurons without changing function—treating functionally identical but permuted models as distinct data points.
Conclusion and Future Directions
The results suggest that simply scaling data is not a panacea; while it helped G.pt, it did not resolve memorization in Hyper-Representations. The authors argue that the path forward requires better inductive biases, such as symmetry-aware architectures (e.g., Graph Neural Networks) that respect the structural properties of neural weights. Until then, the community must use rigorous evaluation metrics to ensure that "generative" models are truly producing novel, functional weights.
Summary updated