A Framework for Context Enrichment and Selective Robustness in LLM Social Agents
Mattia Greiche, Reihaneh Rabbany, Maximilian Puelma Touzel
Key points
From the paper's conclusion- We demonstrate the framework in a Prisoner's Dilemma-like game, showing how it can be used to identify which forms of context enrichment produce more desirable and robust agent behavior.
Abstract
Researchers use large language models as agents in social simulations, where agents are prompted with observations and background information intended to shape their actions. Yet LLM agents have been shown to substantially change their behavior under meaning-preserving prompt variations, creating a validation problem for social simulation. One plausible hypothesis is that this brittleness reflects a lack of grounding and can be reduced by enriching the context provided to the agents. Whether richer context improves robustness remains unclear, in part because context richness and robustness are rarely defined in ways that support controlled comparisons. We address the first need with controlled context enrichment, a set of prompt substitution rules that systematically enriches distinct types of context: neutral padding, generic social background, descriptive decision grounding, and normative decision grounding. We address the second by introducing selective robustness as a validation criterion: insensitivity to meaning-preserving prompt variation combined with a directional response to decision-relevant changes in the social world. We demonstrate the framework in a Prisoner's Dilemma-like game, showing how it can be used to identify which forms of context enrichment produce more desirable and robust agent behavior. We find that these forms of enrichment produce distinct behavioral patterns that vary between the two models tested.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- How large language models judge and influence human cooperation.PNAS nexus · 2026
- Benchmarking large language model agent societies against human behavioural distributionsarXiv · 2026
- The Butterfly Effect in LLM Social Simulations: From Architecture Sensitivity to Robustness AuditsarXiv · 2026
- Lost in the comments: Social context as a single‐pass jailbreak and defense on agentic platformsETRI Journal · 2026
- ODD+LLM: Specifying LLM-Agent Behavior for Reproducible Social SimulationarXiv · 2026
- Making Large Language Models More Flexible to Changing Contingencies through Tracking InductionThe Psychological Record · 2026