This study shows Nabil improves text-to-SQL accuracy in various database engines, suggesting advancements in computational linguistics.
Human-database interaction is inevitable in intelligent system applications, and accurately converting user-entered natural language into database query language is a critical step. To improve the accuracy, generalization, and robustness of text-to-SQL, we propose Nabil (a model for natural language conversion query language based on brain-inspired computing technology and a large language model). This model first leverages the spatiotemporal encoding capabilities of spiking neural networks to capture semantic features of natural language, then fuses these features with those generated by a large language model. Finally, a champion model is designed to select the optimal query from multiple candidate SQLs. Experiments were conducted on three database engines, DuckDB, MySQL, and PostgreSQL, and the model’s effectiveness was verified on benchmark datasets such as BIRD. The results show that Nabil outperforms existing baseline methods in both execution accuracy and effective efficiency scores. Furthermore, our proposed normalization and syntax tree abstraction algorithms further enhance the champion model’s discriminative capabilities, providing new insights for text-to-SQL research.
No takes yet. Share an insight, caveat, or question.
Zhou et al. (2025) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: