Pith. sign in

REVIEW 2 cited by

EllieSQL: Cost-Efficient Text-to-SQL with Complexity-Aware Routing

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2503.22402 v2 pith:RNCP7QNG submitted 2025-03-28 cs.DB cs.AIcs.CL

classification cs.DBcs.AIcs.CL
keywords text-to-sqlelliesqlperformanceapproachesqueriestokenadvancedcomplexity-aware
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

Text-to-SQL automatically translates natural language queries to SQL, allowing non-technical users to retrieve data from databases without specialized SQL knowledge. Despite the success of advanced LLM-based Text-to-SQL approaches on leaderboards, their unsustainable computational costs--often overlooked--stand as the "elephant in the room" in current leaderboard-driven research, limiting their economic practicability for real-world deployment and widespread adoption. To tackle this, we exploratively propose EllieSQL, a complexity-aware routing framework that assigns queries to suitable SQL generation pipelines based on estimated complexity. We investigate multiple routers to direct simple queries to efficient approaches while reserving computationally intensive methods for complex cases. Drawing from economics, we introduce the Token Elasticity of Performance (TEP) metric, capturing cost-efficiency by quantifying the responsiveness of performance gains relative to token investment in SQL generation. Experiments show that compared to always using the most advanced methods in our study, EllieSQL with the Qwen2.5-0.5B-DPO router reduces token use by over 40% without compromising performance on Bird development set, achieving more than a 2x boost in TEP over non-routing approaches. This not only advances the pursuit of cost-efficient Text-to-SQL but also invites the community to weigh resource efficiency alongside performance, contributing to progress in sustainable Text-to-SQL. Our source code and model are available at https://elliesql.github.io/.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. DataSpace: Benchmarking Data Agents for Verifiable Analytics over Heterogeneous Workspaces

    cs.AI 2026-08 conditional novelty 6.0 of 10

    A new heterogeneous-workspace benchmark for data agents, built from transformed Text-to-SQL tasks, with complete-table deterministic evaluation and a best measured accuracy of 66.34%.

  2. ReEx-SQL: Reasoning with Execution-Aware Reinforcement Learning for Text-to-SQL

    cs.CL 2025-05 conditional novelty 6.0 of 10

    An execution-aware reinforcement learning framework that interleaves intermediate SQL execution into the reasoning path improves text-to-SQL accuracy on Spider and BIRD at the 7B scale.

Pith tools