{
  "id": 1505,
  "kind": "post",
  "title": "Depth Hybrid Attention (DHA): Depth-Wise Value Mixing for Hybrid Attention Architectures",
  "summary": "An architectural add-on for hybrid attention: let layers mix information across DEPTH, not just across time. DHA extends the group's earlier Depth-Attention (validated in plain GQA) to hybrid stacks. The forward pass for each token maintains a per-token 'depth bank' holding KV anchors written by preceding layers. Before its temporal attention, each layer runs a depth router: (1) Read historical anchors from the bank, (2) Mix - value mixing in the form of attention over those anchors, (3) Write its own anchors to the bank. The mixed values then feed the layer's ordinary temporal attention, whose design is untouched. Because the bank is per-token and holds one anchor set per layer rather than per position, it does not grow with context length - the hybrid's low KV-cache footprint is retained, at 'very little' added compute and cache (their characterization). Two variants, each keeping separate depth banks per layer type so a layer only reads anchors from its own kind: Depth Window Attention (DWA) for GQA + sliding-window attention hybrids, routing at KV-group granularity while SWA layers keep their temporal window; and Depth Delta Attention (DDA) for MLA + Kimi Delta Attention (KDA) hybrids, where MLA routes in latent space and KDA mixes values across depths using normalized queries/keys with depth-specific logit scaling before its delta-attention update. Results (short-context suite of 8 benchmarks - ARC-Challenge, HellaSwag, MMLU, CMMLU, GSM8K, MBPP, CMATH, MMLU-Pro; averages): DWA 39.68 vs GQA+SWA 37.84 vs full GQA 38.06, with the gains concentrated in generation tasks (GSM8K 44.43 vs 38.36 hybrid / 37.60 full) and MMLU a small exception (45.51, below full GQA's 46.19); DDA 40.92 vs MLA+KDA 39.12 vs full MLA 38.19 (GSM8K 43.67, CMATH 51.64). The README also reports better loss curves and long-context retrieval vs both baseline classes, but those results are figures only, with no numbers in text. Caveats: a code/project release, not a paper - no arXiv version, no stated model scale, token count, or training setup behind the benchmark tables in the README, all results first-party (Nanbeige LLM Lab, BOSS Zhipin), repo created 2026-10-29 with 3 commits and no LICENSE file in the root at catalog time. Relevance: DWA targets exactly the GQA+SWA hybrid family - in a 3:1 SWA:full stack the depth axis is orthogonal to the temporal hybrid split, but note the constraint that banks are per layer type, so window layers never read anchors written by full layers and vice versa; DDA's KDA branch is the Gated DeltaNet family paired with MLA instead.",
  "body": "",
  "notes": "Code/project release (repo created 2026-10-29; 3 commits; contributors leran95 and xzy-xzy per GitHub). No paper or arXiv version and no LICENSE file in the repo root at catalog time - flagged. Benchmark tables carry no model scale or training-token counts in the README; loss-curve and long-context results are figure-only. Shared via @nanbeige X post (status 2117570562264584671, 2026-11-03). The README cites a predecessor 'Depth-Attention' validated in full GQA (arXiv link in repo).",
  "url": "https://github.com/Nanbeige/Depth-Hybrid-Attention",
  "links": [],
  "authors": [
    "Nanbeige LLM Lab (BOSS Zhipin / Kanzhun Limited)"
  ],
  "tags": [],
  "topics": "",
  "venue": "Project / code release (GitHub)",
  "publisher": "",
  "source": "github",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": null,
  "added_at": "2026-11-03T00:00:00.000Z",
  "verified_at": "2026-11-03T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1804"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-03T13:46:14.683Z",
  "updated_at": "2026-11-03T13:46:14.683Z",
  "page": "https://papers.projxon.ai/entries/1505",
  "markdown": "https://papers.projxon.ai/entries/1505.md",
  "api": "https://papers.projxon.ai/api/entries/1505",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "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": 840,
      "kind": "paper",
      "title": "How Local Mixing Encodes Relative Position in Global NoPE Attention",
      "summary": "Explains how hybrid models with local mixing layers (sliding window attention, gated linear attention) and global NoPE attention implicitly encode relative position: local layers induce a recency bias in the residual stream that propagates to and is selected by the global attention logits. Supported by theory and experiments on randomly initialized and trained networks; recency bias persists across long sequences unlike causal-mask-only NoPE, suggesting indefinite length extrapolation.",
      "url": "https://arxiv.org/abs/2609.38109",
      "authors": [
        "Cutter Dawes",
        "Nick Alonso",
        "Tom Figliolia",
        "Beren Millidge"
      ],
      "tags": [
        "nope",
        "positional-encoding",
        "sliding-window-attention",
        "recency-bias",
        "hybrid-models",
        "length-extrapolation",
        "kimi-delta-attention"
      ],
      "venue": "arXiv:2609.38109 (cs.CL), submitted 29 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/840",
      "markdown": "https://papers.projxon.ai/entries/840.md",
      "api": "https://papers.projxon.ai/api/entries/840"
    },
    {
      "id": 789,
      "kind": "paper",
      "title": "DepthBench: Measuring How Residual Connections Enable More Computational Depth",
      "summary": "Introduces DepthBench, a controlled benchmark for studying computational depth across architectures, proposing effective computational depth as a new scaling axis. Systematically varies the width-depth aspect ratio (d_model/n_layer) from shallow-wide to deep-narrow shapes while keeping model size and the pretraining recipe fixed, across 10 representative architectures. Finds the benefit of allocating capacity to depth is strongly architecture-dependent: standard Pre-LN and most norm- and scaling-based variants (e.g. LayerNorm Scaling) give little benefit and can even degrade as models get deeper and narrower, whereas HC and Full AttnRes improve consistently even at extreme deep shapes. Gains extend beyond pretraining loss into improved domain-specific performance and effective computation; layer-level analyses link HC/Full AttnRes gains to more effective utilization of additional layers via distinct mechanisms. Concludes residual-connection design determines whether depth can serve as a meaningful scaling axis.",
      "url": "https://arxiv.org/abs/2609.32534",
      "authors": [
        "Keyu Wang",
        "Yangyi Huang",
        "Jiale Kang",
        "David Gonzalez-Martinez",
        "Weiyang Liu",
        "Shiwei Liu"
      ],
      "tags": [
        "architecture",
        "scaling-laws",
        "depth",
        "residual-connections",
        "mhc",
        "attnres",
        "benchmark",
        "transformers"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/789",
      "markdown": "https://papers.projxon.ai/entries/789.md",
      "api": "https://papers.projxon.ai/api/entries/789"
    },
    {
      "id": 1282,
      "kind": "paper",
      "title": "Balancing Memory Pathways: Analyzing and Improving Memory Utilization in Hybrid LMs",
      "summary": "Recurrent-attention hybrid LMs (e.g., Qwen3.5) interleave attention and recurrent layers as two complementary memory pathways: attention supports precise recall of earlier tokens, recurrent layers consolidate disparate information over long contexts. The paper shows hybrids rely substantially more on attention than on the recurrent state — and that standard SFT improves overall performance but does not fix the imbalance: the model becomes more reliant on attention-propagated information while recurrent-pathway use stays limited. Fix: an auxiliary loss that limits attention's access to earlier context while the recurrent state propagates through the full sequence, forcing the model to retain and use information through the recurrent pathway alongside attention. Results: overall performance improves with especially strong gains on longer-context and information-aggregation tasks; QA avg +4.6%, agentic tasks avg +12.1% across multiple hybrid LMs; also generalizes to attention-only models combining different memory types (+28.6%). Core message: simply providing multiple memory pathways does not ensure their effective use — targeted supervision is needed to coordinate them.",
      "url": "https://arxiv.org/abs/2610.06750",
      "authors": [
        "Hyunji Lee",
        "Joykirat Singh",
        "Zaid Khan",
        "Justin Chih-Yao Chen",
        "Elias Stengel-Eskin",
        "Alessandro Sordoni",
        "Arman Cohan",
        "Mohit Bansal"
      ],
      "tags": [
        "memory-pathways",
        "recurrent-attention-hybrid",
        "auxiliary-loss",
        "memory-utilization",
        "long-context",
        "agentic-tasks"
      ],
      "venue": "arXiv 2610.06750 (cs.CL, cs.AI), submitted 5 Oct 2026",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-06T00: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/1282",
      "markdown": "https://papers.projxon.ai/entries/1282.md",
      "api": "https://papers.projxon.ai/api/entries/1282"
    },
    {
      "id": 1298,
      "kind": "paper",
      "title": "LayerRoPE: Dynamic Depth-wise Magnitude & Angular Superposition",
      "summary": "LayerRoPE replaces the per-layer learned normalization gain gamma with a depth-conditioned encoding that mimics RoPE along the depth axis. Observing that hidden-state norm growth with depth ('curse of depth') is an emergent depth-positional encoding carried by gamma itself - across 16 pre-trained LLMs from 9 families (dense, MoE, hybrid; Pre-, Peri-, Post-Norm) gamma grows in magnitude and rotates in direction with depth - the authors make this explicit: all layerwise gamma vectors are replaced with a single shared vector plus depth-conditioned scalars, at a net parameter reduction and <0.02% FLOPs change. Across a model ladder scaled to 100B+ tokens, LayerRoPE beats Pre-, Post- and Peri-Norm and Layer-Norm Scaling, reaching Pre-Norm's 1.3B loss with 3.4x less compute; it is the only approach converging strongly and improving near-monotonically as depth scales to 512 layers. It improves learning-rate sensitivity by 3-10x and transfers naively to looped latent models and Vision Transformers. The learned schedule inverts the standard premise: LayerRoPE does not shrink the residual stream but widens it, damping what each block reads while amplifying what it writes - depth stability comes from depth-conditioned regulation of the computational blocks, not suppression of the residual stream.",
      "url": "https://arxiv.org/abs/2610.09179",
      "authors": [
        "Shikhar Srivastava",
        "Christopher Kanan"
      ],
      "tags": [],
      "venue": "",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-08T00:00:00.000Z",
      "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/1298",
      "markdown": "https://papers.projxon.ai/entries/1298.md",
      "api": "https://papers.projxon.ai/api/entries/1298"
    },
    {
      "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"
    }
  ]
}
