Toggle Main Menu Toggle Search

Open Access padlockePrints

A large language model framework for sample-free population synthesis

Lookup NU author(s): Michael Jones, Professor Richard DawsonORCiD, Professor Jon MillsORCiD

Downloads


Licence

This work is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0).


Abstract

© 2026 Jones et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.Synthetic populations provide the demographic foundations for agent-based models in transport, public health, disaster management and other sectors, enabling credible representations of individual characteristics and behaviours. Many established synthesis methods rely on census microdata; however, such data are infrequently collected, privacy-restricted, and usually available only as small public-use samples at coarse geographic scales. This paper introduces a sample-free framework that uses a large language model (LLM) to generate complete, household-structured populations directly from aggregate demographic data. The framework is LLM agnostic and follows a multi-step process: objective definition, input preparation, LLM selection, and synthetic household generation. No model fine-tuning is required, meaning that data requirements are low and the framework is easily accessible. Population synthesis is formulated as an iterative prompting process in which an LLM generates households guided by the discrepancies between synthetic and target distributions. The model draws on prior knowledge encoded during pre-training to propose plausible attribute combinations, resulting in both statistical alignment and structural feasibility. In a global evaluation covering 109 countries, the framework achieved very close alignment on simpler marginals such as gender (SRMSE: 0.003) and household size (SRMSE: 0.026), while more structurally complex attributes such as household composition (SRMSE: 0.062) and age (SRMSE: 0.128) were also reproduced with good accuracy. These results were supported by detailed case studies in Newcastle upon Tyne (UK) and Dar es Salaam (Tanzania). The principal contribution of the framework is to enable the construction of coherent household-structured populations when detailed microdata are unavailable, expanding the applicability of agent-based modelling in data-constrained settings.


Publication metadata

Author(s): Jones M, Dawson R, Mills J

Publication type: Article

Publication status: Published

Journal: PLoS ONE

Year: 2026

Volume: 21

Issue: 6

Online publication date: 02/06/2026

Acceptance date: 01/05/2026

Date deposited: 15/06/2026

ISSN (electronic): 1932-6203

Publisher: Public Library of Science

URL: https://doi.org/10.1371/journal.pone.0341704

DOI: 10.1371/journal.pone.0341704

Data Access Statement: All data and code supporting this study are publicly available. Processed marginals, prompts, configuration files, and example outputs are archived in the Newcastle University data repository (https://doi.org/10.25405/data.ncl.31830205). The population generation library is available at https://github.com/MJones235/LLM-Population-Generator/releases/tag/v1.0.0 and data collection and processing scripts at https://github.com/MJones235/Synthetic-Population-Experiments/releases/tag/v1.0.0.

PubMed id: 42228755


Altmetrics

Altmetrics provided by Altmetric


Funding

Funder referenceFunder name
EP/S023577/1EPSRC

Share