SPASM: Stable Persona-driven Agent Simulation for Multi-turn Dialogue Generation
arXiv cs.CL / 4/13/2026
📰 NewsDeveloper Stack & InfrastructureIdeas & Deep AnalysisModels & Research
Key Points
- SPASM is introduced as a stability-first framework for generating multi-turn synthetic dialogues where LLM agents must maintain consistent personas, roles, and goals over long horizons.
- The approach modularizes persona creation (schema sampling and validation), client–responder dialogue generation, and termination detection to produce coherent, well-scoped conversations.
- To prevent long-horizon identity failures like persona drift, role confusion, and “echoing,” SPASM proposes Egocentric Context Projection (ECP), which stores dialogue history in a perspective-agnostic form and deterministically projects it into each agent’s viewpoint.
- Experiments across multiple LLM backbones and nine client–responder pairings generate a dataset of 4,500 personas and 45,000 conversations, with ablations indicating ECP reduces persona drift and eliminates echoing under human validation.
- The authors release code for SPASM on GitHub, enabling researchers and developers to apply the framework without changing model weights.
Related Articles

Build LLM Guardrails in 3 Lines of Python (No API Key, No Cloud)
Dev.to

Why Fashion Trend Prediction Isn’t Enough Without Generative AI
Dev.to

Big Tech firms are accelerating AI investments and integration, while regulators and companies focus on safety and responsible adoption.
Dev.to

Chatbot vs Voicebot: The Real Business Decision Nobody Talks About
Dev.to

วิธีใช้ AI ทำ SEO ให้เว็บติดอันดับ Google (2026)
Dev.to