Synthesizing Text-to-SQL Data from Weak and Strong LLMs
Yang, Jiaxi, Hui, Binyuan, Yang, Min, Yang, Jian, Lin, Junyang, Zhou, Chang
–arXiv.org Artificial Intelligence
The capability gap between open-source and closed-source large language models (LLMs) remains a challenge in text-to-SQL tasks. In this paper, we introduce a synthetic data approach that combines data produced by larger, more powerful models (strong models) with error information data generated by smaller, not well-aligned models (weak models). The method not only enhances the domain generalization of text-to-SQL models but also explores the potential of error data supervision through preference learning. Furthermore, we employ the synthetic data approach for instruction tuning on open-source LLMs, resulting SENSE, a specialized text-to-SQL model. The effectiveness of SENSE is demonstrated through state-of-the-art results on the SPIDER and BIRD benchmarks, bridging the performance gap between open-source models and methods prompted by closed-source models.
arXiv.org Artificial Intelligence
Aug-6-2024
- Country:
- Africa > Angola (0.04)
- North America
- United States (0.14)
- Aruba (0.04)
- Canada > Ontario
- Toronto (0.04)
- Europe
- Netherlands (0.04)
- Germany (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Asia
- Singapore (0.04)
- Afghanistan (0.04)
- Myanmar > Tanintharyi Region
- Dawei (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- China > Guangdong Province
- Shenzhen (0.04)
- Genre:
- Research Report (0.82)
- Technology: