Skip to content

Analyzing Public Discourse on Urbanism: Topic Clustering, Sentiment Analysis and Retrieval-Augmented Generation using YouTube Comments

Sep 2026 · 0 citations · 23 references
Computer Science

TL;DR

This work presents a pipeline and conversational system that combines geographic entity resolution, topic modeling, sentiment analysis, and Retrieval-Augmented Generation over 22,788 chunks of YouTube transcripts and comments spanning 309 North American cities and shows that ROUGE-1-based groundedness is a paraphrase-driven lower bound rather than a hallucination rate.

Abstract

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.

View source

Similar papers

Conference Sep 2026

Computational Topic Discovery and Content Analysis of Digital News Media in Indonesia Using a Structural Topic Modeling Approach on Q1 2026 Nusantara TV Data

The swift expansion of digital news platforms has produced substantial volumes of unstructured textual data, requiring sophisticated computational techniques for content surveillance and public discourse examination. This study examines the thematic landscape of Nusantara TV, a leading Indonesian digital news platform,...

Randy Monthonaro Tampubolon, Dimpos Tampubolon, R. Caraka · 0 citations
#generative ai Open access Sep 2026

Topic Modeling and Sentiment Analysis of YouTube Comments on OpenAI’s Stargate Project Using BERTopic and RoBERTa

The rapid development of generative artificial intelligence has sparked growing interest, widespread adoption across various sectors, and intense public debate, particularly following the announcement of the Stargate project by OpenAI, SoftBank, and Oracle. The diverse public reactions documented on social media platfo...

Yuliana Dewi Proboningrum, Hanifah Permatasari, Vihi Atina · 0 citations
Open access Sep 2026

Unsupervised NLP for quantifying sentiment deviation and framing in global climate discourse

A scalable and unsupervised natural language processing (NLP) framework to measure sentiment changes and framing patterns in global climate discussions across major news outlets and reveals regional sentiment differences, outlet-level framing patterns, thematic trends, and notable shifts in response to major climate ev...

Aditya Vasudev K, Srisakthi Saravanan, A. Vinay · 0 citations
Open access Sep 2026

Fine-Grained Analysis of Bilingual Transportation Discourse on Reddit Using Large Language Models: A Quebec City Case Study

Social media platforms generate large volumes of unsolicited textual content that reflect users’ perceptions of urban transportation. This study proposes a fine-grained annotation framework that classifies social media text into three constructs: attitude, intention, and reported behavior. Each statement is linked to a...

Negar Shabanpour, Stéphane Roche, S. Mellouli · 0 citations
Open access Oct 2026

Mapping Public Conversation on Indonesia's Free Nutritious Meal Program on Twitter (X) Using TF-IDF and K-Means Clustering

Public programs now generate their own online commentary, and that commentary is worth reading systematically rather than anecdotally. This paper maps the topic structure of Indonesian-language conversation about the Free Nutritious Meal program (Makan Bergizi Gratis, MBG) on Twitter (X). We scraped 3,459 tweets posted...

Cahyasari Kartika Murni, Faishal Basbeth, S. Lestari · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.