Back to search

San Jose State University

Pipeline Optimization of Agentic LLMs for Text-to-SQL

Abstract

dc:description.abstract

Current database interfaces limit users’ interaction to those with technical skills, creating timely roadblocks for non-technical professionals. Text-to-SQL aims to simplify database interactions by translating natural language questions into database queries, but long-standing challenges like question understanding, question-schema linking, and SQL generation have held the field back. In the AI era, foundational LLMs prove to be very capable of question understanding SQL, perform well in Schema Linking, Generation, and Evaluation tasks. However the cost to run these model is a hurdle for many organization with low funds and resources. Text-to-SQL solutions often operate across large enterprise size databases with, and Text-to-SQL solutions will often feed in all available tables creating an impact on the per-token cost, latency, and throughput of these systems. In this paper we propose several method to reduce the cost of Text-to-SQL solutions by using smaller language models and reduce the number of table schema processed. We evaluate each method on the BIRD dataset observing GPU resources it takes up by models, its per-token cost in cloud systems, and latency. In the end we suggest ways to make Text-to-SQL more accessible.

Degree

thesis:*
Name thesis:degree_name
Master of Science (MS)
Discipline thesis:degree_discipline
Computer Engineering

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Conant, Peter
Contributors dc:contributor
  • Bernardo Flores; Mahima Agumbe Suresh; Wencen Wu

Subjects

dc:subject × 2

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
San Jose State University
Base URL
scholarworks.sjsu.edu/do/oai/
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Conant, Peter. Pipeline Optimization of Agentic LLMs for Text-to-SQL. https://doi.org/10.31979/etd.d78f-5ux6