scimeatlas

Research map / Architectures and efficiency / Attention and transformers

LLoCO: Learning Long Contexts Offline

Sijun Tan, Xiuyu Li, Shishir Patil, Ziyang Wu, Tianjun Zhang, Kurt Keutzer, Joeseph E. Gonzalez, Raluca Ada Popa

EMNLP 2024Architectures and efficiency › Attention and transformersapproach: Sparse attention for long-context LLMsopen problems in this approach49 citations (OpenAlex)

University of California, Berkeley

Read the paperPlace an idea next to itCheck your own paper ↗

15measured effects
8improved
3no clear effect
4hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add in-domain LoRA finetuning on compressed contexts (LLoCO vs. AutoCompressor out of the box)AutoCompressor on LLaMA2-7B · long document QA averageaverage score: 18.75 -> 30.67Improved
use compressed-context LLoCO instead of 32k original contextLLaMA2-7B-32k · long document QA averageaverage score: 24.70 -> 30.67Improved
finetune LLaMA2-7B-32k with original uncompressed context (ablation)LLaMA2-7B-32k · long document QA averageaverage score: 24.70 -> 31.32Improved
finetune on compressed vs original context (ablation)LLoCO vs finetuned LLaMA2-7B-32k · long document QA averageaverage score: 30.67 vs 31.32No clear effect
compress 2048 tokens into 50 (40x) instead of 1536 (30x) or 1024 (20x) (ablation)LLoCO · QuALITY, QMSum, NarrativeQAtask metricsHurt
use 30x instead of 20x compression ratio (ablation)LLoCO · QuALITY, QMSum, NarrativeQAtask metricsNo clear effect
train one combined finetuned model instead of per-dataset finetuning (ablation)LLoCO · long document QA averageaverage score: 30.67 -> 29.65Hurt
combined finetuning on QuALITY (ablation)LLoCO · QuALITYexact match: 41.51 -> 47.07Improved
use ICAE instead of AutoCompressor as context encoder (ablation)LLoCO · QuALITY, Qasper, QMSum, NarrativeQAtask metrics: Qasper 29.01 -> 16.14Hurt
LLoCO with 32k-truncated documents vs LLaMA2-7B-32k (ablation)LLoCO · NarrativeQAF1: 16.76 -> 27.99Improved
use LLoCO instead of LLaMA2-7B-128k on NarrativeQALLoCO · NarrativeQAF1: 28.22 -> 28.34No clear effect
LLoCO on GovReport (long generation)LLoCO · LongBench GovReportLongBench score: 30.8 -> 17.6Hurt

Open problems in sparse attention for long-context LLMs

Which attention can a long-context model drop without losing the answer?

All 4 open problems and what was already tried →

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