OpenSim

Open populations · Observable communication

Rethinking Social Simulation in Open-Population Systems: From Persistent Agents to Communication Processes

Who participates, what they communicate, and how communication shapes the social process.

1 Huazhong University of Science and Technology, Wuhan, China

2 National University of Singapore, Singapore

* Equal contribution.  ·  † Corresponding author: skyesong@hust.edu.cn

OpenSim models a platform process under declared external inputs. Participants change across activations while observable communication accumulates into a continuous event history.
Event history continues as participants change. Full-resolution figure ↗

OpenSim project video

A communication-centered perspectiveProject video / 01:34
A 94-second concept demonstration. The users, posts, values, and trajectories shown are illustrative examples, not experimental results. Download video (MP4) ↗

01 / Research context

Abstract

Large language models (LLMs) have enabled social simulation with persistent agents, where fixed computational individuals maintain internal states and interact over time.

However, large-scale social networks are inherently open-population: the participating population changes over time, users enter and leave dynamically, and only a sparse subset becomes observable through communication at any given time. In such systems, persistent account identities do not provide continuously observable individual-state trajectories, making recursively maintained psychological states insufficiently grounded in empirical observations.

We therefore shift the simulation target from persistent individual trajectories to the observable evolution of social communication, modeling who participates, what they communicate, and how these communications shape subsequent system dynamics. We instantiate this formulation with participant activation from a global user pool, collective state transition, and an LLM policy for communication generation, while explicitly separating environmental inputs from endogenous system evolution.

Across five Qwen backbones, our framework reduces average KL divergence by 71.2% over Direct LLM and 35.0% over MF-LLM, with boundary and counterfactual experiments further validating the proposed modeling boundaries. Our results support communication-centered simulation as a principled formulation for long-horizon open-population social systems.

02 / Contributions

Highlights

A shift in what the simulator carries forward, what it predicts, and where its responsibility ends.

  1. Communication carries continuity

    Observable communication history carries the recursive process. Participants realize communicative events without requiring the simulator to recover their unobserved psychological trajectories.

  2. Participation is endogenous

    The framework models participation and communication conditional on declared environmental inputs, separating the platform process from external events it is not tasked with inventing.

  3. Learn from future dynamics

    Future-constrained learning connects plausible communication with later collective evolution. Generation and selection use available context and model predictions, without the realized future participant sequence.

03 / Inside the framework

Method

Framework overviewParticipation → Communication → History
OpenSim forecasts communication volume, activates participants, infers activation-local states, generates and selects communication, and updates the observable platform history.
Overview of OpenSim. OpenSim recursively models participation, mean-field state transition, and future-constrained communication generation, with realized communication updating the collective state and platform history for subsequent steps. Full-resolution figure ↗
Open-population participation
Given prior platform history and declared environmental inputs, OpenSim forecasts communication volume and activates participants from a candidate pool. Participation is step-specific: users may enter, leave, and reappear, while history carries continuity. The manuscript distinguishes event-specific and external participant pools.
Collective state and communication
A state-transition model predicts attitude composition and activation-local representations. A policy uses these predictions, participant features, and history to generate actions and content. Selected communications update the realized mean field and textual synopsis. Latent representations are not maintained through inactive periods.
Future-constrained learning
A response-sensitive critic learns from communication supervision, trajectory discrepancy, and matched versus masked or mismatched responses. During simulation, candidates are ranked against model-predicted future trajectories. Observed future distributions provide training supervision only.

04 / Experimental evidence

Results

Main comparisons, component ablations, and counterfactual interventions reported in the manuscript.

Main experiments

Across five backbones, the event-specific-pool OpenSim row reduces mean KL by 71.2% relative to Direct LLM* and 35.0% relative to MF-LLM*. These percentages compare the means across backbones; they do not describe OpenSim†.

Comparison conditions. * Baselines receive the observed future participant sequence. OpenSim uses an event-specific pool derived from that event’s records; OpenSim† uses an external participant pool. Event context and stepwise counts are held fixed in the pool comparison.

Expand a backbone to inspect all six metrics. ↓ Lower is better; ↑ higher is better. Bold marks the best value within that backbone.

Qwen2-1.5B5 settings · 6 metrics
Qwen2-1.5B — main results reported in the manuscript
Method / settingKL ↓Wass. ↓DTW ↓Macro-F1 ↑Micro-F1 ↑NLL ↓
Direct LLM*2.40900.33360.30550.34410.56864.6838
Social Retrieval*1.66780.25680.20630.36360.55265.1355
MF-LLM*1.24940.22460.17730.43110.62954.6060
OpenSim†2.07730.29050.22560.42090.61994.1414
OpenSim1.13520.19220.12610.44440.66164.3377
Qwen2.5-1.5B5 settings · 6 metrics
Qwen2.5-1.5B — main results reported in the manuscript
Method / settingKL ↓Wass. ↓DTW ↓Macro-F1 ↑Micro-F1 ↑NLL ↓
Direct LLM*3.34850.28440.33840.37300.46516.3707
Social Retrieval*2.41120.22430.26950.45690.55666.2568
MF-LLM*1.47390.19410.13960.54080.58815.1429
OpenSim†1.57390.21420.19340.50010.60084.4138
OpenSim1.06670.17240.12520.60970.62524.5980
Qwen2.5-3B5 settings · 6 metrics
Qwen2.5-3B — main results reported in the manuscript
Method / settingKL ↓Wass. ↓DTW ↓Macro-F1 ↑Micro-F1 ↑NLL ↓
Direct LLM*3.87550.36030.37710.31380.456113.9996
Social Retrieval*1.84660.22830.25910.38170.512914.0303
MF-LLM*1.50610.15460.23110.45980.62224.5446
OpenSim†1.50300.14950.18240.46520.65454.4980
OpenSim1.00480.12730.13690.50580.72784.5356
Qwen2.5-7B5 settings · 6 metrics
Qwen2.5-7B — main results reported in the manuscript
Method / settingKL ↓Wass. ↓DTW ↓Macro-F1 ↑Micro-F1 ↑NLL ↓
Direct LLM*3.09140.31070.30970.34710.558113.0946
Social Retrieval*2.51420.29810.28820.37010.582112.8823
MF-LLM*1.60490.22340.25640.43800.61174.6823
OpenSim†1.42940.22890.25090.44550.63404.9849
OpenSim0.85090.17590.15720.48550.67525.0921
Qwen3-1.7B5 settings · 6 metrics
Qwen3-1.7B — main results reported in the manuscript
Method / settingKL ↓Wass. ↓DTW ↓Macro-F1 ↑Micro-F1 ↑NLL ↓
Direct LLM*5.14800.42790.41910.33140.523625.7470
Social Retrieval*4.77430.34530.22100.34780.545125.4819
MF-LLM*2.09020.25490.17150.50950.65186.3621
OpenSim†1.31150.23770.15830.48650.68254.4081
OpenSim1.09290.17800.10980.54450.76104.4414

All 150 main-result metric values are retained from manuscript Table 1; parenthetical improvement percentages are omitted.

Manuscript case study comparing communication attitude trajectories under baseline and communication intervention conditions.
Communication intervention dynamics. The manuscript illustrates how changes in communication reshape subsequent collective trajectories. Full-resolution figure ↗

Component ablations

Removing state-transition supervision or the future-constrained policy objective, with participation modeling and the remaining pipeline unchanged.

Component ablation plots comparing full OpenSim, removal of the state-transition objective, and removal of the future constraint across three backbones.
Component ablations across backbones. Full OpenSim improves trajectory metrics in the reported comparisons; removing future constraints can improve NLL for some backbones. Full-resolution figure ↗

Expand a backbone for the complete ablation values. Bold marks the best value within that backbone.

Qwen2-1.5B3 settings · 6 metrics
Qwen2-1.5B — ablation results reported in the manuscript
Method / settingKL ↓Wass. ↓DTW ↓Macro-F1 ↑Micro-F1 ↑NLL ↓
OpenSim1.13520.19220.12610.44440.66164.3377
w/o ST Objective3.17160.30740.26440.40870.50794.4791
w/o Future Constraint1.69340.24100.19140.43310.55974.4315
Qwen2.5-1.5B3 settings · 6 metrics
Qwen2.5-1.5B — ablation results reported in the manuscript
Method / settingKL ↓Wass. ↓DTW ↓Macro-F1 ↑Micro-F1 ↑NLL ↓
OpenSim1.06670.17240.12520.60970.62524.5980
w/o ST Objective2.98860.27250.24940.42220.52994.4942
w/o Future Constraint1.58390.19400.18640.53690.56464.3211
Qwen3-1.7B3 settings · 6 metrics
Qwen3-1.7B — ablation results reported in the manuscript
Method / settingKL ↓Wass. ↓DTW ↓Macro-F1 ↑Micro-F1 ↑NLL ↓
OpenSim1.09290.17800.10980.54450.76104.4414
w/o ST Objective2.85260.27750.24120.47820.57764.5111
w/o Future Constraint1.78570.23200.19190.44130.65874.0974

All 54 metric values are retained from the manuscript’s component-ablation table. w/o ST Objective removes state-transition supervision; w/o Future Constraint removes the future-constrained policy objective.

Results are reported from the manuscript. See the released dataset and evaluation disclosure for record provenance and the reference-text matching protocol.

05 / Work with OpenSim

Usage

The release requires Python 3.11+, CUDA, and Git LFS. Its default backbone is Qwen/Qwen3-1.7B; model weights are not included.

git lfs install
git clone https://github.com/AI4SS/OpenSim.git
cd OpenSim
git lfs pull
python -m venv .venv
source .venv/bin/activate
python -m pip install -e .
python scripts/run.py --dry-run

Training, simulation, and evaluation use the same workflow configuration. Simulation requires trained checkpoints and a passed validation gate.

python scripts/train.py --base-model Qwen/Qwen3-1.7B --output-dir outputs
python scripts/simulate.py --base-model Qwen/Qwen3-1.7B --output-dir outputs --resume

The released data mix original-source-derived, generated or rewritten, and unresolved-provenance records. Its micro-level evaluator samples reference records with replacement from an event-level pool; those metrics measure consistency with sampled reference texts. This differs from the manuscript’s participant-sampling protocol. See the dataset and evaluation disclosure and README for the full setup, checkpoint requirements, and evaluation instructions.

Reference

Citation

If this work is useful to your research, please cite the manuscript.

Download .bib
@misc{zhang2026rethinkingsocialsimulationopenpopulation,
  title={Rethinking Social Simulation in Open-Population Systems: From Persistent Agents to Communication Processes},
  author={Yunyao Zhang and Yihao Ai and Boqi Xu and Zuocheng Ying and Junqing Yu and Zikai Song},
  year={2026},
  eprint={2610.37687},
  archivePrefix={arXiv},
  primaryClass={cs.MA},
  url={https://arxiv.org/abs/2610.37687},
}