atlas

Research map / Large language models / Reasoning and chain of thought

Doc-to-LoRA: Learning to Instantly Internalize Contexts

ICML 2026 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Doc-to-LoRA, a Perceiver-based hypernetwork meta-trained to emulate context distillation by mapping a document in one forward pass to a LoRA adapter that internalizes its content for a frozen target LLM.

Problem

Long contexts make LLM inference memory- and latency-heavy, while context distillation (CD) can internalize information into weights but per-document distillation is too slow and memory-hungry for interactive use.

Approach

Meta-train a Perceiver-style hypernetwork with the context-distillation KL objective across millions of contexts so that a single forward pass produces a context-specific rank-r LoRA; long contexts are chunked and their LoRAs concatenated along the rank dimension for composability.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: FineWeb-Edu PwC SQuAD ROPES DROP RULER LongBench

Benchmarks: SQuAD DROP ROPES 2WikiMultihopQA MultiFieldQA QASPER RULER needle-in-a-haystack Imagenette

Metrics: ROUGE-L F1 ROUGE-L recall ROUGE-L precision update latency peak update memory normalized performance

Baselines: Context distillation (oracle) Context distillation (generated queries) T2L LLMLingua-2 Generative Adapter Base model with context Base model without context

Builds on: context distillation T2L Generative Adapter Perceiver LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy