ServiceNow IA recherche

StarFlow: Generating Structured Workflow Outputs From Sketch Images

Résumé

Workflows are a fundamental component of automation in enterprise platforms, enabling the orchestration of tasks, data processing, and system integrations. Despite being widely used, building workflows can be complex, often requiring manual configuration through low-code platforms or visual programming tools. To simplify this process, we explore the use of generative foundation models, particularly vision-language models (VLMs), to automatically generate structured workflows from visual inputs. Translating hand-drawn sketches or computer-generated diagrams into executable workflows is challenging due to the ambiguity of free-form drawings, variations in diagram styles, and the difficulty of inferring execution logic from visual elements. To address this, we introduce StarFlow, a framework for generating structured workflow outputs from sketches using vision-language models. We curate a diverse dataset of workflow diagrams—including synthetic, manually annotated, and real-world samples—to enable robust training and evaluation. We finetune and benchmark multiple vision-language models, conducting a series of ablation studies to analyze the strengths and limitations of our approach. Our results show that finetuning significantly enhances structured workflow generation, outperforming large vision-language models on this task.

Publication
European Chapter of the Association for Computational Linguistics (EACL)
Chao Wang
Chao Wang
Applied Research Scientist

Applied Research Scientist at Frontier AI Research located at Toronto, ON, Canada.

Amirhossein Abaskohi
Amirhossein Abaskohi
Visiting Researcher

Visiting Researcher at Frontier AI Research located at Vancouver, BC, Canada.

Christopher Pal
Christopher Pal
Distinguished Scientist

Distinguished Scientist at AI Research Partnerships & Ecosystem​ located at Montreal, QC, Canada.

David Vazquez
David Vazquez
Director of AI Research

Director of AI Research at AI Research Management located at Montreal, QC, Canada.

Spandana Gella
Spandana Gella
Research Manager

Research Manager at Frontier AI Research located at Montreal, QC, Canada.

Perouz Taslakian
Perouz Taslakian
Research Lead

Research Lead at Frontier AI Research located at Montreal, QC, Canada.