- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes LAWA, a latency-aware framework for optimizing LLM-based multi-agent workflows in recurrent query settings. The authors model a workflow as a DAG of agent calls and define execution latency as the critical-path makespan. To reduce makespan while preserving downstream task performance, LAWA applies graph-editing operations such as node removal and parallel rewiring, guided by a learned Graph Evaluator. When no initial workflow is available, a Graph Generator produces a chain-structured initialization trained with SFT and DPO on empirically evaluated workflow graphs. Experiments across code generation, mathematical reasoning, and general knowledge benchmarks show that LAWA reduces wall-clock makespan compared with several multi-agent baselines while maintaining competitive task accuracy.
Strengths and weaknesses
Strengths:
-
Timely and Practical Problem Formulation. The paper targets latency-aware workflow optimization for LLM-based multi-agent systems, which is an important deployment concern for recurrent query settings. Modeling workflow latency as critical-path makespan provides a clear and practical objective beyond standard accuracy-focused workflow generation.
-
Coherent Framework with Useful Structural Bias. LAWA combines theoretically motivated graph-editing operations with a learned Graph Generator and Graph Evaluator. The framework is reasonably well structured and can be used both for de novo workflow generation and as a plug-in optimizer for existing workflows.
-
Solid Empirical Evaluation. The experiments cover multiple domains, including code generation, mathematical reasoning, and general knowledge. Reporting real wall-clock makespan together with task accuracy is valuable, and the results show consistent latency reductions while maintaining competitive downstream performance.
Weaknesses:
-
Incomplete Component-Level Ablations. While the paper includes several robustness and evaluator-related analyses, it does not fully isolate the contribution of key components such as node removal versus parallel rewiring, SFT versus DPO in the Graph Generator, or the sensitivity to beam size and optimization depth.
-
Dependence on the Learned Evaluator and Calibration Data. The optimization relies heavily on a Graph Evaluator trained from empirically evaluated workflow graphs and on P95 latency estimates from training queries. It remains unclear how well the evaluator and latency estimates generalize to new tasks, changing agent pools, or dynamic serving conditions.
-
Limited Real-World Validation. Although the motivation emphasizes recurrent real-world applications such as customer support and cloud troubleshooting, the evaluation is mainly conducted on standard academic benchmarks. This leaves some uncertainty about how robust the proposed workflow optimization would be in more realistic deployment environments with evolving workloads and resource contention.
Questions
-
Component-Level Attribution. Please provide a more fine-grained ablation that separates the effects of Node Removal, Parallel Rewiring, and the Graph Generator training strategy. Are the reported latency gains mainly driven by removing redundant agents, exposing additional parallelism, or generating a better initial chain workflow?
-
Evaluator Reliability and Data Dependence. LAWA relies heavily on a learned Graph Evaluator trained from empirically evaluated random workflow graphs. How sensitive are the final results to the number and distribution of these training graphs? It would be helpful to report data-size ablations or cross-task / cross-agent generalization results to show whether the evaluator remains reliable outside the sampled graph distribution.
-
Robustness of Latency Estimation. The optimization uses each agent's P95 response time on training queries as the node latency estimate. How well do the estimated makespans used during optimization correlate with the measured wall-clock makespans at evaluation time, especially under varying query difficulty, limited executors, or serving-side contention?
Limitations
yes
Paper formatting concerns
none
Reply to Reviewer htjT
4.1 Component-level ablations and attribution (W1, Q1)
We further conduct component-level ablations to isolate the effects of Node Removal, Parallel Rewiring, and the two-stage Graph Generator training. Table A reports performance and makespan changes relative to full LAWA on three benchmarks.
Table A. Component ablations relative to full LAWA.
For the graph-editing operations, removing either Node Removal or Parallel Rewiring restricts the optimizer to a single type of edit. The resulting optimization terminates earlier and yields longer makespans. Both ablations also reduce accuracy on all three benchmarks, indicating that workflows optimized with only one operation yield lower performance because the available structures are more limited.
For Graph Generator training, removing either SFT or DPO reduces accuracy on all three benchmarks. The degradation is consistently larger without DPO than without SFT. Both training stages therefore contribute to performance, with DPO having the larger effect.
4.2 Data Dependence and Generalization of the Graph Evaluator (W2, Q2)
We conduct additional experiments to evaluate the Graph Evaluator's data dependence and generalization across smaller training datasets, related tasks, and changed candidate agent pools.
First, to assess sensitivity to the number of empirically evaluated workflow graphs, we retrain both the Graph Generator and the Graph Evaluator using 20% or 50% of the graph data, keep the remaining experimental setup unchanged, and evaluate the downstream accuracy of the generated workflows. Table B shows that using 20% of the data reduces accuracy by at most 1.84 percentage points relative to the full-data setting, while using 50% reduces it by at most 0.52 percentage points across the three benchmarks. Our method is therefore not overly sensitive to substantially smaller training datasets.
Table B. Task accuracy (%, ↑) under different graph-dataset fractions.
Second, to test whether the evaluator transfers across similar tasks, we conduct OOD transfer experiments on three mathematical-reasoning benchmarks: GSM8K, MATH500, and SVAMP. We freeze an evaluator trained on one benchmark and rank held-out pairs on another. Table C reports the pairwise ranking accuracy. The consistently high cross-task accuracy demonstrates that the evaluator captures signals that transfer across similar tasks.
Table C. Pairwise ranking accuracy (%) of frozen Graph Evaluators on held-out workflow pairs.
To test generalization on unseen agents, we assess robustness to changes in the agent pool on HumanEval and MATH500. We replace 30% or 50% of the candidate agents with agents absent from both the Graph Generator and Graph Evaluator training pools while keeping both learned modules frozen. Following the setup in our paper, we generate three independent workflows at each replacement level and evaluate them on the corresponding benchmarks. Table D reports the resulting accuracy and makespan, showing that performance and latency remain broadly comparable after replacement.
Table D. Task accuracy and makespan under different unseen-agent replacement ratios.
Additionally, we examined the generated workflows and found that unseen agents comprise between 20% and 40% of the final nodes, showing that the generator and evaluator are not simply rejecting unseen agents. Both modules operate on BERT embeddings of agent role prompts rather than fixed agent IDs. A new agent can therefore be inserted into the same semantic representation space and scored according to its role without retraining. The Graph Generator and Graph Evaluator remain robust to changes in the candidate agent pool.
4.3 Robustness and accuracy of latency estimation (Q3)
We conduct a correlation analysis between the estimated makespan computed from tk and the measured average wall-clock time. For all tests, we use the same tk values used in the paper without recalibrating them for Kimi-K2.6. Table E reports Pearson and Spearman correlations for workflows using Qwen3-30B-A3B-Instruct or Kimi-K2.6 as their backend LLM. The results include 231 Qwen3-30B-A3B-Instruct workflows from our experiments and 27 Kimi-K2.6 workflows under hosted serving conditions.
Table E. Correlation between estimated makespan and measured average wall-clock time.
The correlations are positive and statistically significant across the original Qwen3-30B-A3B-Instruct evaluation and the three task-specific subsets, showing that the tk-based estimated makespan captures the variation and relative ordering of workflow latency. Although switching to Kimi-K2.6 changes absolute running times, the same fixed tk values still yield strong correlations without recalibration (r=0.751 and ρ=0.737). This correlation analysis shows a strong relationship between our estimated makespan and actual wall-clock time, explaining why our method can accurately identify workflows with lower runtime.