Internalizer: Portable Context-to-Parameter Mapping for Very Large Language Models
Abstract
Hypernetworks that map a context directly to a LoRA adapter let a large language model carry that context in its weights, but prior work has demonstrated them only on base models of up to 14 billion parameters. We present the Internalizer, a state-of-the-art, portable Context-to-Parameter Mapping hypernetwork that generates document-specific LoRA adapters for the frozen 284B-parameter DeepSeek v4 Flash, a target two orders of magnitude larger than in any previous work. Most of its parameters live in a model-agnostic trunk with only thin entry and exit layers per base model, so it trains cheaply against small models before being ported to the large one. On unseen documents of up to 4096 tokens, the generated adapters reach 84.9% top-1 and 97.8% top-5 teacher-forced accuracy against 63.4% and 83.5% for the base model, with nothing in the context window but a three-word instruction. Once the hypernetwork is trained, a single forward pass turns any document into an adapter for such a model, which could be served alone for speed or alongside the document in the window to raise accuracy further.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL, cs.LG
- Comments
- 14 pages, 3 figures, 1 table
Related papers
Context-Grounded Skill Internalization for Vision-Language Agents
Shared title terminologycs.AIJinlin Liu, Yumeng He, Qihan Huang et al.
LimoBench: How Street Smart Are Large Language Models?
Shared title terminologycs.AIGautam Choudhary, Jack Peng, Udesh Kumarasinghe et al.
Uncovering Hidden Behaviours in Language Models via Limited-Parameter Finetuning
Shared title terminologycs.AIBoyd Kane, Jo J. Jiao, Elizabeth Donoway et al.
Learning Heterogeneous Reasoning in Large Language Models: From Mode Compatibility to Local Bottlenecks
Shared title terminologycs.AISunbowen Li, Dandan Song, Shengkun Ma et al.
Agentic Large Language Models
Shared title terminologycs.AIMax van Duijn, Michiel van der Meer, Aske Plaat et al.
Look Before You Commit: Visual-Evidence-Guided Decoding for Multimodal Diffusion Language Models
Shared title terminologycs.AITongxiao Hu, Yikai Zhao, Qiyan Zhao et al.