An Intelligent Querying System for Educational Statistics Using Pre-trained and Large Language Models
Educational statistics play a crucial role in comprehending the current state of educational development and informing decision-making processes. However, traditional data querying systems, which heavily rely on precise SQL statements, often fail to adequately support non-expert users. To address these limitations, we propose an intelligent querying system that leverages a pre-trained language model and a large language model to facilitate natural language interactions for accessing educational statistical data. Our system consists of two main components: query element parsing and SQL statement generation. During the parsing phase, a fine-tuned PLM identifies and correlates relevant tables and elements from the database schema. In the subsequent generation phase, these matched tables and elements, along with the original query, are utilized by LLMs to generate SQL statements. This methodology improves the reliability of SQL generation while mitigating the complexities associated with prompt engineering and reducing the significant costs associated with LLM fine-tuning. The proposed system has been successfully implemented within relevant business units, demonstrating its practicality and effectiveness.
Authors
- Bing Yu (ORCID: https://orcid.org/0009-0004-7297-9307)
- Shengnan Chen (ORCID: https://orcid.org/0000-0002-1704-1007)
- Liping Song (ORCID: https://orcid.org/0000-0001-6558-3137)
- Zhen Liu (ORCID: https://orcid.org/0000-0001-8762-0664)
- Qifang Liu (ORCID: https://orcid.org/0000-0003-4444-4001)
- Bin He
Institutions
- Central China Normal University (CN)
- Fiberhome Technology Group (China) (CN)
Publication Details
- Published
- 2024-11-06
- DOI
- https://doi.org/10.1109/ieir62538.2024.10959865
- Primary Topic
- Educational Technology and Assessment
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Ministry of Education
- National Natural Science Foundation of China