scimeatlas

Research map / Architectures and efficiency / Attention and transformers

HMT: Hierarchical Memory Transformer for Efficient Long Context Language Processing

Zifan He, Yingqi Cao, Zongyue Qin, Neha Prakriya, Yizhou Sun, Jason Cong

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

University of California, Los Angeles · University of California, San Diego

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

15measured effects
10improved
1no clear effect
3hurt
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 HMT to the backboneOPT 2.7B · Wikitext-103 avgperplexity: 12.12 -> 8.61Improved
add HMT to the backboneRWKV 3B · Wikitext-103 avgperplexity: 13.30 -> 9.93Improved
add RMT instead of HMT to RWKVRWKV 3B · Wikitext-103 / PG-19perplexityHurt
add RMT to Qwen 2.5 14BQwen 2.5 14B · PG-19perplexityHurt
add HMT to Llama 2 7B for PubMedQA multi-contextLlama 2 7B · PubMedQA long answerperplexity: 9.48% PPL gainImproved
add HMT to Llama 2 7B for PubMedQA short answersLlama 2 7B · PubMedQA short answeraccuracy: +1.0%Improved
add memory retrieval mechanism (ablation)HMT OPT 350M/2.7B · Wikitext-103 up to 100k tokensperplexityImproved
summarize half of the segment instead of whole for representation extraction (ablation)HMT + OPT 2.7B · Wikitext-103perplexityNo clear effect
increase number of cached memory embeddings (ablation)HMT + Llama 2 7B · Wikitext-103 100k tokensperplexityImproved
vary sensory memory size (ablation)HMT + Llama 2 7B · Wikitext-103perplexity: 4.54 (8) -> 4.19 (32) -> 4.57 (128)Mixed
train in two stages instead of one (ablation)HMT + OPT 2.7B · long-context inputsperplexityImproved
increase BPTT unroll depth (ablation)HMT + OPT 2.7B · Wikitext-103 10k tokensperplexity: 9.36 -> 9.15 -> 8.20 (depth 2, 5, 15)Improved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 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 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