How can I build a scalable, reasoning democracy sim in Unity?
Knowledge representation and scalable abstract reasoning for simulated democracy in Unity
March 11, 2025
https://arxiv.org/pdf/2503.05783This paper details the design and implementation of e-polis, a multi-agent serious game built in Unity, simulating a democratic process in a smart city. Players interact with "Smart Spatial Types" (buildings) that change form based on player choices in response to socio-political dilemmas. The system uses a dual-layer knowledge representation architecture with a lower layer tracking real-time game events and a higher layer inferring abstract knowledge about player beliefs and city state.
Key points relevant to LLM-based multi-agent systems:
- Dual-layer knowledge representation: Mirrors potential LLM agent architectures with a reactive layer processing immediate events and a deliberative layer reasoning about abstract concepts and historical context.
- Agent interaction shaping environment: Player agents (and LLM agents potentially) directly influence the virtual environment, demonstrating emergent behavior based on individual choices and collective impact.
- Scalability and Reasoning: The system addresses challenges of managing the extensive data produced by multi-agent simulations using a Rete-based reasoning engine, a concept applicable to rule-based LLM agent systems.
- Bridging Abstract and Concrete: The system bridges abstract concepts (political doctrines) with concrete outcomes (building forms), suggesting how LLMs could ground abstract reasoning in tangible actions within virtual or physical spaces.
- Potential for LLM Enhancement: LLMs could enhance the system by generating diverse dilemmas, providing personalized narratives for agents, and modeling more nuanced social interactions.