Graph-based LLM over Semi-Structured Population Data for Dynamic Policy Response

Daqian Shi, Xiaolei Diao, Jinge Wu, Honghan Wu, Xiongfeng Tang, Felix Naughton, Paulina BondaronekarXiv 2025

TL;DR

This paper introduces a weakly supervised, graph-based Large Language Model (LLM) framework that fuses structured demographic data with unstructured public feedback to track public needs during health crises. By organizing these mixed data streams into a dynamic "need-aware graph," the system provides interpretable, population-specific insights to guide timely policy decisions without requiring massive, manually labeled datasets.

What Problem Does This Paper Address?

During public health emergencies like the COVID-19 pandemic, governments and healthcare systems are flooded with semi-structured data streams. This includes structured demographic records (age, gender, socioeconomic indicators) alongside unstructured human feedback (community surveys, public helplines, social media).

Extracting actionable insights from these combined sources is incredibly challenging. Manual expert analysis is highly accurate but far too slow and labor-intensive to scale in real time. Conversely, standard Natural Language Processing (NLP) pipelines are often rigid, require massive task-specific labeled datasets, and struggle to adapt when public concerns shift over time. This creates critical blind spots for policymakers, particularly when trying to protect vulnerable or specific sub-populations.

Methods

The authors propose a hybrid framework that connects structured demographic attributes with unstructured feedback through an evolving, five-layer need-aware graph.

Fig. 1: The overall demonstration of our proposed framework for analyzing semi- structured large population data-stream.

As shown in Figure 1, the pipeline consists of three tightly coupled modules:

  1. Data Pre-processing: Synchronizes tabular demographic data (stratified into age bands, genders, and socioeconomic deciles) with text entries using unique user IDs and timestamps.
  2. Needs Extraction:
  3. Uses Latent Dirichlet Allocation (LDA) topic modeling to discover coarse, unlabeled themes across the text corpus.
  4. Domain experts inspect these topics once to assign concise labels from a seed lexicon, creating pseudo-tags that serve as weak supervision.
  5. A local LLM (Qwen-1.7B) aligns these needs with a behavioral-science ontology (Mechanisms of Action, or MoA), incrementally updating the need-aware graph.
  6. Large Data Stream Need Analysis and Visualization: A locally hosted LLM (Qwen3) uses the structurally constrained graph to score current needs, diagnose underlying causes, and suggest potential interventions. This feeds into automated natural-language reports and visual dashboards tracking temporal and demographic trends.

Datasets

The framework was evaluated using a real-world longitudinal corpus collected from 1,045 UK residents during the COVID-19 pandemic. The dataset spans 24 months and includes:

  • Structured descriptors: Age, gender, and the Index of Multiple Deprivation (IMD).
  • Unstructured text: Repeated, open-ended survey responses collected at four distinct follow-up intervals (3, 6, 12, and 24 months), yielding a total of 3,812 timestamped documents.

Key Insights and Ideas

  • The Anatomy of a Shifting Crisis: Public anxiety is highly dynamic. Concerns naturally transition from acute survival and infection fears (months 0–3) to economic instability and furlough anxieties (month 6), before settling into long-term psychological fatigue and "pandemic burnout" (months 12–24).
  • Ontology-Constrained LLMs Prevent Hallucinations: By forcing the LLM to reason through a structured behavioral-science graph (incorporating COM-B and Behaviour Change Intervention Ontology models), the framework ensures that the generated policy insights remain factually grounded and interpretable.
  • Crisis Magnifies Inequality: The impact of a public health crisis is deeply asymmetric across different demographics, meaning blanket policy responses are inherently inefficient.

Key Results

  • Gender Disparities: Women reported Health and Emotional Stress needs 1.4 times more frequently than men during the six-month follow-up, frequently highlighting caregiving burdens. Conversely, men more regularly emphasized work-related stress and financial uncertainty.
  • Age-Specific Anxieties: Younger demographics (ages 18–29) exhibited the highest anxiety surrounding disrupted education and career prospects. Meanwhile, the 50+ cohort focused predominantly on the challenges of accessing routine healthcare for chronic conditions.
  • Socioeconomic Impact: Participants in the lowest socioeconomic brackets (IMD deciles 1–5) consistently expressed elevated, prolonged stress regarding basic needs and employment stability compared to higher-IMD groups.

Limitations and Future Work

The authors acknowledged that the framework occasionally captured traces of inherent stereotypes, revealing intrinsic biases within AI-driven population analysis. Additionally, the pipeline still relies on a small amount of initial expert intervention to validate the seed lexicon.

Future work will focus on integrating larger, expert-validated knowledge graphs to further strengthen the psychological interpretations of user needs. The team also plans to explore more robust human-in-the-loop paradigms to maximize the interpretability and fairness of the analytical outcomes.

Summary updated

BibTeX
@misc{shi2025graph,
  author = {Daqian Shi and Xiaolei Diao and Jinge Wu and Honghan Wu and Xiongfeng Tang and Felix Naughton and Paulina Bondaronek},
  title = {{Graph-based LLM over Semi-Structured Population Data for Dynamic Policy Response}},
  year = {2025},
  eprint = {2510.05196},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.05196},
}
Figure