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
University of California, San Diego · Halıcıoğlu Data Science Institute
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| replace absolute position embeddings with fixed lightweight convolution (ablation) | BERT-small · GLUE test | GLUE score: 71.1 -> 74.5 | Improved |
| make lightweight convolution dynamic (query-based relative embeddings) (ablation) | BERT-small · GLUE test | GLUE score: 74.5 -> 74.7 | Improved |
| add composite attention (fixed + dynamic lightweight convolution) | BERT-small · GLUE test | GLUE score: 71.1 -> 75.2 | Improved |
| add composite attention instead of absolute positions | BERT-base · GLUE test | GLUE score: 78.5 -> 78.7 | Improved |
| remove absolute position embeddings without adding convolution (ablation) | BERT-small · GLUE test, CoLA | CoLA score: 30.8 -> 13.9 | Hurt |
| add key-based dynamic lightweight convolution (ablation) | composite attention · GLUE test | GLUE score: 75.2 -> 74.0 | Hurt |
| add fixed depthwise convolution (ablation) | composite attention · GLUE test | GLUE score: 75.2 -> 74.5 | Hurt |
| use depthwise instead of lightweight fixed convolution (ablation) | BERT-small · GLUE test | GLUE score: 74.5 -> 73.5 | Hurt |
| add convolutional value projections (ablation) | BERT-small without composite attention · GLUE test | GLUE score: 71.1 -> 73.4 | Improved |
| add convolutional values on top of composite attention (ablation) | composite attention · GLUE test | GLUE score: 75.2 -> 73.9 | Hurt |
| add convolutional Q/K on top of composite attention (ablation) | composite attention · GLUE test | GLUE score: 75.2 -> 74.5 | Hurt |
| use integrated conv + self-attention instead of ConvBERT | BERT-small · GLUE test | GLUE score: 70.3 -> 74.5 | 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.
- ConvBERT-small — ConvBERT: Improving BERT with Span-based Dynamic Convolution (NeurIPS 2020) · better on 1 of 1 shared result
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
- Self-Attention with Relative Position Representations (NAACL 2018 · similarity 0.92)
- Pay Less Attention with Lightweight and Dynamic Convolutions (ICLR 2019 · similarity 0.90)
- The Case for Translation-Invariant Self-Attention in Transformer-Based Language Models (ACL 2021 · similarity 0.90)
- Adversarial Self-Attention for Language Understanding (AAAI 2023 · similarity 0.89)
- Latent Positional Information is in the Self-Attention Variance of Transformer Language Models Without Positional Embeddings (ACL 2023 · similarity 0.89)
- On the Power of Convolution-Augmented Transformer (AAAI 2025 · similarity 0.88)
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.