Research map / Architectures and efficiency / Attention and transformers
CoCA: Fusing Position Embedding with Collinear Constrained Attention in Transformers for Long Context Window Extending
Shiyi Zhu, Jing Ye, Wei Jiang, Siqiao Xue, Qi Zhang, Yifan Wu, Jianguo Li
Ant Group · Peking University
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 |
|---|---|---|---|
| add CoCA | RoFormer 350M · PG-19, 32k window | perplexity: inf -> 171.63 | Improved |
| add CoCA on top of dynamic NTK (ablation) | RoFormer 350M + dynamic NTK · PG-19, 32k window | perplexity: 380.75 -> 101.13 | Improved |
| add CoCA | LLaMA-7B · PG-19, 32k window | perplexity: inf -> 29.95 | Improved |
| add CoCA on top of dynamic NTK (ablation) | LLaMA-7B + dynamic NTK · PG-19, 32k window | perplexity: 133.87 -> 13.98 | Improved |
| add CoCA | RoFormer 350M · PG-19, 512 window (training length) | perplexity: 19.66 -> 20.11 | Hurt |
| add CoCA | LLaMA-7B · PG-19, 2048 window | perplexity: 7.30 -> 8.27 | Hurt |
| add CoCA alone (no NTK) | RoFormer 350M · Passkey retrieval | accuracy: 0.04 -> 0.06 (8192); 0.04 -> 0.04 (32k) | No clear effect |
| add CoCA on top of dynamic NTK (ablation) | RoFormer 350M + dynamic NTK · Passkey retrieval (8192) | accuracy: 0.41 -> 0.50 | Improved |
| add CoCA on top of dynamic NTK (ablation) | LLaMA-7B + dynamic NTK · Passkey retrieval (8192) | accuracy: 0.26 -> 0.85 | Improved |
| add CoCA on top of dynamic NTK (ablation) | LLaMA-7B + dynamic NTK · Passkey retrieval (32k) | accuracy: 0.03 -> 0.30 | Improved |
| use strict constraint on Q instead of slack (ablation) | RoFormer 350M + CoCA · PG-19 perplexity | perplexity: e.g. +1.94 (ntk-2, 32768); -2.57 (ntk-4, 32768) | No clear effect |
| use strict constraint on Q instead of slack (ablation) | RoFormer 350M + CoCA · Passkey retrieval | accuracy: -0.42 (ntk-2, 4096); -0.46 (ntk-4, 4096) | Hurt |
Open problems in sparse efficient transformers for long context
Do sparse and efficient long-context attention methods keep their quality and speed at larger model scale?
- Not tested on models larger than a few billion parameters. · 12 papers state it
- Training costs more or is less stable than a standard transformer. · 7 papers state it
- Quality still falls behind softmax attention or the teacher model. · 6 papers state it
Closest papers by meaning
- Rope to Nope and Back Again: A New Hybrid Attention Strategy (NeurIPS 2025 · similarity 0.90)
- Wavelet-based Positional Representation for Long Context (ICLR 2025 · similarity 0.89)
- Towards Long-window Anchoring in Vision-Language Model Distillation (AAAI 2026 · similarity 0.89)
- YaRN: Efficient Context Window Extension of Large Language Models (ICLR 2024 · similarity 0.89)
- Exploring Context Window of Large Language Models via Decomposed Positional Vectors (NeurIPS 2024 · similarity 0.89)
- PaTH Attention: Position Encoding via Accumulating Householder Transformations (NeurIPS 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.