{
  "id": 1118,
  "kind": "paper",
  "title": "WeDLM: Reconciling Diffusion Language Models with Standard Causal Attention for Fast Inference",
  "summary": "arXiv 2512.22737. Proposes WeDLM: Topological Reordering places observed tokens in the physical prefix while preserving RoPE logical positions so masked recovery works under a strict causal mask; Dual-Stream Masking reduces train–inference gap; Streaming Parallel Decoding commits confident left-to-right prefixes with a dynamic sliding window. Instantiated on Qwen2.5-7B and Qwen3-8B (100B continued pretrain + SFT). Reports ~3× speedups on reasoning vs vLLM-served AR and up to ~10× in low-entropy regimes while matching/improving quality. Code/models: github.com/Tencent/WeDLM; HF tencent/WeDLM collection; project wedlm.github.io.",
  "body": "",
  "notes": "Discord linked wedlm.github.io; primary resolved to arXiv abs/PDF 2512.22737 + project page authors/bibtex. License blank (not clearly stated on abs page). GitHub Tencent/WeDLM confirmed via search.",
  "url": "https://arxiv.org/abs/2512.22737",
  "links": [],
  "authors": [
    "Aiwei Liu",
    "Minghua He",
    "Shaoxun Zeng",
    "Sijun Zhang",
    "Linhao Zhang",
    "Chuhan Wu",
    "Wei Jia",
    "Yuan Liu",
    "Xiao Zhou",
    "Jie Zhou"
  ],
  "tags": [
    "wedlm",
    "diffusion-lm",
    "causal-attention",
    "kv-cache",
    "tencent",
    "qwen3",
    "arxiv-2512.22737",
    "inference"
  ],
  "topics": "diffusion language models; causal attention; KV cache; inference acceleration",
  "venue": "arXiv / WeChat AI (Tencent); Peking University; Tsinghua University",
  "publisher": "arXiv / WeChat AI (Tencent); Peking University; Tsinghua University",
  "source": "arxiv",
  "language": "en",
  "access": "free (arXiv; GitHub Tencent/WeDLM; Hugging Face tencent/WeDLM; project page)",
  "license": "",
  "published_year": 2025,
  "added_at": "2026-09-02T17:40:00.000Z",
  "verified_at": "2026-09-02T17:40:00.000Z",
  "attrs": {
    "scale": "Continued pretraining 100B tokens; SFT 10B tokens (paper also mentions 10K instruction pairs in one section); models WeDLM-7B/8B from Qwen2.5-7B and Qwen3-8B.",
    "domain": "diffusion language models; causal attention; KV cache; inference acceleration",
    "purpose": "Make diffusion-style parallel decoding compatible with standard causal KV caching so DLLMs can beat optimized AR engines (vLLM) in wall-clock speed without custom kernels.",
    "used_for": "DLLM inference; AR-to-diffusion adaptation; vLLM-compatible parallel decoding",
    "author_type": "industry + academia (WeChat AI/Tencent; Peking University; Tsinghua University)",
    "time_period": "2025-12-28 (arXiv); project page / Discord mid 2026-01-02"
  },
  "enrichment": {
    "s2": {
      "venue": "arXiv.org",
      "paper_id": "1e4a739236fa6000687b63380e67c7d651924f0f",
      "published": "2025-12-28",
      "fetched_at": "2026-10-03T15:02:05.068Z",
      "citation_count": 44,
      "reference_count": 34,
      "influential_citation_count": 5
    },
    "arxiv": {
      "id": "2512.22737",
      "title": "WeDLM: Reconciling Diffusion Language Models with Standard Causal Attention for Fast Inference",
      "authors": [
        "Aiwei Liu",
        "Minghua He",
        "Shaoxun Zeng",
        "Sijun Zhang",
        "Linhao Zhang",
        "Chuhan Wu",
        "Wei Jia",
        "Yuan Liu",
        "Xiao Zhou",
        "Jie Zhou"
      ],
      "comment": "23 pages, 8 figures, project page: https://wedlm.github.io/",
      "updated": "2025-12-28",
      "abstract": "Autoregressive (AR) generation is the standard decoding paradigm for Large Language Models (LLMs), but its token-by-token nature limits parallelism at inference time. Diffusion Language Models (DLLMs) offer parallel decoding by recovering multiple masked tokens per step; however, in practice they often fail to translate this parallelism into deployment speed gains over optimized AR engines (e.g., vLLM). A key reason is that many DLLMs rely on bidirectional attention, which breaks standard prefix KV caching and forces repeated contextualization, undermining efficiency. We propose WeDLM, a diffusion decoding framework built entirely on standard causal attention to make parallel generation prefix-cache friendly. The core idea is to let each masked position condition on all currently observed tokens while keeping a strict causal mask, achieved by Topological Reordering that moves observed tokens to the physical prefix while preserving their logical positions. Building on this property, we introduce a streaming decoding procedure that continuously commits confident tokens into a growing left-to-right prefix and maintains a fixed parallel workload, avoiding the stop-and-wait behavior common in block diffusion methods. Experiments show that WeDLM preserves the quality of strong AR backbones while delivering substantial speedups, approaching 3x on challenging reasoning benchmarks and up to 10x in low-entropy generation regimes; critically, our comparisons are against AR baselines served by vLLM under matched deployment settings, demonstrating that diffusion-style decoding can outperform an optimized AR engine in practice.",
      "published": "2025-12-28",
      "categories": [
        "cs.CL"
      ],
      "fetched_at": "2026-10-03T15:02:05.068Z"
    }
  },
  "enriched_at": "2026-10-03T15:02:05.116Z",
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "local-810",
    "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/1118",
  "markdown": "https://papers.projxon.ai/entries/1118.md",
  "api": "https://papers.projxon.ai/api/entries/1118",
  "relations": [
    {
      "relation": "cites",
      "direction": "in",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 1068,
        "kind": "paper",
        "title": "Corrective Diffusion Language Models",
        "summary": "UW–Madison + Duke paper (Zhang/Peng/Zhang/Pan/Chrysos; arXiv 2512.15596v2) shows standard MDLM loss only supervises masked tokens, so DLMs cannot assign low confidence to wrong visible tokens and fail at remask-based self-correction. CDLM post-trains with an absorbing–uniform mixture that CE-supervises corrupted visible tokens, inducing error-aware confidence and targeted in-place refinement. Introduces Code Revision Benchmark (CRB) with type-preserving op/id/literal corruptions on HumanEval/MBPP(+) and executable fail-only filtering. CDLM-0.5B (Open-dCoder-0.5B + 2k Nemotron steps) lifts CRB Pass@1 avg 0.148→0.225; ParallelBench high-entropy remask 0.45→0.62 on LLaDA-2.0-mini; also gains on HumanEval/Sudoku.",
        "url": "https://arxiv.org/abs/2512.15596",
        "authors": [
          "Shuibai Zhang",
          "Fred Zhangzhi Peng",
          "Yiheng Zhang",
          "Jin Pan",
          "Grigorios G. Chrysos"
        ],
        "tags": [
          "cdlm",
          "mdlm",
          "diffusion-lm",
          "corrective-behavior",
          "absorbing-uniform-mixture",
          "crb",
          "code-revision-benchmark",
          "remasking",
          "parallelbench",
          "humaneval",
          "mbpp",
          "sudoku",
          "open-dcoder",
          "llada-2.0",
          "neurips-2026-claim",
          "shuibaiz",
          "uw-madison",
          "duke"
        ],
        "venue": "arXiv / UW–Madison; Duke University",
        "source": "arxiv",
        "license": "arXiv perpetual non-exclusive license 1.0; code at github.com/zhangshuibai/CDLM (public)",
        "published_year": 2025,
        "added_at": "2026-09-26T13:44:00.000Z",
        "has_dataset_profile": false,
        "license_class": "other",
        "langs": [
          "en"
        ],
        "modalities": [],
        "size_class": null,
        "citation_count": 12,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/1068",
        "markdown": "https://papers.projxon.ai/entries/1068.md",
        "api": "https://papers.projxon.ai/api/entries/1068"
      }
    },
    {
      "relation": "cites",
      "direction": "out",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 1107,
        "kind": "paper",
        "title": "Dream 7B: Diffusion Large Language Models",
        "summary": "HKU NLP + Huawei Noah’s Ark Lab paper (arXiv 2508.15487; blog 2025-04-02). Dream refines full sequences in parallel via discrete diffusion rather than left-to-right AR. Training uses AR LLM initialization (Qwen2.5-7B config/weights shift) plus context-adaptive token-level noise rescheduling (CART) on ~580B open tokens (Dolma v1.7, OpenCoder, DCLM-Baseline); SFT on 1.8M Tulu 3 + SmolLM2 pairs. Outperforms prior diffusion LMs (e.g. LLaDA) and shows strong Countdown/Sudoku/Trip planning vs Qwen2.5-7B; releases Base and Instruct Hub weights.",
        "url": "https://arxiv.org/abs/2508.15487",
        "authors": [
          "Jiacheng Ye",
          "Zhihui Xie",
          "Lin Zheng",
          "Jiahui Gao",
          "Zirui Wu",
          "Xin Jiang",
          "Zhenguo Li",
          "Lingpeng Kong"
        ],
        "tags": [
          "dream-7b",
          "diffusion-llm",
          "discrete-diffusion",
          "hku-nlp",
          "huawei-noah",
          "cart",
          "ar-initialization",
          "apache-2.0",
          "arxiv-2508.15487"
        ],
        "venue": "arXiv / The University of Hong Kong / Huawei Noah’s Ark Lab",
        "source": "arxiv",
        "license": "Apache-2.0",
        "published_year": 2025,
        "added_at": "2026-09-02T14:35:00.000Z",
        "has_dataset_profile": false,
        "license_class": "permissive",
        "langs": [
          "en"
        ],
        "modalities": [],
        "size_class": null,
        "citation_count": 512,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/1107",
        "markdown": "https://papers.projxon.ai/entries/1107.md",
        "api": "https://papers.projxon.ai/api/entries/1107"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 740,
      "kind": "thread",
      "title": "Scaling KV Cache Compression to Frontier Models (X thread by @RampLabs)",
      "summary": "An X thread from @RampLabs titled 'Scaling KV Cache Compression to Frontier Models' (per the Discord link card), shared without additional caption. Claims relate to KV-cache compression methods scaled to frontier-scale models.",
      "url": "https://x.com/RampLabs/status/2104634941405266021?s=20",
      "authors": [
        "@RampLabs"
      ],
      "tags": [
        "kv-cache",
        "compression",
        "inference",
        "long-context",
        "x-thread",
        "unverified-claim"
      ],
      "venue": "X (Twitter)",
      "source": "x",
      "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": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/740",
      "markdown": "https://papers.projxon.ai/entries/740.md",
      "api": "https://papers.projxon.ai/api/entries/740"
    },
    {
      "id": 450,
      "kind": "paper",
      "title": "Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reuse",
      "summary": "Shows within-family matched-KV pairs (shared KV head count and head dim) have substantial linear structure: on Qwen3 14B->32B one source layer explains 56%/32% of target key/value variance, 79%/65% with multiple layers. A closed-form per-head ridge mapper with top-k cross-layer source selection and RoPE-stripped content-space keys retains 73-98% of standalone-prefill accuracy on four of six pairs (Qwen3, Llama 3.1, Ministral 3) and is 2.7-25x faster than re-prefill; two Ministral pairs collapse and a nonlinear MLP recovers up to +37 pp HellaSwag. Attention-output cosine predicts retention better than reconstruction R^2.",
      "url": "https://arxiv.org/abs/2608.03893",
      "authors": [
        "Taekyung Heo",
        "Rasoul Shafipour",
        "Ritchie Zhao",
        "Maximilian Golub",
        "Mohammad Mahdi Kamani",
        "Ritika Borkar",
        "Makesh Tarun Chandran",
        "Pantea Zardoshti",
        "Bita Darvish Rouhani"
      ],
      "tags": [
        "kv-cache",
        "prefill",
        "ridge-regression",
        "rope",
        "serving",
        "qwen3",
        "llama",
        "ministral",
        "nvidia"
      ],
      "venue": "arXiv / NVIDIA",
      "source": "arxiv",
      "license": "CC BY 4.0",
      "published_year": 2026,
      "added_at": "2026-08-14T16:24:56.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 9,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/450",
      "markdown": "https://papers.projxon.ai/entries/450.md",
      "api": "https://papers.projxon.ai/api/entries/450"
    },
    {
      "id": 631,
      "kind": "code",
      "title": "VBR: Variable Bit-Rate KV Cache for llama.cpp",
      "summary": "spiritbuun llama.cpp fork (buun-llama-cpp) ships VBR as the default KV cache. Cache starts FP16 and degrades one (layer, side) tensor at a time down a price-ordered ladder (f16 → turbo8 → turbo4 → turbo3_tcq → turbo2_tcq → turbo1_tcq) using TurboQuant/TCQ codecs, following per-model KLD degrade tables. Default implicit VBR floors at turbo4; explicit -ct vbr opens the full ladder to t1. Budget is leftover VRAM after weights/compute; -c caps context so the budget is spent on quality instead of max length. CUDA-first with ROCm/HIP mirror. Related to TurboQuant (papers_local 606/640) but this is a dynamic controller, not a new codec paper.",
      "url": "https://github.com/spiritbuun/buun-llama-cpp",
      "authors": [
        "buun"
      ],
      "tags": [
        "vbr",
        "kv-cache",
        "llama-cpp",
        "turboquant",
        "quantization",
        "inference",
        "x"
      ],
      "venue": "GitHub",
      "source": "web",
      "license": "MIT",
      "published_year": 2026,
      "added_at": "2026-08-14T19:35:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": 881,
      "page": "https://papers.projxon.ai/entries/631",
      "markdown": "https://papers.projxon.ai/entries/631.md",
      "api": "https://papers.projxon.ai/api/entries/631"
    },
    {
      "id": 621,
      "kind": "other",
      "title": "Shard: getting to 10x KV cache compression",
      "summary": "Engineering writeup of Shard, a drop-in HuggingFace Cache. Reimplementing TurboQuant stalled around 4-6x; authors split K and V: undo RoPE then PCA+int4 on K (rank 192/1024, DP bit allocation with a 4x drop penalty) and Hadamard + 4-d vector quantization on V. Attention scores run on int4 PCA coeffs via a relative-Delta RoPE identity; V Hadamard is applied after the weighted sum. 4 FP16 sink tokens + 64-token recency window. Decode stream uses data-oblivious Hadamard+Lloyd-Max (8-bit path 750/750 FP16 match at 150 tokens). Llama-3.1-8B: 10x at 8K / 11.2x at 32K, NIAH recall 1.000 across 4K-32K, LongBench-E avg 16.19 vs FP16 16.24, WikiText-2 PPL +0.26%. Decode throughput 0.39-0.49x FP16, so a memory win not a latency win. Code krish1905/shard.",
      "url": "https://krishgarg.com/shard",
      "authors": [
        "Krish Garg"
      ],
      "tags": [
        "shard",
        "kv-cache",
        "turboquant",
        "pca",
        "vector-quantization",
        "llama",
        "inference",
        "blog",
        "x"
      ],
      "venue": "krishgarg.com",
      "source": "web",
      "license": "MIT",
      "published_year": null,
      "added_at": "2026-08-14T19:20:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/621",
      "markdown": "https://papers.projxon.ai/entries/621.md",
      "api": "https://papers.projxon.ai/api/entries/621"
    },
    {
      "id": 1066,
      "kind": "idea",
      "title": "KV cache as GPU-memory bottleneck in Transformer serving (GQA/MQA, quantization, sliding window)",
      "summary": "Single long X note_tweet + diagram (2026-09-25) by @techNmak explaining that during inference model weights are mostly fixed while per-request KV state grows with every cached token across attention layers. Frames context length and concurrency as GPU-memory costs; notes GQA/MQA (fewer KV heads), KV quantization (fewer bytes), and sliding-window attention (bounded history) as levers; stresses caching avoids recomputing old K/V projections but full attention still reads the cache each decode step. Diagram gives KV bytes = 2×B×T×L×H_kv×d_k×s (example: 8K tokens ≈ 1 GiB at L=32, H_kv=8, d_k=128, FP16). Pure original explainer — no primary paper; one reply promo-linked github.com/kvcachestore/kvcdn-cli.",
      "url": "https://x.com/techNmak/status/2103488645642793165",
      "authors": [
        "Tech with Mak (@techNmak)"
      ],
      "tags": [
        "kv-cache",
        "llm-serving",
        "gpu-memory",
        "gqa",
        "mqa",
        "kv-quantization",
        "sliding-window",
        "attention",
        "prefill-decode",
        "technmak",
        "x-thread",
        "idea"
      ],
      "venue": "X / Tech with Mak",
      "source": "x",
      "license": "n/a (X post / educational graphic)",
      "published_year": 2026,
      "added_at": "2026-09-26T12:56: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/1066",
      "markdown": "https://papers.projxon.ai/entries/1066.md",
      "api": "https://papers.projxon.ai/api/entries/1066"
    },
    {
      "id": 1273,
      "kind": "paper",
      "title": "ALoDLM: Adaptively Looped Diffusion Language Models",
      "summary": "Amazon AGI introduces ALoDLM, a diffusion language model that replaces uniform denoising depth with token-adaptive latent recurrence, attacking the computation-difficulty mismatch: within one denoising step, easy masked tokens need little compute while hard ones need a lot, yet standard DLMs apply the same fixed-depth denoiser to every position. ALoDLM partitions a Qwen3 backbone into a Prelude, a shared Recurrent Core, and a Coda; at each denoising step the core runs up to K=4 recurrent passes. After each pass, an LM head predicts token distributions and an exit gate gives per-token halting probabilities: positions with predictive entropy <= tau are sampled and committed (their embeddings fed back as context for the next pass), while unresolved positions carry their latent states forward for further refinement. The inner loop ends when the mean cumulative halting probability reaches q, no unresolved positions remain, or K is reached. Training treats token-wise exit schedules as latent variables and derives a conditional negative ELBO; a single-trajectory gradient estimator is provably unbiased for the objective (Prop. 1), with a truncated-geometric prior (c=0.4) favoring shallow exits and a practical recipe relaxing the KL term and adding variance reduction (intermediate supervision, first-pass control variate). ALoDLM-1.7B and 8B are trained from Qwen3 by direct SFT on a 5B-token corpus (no continued pretraining; largest looped DLM to date at 8B). On eleven reasoning/knowledge/math/code benchmarks via the OpenCompass protocol, ALoDLM beats all evaluated DLMs (LLaDA-8B, Dream-7B, Fast-dLLM-v2, SDAR-8B, WeDLM-8B) and its Qwen3 AR counterparts in average score at both scales: 65.5 vs 63.8 at 1.7B, 80.3 vs 78.5 at 8B. It keeps fast parallel decoding: on GSM8K, ALoDLM-8B delivers ~2.7x the throughput of vLLM-served Qwen3-8B (93.25% at 612.4 tok/s on one NVIDIA B200) at comparable or higher accuracy, and 13.6% fewer GFLOPs per token than WeDLM at the same accuracy threshold. Recurrent depth is an effective test-time scaling axis, and the model learns token-dependent refinement preferences without difficulty labels (e.g., numerical tokens refine longer). Caveats: longer time-to-first-token than AR models and input-dependent throughput; the speed advantage can shrink on difficult or out-of-distribution inputs. Code: github.com/amazon-science/ALoDLM (optimized CUDA-graph inference engine included); weights: huggingface.co/amazon/ALoDLM-8B and amazon/ALoDLM-1.7B; project page: alo-dlm.github.io. Joins the looped-models cluster (670, 952, 1545, 1548, 1549, 1551, 1563, 1566, 1579). Directly relevant to the user: a practical recipe for adaptive per-token compute and the strongest current DLM quality-efficiency tradeoff.",
      "url": "https://arxiv.org/abs/2610.04198",
      "authors": [
        "Liancheng Fang",
        "Zhuowei Li",
        "Youngeun Kim",
        "Tianchen Zhao",
        "Rajat Koner",
        "Jiaye Wu",
        "Linghan Xu",
        "Xuanbai Chen",
        "Xiang Xu",
        "Zheng Zhang",
        "Jakub Zablocki",
        "Nishant Sankaran",
        "Yifan Xing"
      ],
      "tags": [
        "alodlm",
        "diffusion-lm",
        "adaptive-looping",
        "amazon-agi",
        "latent-recurrence",
        "nelbo",
        "test-time-scaling"
      ],
      "venue": "arXiv 2610.04198 [cs.AI], submitted 3 Oct 2026, preprint (Amazon AGI)",
      "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/1273",
      "markdown": "https://papers.projxon.ai/entries/1273.md",
      "api": "https://papers.projxon.ai/api/entries/1273"
    }
  ]
}
