Optimizing Dropout in LLM Training: Performance Comparison of Fusion and Overlap
When introducing new operators into Large Language Model (LLM) workloads, a key question is whether fusing the operator into a dependent kernel or overlapping its execution with another independent operator will yield better hardware efficiency. In this work, we analyze these optimization options for the Dropout operator, evaluating fine-grained architecture resource constraints and performance impacts beyond traditional compute or memory metrics. When enabled, Dropout is likely to dramatically impact the performance of end-to-end LLM training. The state-of-the-art optimization is to fuse Dropout into the Flash-Attention kernel; however, fusion fails to fully hide the latency of Random Number Generation (RNG), Dropout's main runtime contributor, due to shared lower-level architecture bottlenecks which are often overlooked. We propose overlapping RNG with preceding independent operators, specifically GEneral Matrix Multiplication (GEMM) layers, to hide RNG latency and improve end-to-end performance. RNG and GEMM have distinct resource requirements and hardware bottlenecks, so they can run together without compromising each other's performance. Our analytical performance model, validated on GH100 GPUs with FP8 precision, shows 1.26x speedup for overlapping RNG and GEMM layers over sequential execution and 1.22x over state-of-the-art fusion approach on Llama3 for a single Transformer block. Our methodology can be generalized to determine when to overlap or fuse new LLM operators across various architectures, models, and configurations.
Authors
- Ronny Krashinsky
- Haiyue Ma (ORCID: https://orcid.org/0009-0002-3729-3532)
- Jian Liu (ORCID: https://orcid.org/0009-0008-6483-4000)
Institutions
- Princeton University (US)
- Nvidia (United States) (US)
Publication Details
- Journal
- Proceedings of the ACM on Measurement and Analysis of Computing Systems
- Published
- 2026-05-29
- DOI
- https://doi.org/10.1145/3805645
- Primary Topic
- Big Data and Digital Economy
- Type
- article
- Field-Weighted Citation Impact
- 0.00