paper-with-me

Papers

BAPPA: Benchmarking Agents, Plans, and Pipelines for Automated Text-to-SQL Generation

2025-11-06 · Fahim Ahmed, Md Mubtasim Ahasan, Jahir Sadik Monon, Muntasir Wahed, M Ashraful Amin, A K M Mahbubur Rahman, Amin Ahsan Ali arxiv

Text-to-SQL systems provide a natural language interface that can enable even laymen to access information stored in databases. However, existing Large Language Models (LLM) struggle with SQL generation from natural instructions due to large schema sizes and complex reasoning. Prior work often focuses on complex, somewhat impractical pipelines using flagship models, while smaller, efficient models remain overlooked. In this work, we explore three multi-agent LLM pipelines, with systematic performance benchmarking across a range of small to large open-source models: (1) Multi-agent discussion pipeline, where agents iteratively critique and refine SQL queries, and a judge synthesizes the final answer; (2) Planner-Coder pipeline, where a thinking model planner generates stepwise SQL generation plans and a coder synthesizes queries; and (3) Coder-Aggregator pipeline, where multiple coders independently generate SQL queries, and a reasoning agent selects the best query. Experiments on the Bird-Bench Mini-Dev set reveal that Multi-Agent discussion can improve small model performance, with up to 10.6% increase in Execution Accuracy for Qwen2.5-7b-Instruct seen after three rounds of discussion. Among the pipelines, the LLM Reasoner-Coder pipeline yields the best results, with DeepSeek-R1-32B and QwQ-32B planners boosting Gemma 3 27B IT accuracy from 52.4% to the highest score of 56.4%. Codes are available at https://github.com/treeDweller98/bappa-sql.

📄 PDF Abstract BibTeX arXiv:2511.04153

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Instrumentation and Analysis of Native ML Pipelines via Logical Query Plans

2024-07-10 · Stefan Grafberger

Machine Learning (ML) is increasingly used to automate impactful decisions, which leads to concerns regarding their correctness, reliability, and fairness. We envision highly-automated software platforms to assist data s…

Fairness

On Computing Plans with Uniform Action Costs

2024-02-15 · Alberto Pozanco, Daniel Borrajo, Manuela Veloso

In many real-world planning applications, agents might be interested in finding plans whose actions have costs that are as uniform as possible. Such plans provide agents with a sense of stability and predictability, whic…

SPIO: Ensemble and Selective Strategies via LLM-Based Multi-Agent Planning in Automated Data Science

2025-03-30 · Wonduk Seo, Juhyeon Lee, Yi Bu

Large Language Models (LLMs) have revolutionized automated data analytics and machine learning by enabling dynamic reasoning and adaptability. While recent approaches have advanced multi-stage pipelines through multi-age…

Feature Engineering

The importance of evaluating the complete automated knowledge-based planning pipeline

2019-10-31 · Aaron Babier, Rafid Mahmood, Andrea L. McNiven, Adam Diamant 외

We determine how prediction methods combine with optimization methods in two-stage knowledge-based planning (KBP) pipelines to produce radiation therapy treatment plans. We trained two dose prediction methods, a generati…

Generative Adversarial NetworkPrediction

Merging plans with incomplete knowledge about actions and goals through an agent-based reputation system

2024-01-29 · Javier Carbo, Jose M Molina, Miguel A Patricio

Managing transition plans is one of the major problems of people with cognitive disabilities. Therefore, finding an automated way to generate such plans would be a helpful tool for this community. In this paper we have s…