{"id":{"repo_id":"uiuc","oai_identifier":"oai:www.ideals.illinois.edu:2142/129497"},"canonical_url":"https://search.dev.ndltd.org/etd/uiuc/oai:www.ideals.illinois.edu:2142/129497","repository":{"repo_id":"uiuc","name":"University of Illinois - Urbana-Champaign","base_url":"https://www.ideals.illinois.edu/oai-pmh"},"display":{"title":"Towards transit data accessibility: Large language models and software tools for GTFS","abstract":"Submission published under a 24 month embargo labeled 'U of I Access', the embargo will last until 2027-05-01","abstract_html":"Submission published under a 24 month embargo labeled &#x27;U of I Access&#x27;, the embargo will last until 2027-05-01","abstract_has_math":false,"creators":["Devunuri, Saipraneeth"],"institution":"University of Illinois Urbana-Champaign","degree_name":"Ph.D.","degree_level":"Dissertation","degree_discipline":"Civil Engineering","degree_department":null,"school":null,"contributors":["Lehe, Lewis","Ouyang, Yanfeng","Meidani, Hadi","Talebpour, Alireza"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-03-06","date_published":"2025-03-06","updated_at":"2026-07-22T22:25:05Z","subjects":["GTFS","Public Transportation","Transit","Stops spacings","Large Language Models","Generative AI"],"languages":["en","eng"],"rights":["Copyright 2025 Saipraneeth Devunuri"],"rights_urls":[],"identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/2142/129497","outbound_label":"Handle","outbound_source":"dc:identifier"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Lehe, Lewis","Ouyang, Yanfeng","Meidani, Hadi","Talebpour, Alireza"]},{"key":"dc:creator","label":"Author","values":["Devunuri, Saipraneeth"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2025-03-06","2025-05"]},{"key":"dc:type","label":"Dc Type","values":["text","Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Civil Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Dissertation"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Ph.D."]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Illinois Urbana-Champaign"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["GTFS","Public Transportation","Transit","Stops spacings","Large Language Models","Generative AI"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["en","eng"]},{"key":"dc:rights","label":"Dc Rights","values":["Copyright 2025 Saipraneeth Devunuri"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://hdl.handle.net/2142/129497"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Submission published under a 24 month embargo labeled 'U of I Access', the embargo will last until 2027-05-01","The student, Saipraneeth Devunuri, accepted the attached license on 2025-03-03 at 16:40.","The student, Saipraneeth Devunuri, submitted this Dissertation for approval on 2025-03-03 at 16:50.","This Dissertation was approved for publication on 2025-03-06 at 10:23.","DSpace SAF Submission Ingestion Package generated from Vireo submission #21658 on 2025-10-19 at 19:14:20","In an era characterized by data-driven decision-making, the General Transit Feed Specification (GTFS) has emerged as a global standard for publishing public transit data, enabling unprecedented transparency and accessibility. Despite its widespread adoption, extracting and analyzing transit data from GTFS remains challenging due to its complexity, optional components, and varying agency adherence to the standard. This dissertation addresses these challenges by proposing new tools and methods that make transit data more accessible using software and large language model (LLM)-based techniques. The dissertation begins with a systematic survey of errors in GTFS data across 632 US transit feeds. Approximately 21% of the feeds contain at least one error. The analysis identifies the most common issues, with errors related to the optional \"shape_dist_traveled\" field accounting for the majority, and fare-related discrepancies forming a secondary cluster. The analysis also demonstrates the limits of identifying errors programmatically, showing that manual inspection is necessary to catch some of the most severe errors. Subsequently, this dissertation addresses the absence of tools for calculating bus stop spacings from GTFS feeds by introducing \"gtfs-segments,\" a Python package that computes summary statistics and visualizes spacing distributions. In addition, it establishes terminology and various weighting schemes for calculating stop spacing statistics. Using \"gtfs-segments,\" stop spacings were computed for 539 U.S. transit providers and 83 Canadian providers, while detailed statistics were produced for 30 U.S. providers, 10 Canadian providers, and a sample of 38 international providers. The analysis shows that different weighting schemes yield distinct \"average\" spacing values on both a hypothetical sample network and actual transit networks. Notably, the weighted spacings in the U.S. and Canada are narrower than those observed in other regions, yet remain broader than what references in the literature suggest from anecdotal evidence. GTFS data is intricate, comprising over 20 interlinked files with 250+ attributes, each having a description, presence condition, and data type. This dissertation investigates the potential of LLMs in extracting information from GTFS feeds by introducing the \"GTFS Semantics\" and \"GTFS Retrieval\" benchmarks to evaluate their comprehension and retrieval capabilities. Benchmarking ChatGPT (GPT-3.5 Turbo and GPT-4) reveals that LLMs exhibit a reasonable understanding of GTFS semantics and can perform \"simple\" extraction tasks by generating Python code. However, they are prone to hallucinations, particularly in distinguishing attribute-file associations and enumerated attribute types. Furthermore, this leads to poor performance on \"complex\" tasks that involve multiple files and attributes. The culmination of this dissertation is the creation of \"TransitGPT,\" a chatbot that leverages LLMs to answer natural language queries about GTFS data, such as \"What is the longest bus route in Chicago?\" TransitGPT helps guide the LLM to generate Python code that extracts and manipulates relevant transit data, which is then executed on a server hosting the GTFS feeds. This framework supports a wide range of tasks—including data retrieval, calculations, and interactive visualizations—without requiring users to have extensive knowledge of GTFS or programming. The LLMs are guided entirely by prompts (through prompt engineering techniques) without the need for fine-tuning or direct access to the feeds, allowing any LLM to serve as a drop-in replacement. Evaluations using GPT-4o and Claude-3.5-Sonnet on a benchmark dataset of 100 tasks demonstrate that TransitGPT significantly enhances the accessibility and usability of transit data, empowering planners, researchers, and the public with an intuitive interface for complex data analysis."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Towards transit data accessibility: Large language models and software tools for GTFS"]}]}],"canonical_facts":{"dc:contributor":["Lehe, Lewis","Ouyang, Yanfeng","Meidani, Hadi","Talebpour, Alireza"],"dc:creator":["Devunuri, Saipraneeth"],"dc:date":["2025-03-06","2025-05"],"dc:description":["Submission published under a 24 month embargo labeled 'U of I Access', the embargo will last until 2027-05-01","The student, Saipraneeth Devunuri, accepted the attached license on 2025-03-03 at 16:40.","The student, Saipraneeth Devunuri, submitted this Dissertation for approval on 2025-03-03 at 16:50.","This Dissertation was approved for publication on 2025-03-06 at 10:23.","DSpace SAF Submission Ingestion Package generated from Vireo submission #21658 on 2025-10-19 at 19:14:20","In an era characterized by data-driven decision-making, the General Transit Feed Specification (GTFS) has emerged as a global standard for publishing public transit data, enabling unprecedented transparency and accessibility. Despite its widespread adoption, extracting and analyzing transit data from GTFS remains challenging due to its complexity, optional components, and varying agency adherence to the standard. This dissertation addresses these challenges by proposing new tools and methods that make transit data more accessible using software and large language model (LLM)-based techniques. The dissertation begins with a systematic survey of errors in GTFS data across 632 US transit feeds. Approximately 21% of the feeds contain at least one error. The analysis identifies the most common issues, with errors related to the optional \"shape_dist_traveled\" field accounting for the majority, and fare-related discrepancies forming a secondary cluster. The analysis also demonstrates the limits of identifying errors programmatically, showing that manual inspection is necessary to catch some of the most severe errors. Subsequently, this dissertation addresses the absence of tools for calculating bus stop spacings from GTFS feeds by introducing \"gtfs-segments,\" a Python package that computes summary statistics and visualizes spacing distributions. In addition, it establishes terminology and various weighting schemes for calculating stop spacing statistics. Using \"gtfs-segments,\" stop spacings were computed for 539 U.S. transit providers and 83 Canadian providers, while detailed statistics were produced for 30 U.S. providers, 10 Canadian providers, and a sample of 38 international providers. The analysis shows that different weighting schemes yield distinct \"average\" spacing values on both a hypothetical sample network and actual transit networks. Notably, the weighted spacings in the U.S. and Canada are narrower than those observed in other regions, yet remain broader than what references in the literature suggest from anecdotal evidence. GTFS data is intricate, comprising over 20 interlinked files with 250+ attributes, each having a description, presence condition, and data type. This dissertation investigates the potential of LLMs in extracting information from GTFS feeds by introducing the \"GTFS Semantics\" and \"GTFS Retrieval\" benchmarks to evaluate their comprehension and retrieval capabilities. Benchmarking ChatGPT (GPT-3.5 Turbo and GPT-4) reveals that LLMs exhibit a reasonable understanding of GTFS semantics and can perform \"simple\" extraction tasks by generating Python code. However, they are prone to hallucinations, particularly in distinguishing attribute-file associations and enumerated attribute types. Furthermore, this leads to poor performance on \"complex\" tasks that involve multiple files and attributes. The culmination of this dissertation is the creation of \"TransitGPT,\" a chatbot that leverages LLMs to answer natural language queries about GTFS data, such as \"What is the longest bus route in Chicago?\" TransitGPT helps guide the LLM to generate Python code that extracts and manipulates relevant transit data, which is then executed on a server hosting the GTFS feeds. This framework supports a wide range of tasks—including data retrieval, calculations, and interactive visualizations—without requiring users to have extensive knowledge of GTFS or programming. The LLMs are guided entirely by prompts (through prompt engineering techniques) without the need for fine-tuning or direct access to the feeds, allowing any LLM to serve as a drop-in replacement. Evaluations using GPT-4o and Claude-3.5-Sonnet on a benchmark dataset of 100 tasks demonstrate that TransitGPT significantly enhances the accessibility and usability of transit data, empowering planners, researchers, and the public with an intuitive interface for complex data analysis."],"dc:format":["application/pdf"],"dc:identifier":["https://hdl.handle.net/2142/129497"],"dc:language":["en","eng"],"dc:rights":["Copyright 2025 Saipraneeth Devunuri"],"dc:subject":["GTFS","Public Transportation","Transit","Stops spacings","Large Language Models","Generative AI"],"dc:title":["Towards transit data accessibility: Large language models and software tools for GTFS"],"dc:type":["text","Thesis"],"thesis:degree_discipline":["Civil Engineering"],"thesis:degree_level":["Dissertation"],"thesis:degree_name":["Ph.D."],"thesis:institution_name":["University of Illinois Urbana-Champaign"]},"updated_at":"2026-07-22T22:25:05Z"}