ChatBI: Towards Natural Language to Complex Business Intelligence SQL
Not on the map. Why?
Abstract (arXiv)
The Natural Language to SQL (NL2SQL) technology provides non-expert users who are unfamiliar with databases the opportunity to use SQL for data analysis.Converting Natural Language to Business Intelligence (NL2BI) is a popular practical scenario for NL2SQL in actual production systems. Compared to NL2SQL, NL2BI introduces more challenges. In this paper, we propose ChatBI, a comprehensive and efficient technology for solving the NL2BI task. First, we analyze the interaction mode, an important module where NL2SQL and NL2BI differ in use, and design a smaller and cheaper model to match this interaction mode. In BI scenarios, tables contain a huge number of columns, making it impossible for existing NL2SQL methods that rely on Large Language Models (LLMs) for schema linking to proceed due to token limitations. The higher proportion of ambiguous columns in BI scenarios also makes schema linking difficult. ChatBI combines existing view technology in the database community to first decompose the schema linking problem into a Single View Selection problem and then uses a smaller and cheaper machine learning model to select the single view with a significantly reduced number of columns. The columns of this single view are then passed as the required columns for schema linking into the LLM. Finally, ChatBI proposes a phased process flow different from existing process flows, which allows ChatBI to generate SQL containing complex semantics and comparison relations more accurately. We have deployed ChatBI on Baidu's data platform and integrated it into multiple product lines for large-scale production task evaluation. The obtained results highlight its superiority in practicality, versatility, and efficiency. At the same time, compared with the current mainstream NL2SQL technology under our real BI scenario data tables and queries, it also achieved the best results.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). First posted on arXiv 1 May 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 2; 2025: 5; 2026: 2.
9 papers.
- 2025A Survey of Data Agents: Emerging Paradigm or Overstated Hype?cited by 30
- 2025Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errorscited by 14
- 2026Multi-Agent Debate with Memory Maskingcited by 8
- 2024DataLab: A Unified Platform for LLM-Powered Business Intelligencecited by 7
- 2024Evaluating and Enhancing LLMs for Multi-turn Text-to-SQL with Multiple Question Typescited by 3
- 2025WorkTeam: Constructing Workflows from Natural Language with Multi-Agentscited by 2
- 2025Datrics Text2SQL: A Framework for Natural Language to SQL Query Generationcited by 0
- 2025Bridging Global Intent with Local Details: A Hierarchical Representation Approach for Semantic Validation in Text-to-SQLcited by 0
- 2026RedParrot: Accelerating NL-to-DSL for Business Analytics via Query Semantic Cachingcited by 0
- 2026RedParrot: Accelerating NL-to-DSL for Business Analytics via Query Semantic Caching7 Mar 2026
- 2026Multi-Agent Debate with Memory Masking3 Mar 2026
- 2025Bridging Global Intent with Local Details: A Hierarchical Representation Approach for Semantic Validation in Text-to-SQL28 Dec 2025
- 2025A Survey of Data Agents: Emerging Paradigm or Overstated Hype?27 Oct 2025
- 2025Datrics Text2SQL: A Framework for Natural Language to SQL Query Generation3 Apr 2025
- 2025WorkTeam: Constructing Workflows from Natural Language with Multi-Agents28 Mar 2025
- 2025Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errors16 Jan 2025
- 2024Evaluating and Enhancing LLMs for Multi-turn Text-to-SQL with Multiple Question Types21 Dec 2024
- 2024DataLab: A Unified Platform for LLM-Powered Business Intelligence3 Dec 2024