DASH: Deterministic Attention Scheduling for High-throughput Reproducible LLM Training
Not on the map. Why?
Abstract (arXiv)
Determinism is indispensable for reproducibility in large language model (LLM) training, yet it often exacts a steep performance cost. In widely used attention implementations such as FlashAttention-3, the deterministic backward pass can incur up to a 37.9% throughput reduction relative to its non-deterministic counterpart, primarily because gradient accumulation operations must be serialized to guarantee numerical consistency. This performance loss stems from suboptimal scheduling of compute and gradient-reduction phases, leading to significant hardware underutilization. To address this challenge, we formulate the backward pass of deterministic attention as a scheduling problem on a Directed Acyclic Graph (DAG) and derive schedules that minimize the critical path length. Building on this formulation, we present DASH (Deterministic Attention Scheduling for High-Throughput), which encapsulates two complementary scheduling strategies: (i) Descending Q-Tile Iteration, a reversed query-block traversal that shrinks pipeline stalls in causal attention, and (ii) Shift Scheduling, a theoretically optimal schedule within our DAG model that reduces pipeline stalls for both full and causal masks. Our empirical evaluations on NVIDIA H800 GPUs demonstrate that DASH narrows the performance gap of deterministic attention. The proposed strategies improve the throughput of the attention backward pass by up to 1.28× compared to the baseline, significantly advancing the efficiency of reproducible LLM training. Our code is open-sourced at https://github.com/SJTU-Liquid/deterministic-FA3.
Key facts. Cited by 4 papers in the map (data through 13 Oct 2026). Builds on 16 of its 24 references that are in the map. First posted on arXiv 29 Jan 2026.
Builds on
16 of 24 references.
References · 16
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,637
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,570
- 2025Large Language Diffusion Modelscited by 888
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 515
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 452
- 2024Continual Learning for Large Language Models: A Surveycited by 144
- 2013Stabilitycited by 119
- 2024SageAttention2: Efficient Attention with Thorough Outlier Smoothing and Per-thread INT4 Quantizationcited by 113
- 2023FlashDecoding++: Faster Large Language Model Inference on GPUscited by 71
- 2025SageAttention3: Microscaling FP4 Attention for Inference and An Exploration of 8-Bit Trainingcited by 66
- 2023Striped Attention: Faster Ring Attention for Causal Transformerscited by 53
- 2024POD-Attention: Unlocking Full Prefill-Decode Overlap for Faster LLM Inferencecited by 46
4 more
- 2024Impacts of floating-point non-associativity on reproducibility for HPC and deep learning applicationscited by 24
- 2023Stream-K: Work-centric Parallel Decomposition for Dense Matrix-Matrix Multiplication on the GPUcited by 22
- 2024LoongTrain: Efficient Training of Long-Sequence LLMs with Head-Context Parallelismcited by 17
- 2025Dissecting the NVIDIA Hopper Architecture through Microbenchmarking and Multiple Level Analysiscited by 4
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Kernel Contracts: A Specification Language for ML Kernel Correctness Across Heterogeneous Siliconcited by 3
- 2026Zero knowledge verification for frontier AI training is possiblecited by 2
- 2026FoldAttention: Declared-Reference Softmax for Fast Decode and Deterministic Backwardcited by 0
- 2026TurboPairFormer: Fast and Stable Protein Folding Model Training with an Optimized Triangle Attention Kernelcited by 0
- 2026TurboPairFormer: Fast and Stable Protein Folding Model Training with an Optimized Triangle Attention Kernel5 Oct 2026
- 2026FoldAttention: Declared-Reference Softmax for Fast Decode and Deterministic Backward27 Sep 2026
- 2026Zero knowledge verification for frontier AI training is possible3 Jun 2026
- 2026Kernel Contracts: A Specification Language for ML Kernel Correctness Across Heterogeneous Silicon23 Apr 2026