- Rating
- 5
- Clarity
- 4
- Confidence
- 3
- Originality
- 3
- Quality
- 4
- Significance
- 3
Read review
Summary
This work re-visits (sparse) attention mechanisms through the lens of kernel regression. The authors have identified many different sparse attention proposals from the literature, e.g., top-k softmax, sparsemax, and a-entmax, and they have provided (continuous) theoretical frameworks that can elegantly describe all these alternatives through appropriate choice of kernels. Even though the corresponding proofs are compact, the connections and abstractions are highly non-trivial, at least to my view. The theoretical findings are also supported with experimental evaluations on several different realistic scenarios, which are also compared with well-established alternatives such as RetNet, Mamba, and more. In particular, the properties of several different kernel-based formulations are studied in terms of: (i) loss validation per number of iterations, (ii) accuracy and total variation-distance in the RegBench benchmark, and (iii) length generalization on synthetic tasks. The experiments highlight both the strengths and the limitations of each kernel method.
Strengths and weaknesses
Strengths
The paper is in general carefully written, the motivation is well-justified, and the problem definitions are clear. More specifics:
- The proposed framework to generalize sparse attention mechanisms via kernel regression is very interesting and quite important. It provides novel insights and the community can benefit from such an abstraction to make informed choices on the types of sparse attention used per-application.
- By viewing the problem through the lens of kernel regression, it can help to design novel algorithms for sparse attention (as the authors also did here), or strengthen the capabilities of existing algorithms.
- The theoretical analysis is sound and clear, and all the theoretical claims are supported with proofs.
- From the experimental side, the authors have provided more than enough experiments to highlight both the strengths and limitations of each different type of sparse attention mechanism. The corresponding discussions are helpful for the reader to understand in which type of applications each kernel formulation fits best.
- I am not an expert in this field, but the related literature discussion seems thorough.
- It feels strange to mention this explicitly, but I verified by-hand every single reference in the bibliography, as I believe that this task is becoming more-and-more important these days, and every reviewer should do it. I did not notice any "hallucinations" or other funky business, but I mention under "Questions" below some references that can be updated to more recent versions.
Weaknesses
In terms of weaknesses, my main comment is that the paper is missing an algorithmic / complexity analysis of each method. This would be very helpful, even at a high level. Also, in few places some definitions seem to be missing or obfuscated, which I explain below under "Questions".
Questions
Main questions
-
What are the associated computational costs for the methods? (if you can provide this information, even at a high level). Are any of the kernel variants "more expensive" than standard softmax attention? Could there be a correlation between "cost" and "quality"?
-
In figure 2, at 8-layers (middle picture), the Biweight (2-ReLUmax) kernel seems to be outperforming by far all the other methods, as mentioned in the discussion, but the advantage is less significant for 1- or 12-layers. Is there any intuition why this happens? Can it be an "artifact" of the specific instance / dataset?
-
It seems that Mamba, in Table 1, underperforms significantly compared to the other baselines. I was wondering if the authors have experimented with other, more recent linear attention alternatives in this context (Gated DeltaNets, KDA, or others). I certainly do not expect the authors to run any experiments at this point, it is mostly a curiosity.
Other comments
- Missing / obfuscated definitions:
- In Eq. (5), it is not clear what is. The last reference to any "" seems to be few pages above, in Eq. (1). It would help to clarify it.
- It would not harm to define mathematically in lines 122-123, just to be crystal clear.
- In line 62, is not defined (seems to be the same that is mentioned below in the optimization problem, is this right?)
- Suggestion: in Table 2, "Gaussian" can be renamed to "Gaussian (softmax)" for the lazy readers.
- References [1], [3], [4], [9], [12], [18], [25], [30], [31], [39], [45], [46], fall in one of the following categories:
- Outdated version (arxiv vs published)
- Missing authors (because google scholar truncates the last few authors to "and others")
- Other typos (capitalization, or so)
Please update the references, it is important.
- This is more of a comment rather than a question, but i am a bit surprised that the paper was not submitted as a theory paper, or at least in the subcategory. But I guess it does not really matter.
Limitations
Yes, the authors have adequately addressed limitations.
Paper formatting concerns
There are no formatting concerns.
Final justification
As I wrote in the rebuttal I think the paper deserves to appear at the conference, but my confidence is medium so the comments of the other reviewers should also be taken into consideration.
We agree and will add one; §B.4 currently discusses efficiency qualitatively but gives no per-method costs. Costs are per query over n keys; s≤n is the average support size and T the number of Halley/bisection iterations used to find τ.
All methods share the same score computation and differ only in the normalizer, and T is a small constant in practice, so none changes the quadratic asymptotics of an attention layer. The compact family has a sparse Jacobian, so the backward pass scales with s rather than n, an advantage over softmax that grows with sparsity.
Runtime depends strongly on the mechanism, the implementation and the hardware; for a rigorous efficiency assessment against softmax we refer to AdaSplash and AdaSplash-2 [1,3], whose short answer is that α-entmax attention can be faster than softmax at long enough context, which increases the relevance of the link drawn in our paper.
For combinatorial support selection (top-k/top-p) the picture differs: these require selection or sorting, which are less GPU-friendly. By number of passes over the scores, the ordering is: (1) softmax, single pass via online softmax; (2) r-ReLUmax, two passes (max, then normalize); (3) top-k softmax/uniform, sorting pass plus final pass; (4) sparsemax/entmax via AdaSplash, multiple passes; (5) top-k entmax, multiple passes. This cost is independent of r: the exponent in [b+(ki⊤q−m)/h2]+r is elementwise, so 1-, 2- and 3-ReLUmax all take two passes. Not so on the entmax side, where r=(α−1)−1 determines the root-finding problem for τ. We therefore highlight r-ReLUmax as promising from an efficiency standpoint: it preserves compact support at any order while avoiding both the combinatorial support construction of top-k and the root-finding of entmax.
Measured on the sort task on a single A6000:
On cost–quality. We find no monotone relationship, which we think is itself the useful answer.
You are right and we clarify this below. As noted in §4.1 and the footnote to Table 3, the 2-ReLUmax run required a lower learning rate (1×10−3 vs 5×10−3) due to training instability, so the apparent advantage confounded kernel with optimization setting.
We reran the 8-layer configuration with all kernels at the same learning rate, and the gap does not persist [https://anonymous.4open.science/r/babistories_new_lr_8h/loss_history_trim.pdf]. 2-ReLUmax remains competitive but does not stand apart from the other compact kernels, consistent with the 1- and 12-layer panels and with Tab. 1. We will replace Fig. 2 with the matched-learning-rate version and state the instability at higher learning rates explicitly.
We have not, and agree it would be interesting. Our baseline set and protocol follow RegBench [4] directly (sequence length, vocabulary, training sizes, hyperparameter search) and [5] for the architecture, so our numbers are comparable to both; the recurrent and SSM baselines are those of [4].
On Mamba, the gap is consistent with [4] rather than anomalous. RegBench requires inferring a PFA from in-context examples, which depends on content-based lookup over the full context; models compressing the context into a fixed-size recurrent state are bottlenecked on exactly that, whereas attention and Memory Mosaics retain an explicit key-value cache.
One point of framing: the models you mention are companions to our perspective rather than competitors. Delta-rule and gated linear attention variants are themselves interpretable as test-time regression on an associative memory [6], but with a fixed-size state, i.e. parametric regression in kernel terms. Our correspondence concerns the nonparametric case, where the cache grows with context and the estimator is Nadaraya-Watson. We will note this as future work.
All fair, and we will fix them in the revised version.
[1] Gonçalves et al., ICML 2025.
[2] Dao, ICLR 2024.
[3] Gonçalves et al., ICML 2026.
[4] Akyürek et al., ICML 2024.
[5] Zhang et al., ICLR 2025.
[6] Wang, Shi, Fox, 2025.