{
  "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…",
  "body": "",
  "notes": "Discord #random-papers pass-20260929-1627. arXiv Atom. Cats: cs.LG. | Enriched 2026-10-06: @gurtej__gill_ (Gill, AI researcher) review thread 2026-10-05 3:19 PM ET (https://x.com/gurtej__gill_/status/2107188954449740241), 599 views — frames the contribution as fixing the block-selection bottleneck: most block-sparse papers 'wave their hands' at linear scaling while the top-K block selection quietly stays O(N^2); PISA's coarse-to-fine pooled-key pyramid pulls selection+compute to genuine O(N log N); custom fused Triton kernels avoid materializing query-key matrices; holds parity with dense on standard benchmarks and shines on retrieval. Open question from replier @jurlycat: how routing overhead changes with block size and sequence length.",
  "url": "https://arxiv.org/abs/2609.31093",
  "links": [],
  "authors": [
    "Bohao Tang",
    "Zhen Qin",
    "Yuqi Pan",
    "Zheng Li",
    "Pengfei Liu"
  ],
  "tags": [
    "block-sparse-attention",
    "long-context",
    "log-linear",
    "2609.31093"
  ],
  "topics": "block sparse attention; long context; log-linear complexity",
  "venue": "arXiv / cs.LG",
  "publisher": "arXiv / cs.LG",
  "source": "arxiv",
  "language": "en",
  "access": "https://arxiv.org/abs/2609.31093",
  "license": "arXiv non-exclusive / check PDF",
  "published_year": 2026,
  "added_at": "2026-09-29T20:34:19.000Z",
  "verified_at": "2026-10-06T00:00:00.000Z",
  "attrs": {
    "scale": "See PDF/abstract",
    "domain": "block sparse attention; long context; log-linear complexity",
    "purpose": "Block sparse attention with log-linear complexity for long-context Transformers",
    "used_for": "Long-context efficiency; block-sparse attention kernels",
    "author_type": "academic (check PDF)",
    "time_period": "arXiv published 2026-09-25; cataloged 2026-09-29"
  },
  "enrichment": {
    "s2": {
      "paper_id": "66ef5af91d7b71eb9b4fb1fe749c021360c8d3c2",
      "published": "2026-09-25",
      "fetched_at": "2026-10-03T15:02:04.660Z",
      "citation_count": 0,
      "reference_count": 41,
      "influential_citation_count": 0
    },
    "arxiv": {
      "id": "2609.31093",
      "title": "Block Sparse Attention with Log-Linear Complexity",
      "authors": [
        "Bohao Tang",
        "Zhen Qin",
        "Yuqi Pan",
        "Zheng Li",
        "Pengfei Liu"
      ],
      "updated": "2026-09-25",
      "abstract": "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 different levels, making it more efficient to find the most relevant keys. Specifically, we construct a coarse-to-fine hierarchy of keys and perform selection from the coarsest level. At each level, LogSumExp scoring is applied to a bounded candidate set to select candidates for the next finer level, continuing until the finest level is reached. Through pooling, we construct $O(\\log N)$ levels of keys, yielding an overall complexity of $O(N\\log N)$, where $N$ denotes the sequence length. We develop hardware-aware Triton kernels for both training and inference, fusing hierarchical routing and LogSumExp scoring without materializing the query-key score matrix. We further evaluate our method on language modeling tasks. Compared with the baseline, our method achieves comparable performance on benchmarks such as commonsense reasoning while delivering better results on retrieval tasks.",
      "published": "2026-09-25",
      "categories": [
        "cs.LG"
      ],
      "fetched_at": "2026-10-03T15:02:04.658Z"
    }
  },
  "enriched_at": "2026-10-03T15:02:04.829Z",
  "license_class": "other",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "1511",
    "needs_deep_eval": "no",
    "pipeline_status": "cataloged",
    "research_status": "researched"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-06T04:47:35.185Z",
  "page": "https://papers.projxon.ai/entries/1086",
  "markdown": "https://papers.projxon.ai/entries/1086.md",
  "api": "https://papers.projxon.ai/api/entries/1086",
  "relations": [
    {
      "relation": "cites",
      "direction": "out",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 452,
        "kind": "paper",
        "title": "LongCat Sparse Attention: Taming the Lightning via Streaming-aware Hierarchical Cross-Layer Indexing",
        "summary": "LongCat Sparse Attention (LSA) composes three indexer changes on DSA: Streaming-Aware Indexing (sink+sliding-window contiguous budget plus dynamic sparse tokens for coalesced HBM), Cross-Layer Indexing (N=2 owner/reuse with distillation; halves indexer passes), and training-free Hierarchical Indexing (coarse page recall then token refine; net win at >=256K). Matches full MLA on general/long-context benches at 69B-A3B and 560B-A27B, enables 1M-token native training, and underpins LongCat-2.0 (1.6T-A48B). Releases LongCat-Flash-Lite-Sparse (69B-A3B).",
        "url": "https://arxiv.org/abs/2608.01662",
        "authors": [
          "Wen Zan",
          "Jiaqi Zhang",
          "Jianchao Tan",
          "Hong Liu",
          "Cunguang Wang",
          "Xiang Li",
          "Duyue Ma",
          "Guanyu Wu",
          "Yifan Lu",
          "Fengcun Li",
          "Yerui Sun",
          "Peng Pei",
          "Yuchen Xie",
          "Xunliang Cai"
        ],
        "tags": [
          "sparse-attention",
          "dsa",
          "lightning-indexer",
          "long-context",
          "longcat",
          "meituan",
          "moe",
          "mla"
        ],
        "venue": "arXiv / Meituan LongCat",
        "source": "arxiv",
        "license": "arXiv perpetual non-exclusive license 1.0",
        "published_year": 2026,
        "added_at": "2026-08-14T16:24:56.000Z",
        "has_dataset_profile": false,
        "license_class": "other",
        "langs": [
          "en"
        ],
        "modalities": [],
        "size_class": null,
        "citation_count": 2,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/452",
        "markdown": "https://papers.projxon.ai/entries/452.md",
        "api": "https://papers.projxon.ai/api/entries/452"
      }
    },
    {
      "relation": "cites",
      "direction": "out",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 707,
        "kind": "paper",
        "title": "MoBA: Mixture of Block Attention for Long-Context LLMs",
        "summary": "Proposes Mixture of Block Attention (MoBA), which applies mixture-of-experts principles to the attention mechanism: the model learns where to attend across blocks rather than using predefined sparse patterns like sink or window attention. It claims superior long-context performance with seamless switching between full and sparse attention, and has been deployed for Kimi's long-context serving.",
        "url": "https://arxiv.org/abs/2502.13189",
        "authors": [
          "Enzhe Lu",
          "Zhejun Jiang",
          "Jingyuan Liu",
          "Yulun Du",
          "Tao Jiang",
          "Chao Hong",
          "Shaowei Liu",
          "Weiran He",
          "Enming Yuan",
          "Yuzhi Wang",
          "Zhiqi Huang",
          "Huan Yuan",
          "Suting Xu",
          "Xinran Xu",
          "Guokun Lai",
          "Yanru Chen",
          "Huabin Zheng",
          "Junjie Yan",
          "Jianlin Su",
          "Yuxin Wu",
          "Neo Y. Zhang",
          "Zhilin Yang",
          "Xinyu Zhou",
          "Mingxing Zhang",
          "Jiezhong Qiu"
        ],
        "tags": [
          "attention",
          "long-context",
          "mixture-of-experts",
          "efficient-inference",
          "kimi"
        ],
        "venue": "arXiv (cs.LG)",
        "source": "arxiv",
        "license": "",
        "published_year": 2025,
        "added_at": "2026-09-29T00:00:00.000Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [
          "en"
        ],
        "modalities": [],
        "size_class": null,
        "citation_count": 215,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/707",
        "markdown": "https://papers.projxon.ai/entries/707.md",
        "api": "https://papers.projxon.ai/api/entries/707"
      }
    },
    {
      "relation": "about",
      "direction": "in",
      "note": "",
      "via": "manual",
      "entry": {
        "id": 1208,
        "kind": "note",
        "title": "Long context: three bets and a weak spot in evaluation (overview)",
        "summary": "An overview of the 33 entries on long-context modelling: cheaper attention, memory beside attention, and managing context from outside, plus what the benchmarks do and do not show. Written by Claude Opus 5.5.",
        "url": "",
        "authors": [
          "Claude Opus 5.5"
        ],
        "tags": [
          "synthesis",
          "ai-written",
          "long-context"
        ],
        "venue": "",
        "source": "",
        "license": "",
        "published_year": null,
        "added_at": "2026-10-03T15:08:53.361Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": null,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/1208",
        "markdown": "https://papers.projxon.ai/entries/1208.md",
        "api": "https://papers.projxon.ai/api/entries/1208"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "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": 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": 564,
      "kind": "paper",
      "title": "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention",
      "summary": "Infini-attention keeps local softmax attention plus a compressive associative memory updated from the same QKV (linear or delta rule) and a learned gate β. 114× smaller memory than a 65k Memorizing Transformer; PG19 PPL 9.65 vs 11.37. A 1B model solves 1M passkey after 5k-length FT; 8B BookSum 500k SOTA Rouge overall 18.5. No official code on abs.",
      "url": "https://arxiv.org/abs/2404.07143",
      "authors": [
        "Tsendsuren Munkhdalai",
        "Manaal Faruqui",
        "Siddharth Gopal"
      ],
      "tags": [
        "infini-attention",
        "long-context",
        "compressive-memory",
        "google",
        "passkey",
        "booksum"
      ],
      "venue": "arXiv / Google",
      "source": "",
      "license": "",
      "published_year": 2024,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 243,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/564",
      "markdown": "https://papers.projxon.ai/entries/564.md",
      "api": "https://papers.projxon.ai/api/entries/564"
    },
    {
      "id": 1031,
      "kind": "paper",
      "title": "HySparse2: Hybrid Sparse Attention with Two-Level KV Sharing",
      "summary": "Xiaomi LLM-Core paper (arXiv 2609.26368v1, 2026-09-22, cs.CL). HySparse2 extends HySparse with YOCO-style self-decoder (hybrid SWA) + cross-decoder (hybrid sparse attention) and two-level KV sharing: outer KV Bridging (full-attention layers only; cross-decoder K/V from self-decoder full-attn hidden states) and inner KV Reuse (HySparse-style shared KV + selection within hybrid blocks). Refinements vs HySparse: token-level sparsity (replacing block-level) and Forced SWA (recent tokens forced into sparse selection, no separate SWA branch). All cross-decoder KV can be built from self-decoder states, so prefill can exit after the self-decoder (~half the model). On matched 80B-A3B MoE training: after light post-training (~100B tokens), mean MRCR-v2 / RULER-v2 +11.30 / +19.81 vs HySparse; at 256k RULER-v2 58.45 vs HySparse 32.61 / Hybrid SWA 35.74; lower AgentPPL and LongPPL to 256k; at 1M tokens analysis claims 2.92× / 5.02× less prefill FLOPs vs HySparse / Hybrid SWA plus smaller KV cache. No public code link in paper; AlphaXiv abs live; HF papers page 404 at catalog time.",
      "url": "https://arxiv.org/abs/2609.26368",
      "authors": [
        "Jianyu Wei*",
        "Yizhao Gao*",
        "Qihao Zhang",
        "Shimao Chen",
        "Zhengju Tang",
        "Yu Cheng",
        "Shengjie Zhou",
        "Zihan Jiang",
        "Yifan Song",
        "Hailin Zhang",
        "Liang Zhao",
        "Bo Yang",
        "Gang Wang",
        "Shijie Cao⋄",
        "Fuli Luo⋄† (*equal",
        "⋄corresponding",
        "†team lead)"
      ],
      "tags": [
        "hysparse2",
        "hysparse",
        "xiaomi",
        "sparse-attention",
        "kv-bridging",
        "kv-reuse",
        "yoco",
        "swa",
        "token-level-sparsity",
        "long-context",
        "agentic",
        "moe",
        "80b-a3b",
        "ruler-v2",
        "mrcr-v2"
      ],
      "venue": "LLM-Core Xiaomi / arXiv",
      "source": "arxiv",
      "license": "arXiv preprint (standard arXiv terms); no separate code license found",
      "published_year": 2026,
      "added_at": "2026-09-24T02:02:08.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/1031",
      "markdown": "https://papers.projxon.ai/entries/1031.md",
      "api": "https://papers.projxon.ai/api/entries/1031"
    },
    {
      "id": 533,
      "kind": "paper",
      "title": "Let's (not) just put things in Context: Test-Time Training for Long-Context LLMs",
      "summary": "Diagnoses score dilution in static self-attention: the target–distractor logit margin must scale as Ω(log T) or needle mass vanishes. Thinking tokens cannot recover buried evidence under that bound. qTTT does one prefill to cache K/V then a few gradient steps on W_Q only, raising the margin without invalidating the cache. FLOP-matched to 8k thinking tokens, Qwen3-4B gains +12.6 / +14.1 pp average on LongBench-v2 and ZeroScrolls subsets; thinking-token gains saturate as T grows.",
      "url": "https://arxiv.org/abs/2512.13898",
      "authors": [
        "Rachit Bansal",
        "Aston Zhang",
        "Rishabh Tiwari",
        "Lovish Madaan",
        "Sai Surya Duvvuri",
        "Devvrit Khatri",
        "David Brandfonbrener",
        "David Alvarez-Melis",
        "Prajjwal Bhargava",
        "Mihir Sanjay Kale",
        "Samy Jelassi"
      ],
      "tags": [
        "qttt",
        "test-time-training",
        "long-context",
        "score-dilution",
        "longbench",
        "zeroscrolls",
        "meta",
        "harvard"
      ],
      "venue": "arXiv / Meta / Harvard",
      "source": "",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 20,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/533",
      "markdown": "https://papers.projxon.ai/entries/533.md",
      "api": "https://papers.projxon.ai/api/entries/533"
    },
    {
      "id": 793,
      "kind": "paper",
      "title": "Context Language Models",
      "summary": "Introduces Context Language Models (CLMs): language models that natively manage their own context by treating the context as a file and allowing unrestricted updates to it, letting the model learn what is most important to maintain in context and naturally extending to multi-agent systems where multiple agent contexts coexist as files. Building CLMs zero-shot with existing models outperforms SOTA context-management strategies: 11.4% higher accuracy with 21.5% fewer FLOPs on BrowseComp-Plus, 5% higher scores with 59% fewer FLOPs on 12-hour EdgeBench, and 65% greater improvement with the same compute on a 24-hour multi-repository agent-swarm task. Shifting context management from external harness control to intrinsic model behavior enables both in-context and parametric learning of context-management strategies: steering CLMs with natural-language instructions evolved through a skill-optimization loop improves held-out accuracy by up to 35.9 points while reducing compute. An online RL method for CLMs improves Qwen3.5-9B on BrowseComp-Plus by 47.6% while using 12% fewer FLOPs. Co-designed Suffix Cache Reuse for CLM serving further cuts server-side compute by 35% relative to standard SGLang at matched performance.",
      "url": "https://arxiv.org/abs/2609.37725",
      "authors": [
        "Rulin Shao",
        "Shannon Zejiang Shen",
        "Junjie Oscar Yin",
        "Yuetai Li",
        "Minheng Wang",
        "Hamish Ivison",
        "Radha Poovendran",
        "Nathan Lambert",
        "Teng Xiao",
        "Mike Lewis",
        "Wen-tau Yih",
        "Luke Zettlemoyer",
        "Pang Wei Koh"
      ],
      "tags": [
        "agents",
        "long-context",
        "context-management",
        "rl",
        "multi-agent",
        "inference",
        "caching"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "CC-BY-4.0",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/793",
      "markdown": "https://papers.projxon.ai/entries/793.md",
      "api": "https://papers.projxon.ai/api/entries/793"
    }
  ]
}
