Universal Hypernetworks for Arbitrary Models
About
Conventional hypernetworks are typically engineered around a specific base-model parameterization, so changing the target architecture often entails redesigning the hypernetwork and retraining it from scratch. We introduce the \emph{Universal Hypernetwork} (UHN), a fixed-architecture generator that predicts weights from deterministic parameter, architecture, and task descriptors. This descriptor-based formulation decouples the generator architecture from target-network parameterization, so one generator can instantiate heterogeneous models across the tested architecture and task families. Our empirical claims are threefold: (1) one fixed UHN remains competitive with direct training across vision, graph, text, and formula-regression benchmarks; (2) the same UHN supports both multi-model generalization within a family and multi-task learning across heterogeneous models; and (3) UHN enables stable recursive generation with up to three intermediate generated UHNs before the final base model. Our code is available at https://github.com/Xuanfeng-Zhou/UHN.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Text Classification | AG News (test) | Accuracy90.99 | 228 | |
| Image Classification | MNIST (test) | Accuracy99.44 | 196 | |
| Text Classification | IMDB (test) | CA86.38 | 81 | |
| Graph Classification | Cora (test) | Accuracy79.81 | 19 | |
| Graph Classification | PubMed (test) | Accuracy78.15 | 17 | |
| Graph Classification | Citeseer (test) | Accuracy68.19 | 16 | |
| Formula Regression | KAN benchmark Modified Bessel function of the second kind (kv) (test) | RMSE0.0104 | 5 | |
| Image Classification | CIFAR-10 (test) | Accuracy (Seen)91.45 | 3 | |
| Formula Regression | KAN benchmark Jacobian elliptic functions (ellipj) (test) | RMSE6.44 | 2 | |
| Formula Regression | KAN benchmark Incomplete elliptic integral of the second kind (ellipeinc) (test) | RMSE5.23 | 2 |