Analyzing Public Discourse on Urbanism: Topic Clustering, Sentiment Analysis and Retrieval-Augmented Generation using YouTube Comments
New in Retrieval-augmented generation; no direction yet. Retrieval-augmented generation
Abstract (arXiv)
Online discourse about urban issues - walkability, cycling infrastructure, public transit, housing density, and street safety - is voluminous but unstructured, and existing city-evaluation tools capture none of it. We present a pipeline and conversational system that combines geographic entity resolution, topic modeling, sentiment analysis, and Retrieval-Augmented Generation (RAG) over 22,788 chunks of YouTube transcripts and comments spanning 309 North American cities. Beyond the system itself, our contribution is a set of measurements about what happens when standard NLP components meet short, informal, geographically ambiguous text. A Twitter-tuned RoBERTa classifier outperforms a VADER lexicon baseline by 12.6 macro-F1 points (0.589 vs. 0.464; McNemar p = 0.0001), but both models collapse on the neutral class, which dominates urbanist comment traffic; annotators disagree on the same class (Cohen's kappa = 0.53). Dense retrieval beats a TF-IDF baseline at every cutoff (P@5 0.790 vs. 0.560), and video-level relevance proxies understate chunk-level precision by a wide margin (0.660 vs. 0.94 under human rating). For groundedness evaluation, we find BERTScore unusable when a multi-sentence generated summary is compared against a single short comment - scores are nearly flat regardless of relevance - and show that ROUGE-1-based groundedness is a paraphrase-driven lower bound rather than a hallucination rate. These findings generalize beyond the urbanist domain to any RAG system built over short user-generated documents.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 9 of its 23 references that are in the map. First posted on arXiv 19 Sep 2026.
Builds on
9 of 23 references.
References · 9
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2022TimeLMs: Diachronic Language Models from Twittercited by 131
- 2018A Pragmatic Guide to Geoparsing Evaluationcited by 17
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Invisible Walls in Cities: Designing LLM Agent to Predict Urban Segregation Experience with Social Media Content
- 2025SCRAG: Social Computing-Based Retrieval Augmented Generation for Community Response Forecasting in Social Media Environments
- 2024From Twitter to Reasoner: Understand Mobility Travel Modes and Sentiment Using Large Language Models
- 2025LocalBench: Benchmarking LLMs on County-Level Local Knowledge and Reasoning
- 2023Uncovering the Potential of ChatGPT for Discourse Analysis in Dialogue: An Empirical Study
- 2026One Model Is Not a Crowd: Multi-LLM and Aspect-Conditioned Diverse Comment Generation
- 2025Too Open for Opinion? Embracing Open-Endedness in Large Language Models for Social Simulation
- 2024Transit Pulse: Utilizing Social Media as a Source for Customer Feedback and Information Extraction with Large Language Model