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

Jinli Hu, Ross M. Clarke, Yichuan Zhang, José Miguel Hernández-LobatoarXiv 2026

TL;DR

Current LLMs are frozen after deployment, forcing them to repeatedly re-read user context and live interaction data within the prompt window. This paper introduces the Infinite-Parameter LLM, which dynamically compiles live interaction data into low-rank weight modulations via a compact hypernetwork. By maintaining and updating a Bayesian belief over these weights online, the model continuously adapts to a session with a constant memory footprint and zero prompt-overhead.

What Problem Does This Paper Address?

When an LLM is deployed, its weights are typically frozen. If a user provides new facts, corrections, or instructions during a session, this data must be stuffed into the prompt context window or fetched via Retrieval-Augmented Generation (RAG). Consequently, the model must re-read this context on every single request, which wastes compute, clutters the finite context window, and gets discarded as soon as the session ends.

While fine-tuning can update model weights, it is far too computationally expensive to perform live during an inference session. The authors address this challenge by designing a system that allows an LLM to genuinely and efficiently absorb new information directly into its weights at inference time.

Figure 1: Three regimes for turning data into model capability, ordered by frequency of weight updates and recency of source data. Pre-training and post-training (SFT, RLHF) both update weights offline and leave them frozen thereafter; they differ mainly in the data they use and how often they run. Live-learning (our work) continuously updates a generated low-rank code at inference, using live interaction data — facts, corrections and outcomes — that the other approaches cannot exploit. In-context learning and retrieval (bottom) also act at inference, but fix the weights unchanged and carry data in the prompt, where it is re-read every request and then discarded. The regimes are complementary: live-learning exists alongside pre- and post-training (Section 4), incorporating data otherwise left on the table.

Methods

The Infinite-Parameter LLM modifies standard feed-forward network (FFN) sub-layers by combining a frozen base FFN with a dynamic, generated low-rank modulation ($\Delta W$).

The architecture consists of three moving parts:

  1. Data-to-Weight Encoder: Reads live interaction data using learnable "memory tokens" and maps it into a latent code $z$.
  2. Generator: Transforms this latent code into additive low-rank deltas (similar to LoRA factors) that modulate the base FFN weights.
  3. Online Adaptation (Belief over Code): Instead of a fixed, one-shot weight generation, the model maintains a Bayesian belief distribution over the latent code $z$. This belief is updated recursively as the interaction proceeds.

For their primary evaluation, the authors instantiate this framework using a categorical belief over a pool of materialised codes. A trained selector network uses the model's internal hidden states to route each token to the most relevant generated weight configuration.

Figure 2: The two architecture axes of the design, and where prior work sits. Down — where each token’s weight comes from: selected from a stored, fully-resident bank (top), or generated on demand from a compact resident generator (bottom); this is the “generate, don’t store” move, and it buys a fixed footprint. Across — what happens to the weight after it is produced: frozen once made (left), or carried as a belief over its latent code and updated online (right); this is the axis that makes the weight live in time. Stored-bank MoE (µMoE, ∞-MoE) and the one-shot weight generators (Text-to-LoRA, SHINE, MoEGen) each sit in a single cell; only the bottom-right — generate the weight from live data and keep a moving belief over the code — is occupied by this work. “Infinite parameters” is the reach this opens up: an unbounded set of effective weights and behaviours across both facts and time, from a fixed resident footprint — not an unbounded store of knowledge, which the capacity laws forbid and we do not claim (Sections 3.4 and 4). Attention is unchanged throughout; the bounded-vs-unbounded geometry of a single generated layer is developed in Figure 4.

Datasets

The approach was evaluated on five question-answering datasets that span different lengths and complexities of evidence:

  • SQuAD: A clean, single-short-passage dataset representing the easy end of the spectrum.
  • MS MARCO v2.1: A long, noisy dataset featuring roughly 10 candidate passages per question.
  • HotpotQA, 2WikiMultihopQA, and MuSiQue: Hard multi-hop datasets that require synthesizing information across multiple distractor paragraphs.

Key Insights and Ideas

  • The Weights-vs-Prompt Crossover: For short, clean contexts (like SQuAD), simply reading data in the prompt is unbeatable. However, as evidence becomes long and noisy (like MS MARCO), prompt-based context windows suffer from attention dilution and high compute costs. Compiling data into weights completely inverts this dynamic, outperforming in-context learning.
  • The Dilution Boundary: Trying to pack too much information into a single fixed-size weight code causes it to saturate and lose fidelity. Instead of making one massive code, it is structurally superior to encode bounded passages into separate codes and maintain a belief distribution over them.
  • Internal Routing Signals: The model's later-layer hidden activations provide an exceptionally strong signal for routing queries to the correct generated weights. Because it leverages the model's own evolving understanding of a question, this internal activation-based selector outperforms standard external text retrievers.

Key Results

  • Beating the Prompt: On the long and noisy MS MARCO dataset, the data-to-weights approach achieved an 48.0 F1 score, significantly outperforming in-context learning at 33.6 F1.
  • Superior Routing: The trained activation-routed selector consistently beat dense retrieval (bge-small) across all multi-passage datasets, achieving 53.3% vs 45.3% top-1 accuracy on MS MARCO and 70.1% vs 58.1% on 2WikiMultihopQA.
  • Cross-Turn Accumulation: In multi-turn conversations, carrying the Bayesian belief across turns allowed the model to resolve highly ambiguous follow-up questions (e.g., "and its height?"). The accumulated belief sharpens over the course of a conversation, increasing accuracy over time while keeping per-token computational overhead completely flat.

Limitations and Future Work

  • Capacity Boundaries: A compact generator cannot expand the fundamental closed-book knowledge capacity of the base model; it can only curate and focus the knowledge explicitly supplied to it at run-time.
  • Categorical Simplification: This paper primarily evaluates a categorical belief (selecting from a discrete pool of pre-computed codes). The authors note that implementing a fully continuous-Gaussian belief space—which would allow smooth movement within the code space—is an important but challenging direction for future work.
  • Generalization Risk: Weight generators run the risk of memorizing their training distributions. While the evaluation used held-out evidence, a more systematic study of generalisation across entirely unseen knowledge domains is still required.

Summary updated

BibTeX
@misc{hu2026infinite,
  author = {Jinli Hu and Ross M. Clarke and Yichuan Zhang and José Miguel Hernández-Lobato},
  title = {{Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data}},
  year = {2026},
  eprint = {2609.18842},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.18842},
}
Figure