cs.LGSep 30, 2026

On-the-fly Weight Generation: A Hypernetwork Proof of Concept on ARC-1D

Authors: Fabio J. Fehr, Philip Torr

Organizations: University of Oxford

Abstract

General-purpose models can adapt to many tasks from context, while specialised models can execute individual functions with less capacity. Yet obtaining such specialists requires task-specific training or adaptation. We ask whether they can instead be generated directly from a few demonstrations. Using ARC-1D as a controlled testbed, we show that individual transformations can be represented by tiny specialist models, and that a hypernetwork can generate their parameters from context. The generated parameters form a structured weight space, while the resulting specialists show partial compositional generalisation and generalisation to transformations not seen during training. In both settings, removing explicit task identifiers improves generalisation beyond the training transformations. Together, these results provide a proof of concept that few-shot task context can be compiled on-the-fly into compact executable model parameters, and that the resulting weight space can support reuse and generalisation beyond known functions.

Figures & tables

Appendix figures & tables21 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Position: Weight Space Should Be a First-Class Generative AI Modality

    May 18, 2026Zhangyang Wang, Peihao Wang, Kai WangModel CheckpointsModel Weights

  2. Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data

    Sep 16, 2026Jinli Hu, Ross M. Clarke, Yichuan Zhang +1Model WeightsIn-Context Learning

  3. SHINE: A Scalable In-Context Hypernetwork for Mapping Context to LoRA in a Single Pass

    Feb 6, 2026Yewei Liu, Xiyuan Wang, Yansheng Mao +3Large Language Model AdaptationLow-Rank Adaptation Adapters