[Paper Review] TaxBreak: Unmasking the Hidden Costs of LLM Inference Through Overhead Decomposition
TaxBreak presents a trace-driven method to decompose host-visible LLM inference overhead into framework translation, CUDA library translation, and kernel launch costs, plus a Host–Device Balance Index (HDBI) to diagnose host- vs device-bound workloads.
Large Language Model (LLM) inference is widely used in interactive assistants and agentic systems. In latency-sensitive deployments, inference time can become dominated by host-side overheads. Existing approaches typically expose this cost only as an aggregate residual or a launch/queue metric, which is often insufficient to identify which execution layer should be optimized. This work presents TaxBreak, a trace-driven methodology for decomposing host-visible orchestration overhead into three components: framework translation time, CUDA library translation time, and kernel launch-path time. We validate TaxBreak on NVIDIA H100 and H200 systems and use it to derive our proposed Host-Device Balance Index (HDBI), a boundedness summary index that relates device-active execution to host-visible orchestration. Across representative dense and mixture-of-experts workloads in both prefill and decode, we show that aggregate latency, GPU inactivity, or boundedness ratios alone can obscure the dominant optimization target. TaxBreak instead distinguishes cases where optimization should reduce software-stack overhead from cases where the primary win comes from reducing device-side work. We further show that MoE models dispatch 8-11x more kernels per output token than dense models, and that for such host-bound workloads, CPU single-thread performance is a first-order parameter: a faster host CPU reduces orchestration overhead by 10-29% and improves end-to-end latency by up to 14%, even when paired with a slower-clocked GPU. These results position TaxBreak as a diagnostic tool for assessing whether optimization effort should target the software stack or the device-side workload execution.
Motivation & Objective
- Motivate the need to attribute LLM inference inefficiencies across host-side abstraction layers and execution phases.
- Propose a layer-resolved decomposition of host overhead into three components: framework translation, CUDA library translation, and kernel launch costs.
- Introduce the Host–Device Balance Index (HDBI) to quantify CPU–GPU boundedness and guide optimization focus.
- Validate TaxBreak on NVIDIA H100/H200 platforms for dense and mixture-of-experts workloads in prefill and decode.
- Demonstrate that aggregate metrics can obscure the dominant optimization target and that CPU performance can meaningfully impact end-to-end latency.
Proposed method
- Decompose per-kernel host-side latency into three terms: DeltaFT (framework translation), DeltaCT (CUDA-library translation for library-mediated kernels), and DeltaKT (hardware-floor kernel launch cost).
- Measure using a two-phase pipeline: Phase 1 full-model trace to build a kernel database; Phase 2 isolated replay with null-kernel floor to separate dispatch and launch overheads.
- Classify kernels as library-mediated (I_lib = 1) or framework-native (I_lib = 0) to attribution DeltaCT vs DeltaFT.
- Compute Host–Device Balance Index: HDBI = T_DeviceActive / (T_DeviceActive + T_Orchestration) to indicate host- vs device-bound regimes.
- Provide a kernel-family taxonomy and a procedure for matching replay kernels to trace kernels (exact, substring, most-frequent).
- Use two NVIDIA platforms (H100 and H200) and both dense and MoE workloads to compare prefill and decode regimes.
Experimental results
Research questions
- RQ1How can host-side LLM inference overhead be decomposed across framework translation, CUDA library front-end, and kernel launch paths?
- RQ2Does the Host–Device Balance Index reliably indicate whether optimization should target software stack or device-side execution?
- RQ3How do dense and mixture-of-experts (MoE) LLMs differ in kernel fragmentation and host-bound vs device-bound behavior during prefill and decode?
- RQ4What is the impact of CPU single-thread performance on host orchestration and end-to-end latency for LLM inference?
- RQ5Can phase-specific measurements reveal optimization targets (e.g., kernel fusion, CUDA Graphs, or runtime compilation) beyond coarse GPU utilization metrics?
Key findings
- TaxBreak enables a three-stage decomposition of host overhead into framework translation, CUDA-library translation, and kernel launch floor costs.
- Mixture-of-Experts models dispatch 8–11× more kernels per output token than dense models at comparable active parameter counts, driving higher host overhead.
- Faster CPU single-thread performance reduces host orchestration overhead by 10–29% and improves end-to-end latency by up to 14%, even with slower GPU clocks.
- HDBI provides a boundedness summary that clarifies whether optimization should reduce software-stack overhead or device-side work, distinguishing host-bound from device-bound regimes.
- In GPT-2 on H200, TaxBreak showed that the host orchestration remains largely flat across batch sizes, while device work drives latency increases, illustrating the utility of HDBI over aggregate launch metrics.
- Across dense and MoE workloads and across prefill and decode, aggregate metrics alone can obscure the dominant optimization target, underscoring the need for cross-stack attribution.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.