paper-with-me

Papers

Optimizing Small Language Models for NL2SQL via Chain-of-Thought Fine-Tuning

2026-03-24 · Anshul Solanki, Sanchit Latawa, Koushik Chakraborty, Navneet Kamboj arxiv

Translating Natural Language to SQL (NL2SQL) remains a critical bottleneck for democratization of data in enterprises. Although Large Language Models (LLMs) like Gemini 2.5 and other LLMs have demonstrated impressive zero-shot capabilities, their high inference costs limit deployment at scale. This paper explores the efficacy of fine-tuning both large and small language models on NL2SQL tasks. Our research reveals a counter-intuitive scaling phenomenon. Fine-tuning large models (Gemini 2.5 Flash/Lite) on standard datasets yields negligible returns, often leading to overfitting on complex queries. Conversely, small models (Qwen) show significant gains. Fine-tuning improved the small model baseline from 36% to 45%, and further enriching the dataset with explicit Chain-of-Thought (CoT) reasoning surged accuracy to 54.5%(Fig 2). While this is still lower than the accuracy of large models like Gemini 2.5 , it does serve the business goal of significant cost reduction, latency in inference time and also meeting the business critical performance accuracy threshold.This paper demonstrates that transferring reasoning patterns enables compute-efficient smaller models to approach production-grade performance.

📄 PDF Abstract BibTeX arXiv:2603.22942

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

D-COT: Disciplined Chain-of-Thought Learning for Efficient Reasoning in Small Language Models

2026-02-25 · Shunsuke Ubukata arxiv

Chain-of-Thought (CoT) distillation from Large Language Models (LLMs) often induces "overthinking" in Small Language Models (SLMs), leading to performance degradation and excessive token consumption. In this study, we pr…

Teaching Small Language Models to Reason

2022-12-16 · Lucie Charlotte Magister, Jonathan Mallinson, Jakub Adamek, Eric Malmi 외

Chain of thought prompting successfully improves the reasoning capabilities of large language models, achieving state of the art results on a range of datasets. However, these reasoning capabilities only appear to emerge…

GSM8KKnowledge Distillation

Unveiling the Key Factors for Distilling Chain-of-Thought Reasoning

2025-02-25 · Xinghao Chen, Zhijing Sun, Wenjin Guo, Miaoran Zhang 외

Large Language Models (LLMs) excel in reasoning tasks through Chain-of-Thought (CoT) prompting. However, CoT prompting greatly increases computational demands, which has prompted growing interest in distilling CoT capabi…

Symbolic Chain-of-Thought Distillation: Small Models Can Also "Think" Step-by-Step

2023-06-24 · Liunian Harold Li, Jack Hessel, Youngjae Yu, Xiang Ren 외

Chain-of-thought prompting (e.g., "Let's think step-by-step") primes large language models to verbalize rationalization for their predictions. While chain-of-thought can lead to dramatic performance gains, benefits appea…

Diversity

Reducing Reasoning Costs: The Path of Optimization for Chain of Thought via Sparse Attention Mechanism

2024-11-14 · Libo Wang

In order to address the chain of thought in the large language model inference cost surge, this research proposes to use a sparse attention mechanism that only focuses on a few relevant tokens. The researcher constructed…

Language ModelingLanguage ModellingLarge Language Model