Research map / Architectures and efficiency / Attention and transformers
Improving BERT with Syntax-aware Local Attention
Zhongli Li, Qingyu Zhou, Chao Li, Ke Xu, Yunbo Cao
Beihang University · Tencent
Read the paperPlace an idea next to itCheck your own paper ↗
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.
On benchmark leaderboards
- SST-2 leaderboard accuracy (dev) 94.3 · rank 17 of 60 papers
- RTE leaderboard accuracy (dev) 67.8 · rank 48 of 59 papers
- MRPC leaderboard accuracy (dev) 88.5 · rank 15 of 25 papers
- QNLI leaderboard accuracy (dev) 91.4 · rank 19 of 39 papers
- CoNLL2003 leaderboard F1 92.9 · rank 22 of 45 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add syntax-aware local attention (SLA) | BERT-large · CoLA dev | MCC: 63.9 -> 64.5 | Improved |
| add syntax-aware local attention (SLA) | BERT-base · CoLA dev | MCC: 58.7 -> 60.0 | Improved |
| add syntax-aware local attention (SLA) | BERT-base · CoNLL-2003 test | F1: 91.6 -> 92.2 | Improved |
| add syntax-aware local attention (SLA) | BERT-large · FCE test | F0.5: 57.3 -> 58.0 | Improved |
| add syntax-aware local attention (SLA) | BERT-base · SST-2 dev | accuracy: 93.1 -> 93.3 | Improved |
| add window-based local attention (WLA) instead of syntax-based (ablation) | BERT-large · Average over CoLA, SST-2, CoNLL-2003, FCE | average: 76.9 -> 76.6 | Hurt |
| add window-based local attention (WLA) (ablation) | BERT-base · Average over CoLA, SST-2, CoNLL-2003, FCE | average: 74.6 -> 75.0 | Improved |
| replace window-based by syntax-aware local attention (ablation) | BERT-large · Average over CoLA, SST-2, CoNLL-2003, FCE | average: 76.6 -> 77.4 | Improved |
| add SLA to sentence-pair tasks (naive cross-sentence attention) | BERT-base · QNLI/RTE/MRPC/STS dev | accuracy / PCC: MRPC 87.3 -> 88.5; STS 89.5 -> 89.9; QNLI 91.7 -> 91.4; RTE 68.6 -> 67.8 | Mixed |
| add SLA on Chinese benchmarks | BERT-base · ChnSentiCorp / MSRA NER / CGED | accuracy / F1: ChnSentiCorp 94.7 -> 95.7; MSRA F1 94.8 -> 94.9; CGED F1 77.5 -> 78.7 | 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.
- SGNet — SG-Net: Syntax-Guided Machine Reading Comprehension (AAAI 2020) · better on 4 of 4 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 long-context KV and memory attention
How can long-context attention be made fast and small in memory without losing quality against full attention?
- Validated only on models up to about 13B parameters. · 8 papers state it
- Speedups are limited because the code is not fused or kernel-optimized. · 5 papers state it
- Compressed or sparse attention still trails full attention. · 4 papers state it
Closest papers by meaning
- Supervised Attentions for Neural Machine Translation (EMNLP 2016 · similarity 0.85)
- Head-wise Shareable Attention for Large Language Models (EMNLP 2024 · similarity 0.83)
- Syntax Matters: Towards Spoken Language Understanding via Syntax-Aware Attention (EMNLP 2023 · similarity 0.83)
- Revealing the Dark Secrets of BERT (EMNLP 2019 · similarity 0.83)
- Scaling Stick-Breaking Attention: An Efficient Implementation and In-depth Study (ICLR 2025 · similarity 0.82)
- Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patterns (ICLR 2024 · similarity 0.82)
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.