Storing verified corrected text-to-SQL queries in a per-database bank improves held-out first-attempt accuracy by 4.34 percentage points, capturing 44.4% of on-demand repair headroom.
RubikSQL: Lifelong Learning Agentic Knowledge Base as an Industrial NL2SQL System
1 Pith paper cite this work. Polarity classification is still indexing.
abstract
We present RubikSQL, a novel NL2SQL system designed to address key challenges in real-world enterprise-level NL2SQL, such as implicit intents and domain-specific terminology. RubikSQL frames NL2SQL as a lifelong learning task, demanding both Knowledge Base (KB) maintenance and SQL generation. RubikSQL systematically builds and refines its KB through techniques including database profiling, structured information extraction, agentic rule mining, and Chain-of-Thought (CoT)-enhanced SQL profiling. RubikSQL then employs a multi-agent workflow to leverage this curated KB, generating accurate SQLs. RubikSQL achieves SOTA performance on both the KaggleDBQA and BIRD Mini-Dev datasets. Finally, we release the RubikBench benchmark, a new benchmark specifically designed to capture vital traits of industrial NL2SQL scenarios, providing a valuable resource for future research.
citation-role summary
citation-polarity summary
fields
cs.CL 1years
2026 1verdicts
ACCEPT 1roles
background 1polarities
unclear 1representative citing papers
citing papers explorer
-
From Test-Time Scaling to Reusable Memory: Measuring Crystallization in Text-to-SQL
Storing verified corrected text-to-SQL queries in a per-database bank improves held-out first-attempt accuracy by 4.34 percentage points, capturing 44.4% of on-demand repair headroom.