Measuring urban security perception in transport from social media data to inform transport network models: A case study for Milan in 2019 and New York City in 2021
Urban security perception is a critical, yet understudied factor of the adequacy dimension of transport poverty. This study investigates the potential of geo-social media data to assess perceived security in urban transport networks across European cities. Using over one million geo-referenced X microblogging posts from Milan (2019) and 12 million from New York City (2021), we applied a multi-stage Natural Language Processing (NLP) pipeline, including emotion and sentiment analysis and a few-shot semantic classifier, to detect posts expressing fear and insecurity, particularly related to women’s urban mobility. These indicators were spatially aggregated and compared against reference datasets on security perception and reported crimes. Results reveal distinct spatial patterns: Milan exhibited centralised posting with sparse, artefact-prone peripheral signals, while New York City showed more dispersed clusters in areas like the Bronx, Brooklyn, and Queens. However, correlations with ground-truth security data were consistently weak (Pearson’s r < 0.07), limiting social media’s reliability as a proxy for city-wide perceptions. Supplementary analysis of geo-referenced Google Maps reviews in Milan identified higher relevance of perceived security concerns in specific place types, such as parks and public transport locations, but revealed low overall confidence scores using the social media-based models. While geo-social media offer scalable, low-cost insights, limitations in spatial granularity, platform-dependent posting behavior, and demographic bias underscore the need for refined methodologies and multimodal data integration in future research.
Authors
- Federico Messa (ORCID: https://orcid.org/0000-0001-7479-119X)
- Lamia Abdelfattah (ORCID: https://orcid.org/0009-0003-2069-4580)
- Bernd Resch (ORCID: https://orcid.org/0000-0002-2233-6926)
- Giulia Ceccarelli (ORCID: https://orcid.org/0000-0002-6511-1217)
- Andrea Gorrini (ORCID: https://orcid.org/0000-0002-8086-9149)
- David Hanny (ORCID: https://orcid.org/0009-0004-8017-0786)
- Alessandro Giordano
Institutions
- Transport Canada (CA)
- Joint Research Centre (NL)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2025-12-22
- DOI
- https://doi.org/10.5281/zenodo.18017340
- Primary Topic
- Human Mobility and Location-Based Analysis
- Type
- article
- Field-Weighted Citation Impact
- 0.00