{
  "id": 906,
  "kind": "paper",
  "title": "Differential Transformer",
  "summary": "arXiv 2410.05258 (v2): Diff Transformer computes attention as the difference of two softmax attention maps, canceling noise and encouraging sparse attention. Claims better language-modeling performance than Transformers, stronger long-context retrieval, fewer hallucinations, and better robustness under lower-bit quantization; Discord note highlighted ~40% fewer parameters for matched performance. Microsoft/academic author list (Ye, Dong, Xia, Sun, Zhu, Huang, Wei).",
  "body": "",
  "notes": "Mapped from Discord descriptive post (no arXiv URL in message) via unambiguous Differential attention / Diff Transformer identity. Primary: export.arxiv.org API.",
  "url": "https://arxiv.org/abs/2410.05258",
  "links": [],
  "authors": [
    "Tianzhu Ye",
    "Li Dong",
    "Yuqing Xia",
    "Yutao Sun",
    "Yi Zhu",
    "Gao Huang",
    "Furu Wei"
  ],
  "tags": [
    "differential-transformer",
    "differential-attention",
    "long-context",
    "microsoft",
    "arxiv:2410.05258"
  ],
  "topics": "attention mechanisms; transformer architecture; noise-canceling differential attention",
  "venue": "arXiv 2410.05258",
  "publisher": "arXiv 2410.05258",
  "source": "arxiv",
  "language": "en",
  "access": "open arXiv PDF/abs",
  "license": "",
  "published_year": 2024,
  "added_at": "2026-09-14T20:30:54.000Z",
  "verified_at": "2026-09-14T20:30:54.000Z",
  "attrs": {
    "domain": "attention mechanisms; transformer architecture; noise-canceling differential attention",
    "purpose": "Propose Diff Transformer / differential attention to amplify relevant context and cancel attention noise",
    "used_for": "architecture experiments; long-context / retrieval attention research",
    "author_type": "academic / industry research",
    "time_period": "published 2024-10-07 on arXiv; Discord mid 1295746155870949406 (random-papers)"
  },
  "enrichment": {
    "s2": {
      "venue": "International Conference on Learning Representations",
      "paper_id": "483d7ee601ee95bfe80e6924560473bf76072173",
      "published": "2024-10-07",
      "fetched_at": "2026-10-03T14:59:06.458Z",
      "citation_count": 1,
      "reference_count": 58,
      "influential_citation_count": 0
    },
    "arxiv": {
      "id": "2410.05258",
      "title": "Differential Transformer",
      "authors": [
        "Tianzhu Ye",
        "Li Dong",
        "Yuqing Xia",
        "Yutao Sun",
        "Yi Zhu",
        "Gao Huang",
        "Furu Wei"
      ],
      "comment": "Accepted as an Oral Presentation at ICLR 2025",
      "updated": "2025-04-07",
      "abstract": "Transformer tends to overallocate attention to irrelevant context. In this work, we introduce Diff Transformer, which amplifies attention to the relevant context while canceling noise. Specifically, the differential attention mechanism calculates attention scores as the difference between two separate softmax attention maps. The subtraction cancels noise, promoting the emergence of sparse attention patterns. Experimental results on language modeling show that Diff Transformer outperforms Transformer in various settings of scaling up model size and training tokens. More intriguingly, it offers notable advantages in practical applications, such as long-context modeling, key information retrieval, hallucination mitigation, in-context learning, and reduction of activation outliers. By being less distracted by irrelevant context, Diff Transformer can mitigate hallucination in question answering and text summarization. For in-context learning, Diff Transformer not only enhances accuracy but is also more robust to order permutation, which was considered as a chronic robustness issue. The results position Diff Transformer as a highly effective and promising architecture to advance large language models.",
      "published": "2024-10-07",
      "categories": [
        "cs.CL",
        "cs.LG"
      ],
      "fetched_at": "2026-10-03T14:59:06.458Z"
    }
  },
  "enriched_at": "2026-10-03T14:59:06.596Z",
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "1288",
    "needs_deep_eval": "no",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/906",
  "markdown": "https://papers.projxon.ai/entries/906.md",
  "api": "https://papers.projxon.ai/api/entries/906",
  "relations": [
    {
      "relation": "cites",
      "direction": "out",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 575,
        "kind": "paper",
        "title": "FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision",
        "summary": "FlashAttention-3 redesigns FA2 for Hopper: warp-specialized TMA/WGMMA producer-consumer, pingpong scheduling so softmax hides under GEMM, and FP8 with in-kernel V transpose, block quantization, and Hadamard incoherent processing. H100 FP16 is 1.5-2.0× FA2 (up to 740 TFLOPs/s, 75% util) and 1.5-1.75× backward; FP8 reaches ~1.2 PFLOPs/s with 2.6× lower RMSE vs per-tensor FP8 on outlier-injected QKV. Competitive with or faster than cuDNN FA2 at seq≥1k. Code https://github.com/Dao-AILab/flash-attention.",
        "url": "https://arxiv.org/abs/2407.08608",
        "authors": [
          "Jay Shah",
          "Ganesh Bikshandi",
          "Ying Zhang",
          "Vijay Thakkar",
          "Pradeep Ramani",
          "Tri Dao"
        ],
        "tags": [
          "flashattention-3",
          "hopper",
          "wgmma",
          "tma",
          "fp8",
          "warp-specialization",
          "colfax",
          "nvidia",
          "meta",
          "attention"
        ],
        "venue": "arXiv / Colfax International / Meta / NVIDIA",
        "source": "",
        "license": "CC BY 4.0",
        "published_year": 2024,
        "added_at": "2026-10-01T16:45:06.278Z",
        "has_dataset_profile": false,
        "license_class": "permissive",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": 719,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/575",
        "markdown": "https://papers.projxon.ai/entries/575.md",
        "api": "https://papers.projxon.ai/api/entries/575"
      }
    },
    {
      "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": 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": 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"
    },
    {
      "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": 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": 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": 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"
    }
  ]
}
