Large language models can generate plausible workflow code, but deployment decisions depend on a different question: which serving configuration is sufficient to produce executable workflows at acceptable cost and latency. We study this problem through two linked studies over ten workflow-generation tasks and three orchestrators under a fixed direct single-shot evaluation protocol. Study 1 shows that executability failures arise from distinct system-level causes, including non-compiling code, dependency and import issues, and orchestrator-level structural rejections, with failure patterns concentrated in a small subset of workflows. Study 2 evaluates model sufficiency across ten hosted deployment configurations and a paired self-hosted versus provider-hosted comparison for Qwen3.5-9B. We observe strong trade-offs between cost, latency, and executability: gpt-5.4 reaches 0.911 executability, while gpt-5.4-nano achieves 0.700 at $0.005 per executable workflow. In the self-hosted setting, Qwen3.5-9B improves executability over the hosted variant (0.467 vs. 0.367) but incurs a 5.8× latency overhead. We show that workflow generation requires engine-aware evaluation beyond function-level correctness, and that serving configuration is a first-class factor in deployment performance.
Alidu, A., Ciavotta, M., De Paoli, F. (2027). How Much Model Is Enough? Model Sufficiency for Workflow Generation. In Service-Oriented and Cloud Computing. 12th IFIP WG 6.12 European Conference, ESOCC 2026, Bolzano, Italy, September 7–8, 2026, Proceedings (pp.52-68) [10.1007/978-3-032-37831-6_4].
How Much Model Is Enough? Model Sufficiency for Workflow Generation
Alidu A.
;Ciavotta M.;De Paoli F.
2027
Abstract
Large language models can generate plausible workflow code, but deployment decisions depend on a different question: which serving configuration is sufficient to produce executable workflows at acceptable cost and latency. We study this problem through two linked studies over ten workflow-generation tasks and three orchestrators under a fixed direct single-shot evaluation protocol. Study 1 shows that executability failures arise from distinct system-level causes, including non-compiling code, dependency and import issues, and orchestrator-level structural rejections, with failure patterns concentrated in a small subset of workflows. Study 2 evaluates model sufficiency across ten hosted deployment configurations and a paired self-hosted versus provider-hosted comparison for Qwen3.5-9B. We observe strong trade-offs between cost, latency, and executability: gpt-5.4 reaches 0.911 executability, while gpt-5.4-nano achieves 0.700 at $0.005 per executable workflow. In the self-hosted setting, Qwen3.5-9B improves executability over the hosted variant (0.467 vs. 0.367) but incurs a 5.8× latency overhead. We show that workflow generation requires engine-aware evaluation beyond function-level correctness, and that serving configuration is a first-class factor in deployment performance.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


