atlas

Research map / Learning theory and algorithms / Matrix and tensor methods

Algorithm and Hardness for Dynamic Attention Maintenance in Large Language Models

ICML 2024 · Learning theory and algorithms › Matrix and tensor methods · approach: Structured low-rank learning · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Defines a dynamic (online) version of exact attention computation D^{-1}AV under entry updates to K and V, gives a lazy-update data structure with sub-linear-amortized update and n^a query time, and a conditional lower bound under the Hinted MV conjecture.

Problem

Maintaining the exact softmax-style attention output D^{-1} exp(QK^T) V under single-entry updates to K and V while answering entry queries fast; static attention is known to be hard to speed up, and LLM parameters change during training.

Approach

Applies lazy-update techniques from dynamic algorithms (rank-1 update lists recomputed every n^a steps) to the exp-based attention matrix, with a fine-grained lower bound reduction from the Hinted MV conjecture showing the trade-off is conditionally near-optimal.

Key results

Limitations

Experimental setup

Metrics: amortized update time worst-case query time

Builds on: Hinted MV conjecture OMV conjecture lazy update (Cohen, Lee, Song 2019) Alman and Song 2023 static attention hardness

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