Reproduce “Continuous-Time Attention: PDE-Guided Mechanisms for Long-Sequence Transformers” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Yukun Zhang, Xueqing Zhou
A framework called Continuous-Time Attention (PDE-Attention) integrates partial differential equations into the Transformer's self-attention mechanism, allowing attention weights to evolve dynamically over a pseudo-time dimension. This approach improves the capture of long-range dependencies and global coherence, leading to substantial performance gains, such as an 11,000x perplexity reduction on WikiText-103, for extremely long sequences.
Key insights
- Infusing continuous-time PDE dynamics into the attention mechanism converts the exponential decay of long-range dependencies into polynomial decay, critically improving performance on ultra-long sequences.
- PDE-guided attention leads to smoother and more consistent attention distributions over pseudo-time, which stabilizes gradient flow, regularizes the optimization landscape, and accelerates model convergence.
- The framework provides a theoretically grounded, physically-motivated mechanism for continuous, global information propagation that addresses the scalability and expressivity limitations of current Transformer architectures.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.