Combining Document LoRA and KV Cache for Long-Context Question Answering
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:04 UTC · 06df88ecd1eb ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "Nno5i6RiDf"- }- ],- "title": "Combining Document LoRA and KV Cache for Long-Context Question Answering",- "authors": [],- "abstract": "Document LoRA encodes information from a source document through low-rank adaptation (LoRA), which trains small weight-update matrices while keeping the base model fixed. These document-specific parameters provide a form of memory alongside the key-value (KV) cache. We observe that the KV cache and document LoRA differ in the types of questions they answer correctly, motivating their combination for long-context question answering. Our approach first applies KV cache eviction, then fine-tunes the model on synthetic question-answer pairs from the source document using LoRA. Training updates only the low-rank matrices in the feed-forward projections while keeping the compressed KV cache in context. When answering a question, the model uses both the document LoRA and the compressed KV cache. On 2WikiMultihopQA, answering with both memories outperforms using the selected KV cache alone or the same learned adapter alone across all four models. The overall F1 gains reach 25.0 and 9.0 points, respectively. We expect this approach to improve efficiency for repeated QA over a shared document and, with chunked processing, for documents that exceed the model's context window.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "01590dd6-9450-441a-ac14-a9ff1161845e"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Combining Document LoRA and KV Cache for Long-Context Question Answering",+ "authors": [],+ "abstract": "Document LoRA encodes information from a source document through low-rank adaptation (LoRA), which trains small weight-update matrices while keeping the base model fixed. These document-specific parameters provide a form of memory alongside the key-value (KV) cache. We observe that the KV cache and document LoRA differ in the types of questions they answer correctly, motivating their combination for long-context question answering. Our approach first applies KV cache eviction, then fine-tunes the model on synthetic question-answer pairs from the source document using LoRA. Training updates only the low-rank matrices in the feed-forward projections while keeping the compressed KV cache in context. When answering a question, the model uses both the document LoRA and the compressed KV cache. On 2WikiMultihopQA, answering with both memories outperforms using the selected KV cache alone or the same learned adapter alone across all four models. The overall F1 gains reach 25.0 and 9.0 points, respectively. We expect this approach to improve efficiency for repeated QA over a shared document and, with chunked processing, for documents that exceed the model's context window.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}