potentialpaper

Flexformer: Flexible Linear Transformer with Learnable Attention Kernel

Import NeurIPS 2026 submission D8frDvzgAf: 10 notes

@openreview[bot] · 2026-11-22 17:55 UTC · 97e362b47ce3

Evidence

.gitattributes added

+++ b/.gitattributes
@@ -0,0 +1,10 @@
+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),
+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.
+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text
+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text
+/thumbnail.png filter=lfs diff=lfs merge=lfs -text
+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text
+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text
+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text
+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text
+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text

.potentialpaper/metadata.json added

+++ b/.potentialpaper/metadata.json
@@ -0,0 +1,23 @@
+{
+ "layout": 5,
+ "identifiers": [
+ {
+ "scheme": "openreview",
+ "value": "D8frDvzgAf"
+ }
+ ],
+ "title": "Flexformer: Flexible Linear Transformer with Learnable Attention Kernel",
+ "authors": [
+ "Haoran Zhang",
+ "Zisu Dong",
+ "Feng Zhou"
+ ],
+ "abstract": "Transformer models rely on attention mechanism to capture long-range dependencies but suffer from quadratic complexity, limiting their scalability to long sequences. Kernel-based linear attention reduces this complexity but typically relies on fixed or weakly learnable kernels, restricting expressiveness and performance. In this work, we propose Flexformer, a flexible linear Transformer that learns attention kernels in a fully data-driven manner. Flexformer builds on random Fourier feature-based linear attention and treats spectral frequencies as trainable parameters, enabling the model to learn a broad family of attention kernels. We develop both stationary and nonstationary variants, with the latter offering strictly greater expressiveness. Extensive experiments on language modeling and sequence classification demonstrate that Flexformer consistently outperforms baselines. Moreover, Flexformer can be effectively distilled from pretrained Transformers to recover softmax attention and exhibits strong kernel transferability across domains, achieving both high efficiency and competitive performance on long-sequence tasks.",
+ "year": 2026,
+ "venue": "NeurIPS 2026",
+ "source": "openreview",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}

community/10-tl-dr.md added

+++ b/community/10-tl-dr.md

community/20-summary.md added

+++ b/community/20-summary.md

community/30-why-it-matters.md added

+++ b/community/30-why-it-matters.md

community/40-critique.md added

+++ b/community/40-critique.md

community/50-errata.md added

+++ b/community/50-errata.md

community/60-reproductions.md added

+++ b/community/60-reproductions.md

community/70-follow-ups.md added

+++ b/community/70-follow-ups.md

owners/10-tl-dr.md added

+++ b/owners/10-tl-dr.md

owners/20-overview.md added

+++ b/owners/20-overview.md

owners/30-results.md added

+++ b/owners/30-results.md

owners/40-demos.md added

+++ b/owners/40-demos.md

owners/50-code-and-data.md added

+++ b/owners/50-code-and-data.md

owners/60-talks.md added

+++ b/owners/60-talks.md

prek.toml added

+++ b/prek.toml
@@ -0,0 +1,36 @@
+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.
+# The site checks every push again; these catch mistakes before you commit. The same on every page.
+
+[[repos]]
+repo = "builtin"
+hooks = [
+ { id = "check-json" },
+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },
+ { id = "end-of-file-fixer", exclude = '^demos/' },
+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },
+ { id = "check-case-conflict" },
+ { id = "check-illegal-windows-names" },
+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },
+]
+
+# Each JSON file against its schema (https://papers.potentialhedge.com/schemas/).
+[[repos]]
+repo = "https://github.com/python-jsonschema/check-jsonschema"
+rev = "0.39.0"
+hooks = [
+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/authorPlugins.json"] },
+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/venue.json"] },
+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/topic.json"] },
+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/org.json"] },
+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/link.json"] },
+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/version.json"] },
+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/thumbnail.json"] },
+]
+
+# Sections formatted the way the web editor formats them.
+[[repos]]
+repo = "https://github.com/rbubley/mirrors-prettier"
+rev = "v3.9.9"
+hooks = [
+ { id = "prettier", files = '^(owners|community)/.*\.md$' },
+]

reviews/openreview/d8frdvzgaf/forms.json added

+++ b/reviews/openreview/d8frdvzgaf/forms.json
@@ -0,0 +1,227 @@
+{
+ "schema": "forms/1",
+ "forms": {
+ "Meta_Review": {
+ "label": "Meta-review",
+ "fields": [
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ }
+ ]
+ },
+ "Decision": {
+ "label": "Decision",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "hidden": true
+ },
+ {
+ "key": "decision",
+ "label": "Decision",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ },
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ },
+ {
+ "key": "final_justification",
+ "label": "Final justification",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Comment": {
+ "label": "Comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Public_Comment": {
+ "label": "Public comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Withdrawal": {
+ "label": "Withdrawal",
+ "fields": [
+ {
+ "key": "withdrawal_confirmation",
+ "label": "Confirmation",
+ "hidden": true
+ }
+ ]
+ },
+ "Desk_Rejection": {
+ "label": "Desk rejection",
+ "fields": [
+ {
+ "key": "desk_reject_comments",
+ "label": "Reason",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Review": {
+ "label": "Official review",
+ "summary": [
+ "rating",
+ "confidence",
+ "quality",
+ "clarity",
+ "significance",
+ "originality"
+ ],
+ "fields": [
+ {
+ "key": "rating",
+ "label": "Rating",
+ "type": "score",
+ "min": 1,
+ "max": 6
+ },
+ {
+ "key": "confidence",
+ "label": "Confidence",
+ "type": "score",
+ "min": 1,
+ "max": 5
+ },
+ {
+ "key": "quality",
+ "label": "Quality",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "clarity",
+ "label": "Clarity",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "significance",
+ "label": "Significance",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "originality",
+ "label": "Originality",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "contribution_type",
+ "label": "Contribution type",
+ "type": "choice"
+ },
+ {
+ "key": "summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "strengths_and_weaknesses",
+ "label": "Strengths and weaknesses",
+ "type": "text"
+ },
+ {
+ "key": "questions",
+ "label": "Questions",
+ "type": "text"
+ },
+ {
+ "key": "limitations",
+ "label": "Limitations",
+ "type": "text"
+ },
+ {
+ "key": "final_justification",
+ "label": "Final justification",
+ "type": "text"
+ },
+ {
+ "key": "paper_formatting_concerns",
+ "label": "Formatting concerns",
+ "type": "text"
+ },
+ {
+ "key": "ethical_concerns",
+ "label": "Ethical concerns",
+ "type": "choice"
+ },
+ {
+ "key": "code_of_conduct_acknowledgement",
+ "label": "Code of conduct",
+ "hidden": true
+ },
+ {
+ "key": "responsible_reviewing_acknowledgement",
+ "label": "Responsible reviewing",
+ "hidden": true
+ }
+ ]
+ },
+ "Rebuttal": {
+ "label": "Rebuttal",
+ "fields": [
+ {
+ "key": "rebuttal",
+ "label": "Rebuttal",
+ "type": "text"
+ }
+ ]
+ },
+ "Ethics_Review": {
+ "label": "Ethics review",
+ "fields": [
+ {
+ "key": "scope_of_ethics_concerns",
+ "label": "Scope",
+ "type": "choice"
+ },
+ {
+ "key": "ethics_review",
+ "label": "Ethics review",
+ "type": "text"
+ }
+ ]
+ }
+ },
+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/d8frdvzgaf/notes/1udm4l65ww.json added

+++ b/reviews/openreview/d8frdvzgaf/notes/1udm4l65ww.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "1uDM4l65ww",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer 379y",
+ "content": {
+ "summary": "FlexFormer is a kernelized linear attention mechanism that generalizes Performer/RFA-style linear attention by learning the spectral representation of the attention kernel. Rather than sampling Fourier frequencies from a fixed distribution or computing a fixed linear attention kernel, FlexFormer treats the spectral frequencies as trainable parameters and learns them end-to-end from data. This enables the model to learn both stationary and non-stationary kernel families while retaining the linear-time and linear-memory complexity of kernelized linear attention.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "**Strengths:**\n\n1.) The central idea of learning the attention kernel, rather than relying on a fixed hand-designed kernel, is interesting and well-motivated. While the scope of the work is primarily limited to improving kernelized linear attention, it represents a meaningful step toward more expressive and adaptive attention mechanisms and may inspire future research in this direction.\n\n2.) The distillation experiments provide useful empirical evidence and help validate the proposed approach beyond standard training benchmark comparisons.\n\n3.) The work is grounded in theoretical foundation, with a principled formulation based on spectral kernel learning. The exploration of both stationary and non-stationary kernel variants is valuable and helps clarify the trade-offs between expressiveness and computational efficiency.\n\n\n**Weaknesses:**\n\n1.) The discussion in Lines 34--37 appears somewhat dismissive of prior sparse attention approaches. Many of the cited sparse-attention methods have been rigorously evaluated across a broad range of benchmarks and settings, often with substantially more extensive experimental validation than the LRA and WikiText-103 evaluations presented in this work. The manuscript would benefit from a more balanced characterization of these prior efforts.\n\n2.) The long-context evaluation is relatively limited given the manuscript's emphasis on scalable sequence modeling. The longest sequences considered are 4K tokens, making it difficult to assess the practical benefits of FlexFormer in contemporary long-context workloads. Evaluations at 16K, 32K, or longer context lengths would provide stronger evidence that the proposed approach maintains its effectiveness and efficiency in the settings for which linear-attention methods are typically motivated.\n\n3.) The baseline selection could be expanded to better reflect recent developments in efficient sequence modeling. Although Hedgehog and PolaFormer are strong and relevant comparisons, additional evaluations against more recent linear-time architectures and attention alternatives, such as Gated DeltaNet [1], Mamba [2], and RACE Attention [3], would help more clearly establish the strengths and limitations of FlexFormer within the broader landscape of scalable sequence models.\n\n4.) It is unclear whether the Softmax Attention results reported in Figure 2 use FlashAttention [4]. Since performance comparisons are a central part of the manuscript, it is important to compare against the strongest available implementation of Softmax Attention that is compatible with the target hardware.\n\n5.) The presentation can be improved in several places. For example, the font sizes in Figure 2 are difficult to read. Additionally, some claims would benefit from more precise citations. For instance, the manuscript refers to optimized Softmax Attention implementations without clearly identifying the corresponding work. There are also several relevant linear attention works that are not discussed, including YOSO [5], PolySketchFormer [6], Nyströmformer [7], etc. A more comprehensive discussion of related work would strengthen the manuscript.\n\n\n**[1] Songlin Yang, Jan Kautz, Ali Hatamizadeh. Gated Delta Networks: Improving Mamba2 with Delta Rule. ICLR 2025.** \n\n**[2] Albert Gu, Tri Dao. Mamba: Linear-Time Sequence Modeling with Selective State Spaces. COLM 2024.** \n\n**[3] Sahil Joshi, Agniva Chowdhury, Amar Kanakamdala, et al. RACE Attention: A Strictly Linear-Time Attention Layer for Training on Outrageously Large Contexts. ICLR 2026.**\n\n**[4] Tri Dao, Daniel Y Fu, Stefano Ermon, et al. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness. NeurIPS 2022.**\n\n**[5] Zhanpeng Zeng, Yunyang Xiong, Sathya N. Ravi, et al. You Only Sample (Almost) Once: Linear Cost Self-Attention Via Bernoulli Sampling. ICML 2021.**\n\n**[6] Praneeth Kacham, Vahab Mirrokni, Peilin Zhong. PolySketchFormer: Fast Transformers via Sketching Polynomial Kernels. ICML 2024.**\n\n**[7] Yunyang Xiong, Zhanpeng Zeng, Rudrasis Chakraborty, et al. Nyströmformer: A Nystöm-based Algorithm for Approximating Self-Attention. AAAI 2021.**",
+ "quality": 2,
+ "clarity": 3,
+ "significance": 2,
+ "originality": 3,
+ "questions": "1.) To what extent do the reported improvements stem from kernel learning itself versus the additional trainable parameters introduced by the learnable spectral frequencies? Have the authors considered parameter-matched baselines, such as using learned projection layers or MLP-based feature maps with comparable parameter counts, to isolate the contribution of the spectral kernel parameterization?\n\n2.) What context length was used for the WikiText-103 language modeling experiments (block size of 512)? Given that one of the motivations of the paper is improving long-context modeling, it would be helpful to evaluate training with longer contexts (e.g., 1024 or 2048 tokens, since LM is expensive) and report whether the observed gains persist in those settings.\n\n3.) The proposed framework is built around learnable spectral kernel representations. Is the approach extendable to non-softmax kernel families?\n\nThe empirical evaluation and rigor appears relatively limited compared to the scope of the claims made in the manuscript. Addressing the concerns raised in the Weaknesses section would significantly strengthen the manuscript and could potentially affect my overall assessment.",
+ "limitations": "Yes.",
+ "rating": 3,
+ "confidence": 4,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "No formatting issues.",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "* **(Low weight - resolved)** The authors acknowledged the relevant prior work and committed to discussing it more thoroughly in the final version. They also agreed not to downplay sparse attention, as the current evidence does not support such claims, and to improve the overall clarity and precision of the paper.\n\n* **(High weight - partially resolved)** During the rebuttal, the authors added long-context experiments up to **16K** tokens. While these results are helpful and led me to increase my initial score, I had recommended evaluating contexts up to **64K**, as such scales have become increasingly standard and expected.\n\n* **(High weight - unresolved)** The efficiency claims remain a significant concern. No optimized CUDA or Triton kernel has been provided, which substantially limits reproducibility and makes it difficult to assess the practical efficiency of the proposed method. Given that the NeurIPS review process permits authors to share code privately with the Area Chair, it is unclear why this opportunity was not utilized.\n\n**Final score:** **3 (Borderline Reject)**.\n\nOverall, I believe the paper has merit, but additional empirical validation is needed to make its claims fully convincing. In particular, stronger evidence demonstrating the accuracy and efficiency at larger scales and against the latest competitive baselines would significantly strengthen the work."
+ },
+ "createdAt": "2026-06-02T19:43:46.218Z",
+ "modifiedAt": "2026-11-18T13:35:49.851Z",
+ "url": "https://openreview.net/forum?id=D8frDvzgAf&noteId=1uDM4l65ww",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/d8frdvzgaf/notes/4bu3z2ol6k.json added

+++ b/reviews/openreview/d8frdvzgaf/notes/4bu3z2ol6k.json
@@ -0,0 +1,19 @@
+{
+ "schema": "review/1",
+ "id": "4BU3z2oL6K",
+ "replyTo": null,
+ "kind": "decision",
+ "invitation": "Decision",
+ "signature": "Program Chairs",
+ "content": {
+ "title": "Paper Decision",
+ "decision": "Accept (poster)",
+ "comment": "",
+ "metareview": "This paper extends the kernel view of self-attention to a wider family of kernels. The approach is based on representations of stationary and non-stationary kernels. The main technique used is random Fourier features. Experiments are done on tasks in long-range arena, language modeling on WikiText-103, and testing distillation of RoBERTa on GLUE.\n\nThe paper is well motivated and well explained. This would have been a great paper if it was written in 2022, so there is no question about the rigor of the experimental design. However, the field has moved on, and the main concern from reviewer K8yg and 379y is timeliness. Since then there are a lot of things built on top of regular Transformers, and to make a convincing argument, it would be better to have one experiment that is more timely, for example, replacing regular softmax attention with the proposed attention.\n\nIn terms of the revisions needed, I don't find the sentences in the intro dismissive as pointed out by reviewer 379y. I also don't see why FlashAttention is relevant (though it's still good to make it explicit), because specialized implementation will come later. I also don't see the issue with time complexity raised by reviewer K8yg. Really, the only issue left is timeliness.\n\nThe rebuttal includes additional experiments extending long-context experiments to 16K and to GPT-3 XL. The timeliness concern is properly addressed.",
+ "final_justification": "See the updated meta-review."
+ },
+ "createdAt": "2026-09-24T11:17:01.778Z",
+ "modifiedAt": "2026-11-18T14:52:48.003Z",
+ "url": "https://openreview.net/forum?id=D8frDvzgAf&noteId=4BU3z2oL6K",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/d8frdvzgaf/notes/a6medymtkh.json added

+++ b/reviews/openreview/d8frdvzgaf/notes/a6medymtkh.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "A6medymTKh",
+ "replyTo": "RFHpULyFO8",
+ "kind": "comment",
+ "invitation": "Rebuttal",
+ "signature": "Authors",
+ "content": {
+ "rebuttal": "Thank you for your insightful comments. We would like to respond to the weaknesses and questions you raised as follows:\n\n>Q1: Lacks large-scale experiments and scaling study. Any understanding of how well the (quality) results translate with scale?\n\nA1: Due to limited computational resources, we are unable to conduct experiments on larger-scale models. However, as can be observed from the results in Table 2, **as the model scale increases, Flexformer's advantage over other baselines becomes more pronounced.**\n\n>Q2: Can it be extended to non-positive-definite kernels?\n\nA2: This is an interesting direction, but we have yet to explore the spectral representation theory for non-positive-definite kernel functions.\n\nThank you again for your comments, which have provided valuable inspiration for our future research."
+ },
+ "createdAt": "2026-07-28T02:36:26.368Z",
+ "modifiedAt": "2026-11-18T17:11:33.108Z",
+ "url": "https://openreview.net/forum?id=D8frDvzgAf&noteId=A6medymTKh",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/d8frdvzgaf/notes/dydmz4hukc.json added

+++ b/reviews/openreview/d8frdvzgaf/notes/dydmz4hukc.json
@@ -0,0 +1,31 @@
+{
+ "schema": "review/1",
+ "id": "DydmZ4hukc",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer 2EtM",
+ "content": {
+ "summary": "The paper proposes a learnable kernel for linear attention. The paper starts from representing softmax kernel with random fourier features introduced by A. Rahimi and B. Recht. The paper then introduces two changes to make the kernel more flexible. First, instead of approximating softmax, they make the frequency learnable. Second, they extend the stationary kernel to a nonstationary kernel, by extending Bochner's theorem, known as Yaglom's theorem or the Yaglom-Genton theorem. A nonstationary kernel can therefore also be approximated via a Monte Carlo scheme. The nonstationary kernel is claimed to be more expressive than the stationary one. Empirical evidence shows than the proposed learnable kernel significantly reduces complexity of attention compared to the quadratic format, and obtained similar or better performance over downstream tasks.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "Strengths:\n- The proposed learnable attention kernel addresses the quadratic complexity of softmax attention and improves the flexibility of previous work on linear attention kernels.\n- The paper further extends the kernel from stationary to nonstationary to improve its flexibility.\n- Empirically, the proposed linear kernel improves softmax attention in terms of efficiency and comparable or better downstream performance.\n- The stationary kernel can generalize to softmax kernel.\n\nWeaknesses:\n\n- L112-113 needs more explanation on $\\phi$ being infinite.\n- Although it may be straightforward, showing how eq4 is derived would make the presentation more accessible.\n- Around L177-178. It is unclear to me why p needs to be written as sum of four terms of some density g.\n- How $\\omega$ is sampled is not clear. It is also not clear how do authors define $p(\\omega)$ in the stationary kernel and $p(\\omega_1, \\omega_2)$ in the nonstationary kernel).\n- It is unclear haw many samples n are used to approximate the expectations via Monte-Carlo. What is the efficiency of Monte-Carlo sampling.\n\nminor points:\n- I wonder if there's a way to better quantify the expressiveness of a kernel without looking at the downstream performance. Especially, stationary kernel vs. nonstationary kernel.\n- I suggested specifying the original theory used in Theorem 3.1 (Bochner's theorem) and 3.2 (Yaglom-Genton theorem) along with the citations. \n- In Sec 4.3, for recovering softmax attention, it would be good to have some visualisations. For instance, present n sampled feature maps and the average of the averaged feature maps vs. the softmax attention.",
+ "quality": 3,
+ "clarity": 3,
+ "significance": 3,
+ "originality": 3,
+ "questions": "- May all nonstandard and positive definite kernels be approximated by random fourier features?\n- Are there any constraints imposed to the learnable frequency?",
+ "limitations": "see above",
+ "rating": 5,
+ "confidence": 3,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "no",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes"
+ },
+ "createdAt": "2026-07-21T10:01:07.367Z",
+ "modifiedAt": "2026-11-18T13:35:47.022Z",
+ "url": "https://openreview.net/forum?id=D8frDvzgAf&noteId=DydmZ4hukc",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/d8frdvzgaf/notes/f9itsjbnsq.json added

+++ b/reviews/openreview/d8frdvzgaf/notes/f9itsjbnsq.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "f9ItSjbnsQ",
+ "replyTo": "DydmZ4hukc",
+ "kind": "comment",
+ "invitation": "Rebuttal",
+ "signature": "Authors",
+ "content": {
+ "rebuttal": "Thank you for your insightful comments. We would like to respond to the weaknesses and questions you raised as follows:\n\n>Q1: Lack explanation on $\\phi$ being infinite.\n\nA1: It is rigorously proved in the reference [35] \"Understanding the differences in foundation models: Attention, state space models, and recurrent neural networks\" NeurIPS 2024. In short, this is because the Taylor expansion of $\\exp(x)$ is infinite.\n\n>Q2: Around L177-178, why $p$ needs to be written as sum of four terms of some density $g$.\n\nA2: As stated in Theorem 3.2, $p$ is required to be a bounded positive-semidefinite spectral density. To ensure this property by construction, we reparameterize $p$ as the sum of four terms derived from a density $g$. This representation guarantees that $p$ satisfies the required positive-semidefinite condition.\n\n\n>Q3: How $\\omega$ is sampled is not clear. How do authors define $p(\\omega)$ in the stationary kernel and $p(\\omega_1,\\omega_2)$ in the nonstationary kernel. \n\nA3: In our method, $\\omega$ is not sampled; instead, it is treated as a set of learnable parameters. Our theoretical analysis shows that, when the spectral density associated with a kernel function is known, sampling $\\omega$ from this density provides an approximation to the kernel. In Flexformer, we aim to learn the kernel function itself. This is equivalent to learning its spectral density and, consequently, to learning the corresponding $\\omega$'s directly from data. Therefore, $\\omega$ is not actually sampled from a predefined spectral density but is optimized as a set of learnable parameters during training. \n\n>Q4: How many samples $n$ are used to approximate the expectations?\n\nA4: Theoretically, a larger $n$ yields more accurate approximations of various kernel functions. In our experiments, **to ensure a fair comparison with existing linear attention methods in terms of dimension and parameter count, we set $n = d$**.\n\n>Q5: For recovering softmax attention, it would be good to have some visualisations. \n\nA5: Thanks for your suggestion. We will add some visualizations in the camera ready. \n\n>Q6: May all nonstandard and positive definite kernels be approximated by random fourier features?\n\nA6: According to the theorem, all bounded, continuous, and positive definite kernel functions can be represented.\n\n>Q7: Are there any constraints imposed to the learnable frequency?\n\nA7: We impose no constraints on the learned frequencies, which ensures that Flexformer can learn within a sufficiently large kernel space.\n\nThank you again for your comments, which have provided valuable inspiration for our future research."
+ },
+ "createdAt": "2026-07-28T02:57:16.795Z",
+ "modifiedAt": "2026-11-18T17:11:32.587Z",
+ "url": "https://openreview.net/forum?id=D8frDvzgAf&noteId=f9ItSjbnsQ",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/d8frdvzgaf/notes/flbebwgfam.json added

+++ b/reviews/openreview/d8frdvzgaf/notes/flbebwgfam.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "fLbEbwGFAM",
+ "replyTo": "LbMsl4HMOJ",
+ "kind": "comment",
+ "invitation": "Rebuttal",
+ "signature": "Authors",
+ "content": {
+ "rebuttal": "Thank you for your insightful comments. We would like to respond to the weaknesses and questions you raised as follows:\n>Q1: When $N$ approaches $d$, linear complexity in $N$ no longer confers an advantage.\n\nA1: Here, $d$ refers to the per-head dimension. Even for models with overall dimensions in the thousands, the per-head dimension typically remains around 64, while sequence lengths of hundreds or more are commonplace. **Therefore, $N \\gg d$ generally holds**. AC agrees with this point. \n\n>Q2: Difference from methods that reconstruct attention matrices based on trigonometric functions.\n\nA2: The difference is we do not reconstruct attention matrices using trigonometric functions with certain inductive biases, as done in cosformer or NaLaformer. Rather, we leverage the spectral representation theory of kernel functions to express a kernel in terms of its spectral density, and then approximate it via Monte Carlo, thereby obtaining a trigonometric-function-based representation of the kernel.\n\n>Q3: Lack of experiments on linearizing pretrained LLMs.\n\nA3: In fact, this is exactly what we do in the attention-weight distillation experiments presented in Sections 4.3 and 4.4, where we linearize the attention of a pretrained RoBERTa model and evaluate its performance after replacing the original attention mechanism.\n\n>Q4: Lack of experiments on large-scale models.\n\nA4: Due to limited computational resources, we are unable to conduct experiments on larger-scale models. However, as can be observed from the results in Table 2, **as the model scale increases, Flexformer's advantage over other baselines becomes more pronounced**.\n\n>Q5: The visualization of $p(\\omega)$. How significantly does it deviate from a Gaussian distribution?\n\nA5: Since $p(\\omega)$ is a high-dimensional distribution, its density is difficult to visualize. By computing the mean and variance of each component, **we can verify that it does not follow an i.i.d. Gaussian distribution**. Additionally, we compared Xavier and Gaussian initializations for these parameters and found no difference in either convergence speed or final performance.\n\n>Q6: Compatibility with Flash Attention. \n\nA6: Our method is compatible with IO-aware optimization. While our work focuses on reducing the complexity of attention, the current implementation does not explicitly optimize memory access. These two directions are complementary and could be combined to achieve further efficiency gains. As illustrated in Figure 1, IO-aware techniques, such as tiling and kernel fusion, could be applied to the computation involving (K) and (V). \n\n>Q7: Comparison with Flash attention, mamba and deltanet.\n\nA7: FlashAttention and our method address two complementary aspects of attention efficiency. Therefore, we do not include a direct comparison with FlashAttention in the rebuttal (AC agrees with this point). Below, we provide comparative results against Mamba and DeltaNet on the image classification and document retrieval task in LRA and the evaluation results and efficiency comparisons are as follows.\n| Model | CIFAR | | | AAN | | |\n|:---:|:---:|:---:|:---:|:---:|:---:|:---:|\n| | Accuracy | Training Speed | Memory | Accuracy | Training Speed | Memory |\n| Transformer | 41.89| 15| 21.2| 64.49| 7| 21.2|\n| $\\text{Flexformer}_\\text{n}$ |**45.42** | **28**| **3.5**| 73.94| **18**|**3.4** |\n| Mamba | 43.50|23 | 7.2| 73.90| 13| 5|\n| DeltaNet | 44.69| 26| 3.8| **75.74**| 12| 4.2|\n\nAs can be seen, Mamba and DeltaNet achieve comparable performance to Flexformer, but are slightly inferior in computational efficiency on long sequences."
+ },
+ "createdAt": "2026-07-28T03:23:35.479Z",
+ "modifiedAt": "2026-11-18T17:11:33.694Z",
+ "url": "https://openreview.net/forum?id=D8frDvzgAf&noteId=fLbEbwGFAM",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/d8frdvzgaf/notes/kxvhtvc77o.json added

+++ b/reviews/openreview/d8frdvzgaf/notes/kxvhtvc77o.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "kxvHTVC77O",
+ "replyTo": "1uDM4l65ww",
+ "kind": "comment",
+ "invitation": "Rebuttal",
+ "signature": "Authors",
+ "content": {
+ "rebuttal": "Thank you for your insightful comments. We would like to respond to the weaknesses and questions you raised as follows:\n\n>Q1: Lines 34--37 appears dismissive of prior sparse attention approaches. \n\nA1: We do not consider the sentences in the intro dismissive. AC agrees with this point. Linear attention and sparse attention are two parallel directions within efficient attention, both having seen substantial progress in recent years. However, we argue that linear attention incurs less information loss theoretically, and since our idea is to provide a theoretically grounded method for linear attention, our primary discussion and comparisons focus on linear attention.\n\n>Q2: The long-context evaluation is limited. The longer context lengths would be better. \n\nA2: We evaluate long-context performance using Long Range Arena (LRA), a standard benchmark for long-range sequence modeling. The experiments on it sufficiently demonstrate Flexformer's strong performance in long-sequence modeling.\n As for efficiency, it is shown in Figure 2 that our method already demonstrates a substantial efficiency advantage at a sequence length of 4K. At longer context lengths, this efficiency advantage will only become more pronounced. \n\n>Q3: More recent linear-time architectures and attention baselines, such as DeltaNet and Mamba. \n\nA3: Below, we provide comparative results against Mamba and DeltaNet on the image classification and document retrieval task in LRA and the evaluation results and efficiency comparisons are as follows.\n| Model | CIFAR | | | AAN | | |\n|:---:|:---:|:---:|:---:|:---:|:---:|:---:|\n| | Accuracy | Training Speed | Memory | Accuracy | Training Speed | Memory |\n| Transformer | 41.89| 15| 21.2| 64.49| 7| 21.2|\n| $\\text{Flexformer}_\\text{n}$ |**45.42** | **28**| **3.5**| 73.94| **18**|**3.4** |\n| Mamba | 43.50|23 | 7.2| 73.90| 13| 5|\n| DeltaNet | 44.69| 26| 3.8| **75.74**| 12| 4.2|\n\nAs can be seen, Mamba and DeltaNet achieve comparable performance to Flexformer, but are slightly inferior in computational efficiency on long sequences.\n\n>Q4: It is unclear whether the Softmax Attention results reported in Figure 2 use FlashAttention. \n\nA4: The results in Figure 2 were obtained without using FlashAttention. Our method focuses on reducing the complexity of attention, whereas the current implementation does not incorporate IO-aware memory optimizations such as FlashAttention. These two directions are complementary and could be combined in future work. AC agrees with this point. \n\n>Q5: The presentation can be improved in several places. \n\nA5: Thanks for your suggestion. We will improve these in the camera ready.\n\n>Q6: Have the authors considered parameter-matched baselines to isolate the contribution of the spectral kernel parameterization?\n\nA6: As shown in Table 7, the additional parameters introduced by Flexformer are minimal, with a relative increase of less than 1%. Therefore, we consider the comparisons in our main experiments to be fair.\n\n>Q7: What context length was used for the WikiText-103 language modeling experiments (block size of 512)? Given that one of the motivations of the paper is improving long-context modeling, it would be helpful to evaluate training with longer contexts (e.g., 1024 or 2048 tokens, since LM is expensive) and report whether the observed gains persist in those settings.\n\nA7: In this experiment, we follow the unified settings of prior work and set the maximum sequence length to 512. We evaluate long-sequence modeling capability on LRA, whereas here we only additionally examine whether the proposed method can adapt to autoregressive language modeling. Moreover, most samples in the WikiText-103 dataset have lengths shorter than 512, so setting a longer sequence length would not lead to significant changes in evaluation results.\n\n>Q8: Is the approach extendable to non-softmax kernel families?\n\nA8: Of course. In fact, only when the red term in Equation (4) remains within the Gaussian family does the resulting kernel belong to the softmax kernel family. By extending the red term in Equation (4) to arbitrary bounded, continuous, and positive definite kernels, we obtain a substantially broader family that includes many kernels beyond the softmax kernel. This is precisely the generalization introduced by Flexformer."
+ },
+ "createdAt": "2026-07-28T06:38:06.011Z",
+ "modifiedAt": "2026-11-18T17:11:32.213Z",
+ "url": "https://openreview.net/forum?id=D8frDvzgAf&noteId=kxvHTVC77O",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/d8frdvzgaf/notes/lbmsl4hmoj.json added

+++ b/reviews/openreview/d8frdvzgaf/notes/lbmsl4hmoj.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "LbMsl4HMOJ",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer K8yg",
+ "content": {
+ "summary": "The paper proposes Flexformer, a new linear transformer, which extends kernel-based linear attention with random fourier features by making the feature map fully learnable. Based on two classical theorems, the authors introduce both stationary and nonstationary variants of the learnable kernel to expand the expressive capacity of the model beyond fixed probability measures. The proposed method is evaluated on the Long Range Arena (LRA) benchmark, WikiText-103 for causal language modeling, and GLUE for bidirectional language modeling, and achieving both high efficiency and competitive performance on long-sequence tasks.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "**Strengths**\n1. Solid Theoretical Motivation: Extending the use of random Fourier features from fixed probability measures to parameter-learned spectral measures provides a mathematically sound framework for increasing kernel flexibility.\n\n2. Extensive Empirical Baselines: Flexformer demonstrates competitive performance across LRA tasks and WikiText-103 compared to classical linear variants like Performer, Linear Transformer, and more recent learnable baselines like Hedgehog and Polaformer.\n\n**Weakness**\n1. The paper claims an asymptotic time complexity of $\\mathcal{O}(Ndd^{\\prime})$. However, setting $n=d$ results in $d^{\\prime}=2d$, effectively degrading the time complexity to $\\mathcal{O}(Nd^2)$. For models with wide hidden dimensions, this quadratic dependency on $d$ introduces significant projection overhead and memory footprint, which will likely offset the benefits of linearizing sequence length $N$ on memory-bound hardware. More wall-clock efficiency is needed.\n\n2. Eq. 6 is similar to existing methods that utilize Ptolemy’s theorem to introduce absolute/relative positional penalties or reconstruct attention matrices (e.g., NaLaFormer[1]) Authors should adequately discuss the mechanistic similarities regarding how these trigonometric components preserve fidelity or enforce spatial inductive biases.\n\n3. Potential in Linearizing Pretrained LLMs. Learnable feature maps are friendly for linearizing pretrained LLMs, such as STILL[2] and LoLCATs[3]. The paper currently neglects this crucial application. To strengthen the submission, the authors should supplement experiments applying Flexformer to linearize modern pretrained LLMs, or at minimum, discuss its feasibility and theoretical advantages within this paradigm.\n\n4. The current evaluation lacks the scale necessary to prove the framework's broader applicability. To convincingly demonstrate the algorithmic viability of Flexformer, the authors are strongly encouraged to supplement the evaluation with standard computer vision benchmarks (e.g., ImageNet-1K classification). Furthermore, the language modeling experiments are significantly under-scaled; evaluating on models with only up to 247M parameters falls short of even baseline GPT-small configurations. The authors should include larger-scale, GPT-style autoregressive language modeling experiments (e.g., in the 0.6B parameter regime) to verify that the model maintains competitive performance at modern LLM scales.\n\n[1] \"Norm $\\times $ Direction: Restoring the Missing Query Norm in Vision Linear Attention.\" arXiv preprint arXiv:2506.21137 (2025).\n\n[2] \"STILL: Selecting Tokens for Intra-Layer Hybrid Attention to Linearize LLMs.\" arXiv preprint arXiv:2602.02180 (2026).\n\n[3] \"Lolcats: On low-rank linearizing of large language models.\" ICLR, 2025.",
+ "quality": 2,
+ "clarity": 3,
+ "significance": 2,
+ "originality": 2,
+ "questions": "In addition to the weaknesses mentioned above, I have the following questions for the authors:\n\n1. Could you visualize or statistically analyze the learned frequency distribution $p(\\omega)$? How significantly does it deviate from the initialization or a standard fixed Gaussian distribution?\n\n2. Compatibility with [Flash Linear Attention](https://github.com/fla-org/flash-linear-attention) (IO-Awareness)\n\n3. Comparison with Flash attention, mamba and deltanet in efficiency and simple language modeling tasks.\n\nThis is an interesting work, and I will raise my score accordingly if the authors address all my concerns.",
+ "limitations": "yes",
+ "rating": 3,
+ "confidence": 5,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "NA",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "I thank the authors for their rebuttal and the additional experiments, which partially address my concerns. I maintain that the proposed method is technically sound and the core idea is a valuable contribution to linear attention. However, my central concern remains only partially resolved, so I keep my score unchanged.\n\nMy main issue is the lack of validation in the regime where this work matters most. As the method is positioned as a potential replacement for standard self-attention, the community's bar is evidence at LLM-relevant scale and sequence length. This is why I requested causal LM experiments at the 1.3B-parameter scale with sequences beyond 4K, rather than the bidirectional AAN setting. Empirically, the relative performance of linear versus standard attention, in both task accuracy and time/memory efficiency, may shift substantially with model scale and context length, and much of this shift stems from hardware utilization of the underlying implementations rather than asymptotic complexity (hence my questions regarding FLA-based kernels). Without direct comparisons against strong, well-optimized baselines such as FlashAttention and DeltaNet in a large-scale causal LM setting, it is difficult to judge whether the claimed advantages hold in practice. The newly added experiments move in the right direction, but they remain limited in scale, sequence length, and evaluation setting, so this key evidence is still missing.\n\nOverall, I will maintain my initial score 3."
+ },
+ "createdAt": "2026-06-03T03:54:55.411Z",
+ "modifiedAt": "2026-11-18T13:35:47.963Z",
+ "url": "https://openreview.net/forum?id=D8frDvzgAf&noteId=LbMsl4HMOJ",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/d8frdvzgaf/notes/qeibnezfur.json added

+++ b/reviews/openreview/d8frdvzgaf/notes/qeibnezfur.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "qeibNeZfUr",
+ "replyTo": null,
+ "kind": "meta_review",
+ "invitation": "Meta_Review",
+ "signature": "Area Chair Eqdi",
+ "content": {
+ "metareview": "This paper extends the kernel view of self-attention to a wider family of kernels. The approach is based on representations of stationary and non-stationary kernels. The main technique used is random Fourier features. Experiments are done on tasks in long-range arena, language modeling on WikiText-103, and testing distillation of RoBERTa on GLUE.\n\nThe paper is well motivated and well explained. This would have been a great paper if it was written in 2022, so there is no question about the rigor of the experimental design. However, the field has moved on, and the main concern from reviewer K8yg and 379y is timeliness. Since then there are a lot of things built on top of regular Transformers, and to make a convincing argument, it would be better to have one experiment that is more timely, for example, replacing regular softmax attention with the proposed attention.\n\nIn terms of the revisions needed, I don't find the sentences in the intro dismissive as pointed out by reviewer 379y. I also don't see why FlashAttention is relevant (though it's still good to make it explicit), because specialized implementation will come later. I also don't see the issue with time complexity raised by reviewer K8yg. Really, the only issue left is timeliness.\n\nThe rebuttal includes additional experiments extending long-context experiments to 16K and to GPT-3 XL. The timeliness concern is properly addressed."
+ },
+ "createdAt": "2026-07-22T11:55:52.864Z",
+ "modifiedAt": "2026-11-18T15:18:56.500Z",
+ "url": "https://openreview.net/forum?id=D8frDvzgAf&noteId=qeibNeZfUr",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/d8frdvzgaf/notes/rfhpulyfo8.json added

+++ b/reviews/openreview/d8frdvzgaf/notes/rfhpulyfo8.json
@@ -0,0 +1,31 @@
+{
+ "schema": "review/1",
+ "id": "RFHpULyFO8",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer zoWU",
+ "content": {
+ "summary": "This paper proposes learnable kernel-based approximations to attention that reduce time and space complexity. The approximations proposed are more expressive than the fixed, non-learnable kernel approximations that appear in the literature, allowing the model to adapt to the data more accurately. The paper studies two approximations, one with a learnable stationary kernel, and one with a nonstationary learnable kernel. It shows that these two kernels outperform existing linear attention approximations, and have quality close to the vanilla transformer, especially in the distillation setting, while being significantly more efficient.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "Strengths:\n- Proposes an interesting linear attention approximation to attention to speed up computation and save space.\n- Many experiments at small scale to validate empirical strength of the approximation\n- Well motivated theoretically, with comparison to existing non-learnable approximations; precisely points out the drawbacks of existing works, and why this new method could better fit the data.\n- Distillation results in particular are quite interesting.\n\nWeaknesses:\n- Lacks large-scale experiments, unclear if findings scale well -- also lacks any kind of scaling study.",
+ "quality": 3,
+ "clarity": 3,
+ "significance": 3,
+ "originality": 3,
+ "questions": "- Do you have any understanding of how well the (quality) results translate with scale?\n- Do you have any proposals (not necessarily empirically validated) for extending the method to non-positive-definite kernels?",
+ "limitations": "Yes",
+ "rating": 5,
+ "confidence": 4,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "No",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes"
+ },
+ "createdAt": "2026-07-25T23:50:31.080Z",
+ "modifiedAt": "2026-11-18T13:35:46.313Z",
+ "url": "https://openreview.net/forum?id=D8frDvzgAf&noteId=RFHpULyFO8",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/d8frdvzgaf/submission.json added

+++ b/reviews/openreview/d8frdvzgaf/submission.json
@@ -0,0 +1,12 @@
+{
+ "schema": "submission/1",
+ "id": "D8frDvzgAf",
+ "venue": {
+ "id": "NeurIPS.cc/2026/Conference",
+ "name": "NeurIPS 2026",
+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference"
+ },
+ "number": 4402,
+ "url": "https://openreview.net/forum?id=D8frDvzgAf",
+ "license": "CC-BY-4.0"
+}

versions/v_8ni2nniw.json added

+++ b/versions/v_8ni2nniw.json
@@ -0,0 +1,22 @@
+{
+ "date": "2026-04-23",
+ "kind": "submitted",
+ "label": "NeurIPS 2026",
+ "submissions": [
+ {
+ "venue": "NeurIPS 2026",
+ "status": "accepted",
+ "decision": "Accept (poster)",
+ "number": 4402,
+ "url": "https://openreview.net/forum?id=D8frDvzgAf",
+ "reviews": "openreview/d8frdvzgaf",
+ "evidence": [
+ "https://openreview.net/forum?id=D8frDvzgAf"
+ ]
+ }
+ ],
+ "url": "https://openreview.net/forum?id=D8frDvzgAf",
+ "evidence": [
+ "https://openreview.net/forum?id=D8frDvzgAf"
+ ]
+}