Exploring the potential of large language models (LLMs) in analyzing passengers’ perceptions of transit service quality

Public transit systems are essential to urban mobility, serving millions of daily commuters. To develop a more responsive, equitable, and efficient public transportation system, it is crucial for transportation planners and policymakers to gain a comprehensive understanding of the diverse travel experiences of transit users. Social media platforms offer valuable, continuous feedback, enabling transit providers to identify issues, make real-time adjustments, and plan long-term improvements. Recently, large language models (LLMs) have attracted significant attention in the urban planning field due to their exceptional performance in natural language processing (NLP) tasks. Using a Weibo dataset related to the Shenzhen metro system (2018–2019) in China, this study developed a two-stage analysis framework to evaluate LLMs’ capabilities in transit service management acting as customer experience analyst and transport planner respectively. We employed LLMs including GPT-3.5 and GPT-4o, utilizing zero-shot, few-shot, and chain-of-thought prompting techniques. Our findings demonstrate that LLMs consistently excel in the classification task and the policy recommendation task when benchmarked against the traditional Bag of Words (BOW) model. The systematic error analysis revealed three types of hallucinations: overthinking, contextual reasoning error, and ambiguity error. Despite these challenges, this research underscores the potential of LLMs in enhancing transit service quality assessment and emphasizes the importance of domain-specific expert rationale in designing prompts and interpreting results. Our study provides valuable insights for transportation planners aiming to leverage advanced NLP techniques for more responsive and data-driven service improvements.

Authors

Institutions

Publication Details

Journal
Environment and Planning B Urban Analytics and City Science
Published
2025-09-29
DOI
https://doi.org/10.1177/23998083251382840
Citations
1
Primary Topic
Transportation Planning and Optimization
Type
article
Field-Weighted Citation Impact
2.18
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploring the potential of large language models (LLMs) in analyzing passengers’ perceptions of transit service quality

Sylvia Y. He, Sisi Jian, Linqi Song, Shuli Luo et al.
1 citations
Environment and Planning B Urban Analytics and City Science
Transportation Planning and Optimization
2.18
article

Exploring the potential of large language models (LLMs) in analyzing passengers’ perceptions of transit service quality

Sylvia Y. He, Sisi Jian, Linqi Song, Shuli Luo, Yepeng Yao
article en
1 citations

Abstract

Public transit systems are essential to urban mobility, serving millions of daily commuters. To develop a more responsive, equitable, and efficient public transportation system, it is crucial for transportation planners and policymakers to gain a comprehensive understanding of the diverse travel experiences of transit users. Social media platforms offer valuable, continuous feedback, enabling transit providers to identify issues, make real-time adjustments, and plan long-term improvements. Recently, large language models (LLMs) have attracted significant attention in the urban planning field due to their exceptional performance in natural language processing (NLP) tasks. Using a Weibo dataset related to the Shenzhen metro system (2018–2019) in China, this study developed a two-stage analysis framework to evaluate LLMs’ capabilities in transit service management acting as customer experience analyst and transport planner respectively. We employed LLMs including GPT-3.5 and GPT-4o, utilizing zero-shot, few-shot, and chain-of-thought prompting techniques. Our findings demonstrate that LLMs consistently excel in the classification task and the policy recommendation task when benchmarked against the traditional Bag of Words (BOW) model. The systematic error analysis revealed three types of hallucinations: overthinking, contextual reasoning error, and ambiguity error. Despite these challenges, this research underscores the potential of LLMs in enhancing transit service quality assessment and emphasizes the importance of domain-specific expert rationale in designing prompts and interpreting results. Our study provides valuable insights for transportation planners aiming to leverage advanced NLP techniques for more responsive and data-driven service improvements.

Environment and Planning B Urban Analytics and City ScienceVol. 53(1)
City University of Hong Kong (HK), Chinese University of Hong Kong (HK), Hong Kong University of Science and Technology (HK), Government of Hong Kong (HK), Central Policy Unit (CN), Chinese University of Hong Kong, Shenzhen (CN)
Openalex Percentile: Top 10%
Transportation Planning and Optimization
2.18
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.