mlsanityData to 26 Nov 2026

Encode Once, Answer Many: Internalizing Context via Parametric Flow

arXiv 2610.38356 ↗Submitted 28 Oct 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large language models are typically adapted to a task either by placing knowledge in the input context, which keeps it external and re-encodes it on every call, or by fine-tuning, which internalizes it but demands a costly round of optimization per task. We aim to internalize the knowledge carried by a context directly into model parameters, without per-task optimization and without keeping the context in the input at inference time. To this end, we propose CLIK, a context-conditioned parameter generator that maps a given context to LoRA parameters for internalizing knowledge in a single forward pass through a Transformer encoder with cross-attention, requiring no test-time gradient updates. Once the generated LoRA is inserted into a frozen base model, the model answers downstream queries from the query alone, having internalized the context into its weights rather than re-reading it. Because the adapter depends only on the context, it is generated once and reused for every query on the same document, so the cost of reading that document is amortized across queries. On document question answering, CLIK substantially improves over the no-context base model and outperforms existing hypernetwork-based generators, while remaining behind a base model that reads the context directly, and it carries over to multi-turn dialogue without any multi-turn-specific training. Analysis further shows that the context-dependent part of the generated adapter concentrates in a compact and specific substructure.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 42 of its 55 references that are in the map. Submitted 28 Oct 2026.

Builds on

42 of 55 references.

References · 42

  1. 2020Language Models are Few-Shot Learnerscited by 33,113
  2. 2022Training language models to follow instructions with human feedbackcited by 16,493
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,968
  5. 2025Qwen3 Technical Reportcited by 10,000
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
  7. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,133
  8. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,276
  9. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,986
  10. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
  11. 2018Deep contextualized word representationscited by 2,318
  12. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,392
30 more
  1. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
  2. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,357
  3. 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,123
  4. 2016HyperNetworkscited by 1,085
  5. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 1,011
  6. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 1,003
  7. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 949
  8. 2023Instruction Tuning for Large Language Models: A Surveycited by 672
  9. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 502
  10. 2025LLMs Get Lost In Multi-Turn Conversationcited by 501
  11. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 397
  12. 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 324
  13. 2024Long-context LLMs Struggle with Long In-context Learningcited by 318
  14. 2024MT-Bench-101: A Fine-Grained Benchmark for Evaluating Large Language Models in Multi-Turn Dialoguescited by 267
  15. 2022Learning by Distilling Contextcited by 180
  16. 2023S-LoRA: Serving Thousands of Concurrent LoRA Adapterscited by 171
  17. 2023Punica: Multi-Tenant LoRA Servingcited by 104
  18. 2019Reasoning Over Paragraph Effects in Situationscited by 82
  19. 2025Beyond Single-Turn: A Survey on Multi-Turn Interactions with Large Language Modelscited by 70
  20. 2026Doc-to-LoRA: Learning to Instantly Internalize Contextscited by 65
  21. 2024Neural Network Diffusioncited by 56
  22. 2026SHINE: A Scalable In-Context Hypernetwork for Mapping Context to LoRA in a Single Passcited by 39
  23. 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Passcited by 35
  24. 2025Drag-and-Drop LLMs: Zero-Shot Prompt-to-Weightscited by 30
  25. 2024Efficient Knowledge Injection in LLMs via Self-Distillationcited by 29
  26. 2026Position: Weight Space Should Be a First-Class Generative AI Modalitycited by 9
  27. 2026HY-WU (Part I): An Extensible Functional Neural Memory Framework and An Instantiation in Text-Guided Image Editingcited by 7
  28. 2026Code2LoRA: Hypernetwork-Generated Adapters for Code Language Models under Software Evolutioncited by 7
  29. 2026COPRA: Conditional Parameter Adaptation with Reinforcement Learning for Video Anomaly Detectioncited by 2
  30. 2026Good Agentic Friends Do Not Just Give Verbal Advice: They Can Update Your Weightscited by 1

Built on by

Not cited yet.