paper-with-me

홈 › Papers

Do LLMs Align with My Task? Evaluating Text-to-SQL via Dataset Alignment

2025-10-06 · Davood Rafiei, Morgan Lindsay Heisler, Weiwei Zhang, Mohammadreza Pourreza, Yong Zhang arxiv

Supervised Fine-Tuning (SFT) is an effective method for adapting Large Language Models (LLMs) on downstream tasks. However, variability in training data can hinder a model's ability to generalize across domains. This paper studies the problem of dataset alignment for Natural Language to SQL (NL2SQL or text to SQL), examining how well SFT training data matches the structural characteristics of target queries and how this alignment impacts model performance. We hypothesize that alignment can be accurately estimated by comparing the distributions of structural SQL features across the training set, target data, and the model's predictions prior to SFT. Through comprehensive experiments on three large cross-domain NL2SQL benchmarks and multiple model families, we show that structural alignment is a strong predictor of fine-tuning success. When alignment is high, SFT yields substantial gains in accuracy and SQL generation quality; when alignment is low, improvements are marginal or absent. These findings highlight the importance of alignment-aware data selection for effective fine-tuning and generalization in NL2SQL tasks.

📄 PDF Abstract BibTeX arXiv:2510.04919

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

SubData: Bridging Heterogeneous Datasets to Enable Theory-Driven Evaluation of Political and Demographic Perspectives in LLMs

2024-12-21 · Leon Fröhling, Pietro Bernardelle, Gianluca Demartini

As increasingly capable large language models (LLMs) emerge, researchers have begun exploring their potential for subjective tasks. While recent work demonstrates that LLMs can be aligned with diverse human perspectives,…

Hate Speech Detection

InMind: Evaluating LLMs in Capturing and Applying Individual Human Reasoning Styles

2025-08-22 · Zizhen Li, Chuanhao Li, Yibin Wang, Qi Chen 외 arxiv

LLMs have shown strong performance on human-centric reasoning tasks. While previous evaluations have explored whether LLMs can infer intentions or detect deception, they often overlook the individualized reasoning styles…

MedAlign: A Clinician-Generated Dataset for Instruction Following with Electronic Medical Records

2023-08-27 · Scott L. Fleming, Alejandro Lozano, William J. Haberkorn, Jenelle A. Jindal 외

The ability of large language models (LLMs) to follow natural language instructions with human-level fluency suggests many opportunities in healthcare to reduce administrative burden and improve quality of care. However,…

2kInstruction FollowingQuestion AnsweringText Generation

A Comparative Study of Quality Evaluation Methods for Text Summarization

2024-06-30 · Huyen Nguyen, Haihua Chen, Lavanya Pobbathi, Junhua Ding

Evaluating text summarization has been a challenging task in natural language processing (NLP). Automatic metrics which heavily rely on reference summaries are not suitable in many situations, while human evaluation is t…

Text Summarization

On Evaluating LLM Alignment by Evaluating LLMs as Judges

2025-11-25 · Yixin Liu, Pengfei Liu, Arman Cohan arxiv

Alignment with human preferences is an important evaluation aspect of LLMs, requiring them to be helpful, honest, safe, and to precisely follow human instructions. Evaluating large language models' (LLMs) alignment typic…