Abstract
Mobility is a core challenge in the transition toward urban sustainability. However, implementing sustainable urban mobility plans often faces public resistance, partly due to a "participation gap" between policymakers and citizens. This study explores the use of deep learning-based sentiment analysis on Twitter data to gain deeper insights into public perceptions of mobility policy changes in Brussels. Analyzing 1,998 tweets using XLM-T and GPT-4, the researchers found that while contextual sentiment is difficult to capture, large language models (LLMs) offer significant potential for real-time policy feedback.
Introduction
Transitioning cities toward sustainable mobility—such as low-traffic neighborhoods (LTNs) and 30 km/h zones—often triggers intense public backlash. Traditionally, policymakers rely on travel surveys to gauge public opinion, but these are expensive, infrequent, and limited in scope. This paper addresses the "participation gap": the disconnect between policymakers and the silent majority of citizens. While social media offers real-time feedback, analyzing it is difficult because public sentiment is often "mismatched." For example, a tweet might express joy because a controversial bike lane was removed, which is a negative sentiment toward the mobility policy itself.
Methodology
The researchers compared two distinct deep learning architectures to analyze a custom-built dataset of 1,998 tweets collected between July 2019 and December 2022. The dataset covered major mobility policy changes in Brussels, including the "Good Move" regional plan, in French, Dutch, and English.
- XLM-T (Encoder-based): A multilingual model pre-trained on tweets, evaluated in both zero-shot and fine-tuned capacities.
- GPT-4 (Decoder-based): A generative model used with Clue And Reasoning Prompting (CARP), which asks the model to identify linguistic clues and reason through context before assigning a sentiment score.
A key methodological contribution is the distinction between General Sentiment (tone) and Mobility Change Sentiment (policy attitude).
Key Results and Insights
The study revealed several critical findings regarding model performance and public perception:
- The "Mismatch" Challenge: Approximately 30% of tweets had a tone that did not match the user's policy stance (e.g., sarcasm). GPT-4 proved significantly better at handling these cases, achieving 0.40 accuracy compared to XLM-T’s 0.18 (zero-shot).
- Performance: Fine-tuned XLM-T reached 0.67 accuracy, while zero-shot GPT-4 reached 0.66. This suggests LLMs are becoming "plug-and-play" tools for social science without requiring extensive domain-specific training.
- Public Sentiment Trends: Contrary to the "vocal minority" often highlighted in media coverage, Twitter data suggested that public sentiment toward the "Good Move" plan was not overwhelmingly negative.
As shown in the figure above, sentiment spikes often coincided with specific policy implementations, such as the start of new LTNs in the Brussels center (Events 4 and 5).
Conclusion
From a machine learning perspective, this research highlights the difficulty of recognizing contextual sentiment. However, the advancements in LLMs and the integration of user-generated content provide policymakers with a more comprehensive understanding of public sentiment. Future work suggests integrating these models into "Planning Support Systems" to provide real-time dashboards during infrastructure rollouts. While Twitter data is not a perfectly representative sample, it serves as a vital complement to traditional surveys in bridging the participation gap.
Summary updated