Back to Feed
Benchmarks & Evals

Structured Documentation for Scientific Workflow Executions

Original: Workflow Cards: Structured Summaries of Workflow Executions Using Provenance Data

Listen to the summary

Uses a voice available on your device

Audio options
On this page 4 sections
Related concepts 2 concepts

Key Takeaways

  • Workflow Cards provide a lightweight, question-oriented template to document runtime execution, parameter choices, and resource usage in scientific workflows.
  • The system integrates with existing provenance frameworks yProv4ML and Flowcept to automate the generation of these documents.
  • Using Workflow Cards nearly doubles the answer quality of LLM-based provenance queries compared to standard schema-based methods.
  • The approach was validated across multiple benchmarks involving diverse LLMs and machine learning application tasks.

Summary & Methodology Analysis

The researchers identified that while current documentation standards such as Model and Data Cards address static assets, they fail to track the dynamic provenance of scientific workflows. To bridge this gap, they developed Workflow Cards using a question-oriented design derived from recurring scientific experimentation needs. The methodology relies on lightweight principles, ensuring the cards complement existing documentation rather than duplicating it. Integration is achieved by connecting the card generation process directly to established provenance systems, specifically yProv4ML and Flowcept, allowing for automated documentation of execution flows. This structured representation serves as an input format for LLM-based systems, enabling more reliable retrieval and reasoning over complex workflow history.

The system was evaluated using two primary benchmarks. Benchmark I assessed the informational structure of the cards against existing Model and Data Cards using synthetic metadata. Benchmark II measured the performance of LLMs, including GPT-4o, Claude Sonnet 4.6, and various Llama-3.2 variants, when using Workflow Cards versus standard schema-based provenance querying. Results verified by both LLM-as-a-Judge and human assessment demonstrated that Workflow Cards nearly double the quality of provenance-related question answering. The evaluation included various models ranging from smaller instances like Llama-3.2-3B-Instruct to more complex systems like Nemotron-Cascade-2-30B-A3B, showcasing the utility of structured metadata across different inference scales.

Despite these improvements, the methodology faces several limitations. Benchmark I relied on synthetic metadata rather than real-world factual provenance. Benchmark II is currently constrained to a single instrumented high-performance computing (HPC) workflow, as assessed by a single human expert. Furthermore, the present template design is optimized for machine-learning workflows. Consequently, its efficacy remains untested in other scientific domains such as fluid dynamics or genomics. Future work would be required to broaden the scope of the template and validate its performance beyond the current machine-learning-centric test cases.

Interactive System Flowchart

Click diagram to expand and zoom

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is a Workflow Card?

A Workflow Card is a structured, lightweight document designed to capture runtime provenance, such as parameter choices and resource usage, which are often missing from static Model and Data Cards.

Q2. Why are these cards necessary?

They fill a documentation gap that currently hinders the auditing, reproduction, and general understanding of scientific workflow executions.

Q3. How are these cards generated?

The generation is automated by integrating the Workflow Card template with existing provenance systems, namely yProv4ML and Flowcept.

Q4. How do Workflow Cards improve LLM performance?

By providing a structured representation of provenance data, Workflow Cards nearly double the answer quality of LLM-based question answering compared to raw schema-based querying.

Q5. Which models were used to validate this approach?

The researchers tested a variety of models including gpt-4o, Claude Sonnet 4.6, Llama-3.2-3B-Instruct, Nemotron-Cascade-2-30B-A3B, and several others such as Prithvi-100M and various specialized fine-tuned versions.

Q6. Are there limitations to the current research?

Yes, Benchmark I used synthetic metadata, Benchmark II is limited to a single HPC workflow evaluated by one expert, and the current template is specifically focused on machine-learning workflows.

Q7. Does the paper describe how much computational power is required to generate these cards?

The paper does not specify the computational requirements or overhead for generating these cards.

Q8. Can these cards be used for non-ML scientific workflows?

The current template is focused on machine-learning workflows, and its effectiveness in other scientific domains like genomics or fluid dynamics is currently untested.

Q9. How was the quality of the LLM answers measured?

The quality was confirmed by both LLM-as-a-Judge, which uses a high-performing LLM to grade output, and human assessments.