Dooly: Configuration-Agnostic, Redundancy-Aware Profiling for LLM Inference Simulation
Joon Ha Kim, Geon-Woo Kim, Anoop Rachakonda, Daehyeok Kim
NeurIPS 2026
Abstract. Selecting the optimal LLM inference configuration requires evaluation across hardware, serving engines, attention backends, and model architectures, since no single choice performs best across all workloads. Profile-based simulators are the standard tool, yet they hardcode their operation set to a specific configuration and re-profile every operation from scratch, making exploration prohibitively expensive. This cost stems from a missing structural understanding: every input dimension of each operation is fixed by the model configuration or determined by the incoming request. Many model-configuration values (e.g., head size, layer count) recur across models, so the same operation runs in many configurations; a single sweep over the request-dependent dimensions can serve them all. We present Dooly, which exploits this structure to achieve configuration-agnostic, redundancy-aware profiling. Dooly performs a single inference pass, labels each input dimension with its origin via taint propagation, and selectively profiles only operations absent from its latency database; stateful operations such as attention are isolated by reusing the serving engine's own initialization code, eliminating manual instrumentation. From this database, it builds latency regression models that serve as a drop-in backend for existing simulators. Across two GPU platforms, three attention backends, and diverse model architectures, Dooly achieves simulation accuracy within 5% MAPE for TTFT and 8% for TPOT while reducing profiling GPU-hours across 12 models by 56.4% compared to the existing profiling approach. We have open-sourced Dooly at https://dooly-project.github.io.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Dooly proposes a profiling framework for profile-based LLM inference simulators that automatically derives reusable operation signatures through taint propagation and isolates stateful operations through hierarchical context resolution. The paper addresses a practically important problem and provides broad evaluation across multiple serving stacks, GPUs, attention backends, and model architectures, while substantially reducing profiling overhead.
The initial reviews mainly raised concerns regarding the strength of the profiling-efficiency baseline, the novelty of the core mechanisms, and the clarity and practical significance of the evaluation. The rebuttal addressed these concerns, and all reviewers indicated that their main concerns were resolved and converged on a positive assessment (4: Weak Accept). Therefore, the paper is recommended for acceptance.
Final justification
Accept (Poster). Detailed justification is provided in the meta-review.
- Final justification
- Accept (Poster). Detailed justification is provided in the meta-review.
Read meta-review
Meta-review
Dooly proposes a profiling framework for profile-based LLM inference simulators that automatically derives reusable operation signatures through taint propagation and isolates stateful operations through hierarchical context resolution. The paper addresses a practically important problem and provides broad evaluation across multiple serving stacks, GPUs, attention backends, and model architectures, while substantially reducing profiling overhead.
The initial reviews mainly raised concerns regarding the strength of the profiling-efficiency baseline, the novelty of the core mechanisms, and the clarity and practical significance of the evaluation. The rebuttal addressed these concerns, and all reviewers indicated that their main concerns were resolved and converged on a positive assessment (4: Weak Accept). Therefore, the paper is recommended for acceptance.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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
Final justification
I think the authors have done a good job in addressing my concerns, and I will therefore keep the score.
Formatting concerns
No
3 comments
Rebuttal
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?
TLDR: Tagging is fully automatic: Dooly hooks the serving engine's existing config/request dataclasses to seed taints, then propagates them through arithmetic and PyTorch dispatcher-level hooks, with no manual mapping of parameters to operations at any stage.
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:
- For model configuration, the
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. - For request parameters, Dooly tags specific fields of the
SchedulerOutputdataclass:total_num_scheduled_tokensis taintedNUM_TOKS, andNUM_REQSis derived from the number of scheduled requests (the length of thenum_scheduled_tokensmap). - Derived values are handled automatically as well: because each arithmetic operator on integer values is hooked, a quantity such as the per-head dimension (
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:
- Dimension-Mapping Operations (e.g.,
torch.empty, torch.reshape) create new tensors or change shapes, and require dedicated hooks to establish the taint-to-dimension mapping correctly. - Dimension-preserving operations keep input shapes intact, so rather than hooking each one individually, Dooly intercepts them at the PyTorch Dispatcher level — after dispatch but before kernel execution. This single interception point covers the vast majority of operations, including custom attention and fused kernels. For each intercepted operation, output dimensions inherit the taint of the matching input dimension (via shape matching), and any new dimension is resolved through a global value-to-taint registry.
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?
TLDR: Dooly's simulation is static (profiling runs once, no runtime re-profiling or feedback loop); apparent dynamic behavior from input-dependent kernel branching is instead handled by exhaustively sweeping and measuring all branches ahead of time, at their parent module.
We’d like to first confirm our understanding of “static” vs. “dynamic,” and welcome correction if we’ve misread the reviewer's intent:
- Static: profiling results are computed once, up front, and the simulation simply consumes these fixed results.
- Dynamic (i.e., with a feedback loop): the system observes behavior during simulation and adjusts at runtime; e.g., triggering new profiling or updating measurements mid-run.
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 BatchDecodeWithPagedKVCacheWrapper and the prefill phase calls BatchPrefillWithPagedKVCacheWrapper).
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?
TLDR: Accuracy is not Dooly's claimed contribution but evidence of applicability: 5% TTFT / 8% TPOT / 0.5% scheduling MAPE show that a deduplicated, automated latency database is still accurate enough to be a practical drop-in; the real payoff is the 56.4% GPU-hour reduction (26.6h to 11.6h) this enables.
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.
I would like to thank the author for replying to my comments. These address my key doubts and I would like to retain my score.
Dear Reviewer 2tyn,
Thank you for taking the time to revisit our responses and confirm your assessment.
We look forward to adding on to our details in the camera-ready version of the paper.
Again, we appreciate your positive assessment of our work.
Sincerely,
The Authors
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces Dooly, a profiling framework for simulating LLM inference. To distinguish between static model configurations and dynamic request parameters, Dooly tracks the origins of tensor dimensions using taint propagation during a single inference pass. Based on the extracted operations, the framework generates unique signatures and bypasses redundant low-level computations through hash matching. Furthermore, for operators that cannot be benchmarked in isolation, it leverages the serving engine's initialization code to measure performance at the granularity of their enclosing modules. Empirical evaluations demonstrate that this approach reduces profiling time across a suite of 12 different models.
Strengths and weaknesses
Strengths:
- The paper identifies the problem of redundant profiling computations in existing LLM inference simulators during multi-model evaluations.
- Integrating taint propagation with PyTorch's dynamic execution flow provides a solid system-level engineering implementation.
- The fallback mechanism to enclosing modules for operators lacking execution contexts ensures the continuity of the profiling pipeline.
- The framework successfully demonstrates a reduction in overall profiling time overhead within the evaluated vLLM and SGLang setups.
Weaknesses:
- Taint propagation and hash deduplication are mature techniques in software analysis. The research primarily focuses on applying these existing methods to the automated testing pipeline of deep learning inference stacks, lacking fundamental theoretical contributions to computer system architecture or algorithms.
- The tracking mechanism heavily relies on the PyTorch dispatcher. When models use low-level custom kernels (Triton) that bypass this dispatcher, performance tracking is limited to the module level rather than the finer kernel level.
Questions
- Could the authors elaborate on the specific technical challenges or algorithmic adaptations required when integrating the well-established taint propagation and hash deduplication techniques into the deep learning inference pipeline?
- Since the tracking relies on the PyTorch dispatcher, how does falling back to module-level profiling for custom kernels (Triton) affect the granularity of the performance measurements?
Limitations
While the authors acknowledge limitations regarding Triton operations and multi-modality tracking, the discussion would be more comprehensive if it addressed the system maintenance overhead caused by inevitable API deprecations or updates in the underlying serving engines.
Final justification
The rebuttal offers concrete explanations and additional experiments. These results directly address my main technical concerns. I would be willing to raise my score.
Formatting concerns
No major formatting concerns.
3 comments
Rebuttal
We thank the reviewer for the careful reading and for raising these points. We address each below.
Q1: What are the specific technical challenges or algorithmic adaptations required when integrating the well-established taint propagation and hash deduplication techniques into the inference pipeline?
TLDR: Naive dimension-level taint propagation breaks on arithmetic-derived and reshaped dimensions (up to 448 operations left untainted without our operation-aware rules), and naive name-based hashing wrongly merges heterogeneous layers (e.g.,collapsing Command-R7B's sliding-window and full attention), inflating simulated latency by up to 3.66×.
Why is taint propagation non-trivial for inference pipelines?
Taint analysis is a well-established information-flow technique: it marks selected inputs as tainted sources and propagates those labels along a program's call graph. Applied naively to tensors, it would only tell us whether a traced tensor is configuration-influenced, not which dimension of that tensor carries which configuration. But dimension-level information is exactly what sweep-range selection and cross-configuration comparison require.
A natural refinement is to track taint per dimension: taint each source scalar, tag each dimension of a newly allocated tensor with that scalar’s taint, and propagate by matching output dimensions to their corresponding input dimensions. This refinement, however, breaks down once we account for how tensor shapes are actually derived and manipulated during inference. For example, dimensions can be created via scalar arithmetic (e.g.,head_dim=hidden_size//num_attention_heads), or shapes can be altered by operations like torch.view and torch.reshape that require inferring dimensions rather than simply matching them
To demonstrate this concretely, we ran an ablation study on Dooly’s methodology:
| Trace | # of Operations with Untainted Dimensions |
|---|---|
| Ours | 0 |
| w/o Scalar Shape Propagation | Crash (Ambiguity) |
| w/o Scalar Shape Propagation (Forced) | 241 |
| w/o Operation-Aware Propagation | 448 |
Without arithmetic taint propagation, no usable trace is produced at all; reshape operations introduce ambiguity that halts resolution. Suppressing that error lets execution proceed, but 241 operations are left with unlabeled dimensions; removing shape-operation awareness entirely raises this to 448. Untainted dimensions are not a cosmetic issue: an unlabeled request dimension incorrectly fixes a quantity that should vary, collapsing that axis of the profiling sweep to a single point. An unlabeled model-configuration dimension is comparatively benign during profiling, but is excluded from deduplication, since only explicitly tainted model-configuration values enter the hash.
Why is hash-based deduplication non-trivial in adapting to the serving stack?
A naive approach would hash operations by module name, treating every instance of a class as identical and profiling it once. This assumption breaks down for models with heterogeneous layers. Command-R7B, for instance, interleaves sliding-window attention (24 layers) and full attention (8 layers), yet all 32 layers are instances of the same attention class with identical tensor shapes and configuration dimensions, so a name-based key merges them into a single operation. Adding the dispatched kernel symbol to the key doesn't help either: on the FlashAttention and Triton backends, sliding-window and full attention dispatch the same kernel, differing only in a runtime argument (the sliding-window size), even though their latencies differ. Dooly resolves this by folding the module instance's runtime state, here the sliding-window setting, into the signature, distinguishing the two cases even when neither name nor kernel symbol does.
This distinction matters for downstream latency simulation. Name-based hashing introduces no error for Llama-3.1-8B, whose 32 attention layers are homogeneous, but overestimates Command-R7B's attention latency by up to 3.66x at its 132k-token maximum context. Because the sliding-window layers are indistinguishable by name, they are never profiled independently, and each of the 24 is assigned the higher latency of the full-attention group it collapses into.
Q2: Since the tracking relies on the PyTorch dispatcher, how does falling back to module-level profiling for custom kernels (Triton) affect the granularity of the performance measurements?
TLDR: Module- and operation-level profiling produce essentially identical latencies (<1% and <0.1% relative gap across two experiments); coarser granularity only costs deduplication opportunity (e.g., in Mamba's MambaMixer2), never measurement accuracy.
This is an important question, and we address it with two claims: (1) Dooly's profiling procedure yields the same latency regardless of whether an operation or its enclosing module is profiled, and (2) coarser granularity affects only deduplication opportunity, not accuracy.
Profiling method. Given a callable (operation or module), Dooly profiles it via CUDA Graphs: after warming up the GPU, the graph captures the callable's execution across 10 runs, repeated for 20 captures. We time each capture with CUDA Event Timers, average across the 10 runs within each capture, and report the median across the 20 averaged latencies. Because module- and operation-level callables ultimately execute the same underlying kernels, Dooly measures the same latency behavior at either granularity.
Experiment 1: dispatcher-level operation vs. parent module
We compare aten::linear (captured via the Python Dispatcher) against calling its parent module, RowParallelLinear, directly, using input dimensions from Llama-3.1-8B’s configuration ([X, 4096] x [4096, 14336], which X swept from 512 to 16384 tokens). Both paths invoke the same cuBLAS kernel. Table 1 shows that relative differences stay under 1%, with comparable jitter across both granularities.
Table 1: RowParallelLinear (module) vs aten::linear (op) (in:4096, out:14336)
| tokens | module [us] | op [us] | abs_gap [us] | rel_gap [%] | co-var[%] |
|---|---|---|---|---|---|
| 512 | 347.49 | 348.44 | -0.96 | -0.27 | 0.90 |
| 2048 | 1118.21 | 1120.69 | -2.48 | -0.22 | 0.49 |
| 8192 | 4309.24 | 4306.06 | 3.18 | 0.07 | 0.27 |
| 16384 | 8519.24 | 8528.62 | -9.37 | -0.11 | 0.12 |
Experiment 2: Profiling Triton-fused custom kernel from module vs. operation
We repeat the comparison for torch.compile-fused Triton normalization kernels (Gemma RMSNorm and Cohere/Command-R LayerNorm) that bypass the dispatch entirely. Table 2 shows that here the relative gap is under 0.1%. This consistency comes from two properties of our measurement setup: CUDA Graphs execute kernels back to back regardless of Python-level call structure, and CUDA Events time only the kernel execution itself. So granularity, module, or operation does not affect the measured latency.
Table 2: Custom Module vs Respective forward_impl Operation
| custom impl. | tokens | module [us] | op [us] | abs_gap [us] | rel_gap [%] | co-var [%] |
|---|---|---|---|---|---|---|
| Gemma RMSNorm | 512 | 5.38 | 5.38 | 0.0007 | 0.013 | 0.42 |
| 2048 | 21.79 | 21.80 | -0.01 | -0.027 | 0.33 | |
| 8192 | 83.59 | 83.62 | -0.03 | -0.033 | 0.13 | |
| 16384 | 161.64 | 161.66 | -0.03 | -0.017 | 0.07 | |
| Cohere LayerNorm | 512 | 6.36 | 6.35 | 0.003 | 0.06 | 0.15 |
| 2048 | 22.56 | 22.55 | 0.013 | 0.06 | 0.29 | |
| 8192 | 85.05 | 85.03 | 0.0157 | 0.02 | 0.14 | |
| 16384 | 165.76 | 165.81 | -0.05 | -0.03 | 0.27 |
What granularity costs us. The real cost of falling back to module-level profiling is a lost deduplication opportunity, not a loss of accuracy (explained in §5.2). For instance, the Mamba-Codestral-7B-v0.1 model uses a MambaMixer2 module which calls two linear operations, an RMS Normalization operation, and the mamba_mixer2 operation. Because mamba_mixer2 is a context-dependent operation, the Operation Set Finder decides to profile the MambaMixer2 module, absorbing other sibling operations (§5.1). This means that the linear operations could have been a sharable unit of operation across configurations, but because mamba_mixer2 falls back to its parent module, we lose this opportunity.
More generally, a standalone operation is absorbed only when a context-dependent operation forces the fallback to an enclosing module that also contains it (§5.2) (e.g., MambaMixer2). This does not occur in attention or MoE, whose context-dependent operations resolve at a tight submodule separate from the standalone operation. It reduces the deduplication opportunity in such cases, but affects profiling efficiency only, not the accuracy of the measurements, as shown in the above experiments.
Limitations: Maintenance overhead from serving-engine updates
TLDR: Verified across three vLLM versions, only one required a 2-line fix, since Dooly's engine-specific surface (source tainting) is small and stable, while the core mechanism runs on stable PyTorch dispatcher APIs.
We agree with the reviewer that this maintenance overhead is a fair concern, and we will add it to our limitations section. Because Dooly is not intended as a one-shot, future-proof solution, like any tool built on evolving serving engines, it requires periodic updates as vLLM or SGLang change. To characterize this concretely, we ran DoolyProf unmodified across vLLM versions 0.16.0, 0.17.1, and 0.19.1 with no changes. Version 0.25.1, vLLM added a full memory profiling dummy pass that interferes with Dooly’s hooks, requiring a 2-line fix to DoolyProf’s taint sourcing logic.
This indicates that Dooly's maintenance surface is localized. Only source tainting is engine-specific, and it hooks a small set of entry points common across all models within a given engine (e.g., ModelConfig and SchedulerOutput in vLLM, ForwardBatch/ScheduleBatch in SGLang). Taint propagation runs through PyTorch tensor extension APIs, which are stable, engine-agnostic APIs, so the core mechanism is insulated from most serving-engine updates.
Reply to authors
Thank you for the detailed rebuttal, which offers concrete explanations and additional experiments. These results directly address my main technical concerns. I would be willing to raise my score.
Appreciation for Reconsideration
Dear Reviewer 61ap,
We are glad the rebuttal addressed your concerns.
In our final version, we will make sure to clarify our technical contributions and the granularity tradeoff discussion.
Thank you for taking the time to reconsider our work!
Sincerely,
The Authors
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes Dooly, a configuration-agnostic, redundancy-aware profiling framework for LLM inference simulators. Dooly exploits the idea that operations share common model-specific parameters across configurations. Three modules, tainted runner, operation set finder, and duplication aware profiler, are designed. Dooly achieves high simulation accuracy while significantly reducing profiling GPU-hours across two GPU platforms, three attention backends, and diverse model architectures.
Strengths and weaknesses
Strengths
S1. The paper is well-motivated; in particular, no single (model, backend) configuration dominates across workloads, with winner inversions observed even between similarly-sized models.
S2. Reusing the serving engine's own initialization and context-setup code is an interesting idea.
S3. The evaluation features broad configuration coverage, spanning two GPU platforms, three attention backends, and various model architectures.
S4. The effectiveness of the proposed approach is demonstrated in the evaluation.
Weaknesses
W1. Baseline comparison is narrow. The 56.4% GPU-hour reduction is measured against a naive baseline that re-profiles every operation for every configuration independently. Competitors include heuristics that share profiles between models with identical architecture configs and progressive profiling strategies that profile shared layers first.
W2. The evaluation only considers tensor parallelism, while other types of parallelism (data, sequence, pipeline, expert) are disregarded.
W3. While the propose method exploits the idea that operations share common model-specific parameters across configurations, the paper does not discuss how the reuse transfers across MoE, especially when routing is considered. The evaluation includes two MoE models, Qwen3-30B-A3B and Mixtral-8x7B, but Table 2 doesn't break out MoE-specific operations.
W4. Profiling overhead analysis is conducted only for models in the 7B-8B parameter range.
W5. (Minor) The hierarchy constructor assumes that transformer architectures repeat the same layer structure. This may not apply to future architecture, e.g., Wu et al. investigates variable-width transformers and proposes to use wider early/late layers and narrower middle layers [1].
[1] Wu et al. Variable-Width Transformers.
Questions
Please address W1-W4 in the above comments. Minor questions/suggestions are as follows.
Q1. In Figure 4 (and other figures in the same layout), does the token count mean the input length?
Q2. Authors are suggested to use thinner lines in Figure 3 (and other figures in the same layout) to show the errors more clearly.
Limitations
Yes.
Final justification
The rebuttal was strong and addressed my concerns. My rating is increased accordingly.
Formatting concerns
No formatting concerns identified.
3 comments
Rebuttal
We thank the reviewer for the constructive feedback. We address W1–W5 and the questions below.
W1: Baseline comparison
TLDR: Against two additional baselines (HF-Diff, HF-Model-Diff), Dooly saves the most GPU-hours (56.4% vs. 7.9% and 39.8%), and the closest competitor (HF-Model-Diff) introduces simulation errors up to 37.3% by deduplicating incorrectly.
HF-Diff (HD) shares a profile across models only when their full HuggingFace config files are identical, profiling every config-distinct model from scratch. HF-Model-Diff (HMD) deduplicates on architecture parameters alone (hidden size, layers, attention/KV head counts, head/intermediate dimensions). These set each operation's tensor dimensions, so two models agreeing on all of them appear to share identical operations. Table 1 reports savings over naive profiling.
Table 1: Profiling overhead reduction, Dooly vs. 3 baselines
| Baseline | GPU Hours | % Saved | # Unique Ops |
|---|---|---|---|
| Naive | 26.54 | 0 | 100 |
| HD | 24.44 | 7.9 | 100 |
| HMD | 15.97 | 39.8 | 93 |
| Dooly | 11.58 | 56.4 | 100 |
Besides the smaller savings, HMD also deduplicates incorrectly, causing simulation error up to 37.3%. It treats CommandR7B (C) and Expanse8B (E) as equivalent since they agree on every architecture field, reusing E's profile for C. This overlooks module-instance state that changes kernel selection: E uses full attention, C sliding-window, invisible from input dimensions. C operations, including its attention module, are thus never profiled, and accuracy degrades with context length, from 4% at 2K to 37.3% at 32K.
Table 2: Accuracy by config comparison (model configs only)
| Context | Measured (ms) | Dooly Pred.(ms) | HMD Pred.(ms) | Dooly Error(%) | HMD Error(%) |
|---|---|---|---|---|---|
| 2K | 153.24 | 159.5 | 159.4 | 4.1 | 4.0 |
| 4K | 308.36 | 323.0 | 323.2 | 4.8 | 4.8 |
| 8K | 628.62 | 666.1 | 688.8 | 6.0 | 9.6 |
| 16K | 1310.73 | 1388.0 | 1556.8 | 5.9 | 18.8 |
| 32K | 2788.10 | 2921.9 | 3827.5 | 4.8 | 37.3 |
On the progressive profiling the reviewer mentions, we're glad to add it as a baseline once its form is clarified. Profiling unique layers progressively is model-aware; it must know which operations a model invokes so each is profiled once, which is already Dooly's within-model step (duplicate layers identified, only the unique set profiled). Extending it across models is exactly Dooly's signature hashing, profiling each shared operation once across the corpus.
W2: Beyond tensor parallelism
TLDR: Dooly's profiler supports pipeline parallelism (PP) and expert parallelism (EP) out of the box, with errors under 6.7% (PP, TPOT) and 7.4% (EP, TTFT); data and sequence parallelism (DP, SP) extend with no profiler changes, since Dooly already profiles the compute and communication building blocks independently.
Any parallelism strategy composes computation and communication latencies, both already profiled by Dooly. Only their composition differs across strategies, which the simulator handles with per-parallelism logic. Supporting a new strategy thus reduces to simulation engineering, not profiling.
PP decomposes into per-shard compute and point-to-point send/recv between N nodes: t_total=t_compute+(N-1)*t_p2p. We extend DoolySim accordingly and evaluate on meta-llama/Llama-3.1-8B with PP=2 on two A100 GPUs (Tables 3-4). TPOT error exceeds TTFT error because decode is more susceptible to timing jitter (§7.1).
Table 3: TTFT Prediction errors
| Context | Pred.(ms) | Measured(ms) | err (%) |
|---|---|---|---|
| 2048 | 145.76 | 140.72 | 3.7 |
| 4096 | 299.85 | 295.10 | 1.6 |
| 8192 | 645.86 | 639.41 | 1.0 |
| 16384 | 1475.67 | 1464.12 | 0.8 |
Table 4: TPOT Prediction errors
| Context | Pred.(ms) | Measured(ms) | err (%) |
|---|---|---|---|
| 2048 | 11.71 | 12.14 | 3.5 |
| 4096 | 11.81 | 12.42 | 4.9 |
| 8192 | 12.19 | 12.98 | 6.1 |
| 16384 | 13.00 | 13.94 | 6.7 |
EP. Dooly supports MoEs by adding the number of activated experts as a sweep dimension. A hook on the FusedMoE module, the common entry point for every MoE architecture in vLLM, forces exactly the target number of distinct experts to fire. This produces a (tokens, activated-experts) latency table per MoE block, independent of the model's learned routing. To simulate EP, it is the simulator’s responsibility to determine which experts activate, and thus the per-rank load under expert parallelism. We extend DoolySim by composing the profiled latencies on a balanced routing algorithm. For Qwen1.5-MoE-A2.7B at EP=2, TP=2 on NVLink-connected A100 GPUs, the composition matches measured vLLM TTFT within 7.4% and TPOT within 6.2% (Tables 5-6).
Table 5: TTFT Prediction errors
| Context | Pred.(ms) | Measured(ms) | err (%) |
|---|---|---|---|
| 2048 | 44.8 | 48.3 | 7.4 |
| 4096 | 77.0 | 82.0 | 6.2 |
| 8000 | 146.8 | 157.9 | 7.0 |
Table 6: TPOT Prediction errors
| Context | Pred.(ms) | Measured(ms) | err (%) |
|---|---|---|---|
| 2048 | 5.76 | 5.42 | 6.2 |
| 4096 | 6.96 | 6.69 | 4.1 |
| 8000 | 9.18 | 8.93 | 2.8 |
DP. Model replicas run on different GPUs, each handling separate requests. Since replicas behave identically to the single-GPU (or TP shard) case, Dooly’s existing per-configuration accuracy results (§7.1) already validate DP's per-replica latency; the only addition is spawning N independent simulation instances, which requires no changes to the profiler or simulator logic.
SP is not a standard inference axis. Instead, vLLM exposes Decode Context Parallelism (DCP) and its experimental prefill counterpart, which shard the KV cache and attention along the context dimension and reconcile outputs with an all-gather and reduce-scatter. Dooly extends directly in principle: profile attention at its context-sharded shape (as for TP) and the two collectives per topology (as for EP, PP, TP). We have not run an end-to-end DCP evaluation but would gladly include one in the camera-ready if the reviewer feels it important.
W3: Reuse across MoE layers and routing
TLDR: Operation reuse transfers to MoE layers exactly as to dense layers. Dooly's FusedMoE signatures generalize across architectures because latency depends only on token count and active experts, not which experts fire. This yields up to 72.8% reduction in MoE-specific profiling and 61.4% GPU-hour savings without model-specific implementation.
Table 7 shows matching FusedMoE signatures produce nearly identical latency across DeepSeek-V2-Lite (DVL) and DeepSeek-MoE-16B (DM), despite different model weights. Table 8 extends the paper’s deduplication analysis (Table 2) to both dense and MoE models, showing 61.4% overall GPU-hour savings and 72.8% reduction for MoE operations, with no model-specific implementation.
Table 7: Profiled FusedMoE for DVL and DM
| # Tokens | # Activated Experts | DVL | DM | Diff (%) |
|---|---|---|---|---|
| 512 | 16 | 0.57 | 0.57 | 0.5 |
| 512 | 64 | 0.95 | 0.94 | 0.4 |
| 1024 | 16 | 1.01 | 1.00 | 0.2 |
| 2048 | 64 | 2.38 | 2.39 | 0.2 |
Table 8: Per-operation profile savings. (same abbr. used as in paper)
| Group | Variant | N | R | Profile(h) | Saved (h) | Red.(%) |
|---|---|---|---|---|---|---|
| Attention | aggr. | 16 | 2.3 | 1.59 | 2.47 | 60.8 |
| Llama-3.1-8B,Mistral-7B,Mixtral-8x7B | 9 | 3.0 | 0.93 | 1.99 | 68.2 | |
| Qwen1.5-MoE, DM | 6 | 2.0 | 0.27 | 0.48 | 63.5 | |
| DVL (MLA) | 1 | 1.0 | 0.39 | 0.00 | 0.0 | |
| FusedMoE | aggr. | 10 | 3.3 | 0.17 | 0.47 | 72.8 |
| Mixtral | 3 | 3.0 | 0.14 | 0.28 | 66.7 | |
| Qwen | 3 | 3.0 | 0.02 | 0.11 | 85.7 | |
| DVL,DM | 4 | 4.0 | 0.02 | 0.08 | 81.6 | |
| Linear | 72 | 4.5 | 0.10 | 0.09 | 47.3 | |
| Others | 138 | 4.5 | 0.05 | 0.01 | 21.0 | |
| Total | 236 | 4.1 | 1.91 | 3.03 | 61.4 |
Routing affects MoE latency only through token count and active experts. Since experts share identical shapes, latency is independent of which experts fire or token values. Dooly profiles the FusedMoE module (gate routing+per-expert compute) across these axes, so the result is reusable across any MoE sharing the FusedMoE signature, independent of routing. Two measurements confirm this: gate-router latency varies at most 1.4% for random inputs at fixed shape, and end-to-end latency is accurately predicted by number of tokens and experts (Tables 5-6).
W4: Profiling overhead beyond 7B–8B
TLDR: Extending the analysis to 9 models from 13-72B shows savings persist and even improve slightly, 62.4% GPU-hours saved (vs. 56.4% at 7B-8B) with no code changes.
Table 9: Per-operation profile savings (same abbr. used as in paper)
| Group | Variant | N | R | Profile(h) | Saved (h) | Red.(%) |
|---|---|---|---|---|---|---|
| Attention | aggr. | 30 | 15 | 3.82 | 7.47 | 66.2 |
| DeepSeek-Qwen-32B,Qwen2.5-14B,Qwen2.5-32B,Qwen3-14B | 12 | 9 | 0.99 | 5.54 | 84.8 | |
| Llama-2-70b-hf,Llama-3.3-70B-Instruct,Qwen2.5-72B | 9 | 6 | 1.61 | 1.93 | 54.5 | |
| Llama-2-13b-hf | 3 | 0 | 0.26 | 0.00 | 0.0 | |
| gemma-2-27b | 6 | 0 | 0.96 | 0.00 | 0.0 | |
| Linear | 135 | 107 | 0.98 | 0.63 | 39.1 | |
| Others | 252 | 207 | 0.14 | 0.11 | 43.7 | |
| Total | 417 | 329 | 4.94 | 8.21 | 62.4 |
Deduplication saves 8.21 GPU-hours (13.15→4.94), a 62.4% reduction, slightly above the 56.4% at 7-8B. Attention again dominates at 91% of savings: four models across two Qwen generations and a DeepSeek release (14-32B) collapse to one attention signature, and the three largest (Llama-2-70B, Llama-3.3-70B, Qwen2.5-72B, TP=4) to another.
This works because Dooly profiles TP models at per-rank geometry by emulating a single shard. At TP=4, the 70-72B models' 64/8/128 attention becomes 16/2/128 per rank, so compute operations deduplicate against any model sharing that per-rank geometry. Communication overhead introduced by TP is accounted for separately and can be reused across any configuration sharing the same topology and TP degree (Appendix E).
W5: Assumption on repetition
Dooly does not assume repeated layer structures. The hierarchy constructor merges only structurally identical subtrees, so distinct layers always receive distinct signatures. A variable-width transformer (e.g., Wu et al.) would simply produce more unique signatures: identical layers still share a profile, while different-width layers are profiled independently. This is already validated on heterogeneous models such as Command-R7B and Ministral-8B, whose interleaved attention layers receive distinct signatures. We would be happy to evaluate Wu et al.'s design if desired.
Questions
Q1. Yes. We will clarify that the token count refers to the input sequence length.
Q2. Thank you for the suggestion. We will use thinner lines in Figure 3 and similar figures to make the errors more visible.
Re: Author Rebuttal
Thank you for the response. My comments are well-addressed. I will raise the rating accordingly.
The progressive profiling strategy mentioned in my previous comments determines which operations each model actually invokes and then profiles each unique one exactly once across the corpus. It collapses into Dooly's design. So this has also been addressed.
Appreciation for Reconsideration
Dear Reviewer 7t9F,
We are glad the rebuttal addressed your concerns, and we will make sure the extended experiments and the corrections in the figures/labels are incorporated into the final version.
Thank you for taking the time to reconsider our work.
Sincerely,
The Authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to AC's Meta-Review
Dear AC,
Thank you for facilitating a thorough review process, and for pinpointing the three reviewers' primary concerns.
First, we’d like to express our appreciation for the reviewers’ positive feedback on Dooly, highlighting its interesting and novel/sound approach (Reviewers 2tyn, 7t9F), well-motivated and timely issue in multi-model evaluations (Reviewers 2tyn, 61ap, 7t9F), and comprehensive evaluation across various environments (Reviewers 2tyn, 61ap, 7t9F).
We address the three primary concerns as shown below:
W1: Lack of Baseline Comparisons.
We extend our operation reuse evaluation with two natural baselines that reuse profiles based on (1) identical HuggingFace configurations and (2) only the model architecture parameters (i.e., the tensor dimensions of operations) in those configurations. These baselines achieve only 7.9% and 39.8% GPU-hour savings, compared to Dooly's 56.4%. Moreover, the architecture-parameter baseline incorrectly reuses profiles across distinct models, resulting in simulation errors of up to 37.3% (vs. Dooly's 6.0%). Please refer to Tables 1 and 2 in our response to Reviewer 7t9F.
W2: Novelty of Taint Propagation and Hash Deduplication.
Our contribution is not taint propagation or hashing themselves, but their adaptation to modern LLM serving stacks. This adaptation is non-trivial because naïvely applying either mechanism fails in practice.
Applying naive dimension-level taint propagation breaks on derived dimensions, leading to failures or taint ambiguity. To apply tainting in inference pipelines, scalar arithmetic (e.g.,
head_dim = hidden_size // num_attention_heads) or tensor manipulations that usereshape/viewoperations require special handling. Our ablation shows that without operation-aware rules, no usable trace is produced at all (reshape ambiguity halts resolution); forcing execution past that error still leaves 241 operations untainted, and removing operation-awareness entirely raises this to 448, collapsing request-dependent sweep axes to a single point and excluding model-configuration values from deduplication.Applying naive name-based hashing incorrectly merges heterogeneous layers that share a class, tensor shapes, and even dispatched kernel. We show, with an example, that the Command-R7B's 24 sliding-window and 8 full-attention layers differ only in the module instance attributes, which cannot be captured by the name alone. Name-based hashing leads to only the full attention being profiled, which leads to attention latency overestimations by up to 3.66×. Dooly resolves this by folding each module instance's runtime state into its operation signature.
As such, these failure modes and the adaptation of taint propagation and hashing to the serving stack are a non-trivial system contribution rather than a simple application. Please refer to our response to Reviewer 61ap's Q1 for more detail.
W3: Clarity and Significance
We provide a more detailed explanation of 1) the automation of taint assignment and propagation, 2) the higher-level workflow of Dooly, and 3) the main contribution that we wish to highlight. We will actively work on clarifying our details in our camera-ready submission.
Tag assignment is fully automatic. Dooly hooks the serving engine's existing entry points for config- and request-specific data classes (e.g., vLLM's ModelConfig and SchedulerOutput) to seed taints. These tainted variables are propagated via hooked integer arithmetic and PyTorch dispatcher-level interception, with no manual parameter-to-operation mappings at any stage.
The simulation is static in that the profiling stage runs once to build the latency database, and the simulation only queries the per-signature regression models trained on it. The dynamic input-dependent kernel selections (e.g., FlashInfer's KV-split kernel on long requests) is handled by the profiler's sweep space, which measures all branches ahead of time. Consequently, there is no need for a feedback loop for re-profiling.
The reported accuracy is not our primary contribution, but evidence that Dooly’s automatically constructed latency database is sufficiently accurate for practical simulation.: the 5% TTFT / 8% TPOT / 0.5% scheduling MAPE show that a deduplicated, automatically derived latency database is accurate enough to serve as a drop-in backend for existing simulators (Vidur, LLMServingSim); the practical payoff is the 56.4% GPU-hour reduction (26.6h→11.6h) this enables.
For more details, please refer to our response to Reviewer 2tyn.
We would greatly appreciate it if you could discuss these points with the reviewers and check if any concerns remain. We also hope that our detailed responses and empirical validations would be helpful for your evaluation.
Thank you once again for your invaluable efforts.
Sincerely,
The Authors