ProcArena: A Multi-Scenario Benchmark for LLMs on Direct and Interactive PL/SQL Development from Natural Language

📅 2026-09-06
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文提出ProcArena,一个覆盖直接和交互模式的多场景基准,用于评估大语言模型从自然语言到PL/SQL开发的能力,揭示了现有模型在复杂场景下的局限性。
📝 Abstract
Large language models (LLMs) have shown strong potential for translating natural-language (NL) requirements into PL/SQL programs, attracting increasing attention from the database community. However, existing NL-to-PL/SQL efforts primarily focus on directly generating PL/SQL from complete NL requirements. In practice, PL/SQL development involves diverse scenarios, such as from-scratch development, code modification, debugging, and optimization, and may require either direct generation or multi-turn interaction. Yet, no comprehensive benchmark evaluates multi-scenario, direct and interactive, and multi-dialect NL-to-PL/SQL development. In this paper, we present ProcArena, an execution-based benchmark covering both Direct and Interactive modes. ProcArena comprises 3,998 executable tasks over 157 databases, spanning nine development subscenarios in PostgreSQL and Oracle. We construct challenging Direct tasks through Iterative Logic Enhancement and scenario-specific adapters, and derive paired Interactive tasks through Knowledge Integration and Requirement Perturbation while preserving executable targets. We further design a controlled Solver-User Simulator protocol that allows models to clarify user intent and inspect the database environment without exposing hidden execution feedback. Evaluating seven language models, we find that the best average scores are only 62.2% and 57.8% in Direct and Interactive, respectively, demonstrating that realistic NL-to-PL/SQL development remains challenging, particularly in interactive settings.
Problem

Research questions and friction points this paper is trying to address.

Natural Language to PL/SQL
Multi-Scenario
Interactive Development
Innovation

Methods, ideas, or system contributions that make the work stand out.

Multi-Scenario Benchmark
Direct and Interactive PL/SQL Development
Iterative Logic Enhancement
Knowledge Integration
Solver-User Simulator
H
Hang Zhang
Tsinghua University, Beijing, China
Chaokun Wang
Chaokun Wang
Tsinghua University
DatabaseMultimediaSocial Networks
Y
Yuzhi Pan
Tsinghua University, Beijing, China
Z
Ziyao Zhong
Tsinghua University, Beijing, China
Shuo Cao
Shuo Cao
University of Science and Technology of China,Shanghai Aritifcal Intelligence Laboratory,
Computer VisionLow-level visionLarge Multimodal Model
Yue Xue
Yue Xue
Northwestern Memorial Hospital
gastrointestinal/liver/pancreas pathology
Z
Zeyu Huang
Tsinghua University, Beijing, China
X
Xingwei Zhou
Tsinghua University, Beijing, China
F
Fang Niu
Tsinghua University, Beijing, China
B
Bofan Xie
Tsinghua University, Beijing, China
G
Guanchen Ge
Tsinghua University, Beijing, China
L
Leqi Zheng
Tsinghua University, Beijing, China
Ziyang Liu
Ziyang Liu
Research Fellow, Harvard Medical School; PhD, Tsinghua University
AI4BioGraph EmbeddingLarge Language Model
X
Xiannian Cao
Lenovo Group Limited, Beijing, China
P
Pengcheng Ge
Lenovo Group Limited, Beijing, China