scimeatlas

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

Extending Context Window of Large Language Models via Semantic Compression

Weizhi Fei, Xueyan Niu, Pingyi Zhou, Lu Hou, Bo Bai, Lei Deng, Wei Han

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

Tsinghua University · Huawei Technologies

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

11measured effects
7improved
1no clear effect
2hurt
1mixed

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
add semantic compression moduleLlama2-7B-chat-4k · Passkey retrievalaccuracy: above 90% up to 30,000 tokens (Llama2 drops to zero past 4096)Improved
combine semantic compression with YaRNLlama2 · Passkey retrievalaccuracy: extends to 60,000 with accuracy above 90%Improved
add semantic compression moduleLlama2 · GovReport perplexityperplexityImproved
add semantic compression for inputs under 4kLlama2-7B-chat-4k · LongBench (<4k)LongBench scoreNo clear effect
add semantic compressionLlama2-7B-chat-4k · HotpotQA (4k-8k)score: 25.4 -> 50.6Improved
add semantic compressionLlama2-7B-chat-4k · Few-shot learning (TREC, TriviaQA, 4k-8k)score: TREC 55.7 vs 70.9 (YaRN); TriviaQA 83.3 vs 90.9 (YaRN)Hurt
add semantic compressionLlama2-7B-chat-4k · LongBench 4k-8kscoreImproved
add semantic compressionLlama2-7B-chat-4k · LongBench 8k-16kscoreImproved
add semantic compressionLlama2-7B-chat-4k · LongBench 16k-32kscoreMixed
add semantic compressionLlama2-7B-chat-4k · LongBench 32k+scoreImproved
use YaRN or LongLoRA extensionLlama2 · LongBench (<=4k texts and long ranges)scoreHurt

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