scimeatlas

Research map / Architectures and efficiency / Attention and transformers

How Can Self-Attention Networks Recognize Dyck-n Languages?

Javid Ebrahimi, Dhruv Gelda, Wei Zhang

EMNLP 2020Architectures and efficiency › Attention and transformersapproach: Sparse and structured attentionopen problems in this approach79 citations (OpenAlex)

Visa Research

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

12measured effects
7improved
1no 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.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add a starting symbol to the vocabulary (ablation)self-attention network · Dyck-2, length 76-100accuracy (%): 14.52 -> 93.34Improved
add a starting symbol to the vocabulary (ablation)self-attention network · Dyck-2, length 102-126accuracy (%): 0.006 -> 58.82Improved
add a starting symbol to the vocabulary (ablation)self-attention network · Dyck-3, length 102-126accuracy (%): 5.50 -> 66.88Improved
add a starting symbol to the vocabulary (ablation)self-attention network · Dyck-4, length 102-126accuracy (%): 9.080 -> 72.38Improved
add a starting symbol to the vocabulary (ablation)self-attention network · Dyck-1accuracy (%): 98.88 -> 100.0 (length 102-126)No clear effect
add a starting symbol to the vocabulary (ablation)LSTM · Dyck-4, length 102-126accuracy (%): 60.24 -> 55.90Hurt
add a starting symbol to the vocabulary (ablation)LSTM · Dyck-2, length 102-126accuracy (%): 73.20 -> 70.90Hurt
use LSTM- instead of SA+SA+ · Dyck-2, length 102-126accuracy (%): 58.82 -> 73.20Improved
use SA+ instead of LSTM-LSTM- · Dyck-4, length 102-126accuracy (%): 60.24 -> 72.38Improved
increase the number of bracket types from 2 to 4SA+ · Dyck, length 102-126accuracy (%): 58.82 -> 72.38Improved
increase the number of bracket types from 2 to 4LSTM- · Dyck, length 102-126accuracy (%): 73.20 -> 60.24Hurt
remove dropoutall models · Dyck-naccuracyHurt

Open problems in sparse and structured attention

How well do the theory and the efficient designs of attention carry over from simplified models to full-scale transformers?

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