Cache2LoRA: Understanding and Improving Context Internalization
Context-to-LoRA methods encode documents as low-rank parameter updates, allowing language models to answer without retaining the source text in their decoding context.
ProofPaper ↗
Key points
- Controlled diagnosis of existing context-to-LoRA methods separates fact discrimination, target retention, and response adaptation.
- We introduce Cache2LoRA, which uses each query to aggregate evidence from a reusable frozen document cache before generating LoRA updates.
- Across 17 tasks, Cache2LoRA improves on existing context-to-LoRA methods and achieves macro F1 of 0.663, approaching full-context in-context learning at 0.671.
- At matched memory size, generated LoRA preserves answer accuracy more reliably than the learned-KV variant under long, diverse intervening text and combines more effectively with retained document KV, yielding higher hybrid F1 and EM.
Sources (1)
- [1]Cache2LoRA: Understanding and Improving Context InternalizationarXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 16, 06:35 PM
Context-to-LoRA methods encode documents as low-rank parameter updates, allowing language models to answer without retaining the source text in their decoding context.
Controlled diagnosis of existing context-to-LoRA methods separates fact discrimination, target retention, and response adaptation.
Extractive summary: sentences quoted from the sources.
Before this
- Oct 16, 2026axolotl-ai-cloud/axolotl v0.21.0
- Oct 16, 2026Minimax-optimal Scaling Laws in Ridge Regression via Transfer Learning
- Oct 16, 2026DICL-Qwen3VL: Decoupled Confidence Calibration for Interpretable Workwear Detection
- Oct 15, 2026On the SPOT: Enhancing Speculative Decoding for Diffusion Language Models via Commit-Order Prediction
- Oct 15, 2026Don't Retrain, Remix: Adaptation of Web Agents using Mixture Hypernetworks
- Oct 15, 2026Pearl-Chat: Engineering a native Luganda language model from first principles in JAX and Flax NNX