Exploring the potential of large language models (LLMs) in analyzing passengers’ perceptions of transit service quality
Shuli Luo,
Sylvia Y. He,
Linqi Song,
Sisi Jian and
Yepeng Yao
Environment and Planning B, 2026, vol. 53, issue 1, 90-106
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.
Keywords: transit service quality; metro system; large language models; natural language processing; social media (search for similar items in EconPapers)
Date: 2026
References: Add references at CitEc
Citations:
Downloads: (external link)
https://journals.sagepub.com/doi/10.1177/23998083251382840 (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:sae:envirb:v:53:y:2026:i:1:p:90-106
DOI: 10.1177/23998083251382840
Access Statistics for this article
More articles in Environment and Planning B
Bibliographic data for series maintained by SAGE Publications ().