scimeatlas

Research map / Architectures and efficiency / Attention and transformers

Convolutions and Self-Attention: Re-interpreting Relative Positions in Pre-trained Language Models

Tyler A. Chang, Yifan Xu, Weijian Xu, Zhuowen Tu

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

University of California, San Diego · Halıcıoğlu Data Science Institute

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

13measured effects
6improved
6hurt
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
replace absolute position embeddings with fixed lightweight convolution (ablation)BERT-small · GLUE testGLUE score: 71.1 -> 74.5Improved
make lightweight convolution dynamic (query-based relative embeddings) (ablation)BERT-small · GLUE testGLUE score: 74.5 -> 74.7Improved
add composite attention (fixed + dynamic lightweight convolution)BERT-small · GLUE testGLUE score: 71.1 -> 75.2Improved
add composite attention instead of absolute positionsBERT-base · GLUE testGLUE score: 78.5 -> 78.7Improved
remove absolute position embeddings without adding convolution (ablation)BERT-small · GLUE test, CoLACoLA score: 30.8 -> 13.9Hurt
add key-based dynamic lightweight convolution (ablation)composite attention · GLUE testGLUE score: 75.2 -> 74.0Hurt
add fixed depthwise convolution (ablation)composite attention · GLUE testGLUE score: 75.2 -> 74.5Hurt
use depthwise instead of lightweight fixed convolution (ablation)BERT-small · GLUE testGLUE score: 74.5 -> 73.5Hurt
add convolutional value projections (ablation)BERT-small without composite attention · GLUE testGLUE score: 71.1 -> 73.4Improved
add convolutional values on top of composite attention (ablation)composite attention · GLUE testGLUE score: 75.2 -> 73.9Hurt
add convolutional Q/K on top of composite attention (ablation)composite attention · GLUE testGLUE score: 75.2 -> 74.5Hurt
use integrated conv + self-attention instead of ConvBERTBERT-small · GLUE testGLUE score: 70.3 -> 74.5Improved

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 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