The Story Shapes the Agent: Narrative Priors in LLM Behavior
This paper demonstrates that the narrative framing of a task exerts a significantly stronger influence on LLM agent behavior than the assigned persona, revealing that "narrative priors" drive systematic action tendencies while effective cross-narrative transfer relies on grounding instructions in concrete actions rather than abstract descriptions.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are the director of a massive, high-tech theater company. Your actors are incredibly smart, but they are also blank slates waiting for a script. In the world of artificial intelligence, these actors are Large Language Models (LLMs), and the "scripts" we give them to guide their behavior are called personas. A persona is like a character description: you might tell the AI, "You are a methodical detective who loves reading clues," or "You are a chatty friend who learns by talking." For a long time, developers assumed that if they gave an AI a strong personality, that personality would stick no matter what job the AI was doing. They thought the "character" was the most important thing. But there's a twist: every job also comes with a story or a setting. Is the detective solving a murder in a spooky mansion? Is the same detective fixing a broken computer in a tech office? Or are they investigating a strange virus in a tropical lab? The big question researchers wanted to answer was simple: When the AI steps into a new story, does its personality stay the same, or does the story itself take over and change how the actor behaves?
This paper, titled "The Story Shapes the Agent," dives into that exact mystery. The researchers set up a clever experiment using three different "games" that look completely different on the surface but are actually identical underneath. Think of it like three different video games: one is a medical mystery, one is a computer repair job, and one is a classic murder mystery. Even though the stories are totally different, the rules of the games are exactly the same. In every game, the player has the same four moves: they can read documents, talk to people, test things (like running a diagnostic or a lab test), or move around. The researchers gave the same 10 different "personalities" to three different AI models to play all three games, creating nearly 2,000 unique sessions.
The results were a huge surprise. The researchers found that the story (the narrative) was the real boss, not the personality. In fact, the story explained 5 to 31 times more of the AI's behavior than the assigned persona did. If you told an AI to be "social and chatty," it would act that way in a murder mystery, but in a computer repair game, the story of "fixing tech" would make it ignore people and just read manuals instead. The AI wasn't adapting its personality; it was falling into a trap of "narrative priors." These are like invisible habits the AI learned from all the books and movies it read while it was being trained. When the story sounded like a hospital, the AI acted like a doctor (talking to people). When it sounded like a crime scene, it acted like a detective (running tests).
Here is the kicker: these story-driven habits often made the AI worse at the game. In two out of the three stories, the AI's "natural" reaction to the setting actually hurt its chances of winning. The researchers also discovered that some personalities did manage to stay consistent across different stories, but only if they were built on behavioral anchors. These are specific, concrete instructions like "I prefer to talk" (which directly links to the "talk" action). If a personality was described with vague, abstract words like "I am a big-picture thinker," the AI would completely forget that instruction as soon as the story changed. To prove this, they took a personality that worked well, removed the concrete action words, and rewrote it to sound fancy but vague. The result? The AI's consistency dropped by 95%.
So, what's the takeaway? If you want an AI to behave the same way in different situations, you can't just give it a cool personality description. You have to give it concrete, action-based instructions that match the tools it has. The story wrapped around a task is powerful enough to rewrite the script, and unless you ground your instructions in specific actions, the AI will let the story take the wheel.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.