atlas

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

How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computation

ICLR 2024 · Learning theory and algorithms › Matrix and tensor methods · approach: Randomized sketching for matrices · 1 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.

Generalizes matrix softmax attention to a triple-wise (Kronecker) tensor attention and proves a sharp bounded-entry threshold B = Θ(∛log n) separating near-linear-time approximation from SETH-based n^{3-o(1)} hardness.

Problem

Attention captures only pairwise token correlations; a tensor generalization capturing triple-wise correlations appears to cost cubic time, and the fine-grained complexity of approximating it was unknown.

Approach

Define tensor attention via column-wise Kronecker products of key/value matrices, show that exp of the Kronecker-structured score matrix admits a low-rank polynomial approximation (polynomial method) when entries are bounded by o(∛log n), enabling n^{1+o(1)} time, and prove a matching SETH lower bound via a 3-party MaxIP-style gap problem built from an MA protocol with algebraic geometry codes.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Bound all input entries by B = o(∛log n)Tensor attention computation (ATAttC) · ATAttC with d = O(log n) and ε_a = 1/poly(n)runtime: n^{1+o(1)}Helped
Allow entries as large as B = C_b ∛log nTensor attention computation (ATAttC) · ATAttC with d = C log n and ε_a = n^{-C_a}runtime: O(n^{3-q})Hurt
Increase attention order to k and require B < √[k]{log n}Higher-order attention · k-th order tensor attentionruntime: near-linear timeHelped
Use entries at or above B = √[k]{log n} for k-th order attentionHigher-order attention · k-th order tensor attentionruntime: O(n^k)Hurt

Surprising findings

Limitations

Experimental setup

Metrics: running time complexity entrywise approximation error

Baselines: standard matrix attention computation trivial cubic-time tensor attention algorithm

Builds on: fast attention computation via polynomial method (Alman and Song 2023) SETH-based hardness of attention computation tensor generalization of attention (Sanford et al. triple-wise task)

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