- Rating
- 4
- Clarity
- 4
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper tackles an important problem of slow LLM inference from two perspectives: a white-box taint analysis of the variables/workload factors to speed up the process, and a reuse strategy to reuse profiling results of configuration across different conditions. The results demonstrate the approach.
Strengths and weaknesses
Strengths:
• An important problem for LLM agents
• Novel idea and sound approach
• A good scale of empirical study
• Easy-to-understand presentation
Weaknesses:
• Some details are missing
• Somewhat limited justification of the usefulness
I like the paper; I think the perspective and idea of the paper targeting have good novelty: white-box analysis of a specific LLM inference system to speed up simulation, and other performance sampling/modeling. I have a few comments and concerns:
I am not sure how the tags are assigned in the taint propagation process, e.g., given a complex implementation of the model, how do you know what variables are related to tensor manipulation operations? Is this a manual process or is it done automatically?
I think the description of the approach could benefit from an overview of the workflow; is the setup of the simulation entirely static? Or does it involve some runtime dynamics with a feedback loop? I am a bit confused on that aspect.
The experiments demonstrate the strength of the approach in terms of accuracy, but I am a bit concerned about whether this improvement can lead to practical benefits. That is, I am not sure if the few percent of MRE improvement is really meaningful in practice. It would be good if there is some discussion or even experiments to justify this.
Questions
How are the tags assigned in taint propagation? Is the setup of the simulation a static or dynamic process? What is the real implication of the few percent accuracy improvement?
Limitations
Yes
Paper formatting concerns
No
Final justification
I think the authors have done a good job in addressing my concerns, and I will therefore keep the score.
We thank the reviewer for the positive assessment and for the thoughtful questions. We address each below, using vLLM as our running example; an equivalent mechanism applies to SGLang through its own entry points.
Q1: How are tags assigned and propagated? How do you know what variables are related to tensor manipulation operations? Is this manual / automatic?
Taints are assigned automatically through source tainting (§4.1). There is no manual mapping of parameters to tensor operations.
This works because (1) the dimensions of tensor operations derive from either model- or request-specific parameters (I1 in §3.2) and (2) serving engines already expose these parameters through well-defined dataclasses (§4.1). Dooly hooks these entry points to initialize tags ("taints" in our paper). Concretely:
ModelConfigdataclass is populated from the HuggingFace configuration viaAutoConfig.from_pretrained, and a single recursive pass tags every integer field of the config object asMODEL_CONFIG(for example,hidden_size, num_attention_heads, and num_key_value_heads), without naming any field individually.SchedulerOutputdataclass:total_num_scheduled_tokensis taintedNUM_TOKS, andNUM_REQSis derived from the number of scheduled requests (the length of thenum_scheduled_tokensmap).head_dim = hidden_size // num_attention_heads) inheritsMODEL_CONFIGthrough the division, with no additional annotation.From these sources, taints then flow through taint propagation (§4.2, Table 1), so Dooly never needs to know in advance which variables touch which tensor operation. Tensor operations fall into two categories:
torch.empty, torch.reshape) create new tensors or change shapes, and require dedicated hooks to establish the taint-to-dimension mapping correctly.A small number of operations (e.g., Triton kernels) bypass the Dispatcher entirely, but since they still execute inside modules that receive tainted inputs, the call graph remains fully covered (§8). Dooly records these taints at three levels of the PyTorch stack: the module level (
Module.__call__), high-level operations (__torch_function__), and low-level ATen operators (__torch_dispatch__) (Appendix C).Q2: Is the setup of the simulation a static or dynamic process?
We’d like to first confirm our understanding of “static” vs. “dynamic,” and welcome correction if we’ve misread the reviewer's intent:
By this definition, Dooly's pipeline is static. Profiling builds the latency database once, and simulation only queries the per-signature regression models trained on it; there is no re-profiling and no feedback loop (§3.2, Figure 2).
We suspect the underlying concern is that different inputs may take different code paths, introducing dynamic behavior. This is indeed something we handle. For example, in FlashInfer's attention implementation, longer requests trigger a KV-split kernel that distributes the KV dimension across the GPU's thread blocks (CTAs) to maximize utilization, while shorter requests use a different path. Similarly, the prefill and decode phases invoke different kernels (e.g., the decode phase calls
BatchDecodeWithPagedKVCacheWrapperand the prefill phase callsBatchPrefillWithPagedKVCacheWrapper).This branching is driven by metadata that the serving engine passes through the forward context, and only context-dependent operations consume it. Everything else follows a single, input-independent code path. Because these context-dependent operations require runtime state, they cannot be run in isolation. Dooly instead profiles them at their parent module via hierarchical context resolution (§5.2 -- 5.3), since the parent already holds the necessary context.
This means a single dummy-prompt trace is sufficient: Dooly's Input Generator sweeps request-dependent dimensions (token count and KV-cache size) and re-runs the relevant module at each sweep point. So even if the initial dummy prompt is short, a sweep point corresponding to a long request will still internally trigger and measure the KV-split kernel. All input-dependent branches are thus measured ahead of time during profiling, with no runtime branching or re-profiling during simulation. Please refer to Appendix D, which covers a similar case for phase-dependent branching.
Q3: What is the real implication of the few percent accuracy improvement?
We appreciate this question, as it lets us clarify why we report accuracy. Dooly does not introduce a new simulation or estimation methodology, and accuracy is not a claimed contribution. DoolySim uses the same latency features as Vidur and reuses the serving engine's own scheduler, and Dooly's latency database is designed as a drop-in profiling backend for existing simulators including Vidur and LLMServingSim (Abstract, §7). Rather, accuracy demonstrates applicability: the 5% MAPE for TTFT, 8% for TPOT, and 0.5% for reproduced scheduling decisions (§7.1) show that Dooly's deduplicated, automatically derived latency database remains accurate enough to serve as a practical drop-in for existing simulators, not that it outperforms them on accuracy per se.
Dooly's main contribution is configuration-agnostic, redundancy-aware profiling that removes manual instrumentation and covers the full configuration space at substantially lower cost. Across 36 configurations (12 models and 3 attention backends), a naive per-configuration profiler would measure 612 operator signatures in 26.6 GPU-hours; Dooly identifies 100 unique signatures and deduplicates the rest, reducing profiling to 11.6 GPU-hours, a 56.4% reduction (Figure 5, Table 2). Profiling the first 4 of 12 models already covers over 98% of the total profiling time, and each additional model adds under 0.2 GPU-hours, with no modification required to support new models, backends, or hardware (§7.2).
In short, the accuracy numbers establish that Dooly's profiling shortcuts are safe to use in practice; the practical benefit is the ability to profile accurately across many configurations automatically, at a fraction of the cost, letting existing simulators explore the configuration space without per-configuration manual profiling.