scimeatlas

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

ACL 2024Architectures and efficiency › Attention and transformersapproach: Sparse efficient transformers for long contextopen problems in this approach13 citations (OpenAlex)

Ant Group · Peking University

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

15measured effects
7improved
4no clear effect
4hurt

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
add CoCARoFormer 350M · PG-19, 32k windowperplexity: inf -> 171.63Improved
add CoCA on top of dynamic NTK (ablation)RoFormer 350M + dynamic NTK · PG-19, 32k windowperplexity: 380.75 -> 101.13Improved
add CoCALLaMA-7B · PG-19, 32k windowperplexity: inf -> 29.95Improved
add CoCA on top of dynamic NTK (ablation)LLaMA-7B + dynamic NTK · PG-19, 32k windowperplexity: 133.87 -> 13.98Improved
add CoCARoFormer 350M · PG-19, 512 window (training length)perplexity: 19.66 -> 20.11Hurt
add CoCALLaMA-7B · PG-19, 2048 windowperplexity: 7.30 -> 8.27Hurt
add CoCA alone (no NTK)RoFormer 350M · Passkey retrievalaccuracy: 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.50Improved
add CoCA on top of dynamic NTK (ablation)LLaMA-7B + dynamic NTK · Passkey retrieval (8192)accuracy: 0.26 -> 0.85Improved
add CoCA on top of dynamic NTK (ablation)LLaMA-7B + dynamic NTK · Passkey retrieval (32k)accuracy: 0.03 -> 0.30Improved
use strict constraint on Q instead of slack (ablation)RoFormer 350M + CoCA · PG-19 perplexityperplexity: 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 retrievalaccuracy: -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?

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