Abstract
Social bias significantly hinders effective homelessness policy by dehumanizing individuals and swaying public opinion against support services. This research introduces a new multi-domain dataset of over 50,000 text samples from 10 U.S. cities to track these biases across online platforms and official records. By leveraging a knowledge distillation approach with GPT-4 generated "pseudo-labels," the authors demonstrate that small, specialized models like ModernBERT can effectively detect complex social biases, revealing a stark "online/offline gap" in discourse and the viral nature of exclusionary narratives.
Introduction: The Challenge of Detecting Stigma
Social narratives, particularly "Not In My Backyard" (NIMBY) sentiments, act as major roadblocks to approving shelters and services for people experiencing homelessness (PEH). However, detecting these biases at scale is difficult because they often occupy the "long tail" of discourse—while some frames are common, others like explicit racism are rare. Manual annotation is too slow and expensive to capture the volume of data needed for robust monitoring. This study addresses this gap by automating bias detection using Large Language Models (LLMs) and analyzing how these biases manifest across different media and governance channels.
Methodology: Knowledge Distillation and Pseudo-Labeling
The researchers employed a sophisticated pipeline to bridge the gap between expensive manual annotation and the need for large-scale data.
The process involved:
- Taxonomy Design: Expanding the OATH-Frames framework into a 16-category multi-label taxonomy, including categories like "NIMBY," "Harmful Generalization," and "Deserving/Undeserving."
- Pseudo-Labeling: Utilizing GPT-4 to label a large, unlabeled corpus of over 50,000 text samples.
- Local Model Training: Fine-tuning smaller models—specifically ModernBERT (150M parameters) and local LLMs like LLaMA 3.2 and Qwen 2.5—using these pseudo-labels via Low-Rank Adaptation (LoRA).
- Geolocation Pipeline: Implementing a multi-stage inference pipeline for X (Twitter) users to distinguish between local residents and external influencers.
Dataset Overview
The study introduces a multi-domain dataset compiled from 10 U.S. cities, divided into a "San Francisco" cluster (large cities) and a "South Bend" cluster (small cities). The dataset comprises 50,447 total text samples sourced from Reddit, X, news articles, and city council meeting minutes. To validate the automated labels, a "gold standard" subset of 1,702 samples was manually annotated by experts in collaboration with homelessness non-profits.
Key Insights: The Online/Offline Gap
The analysis revealed significant disparities in how homelessness is discussed across various platforms.
- Data Quantity Over Model Size: A small 150M-parameter encoder model trained on 50k pseudo-labeled examples outperformed much larger 7B-parameter LLMs trained on a small human-labeled dataset. This suggests that for specialized social science tasks, a massive "noisy" dataset is more valuable than a tiny "perfect" one.
- The NIMBY Engagement Trap: On Reddit, "Not In My Backyard" narratives received the highest engagement (upvotes), suggesting that exclusionary bias is the most "viral" form of homelessness discourse.
- Platform Disparity: Negative bias is significantly higher on social media (Reddit and X) than in news or city council minutes. Open platforms appear to amplify stigmatizing narratives that are typically filtered out of formal policy discourse.
- External Amplification: On X, 85–95% of the influence regarding a city's homelessness comes from users outside that city's state, indicating that local issues are frequently co-opted into national political "culture wars."
Performance Results
ModernBERT, when fine-tuned on GPT-generated pseudo-labels, achieved a 35.23 macro-F1 score, representing a 38% improvement over training on human labels alone (25.46). This performance approached GPT-4’s own zero-shot performance of 41.57. Sentiment analysis further showed that discourse is most positive in person (city council meetings) and most negative on X. While large cities (San Francisco cluster) generally exhibited higher levels of negative bias, the NIMBY signal remained strong across both large and small city clusters.
Limitations and Future Work
The study encountered challenges in classifying rare categories, such as explicit racism, which appeared in less than 1% of the data. Additionally, the geographic scope was limited to 10 U.S. cities, and the lexicon-based approach may not capture regional slang or cultural nuances outside these areas. Future research will focus on expanding the dataset to include more diverse media sources and investigating how these automated bias signals can help practitioners design more effective public messaging campaigns to combat stigma.
Summary updated