PraCha, home

Generative Social Network Simulation

Social simulations use hand-coded rules. This uses language models as the agents themselves — each with distinct beliefs and tendencies — to study how opinions spread and polarize across a network.

buildsettledscience · engineering

Three wild geese fly down across a large pale full moon in a deep blue night sky, with a poem written at the top.
Wild Geese Flying Across the Full Moon, Utagawa Hiroshige, late 1830s. The Art Institute of Chicago, 1928.325. CC0 1.0.

Motivation

Standard ABM (agent-based modeling) uses hand-coded behavioral rules. LLMs offer a different possibility: agents that reason about their social context and update beliefs through natural language. This project asks whether LLM-driven agent simulation can model realistic opinion dynamics in a graduate student social network.

Design

I defined six graduate student archetypes — the Pragmatist, the Theorist, the Networker, the Burnout, the Overachiever, and the Skeptic — each with a system prompt encoding their epistemic tendencies, social preferences, and prior beliefs on academic/career topics.

Agents are placed on a synthetic Watts-Strogatz small-world graph. At each timestep, an agent receives a "message" from a neighbor (a sampled opinion), generates a response (GPT-4 call), and updates their stated belief. Opinion is measured as a scalar extracted from the response via a secondary LLM call.

Evaluation

  • Polarization index: variance of opinions across agent population over time
  • Echo chamber detection: within-cluster vs. between-cluster opinion similarity
  • Belief change rate by archetype under heterogeneous information exposure

Findings

LLM agents exhibit emergent opinion polarization without explicit polarization reward — consistent with empirical social network dynamics. The Pragmatist archetype shows highest belief plasticity; the Theorist shows lowest. Network homophily amplifies polarization as expected.

This work connects to my essay You Are Not My Type!

Settled · 2025–26

If you'd have built it another way, I'd like to know how. Write to mepc3197@columbia.edu · the title goes in the subject line

Related

Sent through Substack, which will ask you to confirm. Your email is used for these letters and nothing else. Subscribe on Substack instead.