paper-with-me

Papers

ProSPy: A Profiling-Driven SQL-Python Agentic Framework for Enterprise Text-to-SQL

2026-06-04 · Zhaorui Yang, Huawei Zheng, Sen Yang, Yuhui Zhang, Haoxuan Li, Zhizhen Yu, Xuan Yi, Chen Hou, Defeng Xie, Chao Hu, Minfeng Zhu, Dazhen Deng, Haozhe Feng, Danqing Huang, Yingcai Wu, Peng Chen, Wei Chen arxiv

Large language models have substantially advanced Text-to-SQL systems, yet applying them to enterprise-scale databases remains challenging. Real-world databases often contain large and heterogeneous schemas, incomplete metadata, dialect-specific SQL syntax, and complex analytical questions that are difficult to solve with a single SQL query. To address these challenges, we propose ProSPy, a Profiling-driven SQL--Python agentic framework for enterprise-scale Text-to-SQL. ProSPy structures the reasoning process into four stages: it first extracts fine-grained data evidence through automatic profiling, progressively prunes large schemas into task-relevant contexts, fetches intermediate views through a dialect-agnostic SQL interface, and finally performs flexible downstream analysis with Python. This design combines the efficiency of SQL over large databases with the flexibility of Python-based analysis, while reducing reliance on unreliable metadata and improving robustness across SQL dialects. Experiments on Spider 2.0-Lite and Spider 2.0-Snow show that ProSPy consistently outperforms strong baselines with both open-source and proprietary models, achieving execution accuracies of 60.15% and 60.51% with Claude-4.5-Opus, without majority voting. Further analysis shows that ProSPy is robust to SQL dialect variations and achieves a favorable trade-off between schema recall and precision.

📄 PDF Abstract BibTeX arXiv:2606.05836

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Dissecting the SWE-Bench Leaderboards: Profiling Submitters and Architectures of LLM- and Agent-Based Repair Systems

2025-06-20 · Matias Martinez, Xavier Franch

The rapid progress in Automated Program Repair (APR) has been driven by advances in AI, particularly large language models (LLMs) and agent-based systems. SWE-Bench is a recent benchmark designed to evaluate LLM-based re…

Program Repair

stratum: A System Infrastructure for Massive Agent-Centric ML Workloads

2026-03-03 · Arnab Phani, Elias Strauss, Sebastian Schelter arxiv

Recent advances in large language models (LLMs) transform how machine learning (ML) pipelines are developed and evaluated. LLMs enable a new type of workload, agentic pipeline search, in which autonomous or semi-autonomo…

The Eye of Sherlock Holmes: Uncovering User Private Attribute Profiling via Vision-Language Model Agentic Framework

2025-05-25 · Feiran Liu, Yuzhe Zhang, Xinyi Huang, Yinan Peng 외

Our research reveals a new privacy risk associated with the vision-language model (VLM) agentic framework: the ability to infer sensitive attributes (e.g., age and health information) and even abstract ones (e.g., person…

AttributeLanguage ModelingLanguage ModellingVisual Reasoning

ProfiliTable: Profiling-Driven Tabular Data Processing via Agentic Workflows

2026-05-12 · Wei Liu, Yang Gu, Xi Yan, Zihan Nan 외 arxiv

Table processing-including cleaning, transformation, augmentation, and matching-is a foundational yet error-prone stage in real-world data pipelines. While recent LLM-based approaches show promise for automating such tas…

ProfilingAgent: Profiling-Guided Agentic Reasoning for Adaptive Model Optimization

2025-09-06 · Sadegh Jafari, Aishwarya Sarkar, Mohiuddin Bilwal, Ali Jannesari arxiv

Foundation models face growing compute and memory bottlenecks, hindering deployment on resource-limited platforms. While compression techniques such as pruning and quantization are widely used, most rely on uniform heuri…