arXiv:2606.18425cs.SEcs.AI2026-06被引 1

AI助力建立可复现的科研流程,让非专家也能高效设计复杂工作流。

From Specification to Execution: AI Assisted Scientific Workflow Management

论文配图:From Specification to Execution: AI Assisted Scientific Workflow Management
图 1 · 摘自论文原文
  • 分三阶段设计:意图、结构、实现,先验证再生成代码
  • 用AI代理自动诊断并修复多层系统故障,减少调试耗时
  • 集成主流工作流系统,支持分布式执行和用户交互

科学工作流管理系统(WMS)支持复杂管道的可扩展与可复现执行,但工作流的设计、实现与调试仍高度依赖人工且需专业知识。尽管大语言模型(LLM)在自然语言转工作流方面展现潜力,但多数方法直接合成代码,影响透明性、可复现性及与现有系统的集成。本文提出一种AI辅助的科学工作流管理方法,融合规范驱动的工作流生成、自动化调试与分布式执行。该方法引入结构化规范阶段,将工作流意图、设计与实现分离,可在代码生成前进行验证。同时开发基于LLM的调试代理,能跨多个系统层级诊断并修复失败。为支持分布式执行与用户交互,将广泛使用的Pegasus WMS与模型上下文协议(MCP)层集成,提供统一的工作流提交、监控与控制接口。我们在医疗影像的联邦学习工作流上评估该方法,其具有并行、迭代与强依赖特性。系统成功生成并执行了含数千个任务的大规模工作流,显著降低调试成本,并使非专家用户能构建具备专家级设计模式的工作流。结果表明,端到端的AI辅助工作流生成与执行是可行的,预示着人工智能驱动的科学工作流全生命周期管理平台的前景。

原文摘要 · Abstract (English)

Scientific workflow management systems (WMS) support scalable and reproducible execution of complex pipelines, but workflow design, implementation, and debugging remain largely manual and require significant expertise. Recent approaches using large language models (LLMs) show promise for workflow generation from natural language, but often rely on direct code synthesis, which limits transparency, reproducibility, and integration with workflow systems. We present an AI-assisted approach to scientific workflow management that combines specification-driven workflow generation, automated debugging, and distributed execution. The method introduces a structured specification phase that separates workflow intent, design, and implementation, allowing validation prior to code generation. We also develop an LLM-based debugging agent that diagnoses and resolves failures across multiple system layers. To support distributed execution and user interaction, we integrate Pegasus, a widely used WMS, with a Model Context Protocol (MCP) layer, providing a unified interface for workflow submission, monitoring, and control. We evaluate the approach using a federated learning workflow for medical imaging, chosen for its parallel, iterative, and dependency-intensive structure. The system generated and executed large-scale workflows with thousands of jobs, reduced debugging effort, and allowed non-expert users to construct workflows with expert-level design patterns. These results indicate that end-to-end AI-assisted workflow generation and execution is feasible, and point toward AI-driven platforms for managing the scientific workflow lifecycle.

AI辅助工作流管理联邦学习LLM应用

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。