From Research Question to Execution: Bridging the Semantic Gap in Science Automation with Agentic AI

From Research Question to Scientific Workflow: Leveraging Agentic AI for Science Automation

2026-01-01
Bartosz Balis, Michal Orzechowski, Piotr Kica, Michal Dygas, Michal Kuszewski
Summary
Problem
Method
Results
Takeaways
Abstract

The paper introduces a novel agentic AI architecture designed to automate the translation of natural-language research questions into executable scientific workflows. By integrating Large Language Models (LLMs) with expert-authored "Skills" and a deterministic DAG generator, the system achieves an 83% intent accuracy and a 92% reduction in data transfer for genomic workflows.

TL;DR

Researchers have spent decades perfecting Workflow Management Systems (WMS) like Nextflow and Snakemake to handle execution. However, the translation of a high-level scientific idea into a technical DAG remains a manual bottleneck. This paper introduces an agentic architecture that uses LLMs to interpret intent, but keeps the actual workflow generation strictly deterministic. By using expert-authored "Skills," the system achieves high precision, reduces data costs by 92%, and preserves scientific reproducibility.

Problem & Motivation: The Gap Between "Intent" and "Infrastructure"

In current scientific practice, a biologist wanting to "compare mutational patterns in European populations" must manually find the correct files (VCFs), determine CPU requirements, and write the code for the workflow.

The authors identify three critical failures in the status quo:

  1. The Barrier to Entry: Scientists must be part-time DevOps engineers.
  2. Error Propagation: Mismapping domain terms (e.g., population codes) leads to silent, incorrect results.
  3. The Non-Determinism Trap: If an LLM generates the workflow code directly, it might generate different code for the same prompt twice, violating the core scientific tenet of reproducibility.

Methodology: The Architecture of Trust

The core insight of this paper is the Three-Layer Decomposition. Instead of asking an LLM to "write a script," the authors ask it to "fill out a form" (the Research Intent).

1. The Three-Layer Stack

  • Semantic Layer (LLM): Extracts a structured ResearchIntent from natural language.
  • Knowledge Layer (Skills): Markdown files authored by humans that map "European" to EUR and provide DNA coordinates.
  • Deterministic Layer (Generator): A verified code module that takes the Intent and outputs a reproducible HyperFlow DAG.

Architecture Overview

2. The Multi-Agent Pipeline

The system utilizes four specialized agents:

  • Conductor: The interface that manages the conversation and human validation.
  • Workflow Composer: Negotiates between Skills and LLMs to create the plan.
  • Deployment Service: Provisions Kubernetes and, crucially, measures data size.
  • Execution Sentinel: Monitors the run on the cluster.

End-to-End Pipeline

Why "Skills" Matter

Most AI systems use "Few-Shot" examples or RAG (Retrieval-Augmented Generation). This paper introduces Skills: plain Markdown tables.

  • Human-Readable: A geneticist can audit a table without knowing Python.
  • Version-Controlled: They live in GitHub like code.
  • Dual-Purpose: They define vocabulary (names to codes) AND optimization (how to extract data efficiently).

Experiments & Results

The authors tested the system using the 1000 Genomes population genetics workflow on a Kubernetes cluster.

Significant Accuracy Boost

Without Skills (S0), LLMs often hallucinate genomic coordinates or use incorrect population abbreviations. With the full Skills set (S3), "Full-Match" intent accuracy jumped from 44% to 83% for Claude Opus.

Deferred Generation: The 92% Saving

A unique feature is Deferred Workflow Generation. The system doesn't finalize the DAG until it sees how much data is actually there. For small gene regions like HBB or APOE, it automatically realized it didn't need 100 parallel jobs, reducing data transfer by over 99% for those specific tasks and 92% overall.

Performance Data

Critical Analysis & Conclusion

Takeaway

This work provides a blueprint for "Science 2.0." It proves that we don't need to replace scientists with AI; we need to provide AI with the "manuals" (Skills) to do the heavy lifting of infrastructure translation.

Limitations

Currently, the system is demonstrated on a single domain (Genomics). Scaling to other fields requires domain experts to put in the "upfront work" of writing the Skills markdown files. Additionally, extremely complex "implicit" reasoning (e.g., linking a vague disease name to a specific gene) still challenges modern LLMs.

Future Outlook

The authors envision a future where execution telemetry (failed runs, resource usage) feeds back into the Skills layer, allowing the system to "learn" the most efficient way to run science pipelines on specific hardware.

Find Similar Papers

Try Our Examples

  • Find recent papers that utilize "Model Context Protocol (MCP)" or similar standardized interfaces for connecting LLM agents to scientific high-performance computing (HPC) tools.
  • Which original research established the concept of "Schema-Gated" agentic workflows, and how does this paper's "Skills" layer extend that paradigm for domain-specific vocabulary mapping?
  • Explore studies that evaluate the performance and reliability of LLMs like GPT-4o or DeepSeek-V3 in generating structured scientific workflow DSLs such as Nextflow, WDL, or Snakemake.
Contents
From Research Question to Execution: Bridging the Semantic Gap in Science Automation with Agentic AI
1. TL;DR
2. Problem & Motivation: The Gap Between "Intent" and "Infrastructure"
3. Methodology: The Architecture of Trust
3.1. 1. The Three-Layer Stack
3.2. 2. The Multi-Agent Pipeline
4. Why "Skills" Matter
5. Experiments & Results
5.1. Significant Accuracy Boost
5.2. Deferred Generation: The 92% Saving
6. Critical Analysis & Conclusion
6.1. Takeaway
6.2. Limitations
6.3. Future Outlook