paper-with-me

Papers

A Preview of XiYan-SQL: A Multi-Generator Ensemble Framework for Text-to-SQL

2024-11-13 · Yingqi Gao, Yifu Liu, Xiaoxia Li, Xiaorong Shi, Yin Zhu, Yiming Wang, Shiqi Li, Wei Li, Yuntao Hong, Zhiling Luo, Jinyang Gao, Liyu Mou, Yu Li

To tackle the challenges of large language model performance in natural language to SQL tasks, we introduce XiYan-SQL, an innovative framework that employs a multi-generator ensemble strategy to improve candidate generation. We introduce M-Schema, a semi-structured schema representation method designed to enhance the understanding of database structures. To enhance the quality and diversity of generated candidate SQL queries, XiYan-SQL integrates the significant potential of in-context learning (ICL) with the precise control of supervised fine-tuning. On one hand, we propose a series of training strategies to fine-tune models to generate high-quality candidates with diverse preferences. On the other hand, we implement the ICL approach with an example selection method based on named entity recognition to prevent overemphasis on entities. The refiner optimizes each candidate by correcting logical or syntactical errors. To address the challenge of identifying the best candidate, we fine-tune a selection model to distinguish nuances of candidate SQL queries. The experimental results on multiple dialect datasets demonstrate the robustness of XiYan-SQL in addressing challenges across different scenarios. Overall, our proposed XiYan-SQL achieves the state-of-the-art execution accuracy of 75.63% on Bird benchmark, 89.65% on the Spider test set, 69.86% on SQL-Eval, 41.20% on NL2GQL. The proposed framework not only enhances the quality and diversity of SQL queries but also outperforms previous methods.

📄 PDF Abstract BibTeX arXiv:2411.08599

Code (5)

XGenerationLab/XiYan-SQL 공식 구현
XGenerationLab/M-Schema
XGenerationLab/XiYan-DateResolver
xgenerationlab/xiyan-dbdescgen
xgenerationlab/xiyan_mcp_server pytorch

Tasks

DiversityIn-Context LearningLarge Language ModelNamed Entity RecognitionText to SQLText-To-SQL

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Adam 설명 없음

Similar Papers 제목 키워드 기반

XiYan-SQL: A Novel Multi-Generator Framework For Text-to-SQL

2025-07-07 · Yifu Liu, Yin Zhu, Yingqi Gao, Zhiling Luo 외

To leverage the advantages of LLM in addressing challenges in the Text-to-SQL task, we present XiYan-SQL, an innovative framework effectively generating and utilizing multiple SQL candidates. It consists of three compone…

Text to SQLText-To-SQL

Anycost GANs for Interactive Image Synthesis and Editing

2021-03-04 · CVPR 2021 1 · Ji Lin, Richard Zhang, Frieder Ganz, Song Han 외

Generative adversarial networks (GANs) have enabled photorealistic image synthesis and editing. However, due to the high computational cost of large-scale generators (e.g., StyleGAN2), it usually takes seconds to see the…

Image Generation

Building Mental Models through Preview of Autopilot Behaviors

2021-04-12 · Yuan Shen, Niviru Wijayaratne, Katherine Driggs-Campbell

Effective human-vehicle collaboration requires an appropriate un-derstanding of vehicle behavior for safety and trust. Improvingon our prior work by adding a future prediction module, we in-troduce our framework, calledA…

Future prediction

DeepReview: Improving LLM-based Paper Review with Human-like Deep Thinking Process

2025-03-11 · Minjun Zhu, Yixuan Weng, Linyi Yang, Yue Zhang

Large Language Models (LLMs) are increasingly utilized in scientific research assessment, particularly in automated paper review. However, existing LLM-based review systems face significant challenges, including limited …

Quantifying the Value of Preview Information for Safety Control

2023-03-19 · Zexiang Liu, Necmiye Ozay

Safety-critical systems, such as autonomous vehicles, often incorporate perception modules that can anticipate upcoming disturbances to system dynamics, expecting that such preview information can improve the performance…

Autonomous Vehicles