IDEAS home Printed from https://ideas.repec.org/a/sae/envirb/v53y2026i1p90-106.html

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

Author

Listed:
  • Shuli Luo
  • Sylvia Y. He
  • Linqi Song
  • Sisi Jian
  • Yepeng Yao

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.

Suggested Citation

  • Shuli Luo & Sylvia Y. He & Linqi Song & Sisi Jian & Yepeng Yao, 2026. "Exploring the potential of large language models (LLMs) in analyzing passengers’ perceptions of transit service quality," Environment and Planning B, , vol. 53(1), pages 90-106, January.
  • Handle: RePEc:sae:envirb:v:53:y:2026:i:1:p:90-106
    DOI: 10.1177/23998083251382840
    as

    Download full text from publisher

    File URL: https://journals.sagepub.com/doi/10.1177/23998083251382840
    Download Restriction: no

    File URL: https://libkey.io/10.1177/23998083251382840?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Line, Tilly & Chatterjee, Kiron & Lyons, Glenn, 2010. "The travel behaviour intentions of young people in the context of climate change," Journal of Transport Geography, Elsevier, vol. 18(2), pages 238-246.
    2. N. Nima Haghighi & Xiaoyue Cathy Liu & Ran Wei & Wenwen Li & Hu Shao, 2018. "Using Twitter data for transit performance assessment: a framework for evaluating transit riders’ opinions about quality of service," Public Transport, Springer, vol. 10(2), pages 363-377, August.
    3. Luo, Shuli & He, Sylvia Y. & Grant-Muller, Susan & Song, Linqi, 2023. "Influential factors in customer satisfaction of transit services: Using crowdsourced data to capture the heterogeneity across individuals, space and time," Transport Policy, Elsevier, vol. 131(C), pages 173-183.
    4. Saipraneeth Devunuri & Shirin Qiam & Lewis J. Lehe, 2024. "ChatGPT for GTFS: benchmarking LLMs on GTFS semantics... and retrieval," Public Transport, Springer, vol. 16(2), pages 333-357, June.
    5. He, Sylvia Y. & Thøgersen, John, 2017. "The impact of attitudes and perceptions on travel mode choice and car ownership in a Chinese megacity: The case of Guangzhou," Research in Transportation Economics, Elsevier, vol. 62(C), pages 57-67.
    6. Currie, Graham & Fournier, Nicholas, 2020. "Valuing public transport customer experience infrastructure–A review of methods & application," Research in Transportation Economics, Elsevier, vol. 83(C).
    7. Michael Batty, 2023. "A new kind of search," Environment and Planning B, , vol. 50(3), pages 575-578, March.
    8. Luo, Shuli & He, Sylvia Y., 2021. "Understanding gender difference in perceptions toward transit services across space and time: A social media mining approach," Transport Policy, Elsevier, vol. 111(C), pages 63-73.
    9. Lisa Schweitzer, 2014. "Planning and Social Media: A Case Study of Public Transit and Stigma on Twitter," Journal of the American Planning Association, Taylor & Francis Journals, vol. 80(3), pages 218-238, July.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Luo, Shuli & He, Sylvia Y. & Grant-Muller, Susan & Song, Linqi, 2023. "Influential factors in customer satisfaction of transit services: Using crowdsourced data to capture the heterogeneity across individuals, space and time," Transport Policy, Elsevier, vol. 131(C), pages 173-183.
    2. Shuli Luo & Sylvia Y He, 2021. "Using data mining to explore the spatial and temporal dynamics of perceptions of metro services in China: The case of Shenzhen," Environment and Planning B, , vol. 48(3), pages 449-466, March.
    3. Eldeeb, Gamal & Sears, Sean & Mohamed, Moataz, 2023. "What do users want from transit? Qualitative analysis of current and potential users' perceptions," Transportation Research Part A: Policy and Practice, Elsevier, vol. 171(C).
    4. Wandelt, Sebastian & Zhang, Anming & Antoniou, Constantinos & Budd, Lucy & Castro-Nuno, Mercedes & Ding, Yida & Eliasson, Jonas & Goessling, Stefan & He, Sylvia Y. & Ison, Stephen & Jiang, Changmin & , 2025. "The Hitchhiker’s Guide to challenges in transport policy research: Towards ANSWERing questions regarding life, mobility, and everything," Transportation Research Part A: Policy and Practice, Elsevier, vol. 200(C).
    5. Fu, Yuan & Wu, Junlin & Barbrook-Johnson, Pete & Wen, Peihan, 2025. "Evaluating social perceptions and diffusion networks of green travel: A case of China with Weibo," Transport Policy, Elsevier, vol. 169(C), pages 9-25.
    6. Luo, Shuli & He, Sylvia Y., 2021. "Understanding gender difference in perceptions toward transit services across space and time: A social media mining approach," Transport Policy, Elsevier, vol. 111(C), pages 63-73.
    7. Chenyang Wu & Scott Le Vine & Elizabeth Bengel & Jason Czerwinski & John Polak, 2022. "Sentiment analysis of popular-music references to automobiles, 1950s to 2010s," Transportation, Springer, vol. 49(2), pages 641-678, April.
    8. Wenwen Zhang & Camille Barchers & Janille Smith-Colin, 2023. "Transit communication via Twitter during the COVID-19 pandemic," Environment and Planning B, , vol. 50(5), pages 1244-1261, June.
    9. Hussain, Atif & Shafiq, Adnan & Awan, Muhammad Usman & Hashmi, Junaid Iqbal, 2025. "A text mining study of online reviews to understand intercity bus service quality," Transport Policy, Elsevier, vol. 162(C), pages 325-335.
    10. Cui, Qinyu & Zhang, Yan & Ma, Haoran & Zhang, Kaihan & Peng, Jinhan & Chen, Zemu & Lin, Peiqun & Lin, Zhenhong, 2025. "How about electric vehicle? Sensing owners’ experiences and attitudes through online short video," Transport Policy, Elsevier, vol. 167(C), pages 1-15.
    11. Irina Wedel & Michael Palk & Stefan Voß, 2022. "A Bilingual Comparison of Sentiment and Topics for a Product Event on Twitter," Information Systems Frontiers, Springer, vol. 24(5), pages 1635-1646, October.
    12. Busco, Carolina & González, Felipe & Walters, Jeffrey P. & Rozas, Katherine, 2025. "A system analysis of gender-based perceptions of transportation security in the Valparaiso region of Chile," Journal of Transport Geography, Elsevier, vol. 126(C).
    13. Sarker, Rumana Islam & Kaplan, Sigal & Mailer, Markus & Timmermans, Harry J.P., 2019. "Applying affective event theory to explain transit users’ reactions to service disruptions," Transportation Research Part A: Policy and Practice, Elsevier, vol. 130(C), pages 593-605.
    14. Jaroslav Burian & Lenka Zajíčková & Igor Ivan & Karel Macků, 2018. "Attitudes and Motivation to Use Public or Individual Transport: A Case Study of Two Middle-Sized Cities," Social Sciences, MDPI, vol. 7(6), pages 1-25, May.
    15. He, Sylvia Y. & Tao, Sui & Sun, Ka Kit, 2024. "Attitudes towards public transport under extended disruptions and massive-scale transit dysfunction: A Hong Kong case study," Transport Policy, Elsevier, vol. 149(C), pages 247-258.
    16. Oliveira, Renata Lúcia Magalhães de & Dablanc, Laetitia & Schorung, Matthieu, 2022. "Changes in warehouse spatial patterns and rental prices: Are they related? Exploring the case of US metropolitan areas," Journal of Transport Geography, Elsevier, vol. 104(C).
    17. Sonja E. Forward, 2019. "Views on Public Transport and How Personal Experiences Can Contribute to a More Positive Attitude and Behavioural Change," Social Sciences, MDPI, vol. 8(2), pages 1-23, February.
    18. Sovacool, Benjamin K. & Kester, Johannes & Heida, Vimke, 2019. "Cars and kids: Childhood perceptions of electric vehicles and sustainable transport in Denmark and the Netherlands," Technological Forecasting and Social Change, Elsevier, vol. 144(C), pages 182-192.
    19. Nader Afzalan & Thomas Sanchez, 2017. "Testing the Use of Crowdsourced Information: Case Study of Bike-Share Infrastructure Planning in Cincinnati, Ohio," Urban Planning, Cogitatio Press, vol. 2(3), pages 33-44.
    20. Andrew Mondschein, 2015. "Five-star transportation: using online activity reviews to examine mode choice to non-work destinations," Transportation, Springer, vol. 42(4), pages 707-722, July.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:sae:envirb:v:53:y:2026:i:1:p:90-106. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: SAGE Publications (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.