arXiv AI

Read Once, Answer Many: Parallel Prompting for Shared-Context LLM Inference

The paper introduces Parallel Prompting, a technique that decodes multiple independent questions about a single long document in parallel, reducing redundant memory reads. By reading the shared document once per decoding step and using a stream‑id attention mask, the method improves throughput without extra dense tensors. Implemented in SGLang, it achieves up to 6× speedups over the baseline on both A100 and RTX A6000 GPUs for CodeLlama‑7B with large documents and many questions.

arXiv Machine Learning
Nov 11

Decode Token Parallelism: Memory-Efficient Distributed Attention Parallelism for Scalable LLM Decoding

The paper introduces Decode Token Parallelism (TKNP), a new decoding architecture that separates model weight placement from attention computation. TKNP distributes a single model copy across nodes in balanced layer blocks, allowing each node to compute attention for its own requests using local KV caches while performing dense operations within a single NVLink domain. Implemented in vLLM, TKNP achieves up to 1.7× higher throughput than decode context parallelism and up to 2.06× over data parallelism on large models such as Llama 3.1 405B and Nemotron‑4 340B across 64 H100 GPUs.

By Susav Shrestha, Brad Settlemyer, Narasimha Reddy
arXiv AI
Oct 1

Working Around the Compute Ceiling: Byte-Exact Memory in Galahad Makes LLM Reading a One-Time Cost LLM Reading a One-Time Cost

The paper introduces Galahad, a memory layer that stores a transformer language model’s key‑value state for blocks of text, allowing subsequent requests to reuse previously computed attention rather than recomputing it. On seven real‑world datasets, 98.7% of prompt tokens were already read, and with Galahad the model could attend to an entire 97,000‑token corpus, achieving 98–100% recall on a 100‑fact test while reducing inference time and energy consumption dramatically. The approach was validated across 30 models and all runtimes, demonstrating that stateful inference can replace stateless serving without loss of accuracy.

By Sietse Schelpe
arXiv Machine Learning
6d ago

RISA: Recoverable Sparse Attention for Block-Diffusion Language Models

RISA is a recoverable sparse‑attention technique designed for block‑diffusion language models (DLMs) that refines multiple tokens in parallel. By organizing newly generated history into priority and recovery tiers and reusing a bounded read plan across denoising steps, RISA separates history preservation from repeated reading, reducing memory‑bound attention overhead. Experiments on DreamReasoner‑8B show comparable task performance while achieving up to 5.53× speed‑ups at 128K context and outperforming other sparse‑attention methods such as MAGE, QUEST, and LoSA at matched KL budgets.

By Xinrui Zhong, Fanjiang Ye, Yuke Wang
arXiv Machine Learning
Oct 9

QUILT: Rethinking Sparse-Attention Prefill through Shared Query Execution

The paper introduces QUILT, a new sparse‑attention execution mechanism that jointly processes neighboring queries to reuse shared key‑value (KV) entries, thereby reducing redundant memory traffic and computation. QUILT employs Shift‑and‑Compare Set Decomposition (SCSD) to convert irregular set operations into regular data‑parallel primitives and pipelines this with attention computation to hide overhead. The approach includes cascaded sharing across multiple granularities and a tile‑aware strategy that balances sharing with hardware utilization, achieving up to 55.1% lower kernel latency and 36.8% faster time‑to‑first‑token on LongBench benchmarks with negligible accuracy loss.

By Zhenduo Zhao, Qihui Zhou, Mingcong Song, Zhiyi Chen, Chuangguan Ye, Fengfan Hou, Zequn Gong, Jing Li, Hongjie Si, Guoping Long
arXiv Computation and Language
Oct 15

Delta Tokenizer: Reference-Identical Tokenization of Session Deltas and Segment-Parallelism for Long Prompts on Multicore CPUs

Delta Tokenizer is a CPU‑side tokenization front end that only processes the difference between successive requests in a session, preserving the earlier token sequence and encoding only the appended text and its short tail. For long, stateless requests it splits the text into independent chunks, encodes them in parallel across multiple cores, and concatenates the results exactly. This approach reduces the time to first token by about 40× compared to the Hugging Face reference tokenizer, speeds up a four‑million‑character request 8.2× on 16 cores, and cuts median TTFT in SGLang chat by 59% while dramatically lowering P99 TTFT under load.

By Zhenyu Zhang, Zhichao Cao
arXiv AI
Nov 11

Placing LLM Lookup Tables by Per-Layer Prefetch Deadlines

The paper proposes a method for placing large language model lookup tables by using per‑layer prefetch deadlines, allowing efficient use of host DRAM, NVMe, and RDMA resources. By scheduling lookups at step start and splitting a small GPU row cache across layers, the authors achieve near‑zero decode cost for a 203 GB Engram table and reduce host memory usage from 212 GiB to 34 GiB while increasing throughput by 36% on a KV‑constrained workload.

By Wen Huang, Jack Liu
arXiv AI
Nov 5

Split-KV: Efficient Context Parallelism for Training Diffusion Drafters

Split-KV introduces a context‑parallelism technique for training diffusion drafters, keeping key/value shards local and limiting per‑layer attention communication to query‑sized tensors. This approach exploits the asymmetry between short draft queries and long contexts, enabling efficient load balancing via a cost‑aware longest‑processing‑time‑first strategy. Experiments show that at a CP size of 64, Split‑KV achieves 85–91 % weak‑scaling efficiency and up to 3.67× speedup over the best baseline, with less than 1 % load imbalance.

By Geng Zhang, Fangzhao Zhang, Cong Xie, Tiantian Fan, Yang You