Papers for

workflow platform engineers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Tail aware scheduling speeds up agentic LLM workflows under load

Decoupling Readiness from Release for Tail-Aware Scheduling of Agentic LLM Workflows

Abstract: Agentic LLM workflows consist of sequences of model turns interleaved with tool interactions, so their end-to-end completion time depends not only on inference speed but also on when ready turns are released. Most runtimes release each turn immediately upon readiness. Under contention, this eager release policy can accumulate released but unfinished work; once submitted, those turns can no longer be reordered by the workflow-level policy, increasing tail latency. We present a tail-risk-aware turn release scheduling method that jointly decides which ready turn to release next and how much released but unfinished work to maintain. The method uses a mean--Conditional Value-at-Risk (CVaR) objective to capture the evolving tail risk of unfinished workflows, incorporates online estimates of turn work when prioritizing ready turns, and adapts the released work budget to observed queue pressure. We evaluate the method using real agent execution traces from software engineering tasks across multiple LLMs and workflow arrival rates. The method performs comparably to eager release under light load and substantially reduces the P95 of workflow flow time under contention, achieving up to a \(3.50\times\) speedup.

Thu 10 SeptArtificial IntelligenceSoftware Engineering
The gist
When AI language models work on tasks that require multiple steps and tools, the total time depends not just on how fast the model works but also on how the steps are released for processing. Most systems send each ready step immediately, which can cause delays when many tasks compete for resources. The authors developed a smarter way to decide when to send steps forward, focusing on reducing long delays for slow tasks by balancing ready and unfinished work. Their method speeds up task completion especially when the system is busy, making workflows run up to 3.5 times faster in some cases.
Open 2609.10964v1