{"id":{"repo_id":"sjsu","oai_identifier":"oai:scholarworks.sjsu.edu:etd_theses-9344"},"canonical_url":"https://search.ndltd.org/etd/sjsu/oai:scholarworks.sjsu.edu:etd_theses-9344","repository":{"repo_id":"sjsu","name":"San Jose State University","base_url":"https://scholarworks.sjsu.edu/do/oai/"},"display":{"title":"Pipeline Optimization of Agentic LLMs for Text-to-SQL","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Conant, Peter"],"institution":null,"degree_name":"Master of Science (MS)","degree_level":null,"degree_discipline":"Computer Engineering","degree_department":null,"school":null,"contributors":["Bernardo Flores; Mahima Agumbe Suresh; Wencen Wu"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-26T14:04:08Z","subjects":["Computer Engineering","Engineering"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier","label":"Identifier","values":["https://scholarworks.sjsu.edu/etd_theses/5796"],"render_values":[{"text":"https://scholarworks.sjsu.edu/etd_theses/5796","href":"https://scholarworks.sjsu.edu/etd_theses/5796","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31979/etd.d78f-5ux6","outbound_label":"DOI","outbound_source":"dc:identifier","record_url":"https://doi.org/10.31979/etd.d78f-5ux6","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Asjsu%3Aoai%3Ascholarworks.sjsu.edu%3Aetd_theses-9344","prefix":"oai_dc"},"source_record":{"url":"https://scholarworks.sjsu.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Ascholarworks.sjsu.edu%3Aetd_theses-9344","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Bernardo Flores; Mahima Agumbe Suresh; Wencen Wu"]},{"key":"dc:creator","label":"Author","values":["Conant, Peter"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.created","label":"Dc Date Created","values":["2026-07-27T07:00:00Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Engineering"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (MS)"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer Engineering","Engineering"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://doi.org/10.31979/etd.d78f-5ux6","https://scholarworks.sjsu.edu/etd_theses/5796"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:title","label":"Title","values":["Pipeline Optimization of Agentic LLMs for Text-to-SQL"]}]}],"canonical_facts":{"dc:contributor":["Bernardo Flores; Mahima Agumbe Suresh; Wencen Wu"],"dc:creator":["Conant, Peter"],"dc:date.created":["2026-07-27T07:00:00Z"],"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."],"dc:identifier":["https://doi.org/10.31979/etd.d78f-5ux6","https://scholarworks.sjsu.edu/etd_theses/5796"],"dc:subject":["Computer Engineering","Engineering"],"dc:title":["Pipeline Optimization of Agentic LLMs for Text-to-SQL"],"dc:type":["Thesis"],"thesis:degree_discipline":["Computer Engineering"],"thesis:degree_name":["Master of Science (MS)"]},"updated_at":"2026-11-26T14:04:08Z"}