kRAIG:一种基于自然语言的自动化数据Ops流水线生成代理
kRAIG: A Natural Language-Driven Agent for Automated DataOps Pipeline Generation
AI总结:
kRAIG通过ReQuesAct框架明确用户意图,利用检索增强的工具合成过程生成KFP流水线,提升数据提取和加载的成功率及转换准确性。
摘要:
现代机器学习系统依赖复杂的数据显示工程工作流来提取、转换和加载(ELT)数据到生产流水线。然而,构建这些流水线仍然耗时且需要大量数据基础设施和编排框架的专业知识。最近大型语言模型(LLM)代理的进展为自动化这些工作流提供了潜在路径,但现有方法在用户意图不明确、工具生成不可靠和可执行输出保证有限方面存在困难。我们引入kRAIG,一种将自然语言规范转换为生产就绪的Kubeflow Pipelines(KFP)的AI代理。为解决用户意图的模糊性,我们提出了ReQuesAct(推理、提问、行动)交互框架,在流水线合成之前明确澄清意图。系统协调端到端的数据移动,从多样化来源生成任务特定的转换组件,通过检索增强的工具合成过程。为确保数据质量和安全性,kRAIG整合了基于LLM的验证阶段,在执行前验证流水线完整性。我们的框架在提取和加载成功率方面比最先进的代理基线提高了3倍,在转换准确性方面提高了25%。这些改进表明,具有明确意图澄清和验证的结构化代理工作流显著提高了自动化数据工程流水线的可靠性和可执行性。
英文摘要:
Modern machine learning systems rely on complex data engineering workflows to extract, transform, and load (ELT) data into production pipelines. However, constructing these pipelines remains time-consuming and requires substantial expertise in data infrastructure and orchestration frameworks. Recent advances in large language model (LLM) agents offer a potential path toward automating these workflows, but existing approaches struggle with under-specified user intent, unreliable tool generation, and limited guarantees of executable outputs. We introduce kRAIG, an AI agent that translates natural language specifications into production-ready Kubeflow Pipelines (KFP). To resolve ambiguity in user intent, we propose ReQuesAct (Reason, Question, Act), an interaction framework that explicitly clarifies intent prior to pipeline synthesis. The system orchestrates end-to-end data movement from diverse sources and generates task-specific transformation components through a retrieval-augmented tool synthesis process. To ensure data quality and safety, kRAIG incorporates LLM-based validation stages that verify pipeline integrity prior to execution. Our framework achieves a 3x improvement in extraction and loading success and a 25 percent increase in transformation accuracy compared to state-of-the-art agentic baselines. These improvements demonstrate that structured agent workflows with explicit intent clarification and validation significantly enhance the reliability and executability of automated data engineering pipelines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。