scimeatlas

Research map / Architectures and efficiency / Attention and transformers

Self-Attention Networks Can Process Bounded Hierarchical Languages

Shunyu Yao, Binghui Peng, Christos Papadimitriou, Karthik Narasimhan

ACL 2021Architectures and efficiency › Attention and transformersapproach: Long-context KV and memory attentionopen problems in this approach144 citations (OpenAlex)

Princeton University · Columbia University

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

6measured effects
3improved
1no clear effect
2hurt

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.

This paper tried a common change: Add dropout

use more attention heads or dropout in Transformer · Dyck-(k,D) · close accuracy Hurt

What 1,045 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use scalar positional encoding i/6000 (POS/N) instead of Fourier (COS) or learned (LEARN) encodings (ablation)Transformer · Dyck-(8,10) test (longer inputs)close accuracyImproved
use a 2-layer Transformer (POS/N) instead of a 1-layer LSTM at the same memory sizeDyck-(8,10) models · Dyck-(8,10) testclose accuracy: >90% at d_model 20 (Transformer) vs 40 (LSTM); >95% at 30 vs 50Improved
use 2-layer Transformer instead of 1-layer LSTM at large k and DDyck-(k,D) models · Dyck-(k,D) validation and testclose accuracy: LSTM < 80% at (32,15), (128,10), (128,15); Transformer > 99.9% val, > 94% testImproved
increase Transformer depth from 2 to 5 layers (POS/N) (ablation)Transformer · Dyck-(k,D) validationclose accuracyNo clear effect
use POS/N scalar positional encoding instead of learned encoding in RoBERTa (ablation)RoBERTa on WikiText-103 · WikiText-103 MLM validationloss: 1.31 -> 1.55Hurt
use more attention heads or dropout in Transformer (ablation)Transformer on Dyck · Dyck-(k,D)close accuracyHurt

Open problems in long-context KV and memory attention

How can long-context attention be made fast and small in memory without losing quality against full attention?

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