A Framework for Context Enrichment and Selective Robustness in LLM Social Agents

Mattia Greiche, Reihaneh Rabbany, Maximilian Puelma Touzel
11/4/2026
cs.MAcs.CLcs.LG

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{greiche2026framework,
  title  = {A Framework for Context Enrichment and Selective Robustness in LLM Social Agents},
  author = {Mattia Greiche and Reihaneh Rabbany and Maximilian Puelma Touzel},
  year   = {2026},
  eprint = {2611.06914},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.06914v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.06914.svg)](https://codeofpaper.com/paper/2611.06914)

Discussion