scimeatlas

Research map / Large language models / Language, safety and interpretability

Long-Context Language Modeling with Parallel Context Encoding

Howard Yen, Tianyu Gao, Danqi Chen

ACL 2024Large language models › Language, safety and interpretabilityapproach: LLM pruning and scaling dataopen problems in this approach106 citations (OpenAlex)

Princeton University

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

14measured effects
10improved
1hurt
3mixed

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.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use CEPE (small parallel encoder + cross-attention) instead of full fine-tuning for 128K contextLlama-2-7B · ArXiv/Book/PG19/ProofPile 128Kperplexity: ArXiv 2.359 (YaRN-128K) -> 2.217Improved
process long context with CEPELlama-2-7B · Throughput/memory at 128Kthroughput, memory: 9.90x throughput, 38.6 GB vs 235.6 GB (YaRN-128K)Improved
use CEPE in retrieval-augmented LM with more passagesLlama-2-7B · RedPajama retrieval-augmented LMperplexity: avg 4.568 (k=8) -> 4.550 (k=50)Improved
add CEPE to Llama-2 for open-domain QA with more passagesLlama-2-7B · Natural Questionsexact match: 32.27 (k=10) -> 34.07 (k=60)Improved
add extra demonstrations via the CEPE encoderLlama-2-7B · ICL classification (11 datasets)accuracy: SST5 3.9 -> 46.7; TREC-F 16.7 -> 25.1Improved
encoder demonstrations versus 40 demonstrations in decoderCEPE · ICL classificationaccuracy: TREC-F 25.1 vs oracle 54.8Hurt
apply CEPE-Distilled to Llama-2-7B-ChatLlama-2-7B-Chat · ZeroSCROLLS NarrativeQAF1: 17.1 -> 19.5 (2K+2K), 21.9 (2K+All)Improved
CEPE-Distilled versus Llama-2-7B-32K-InstructCEPE-Distilled · ZeroSCROLLS (6 tasks)F1/accuracy/ROUGE-L: QuALITY 30.2 vs 41.6; GovReport 16.5 vs 19.9Mixed
train on retrieved documents (RetDoc) instead of the default mixture (ablation)CEPE · retrieval-augmented vs long-context LMperplexity: retrieval 4.57 -> 4.53 (k=8); long-context 3.97 -> 4.01 (8K)Mixed
train only on filtered ArXiv/Books (RPtrain-filter only) (ablation)CEPE · long-context vs retrieval LMperplexity: long 3.97 -> 3.96 (8K); retrieval 4.57 -> 4.75 (k=8)Mixed
add the warmup stage (ablation)CEPE · long-context LM (8K)perplexity: 4.03 -> 3.97Improved
fine-tune a pre-trained encoder (vs frozen) (ablation)CEPE · long-context LM (8K)perplexity: 4.01 -> 3.97Improved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 2 of 2 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in LLM pruning and scaling data

Do pruning, unlearning and data-scaling methods still work at larger scale and beyond English?

All 5 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