{
  "id": 1353,
  "kind": "paper",
  "title": "Switching Linear Attention",
  "summary": "Switching Linear Attention (SwiLA) is a sequence layer from Stanford (Lee, Gonzalez, Zucchet, Buchanan, Fox, Linderman) that tries to close linear attention's expressivity gap while keeping its fixed-size recurrent state (no growing KV cache). Derived in the test-time regression framework, the state is a mixture of J linear regressors (state O(JD²)) fitted online by expectation–maximization: posterior responsibilities computed from each component's prediction error plus a learned gating prior weight a delta-rule update per component. Because each output dimension selects its component independently, the layer realizes J^D piecewise-linear maps and its recurrence is nonlinear in the state — unlike Mixture-of-Memories, whose router is state-independent. Variants add temporal persistence in the assignment prior (Temporal SwiLA) and input-dependent gating (Gated SwiLA). At 374M parameters pretrained on 15B FineWeb-Edu tokens with state size matched across recurrent baselines, Gated SwiLA variants average 45.4 on a commonsense suite vs 45.3 for Transformer++ and 43.7 for DeltaNet (KDA leads the linear family at 46.6); on six recall-intensive tasks Gated Temporal SwiLA's 20.6 is the best pure-recurrent average (DeltaNet 17.3) though softmax models still lead (FoX 33.7), and Hybrid Temporal SwiLA (3:1 recurrent:softmax interleave) reaches 31.8, beating Hybrid GDN (29.5) and Transformer++. Profiled at 1.3B, SwiLA gets 4–5× the Transformer's end-to-end inference throughput (batch-size effect of having no KV cache) but trains ~2× slower than Gated DeltaNet with a sequential Triton kernel; a chunkwise parallel Newton training algorithm is derived but not yet implemented. Ablations (115M): temporal persistence helps consistently, load balancing prevents expert collapse in vanilla SwiLA, and more experts (4→16) slightly hurt at fixed state budget.",
  "body": "",
  "notes": "Discovery: @SMishra61 X post 2026-10-11 ~9:12 AM ET (~1.8K views, 40 likes, 35 bookmarks at read); tweet's description verified against the paper. Relevance: (1) the paper's hybrid baseline uses the same 3:1 recurrent:softmax layer ratio as the user's 3:1 SWA:full-attention hybrid (his full layers are SWA+FlashAttention, theirs full softmax — transfer is extrapolation unless measured); Hybrid Temporal SwiLA beating Hybrid GDN at that ratio is the comparison to watch. (2) Speed profile rhymes with his standing Gated DeltaNet observation (not faster than his Transformer baseline until ≥16K context): SwiLA's headline inference number is a batch-size effect vs softmax, while per-step it is slower than GDN and parallel training is future work. Cluster: linear-attention/DeltaNet family — DeltaNet, Gated DeltaNet, KDA, MoM are its baselines; TTR framing (Wang et al. 2025) is the design lens. Caveats: single-scale evidence (374M LM, 115M ablations, 1.3B profiling only); KDA still beats SwiLA on commonsense average; code repo URL unconfirmed at catalog time. | License: CC BY 4.0 | Code: available per the paper (GitHub repo linked from the paper, \"switching-linear-attention\"); exact repo URL unconfirmed at catalog time. No weights announced.",
  "url": "https://arxiv.org/abs/2609.39034",
  "links": [],
  "authors": [
    "Hyun Dong Lee",
    "Xavier Gonzalez",
    "Nicolas Zucchet",
    "E. Kelly Buchanan",
    "Emily B. Fox",
    "Scott W. Linderman (Stanford University",
    "Gonzalez now at Unconventional AI",
    "work done at Stanford)"
  ],
  "tags": [],
  "topics": "",
  "venue": "arXiv:2609.39034 (cs.LG); COLM 2026",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-11T00:00:00.000Z",
  "verified_at": "2026-10-11T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "SMishra61",
    "legacy_paper_id": "1660"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-01T12:52:17.085Z",
  "updated_at": "2026-11-01T12:52:17.085Z",
  "page": "https://papers.projxon.ai/entries/1353",
  "markdown": "https://papers.projxon.ai/entries/1353.md",
  "api": "https://papers.projxon.ai/api/entries/1353",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 489,
      "kind": "paper",
      "title": "Dynamic Linear Attention",
      "summary": "DLA builds multi-state linear-attention memory with (i) Information-Aware Dynamic State Merging: a State Information Score opens a new state when token-level Frobenius drift exceeds tau, else merges; (ii) Capacity-Bounded Memory: a K-slot chronological cache that merges the lowest-density adjacent pair when full. Pretrains Mamba-2-780M and Gated DeltaNet-1.3B on 50B Long-Data-Collections tokens (seq 16k, K=30). Beats Log-Linear Attention on 8 commonsense, 6 in-context retrieval, RULER, and LongBench; Mamba-2+DLA matches or beats a 778M Transformer. Higher prefill throughput and lower memory than log-linear. No official code on the abs page.",
      "url": "https://arxiv.org/abs/2606.10650",
      "authors": [
        "Xin Wang",
        "Hui Shen",
        "Boyuan Zheng",
        "Xueshen Liu",
        "Minkyoung Cho",
        "Zhongwei Wan",
        "Zesen Zhao",
        "Zhuoqing Mao",
        "Shen Yan",
        "Mi Zhang"
      ],
      "tags": [
        "dla",
        "linear-attention",
        "mamba-2",
        "gated-deltanet",
        "long-context",
        "bytedance",
        "osu"
      ],
      "venue": "arXiv / Ohio State / University of Michigan / ByteDance Seed",
      "source": "arxiv",
      "license": "arXiv perpetual non-exclusive license 1.0",
      "published_year": 2026,
      "added_at": "2026-08-14T17:02:26.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 4,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/489",
      "markdown": "https://papers.projxon.ai/entries/489.md",
      "api": "https://papers.projxon.ai/api/entries/489"
    },
    {
      "id": 1253,
      "kind": "paper",
      "title": "Native Hybrid Attention for Efficient Sequence Modeling",
      "summary": "Native Hybrid Attention (NHA) unifies linear and full attention into a single softmax operation within one uniform layer design. Long-term history is compressed into fixed-size key-value memory slots updated by a linear RNN; short-term context comes from exact sliding-window tokens; one softmax over all keys and values learns per-token, per-head balancing dynamically with no extra fusion parameters. A single hyperparameter — the sliding window size — shifts each layer smoothly between pure linear attention (w=0), intra-layer hybrid, and full attention (w=N), with no structural changes; all layers share the same architecture. NHA beats Transformers and other hybrid baselines on recall-intensive and commonsense reasoning tasks, and pretrained LLMs (Llama-3, Qwen) can be structurally hybridized with NHA via lightweight finetuning (e.g., NHA-Qwen2.5-7B / NHA-Llama-3-8B trained on 10B tokens, NHA-Qwen3-30BA3B) to match accuracy with drastically lower GPU memory and inference latency.",
      "url": "https://arxiv.org/abs/2510.07019",
      "authors": [
        "Jusen Du",
        "Jiaxi Hu",
        "Tao Zhang",
        "Weigao Sun",
        "Yu Cheng"
      ],
      "tags": [
        "native-hybrid-attention",
        "linear-attention",
        "sliding-window",
        "memory-slots",
        "recall",
        "efficient-inference",
        "acl-2026"
      ],
      "venue": "arXiv 2510.07019 [cs.CL], submitted 8 Oct 2025, v3 15 Apr 2026; accepted ACL 2026",
      "source": "x",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-10-05T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1253",
      "markdown": "https://papers.projxon.ai/entries/1253.md",
      "api": "https://papers.projxon.ai/api/entries/1253"
    },
    {
      "id": 1244,
      "kind": "paper",
      "title": "Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling",
      "summary": "Generalizes linear attention from a matrix state to a third-order tensor state: writes the triadic outer product of a key, a second key, and a value (k tensor k' tensor v) into S_t in R^{d x E x d}, and reads by contracting both key axes with two queries. An E-dimensional second key yields an E-fold state-size increase while adding only two projections (negligible parameter overhead; E=16 gives 16x capacity at 1.08x non-embedding params in MQAR tests). Compatible with data-dependent forgetting (per-slice decay gates), the delta rule applied jointly to both keys (removing the value stored under the key pair), and chunkwise-parallel training via custom CuTe kernels that tile the per-head state along the value axis (blocks of 32 columns, all E slices held in registers) so no SM holds the full tensor. Applied to Gated DeltaNet and scalar-gated linear attention, it substantially improves long-context LM and recall, outperforming alternatives that enlarge state via wider heads/values, more heads, or multiple value heads per key. A pretrained linear-attention model can be converted post hoc to its triadic form during long-context extension. Training overhead over vanilla GDN (custom kernels, H100, 1.3B, 2k-64k tokens): 9-11% (E=2), 14-15% (E=4), 28-30% (E=8); E=8 is 3% slower than a Transformer at 4k but faster beyond, reaching 5.1x faster at 64k.",
      "url": "https://arxiv.org/abs/2609.36529",
      "authors": [
        "Oliver Sieberling",
        "Bharat Runwal",
        "David Jin",
        "Ryan Chin",
        "Rameswar Panda",
        "Yoon Kim"
      ],
      "tags": [
        "triadic-linear-attention",
        "tensor-state",
        "gated-deltanet",
        "recall",
        "long-context",
        "chunkwise-parallel",
        "cute-kernels"
      ],
      "venue": "arXiv 2609.36529 (cs.LG/cs.CL), submitted 29 Sep 2026, preprint",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1244",
      "markdown": "https://papers.projxon.ai/entries/1244.md",
      "api": "https://papers.projxon.ai/api/entries/1244"
    },
    {
      "id": 1086,
      "kind": "paper",
      "title": "Block Sparse Attention with Log-Linear Complexity",
      "summary": "Scaling language models to long contexts is limited by the quadratic cost of self-attention. Block sparse attention offers an efficient alternative, but selecting the retained blocks remains a bottleneck. Conventional block selection requires scoring all query-block pairs and therefore remains quadratic in sequence length. To address this issue, we propose PISA, a block-sparse attention mechanism that employs a pyramid Top-$K$ selection strategy. The main idea is to gradually narrow down the candidates across diffe…",
      "url": "https://arxiv.org/abs/2609.31093",
      "authors": [
        "Bohao Tang",
        "Zhen Qin",
        "Yuqi Pan",
        "Zheng Li",
        "Pengfei Liu"
      ],
      "tags": [
        "block-sparse-attention",
        "long-context",
        "log-linear",
        "2609.31093"
      ],
      "venue": "arXiv / cs.LG",
      "source": "arxiv",
      "license": "arXiv non-exclusive / check PDF",
      "published_year": 2026,
      "added_at": "2026-09-29T20:34:19.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1086",
      "markdown": "https://papers.projxon.ai/entries/1086.md",
      "api": "https://papers.projxon.ai/api/entries/1086"
    },
    {
      "id": 617,
      "kind": "paper",
      "title": "Gated DeltaNet-2: Decoupling Erase and Write in Linear Attention",
      "summary": "NVIDIA linear-attention layer that generalizes Gated DeltaNet and Kimi Delta Attention by replacing the tied scalar delta gate with a key-side erase gate b_t and a value-side write gate w_t, keeping channel-wise decay. Recovers KDA when both gates collapse to the same scalar and Gated DeltaNet when decay is scalar too. Derives a fast-weight view, chunkwise WY algorithm, and gate-aware backward. At 1.3B on 100B FineWeb-Edu tokens, strongest overall vs Mamba-2/GDN/KDA/Mamba-3 on LM, commonsense, and retrieval; largest gains on RULER multi-key NIAH. Recurrent real-world retrieval avg 29.88 vs KDA 28.67; hybrid 42.28 vs 40.14. Code NVlabs/GatedDeltaNet-2.",
      "url": "https://arxiv.org/abs/2605.22791",
      "authors": [
        "Ali Hatamizadeh",
        "Yejin Choi",
        "Jan Kautz"
      ],
      "tags": [
        "gated-deltanet",
        "kda",
        "mamba",
        "linear-attention",
        "nvidia",
        "delta-rule"
      ],
      "venue": "arXiv / NVIDIA",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-08-14T19:20:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 26,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/617",
      "markdown": "https://papers.projxon.ai/entries/617.md",
      "api": "https://papers.projxon.ai/api/entries/617"
    },
    {
      "id": 494,
      "kind": "model",
      "title": "LT2: Linear-Time Looped Transformers",
      "summary": "LT2 loops subquadratic mixers: DPLR linear attention gets a rank-T state update; sparse windows get Tw receptive field. On FineWeb-Edu 100B tokens, 1.3B T=4: Looped Hybrid (Full+GDN) 62.89 avg zero-shot vs looped Transformer 59.27, with ~2.7–5x decode speedup; GDN+DSA matches quality with no full attention (~2.9x at 32k). Distills Ouro-1.4B into Ouro-hybrid-1.4B with ~1B tokens; competitive with 1B–4B industry models. Code https://github.com/chili-lab/LT2; checkpoint https://huggingface.co/chili-lab/Ouro-hybrid-1.4B.",
      "url": "https://arxiv.org/abs/2605.20670",
      "authors": [
        "Chunyuan Deng",
        "Yizhe Zhang",
        "Rui-jie Zhu",
        "Yuanyuan Xu",
        "Jiarui Liu",
        "T. S. Eugene Ng",
        "Hanjie Chen"
      ],
      "tags": [
        "lt2",
        "looped-transformer",
        "gdn",
        "dsa",
        "ouro",
        "linear-attention",
        "rice",
        "apple"
      ],
      "venue": "arXiv / Rice University / Apple / UC Santa Cruz / Carnegie Mellon University",
      "source": "",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:04.296Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 6,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/494",
      "markdown": "https://papers.projxon.ai/entries/494.md",
      "api": "https://papers.projxon.ai/api/entries/494"
    }
  ]
}
