English

Classifier-Augmented Generation for Structured Workflow Prediction

Computation and Language 2025-10-16 v1 Artificial Intelligence Databases Machine Learning

Abstract

ETL (Extract, Transform, Load) tools such as IBM DataStage allow users to visually assemble complex data workflows, but configuring stages and their properties remains time consuming and requires deep tool knowledge. We propose a system that translates natural language descriptions into executable workflows, automatically predicting both the structure and detailed configuration of the flow. At its core lies a Classifier-Augmented Generation (CAG) approach that combines utterance decomposition with a classifier and stage-specific few-shot prompting to produce accurate stage predictions. These stages are then connected into non-linear workflows using edge prediction, and stage properties are inferred from sub-utterance context. We compare CAG against strong single-prompt and agentic baselines, showing improved accuracy and efficiency, while substantially reducing token usage. Our architecture is modular, interpretable, and capable of end-to-end workflow generation, including robust validation steps. To our knowledge, this is the first system with a detailed evaluation across stage prediction, edge layout, and property generation for natural-language-driven ETL authoring.

Keywords

Cite

@article{arxiv.2510.12825,
  title  = {Classifier-Augmented Generation for Structured Workflow Prediction},
  author = {Thomas Gschwind and Shramona Chakraborty and Nitin Gupta and Sameep Mehta},
  journal= {arXiv preprint arXiv:2510.12825},
  year   = {2025}
}

Comments

Accepted at EMNLP 2025

R2 v1 2026-07-01T06:37:18.371Z