paper-with-me

Papers

Towards Optimizing SQL Generation via LLM Routing

2024-11-06 · Mohammadhossein Malekpour, Nour Shaheen, Foutse khomh, Amine Mhedhbi

Text-to-SQL enables users to interact with databases through natural language, simplifying access to structured data. Although highly capable large language models (LLMs) achieve strong accuracy for complex queries, they incur unnecessary latency and dollar cost for simpler ones. In this paper, we introduce the first LLM routing approach for Text-to-SQL, which dynamically selects the most cost-effective LLM capable of generating accurate SQL for each query. We present two routing strategies (score- and classification-based) that achieve accuracy comparable to the most capable LLM while reducing costs. We design the routers for ease of training and efficient inference. In our experiments, we highlight a practical and explainable accuracy-cost trade-off on the BIRD dataset.

📄 PDF Abstract BibTeX arXiv:2411.04319

Code (0)

등록된 구현이 없습니다.

Tasks

Text to SQLText-To-SQL

Similar Papers 제목 키워드 기반

Optimizing Diversity and Quality through Base-Aligned Model Collaboration

2025-11-07 · Yichen Wang, Chenghao Yang, Tenghao Huang, Muhao Chen 외 arxiv

Alignment has greatly improved large language models (LLMs)' output quality at the cost of diversity, yielding highly similar outputs across generations, especially in open-ended generation tasks. We propose Base-Aligned…

Efficient and Interpretable Multi-Agent LLM Routing via Ant Colony Optimization

2026-03-13 · Xudong Wang, Chaoning Zhang, Jiaquan Zhang, Chenghao Li 외 arxiv

Large Language Model (LLM)-driven Multi-Agent Systems (MAS) have demonstrated strong capability in complex reasoning and tool use, and heterogeneous agent pools further broaden the quality--cost trade-off space. Despite …

Optimizing Inventory Routing: A Decision-Focused Learning Approach using Neural Networks

2023-11-02 · MD Shafikul Islam, Azmine Toushik Wasi

Inventory Routing Problem (IRP) is a crucial challenge in supply chain management as it involves optimizing efficient route selection while considering the uncertainty of inventory demand planning. To solve IRPs, usually…

Management

Routing for Large ML Models

2025-03-07 · Ofir Cohen, Jose Yallouz Michael Schapira, Shahar Belkar, Tal Mizrahi

Training large language models (LLMs), and other large machine learning models, involves repeated communication of large volumes of data across a data center network. The communication patterns induced by these training …

Optimizing Reasoning Efficiency through Prompt Difficulty Prediction

2025-11-05 · Bo Zhao, Berkcan Kapusuzoglu, Kartik Balasubramaniam, Sambit Sahu 외 arxiv

Reasoning language models perform well on complex tasks but are costly to deploy due to their size and long reasoning traces. We propose a routing approach that assigns each problem to the smallest model likely to solve …