Invisible Walls in Cities: Designing LLM Agent to Predict Urban Segregation Experience with Social Media Content
On the map: LLM agents and tool use → Social simulation and multi-agent debate
Abstract (arXiv)
Understanding experienced segregation in urban daily life is crucial for addressing societal inequalities and fostering inclusivity. The abundance of user-generated reviews on social media encapsulates nuanced perceptions and feelings associated with different places, offering rich insights into segregation. However, leveraging this data poses significant challenges due to its vast volume, ambiguity, and confluence of diverse perspectives. To tackle these challenges, we propose a novel Large Language Model (LLM) agent to automate online review mining for segregation prediction. Specifically, we propose a reflective LLM coder to digest social media content into insights consistent with real-world feedback, and eventually produce a codebook capturing key dimensions that signal segregation experience, such as cultural resonance and appeal, accessibility and convenience, and community engagement and local involvement. Guided by the codebook, LLMs can generate both informative review summaries and ratings for segregation prediction. Moreover, we design a REasoning-and-EMbedding (RE'EM) framework, which combines the reasoning and embedding capabilities of language models to integrate multi-channel features for segregation prediction. Experiments on real-world data demonstrate that our agent substantially improves prediction accuracy, with a 22.79% elevation in R2 and a 9.33% reduction in MSE. The derived codebook is generalizable across three different cities, consistently improving prediction accuracy. Moreover, our user study confirms that the codebook-guided summaries provide cognitive gains for human participants in perceiving places of interest (POIs)' social inclusiveness. Our study marks an important step toward understanding implicit social barriers and inequalities, demonstrating the great potential of promoting social inclusiveness with Web technology.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Social simulation and multi-agent debate, one of 16 directions in LLM agents and tool use. Builds on 10 of its 38 references that are in the map. First posted on arXiv 17 Feb 2025.
Builds on
10 of 38 references.
References · 10
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2017Graph Attention Networkscited by 8,854
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
- 2023LLM-in-the-loop: Leveraging Large Language Model for Thematic Analysiscited by 70
- 2015Understanding Mobile Traffic Patterns of Large Scale Cellular Towers in Urban Environmentcited by 18
- 2013The Geography of Happiness: Connecting Twitter sentiment and expression, demographics, and objective characteristics of placecited by 4
- 2020Facebook Ads as a Demographic Tool to Measure the Urban-Rural Dividecited by 3
- 2023Lady and the Tramp Nextdoor: Online Manifestations of Economic Inequalities in the Nextdoor Social Networkcited by 3
- 2024Toward satisfactory public accessibility: A crowdsourcing approach through online reviews to inclusive urban designcited by 1
- 2024Shorter Is Different: Characterizing the Dynamics of Short-Form Video Platformscited by 1
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024Harnessing the Synergy between LLM Agents and Knowledge Graphs for Urban Socioeconomic Prediction
- 2024COMMUNITY-CROSS-INSTRUCT: Unsupervised Instruction Generation for Aligning Large Language Models to Online Communities
- 2025SoMe: A Realistic Benchmark for LLM-based Social Media Agents
- 2025LLMs Between the Nodes: Community Discovery Beyond Vectors
- 2026Diverse by Reasoning: Harnessing the Wisdom of LLM Crowds for Future Prediction
- 2025LocalBench: Benchmarking LLMs on County-Level Local Knowledge and Reasoning
- 2026LLM Agents Predict Social Media Reactions but Do Not Outperform Text Classifiers: Benchmarking Simulation Accuracy Using 120K+ Personas of 1511 Humans
- 2024Agent-Based Modelling Meets Generative AI in Social Network Simulations