ConvPE: Convolutional Position Embedding Improves Transformers
Zehao Wang
Key points
From the paper's conclusion- ConvPE (Convolutional Position Embedding) improves both the performance and efficiency of Transformer models in language modeling, long-context extension, and vision.
Abstract
ConvPE (Convolutional Position Embedding) improves both the performance and efficiency of Transformer models in language modeling, long-context extension, and vision. It injects a windowed, content-dependent bias into attention scores through a lightweight causal convolution over a low-dimensional projection of the hidden states. As a lightweight plug-in, ConvPE is compatible with RoPE, attention masks, and KV concatenation. It also supports high-dimensional position embeddings via high-dimensional convolutions. In a reproduction, ConvPE outperforms five 1D baselines and eight 2D baselines. The code is publicly available at https://github.com/wzhagi/convpe.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Causal Optimal-Transport Attention: Positional Priors and Length ExtrapolationarXiv · 2026
- Fast and Exact Relative-Position Attention via Structure-Aware KernelsarXiv · 2026
- WavePrune: One period is often enough for RoPEarXiv · 2026
- HySPE: Positional Encoding via Symplectic Dual ShearsarXiv · 2026
- CoWindow Attention: Full Causal Coverage Is a Collective PropertyarXiv · 2026
- Continuum AttentionarXiv · 2026