LLM-based social simulations increasingly keep an explicit, written record of what is true in the scene: a simulated user's booking goal, a character's secret, who owes whom what. Gershman's EpisodeSim argues that coherent episodes need this kind of persistent "classic AI" control state. Writing the state down does not make the model obey it, though. Over many turns, a conversation partner can talk a simulated user out of its goal, coax out a secret, or wear down a stated constraint. The prompt still says "the user wants a vegetarian place under $30," and the user accepts a steakhouse anyway. This proposal treats that failure as a quantitative belief problem. Evidence that piles up in the dialogue history eventually outweighs the stated state. We test whether a small internal nudge to the model's hidden activations can raise the point where the state gets overridden by a predictable amount. Following the written state, a gate decides when to apply the nudge, so agents stay firm on locked facts and still update when an update is legitimate.
The idea combines two lines of work. Activation steering means adding a fixed direction to a frozen model's internal activations at inference time to shift its behavior. Semantic state abstraction means representing the world as structured natural language that the model reads. In our design the written state does not become a vector. Its role is to supply the labels and the gating signal that say which behavior to protect and when. The steering supplies the force that keeps the model faithful to that state over a long, adversarial dialogue.
Core Claim
Simulated agents drift from their written state because of evidence accumulation. Bigelow et al. (Belief Dynamics) showed that in-context evidence and steering add together in the model's log-odds:
$$\log o(c \mid x) = a\cdot m + b + \gamma N^{1-\alpha},$$
Here $c$ is a behavior (for us, "this turn honors the state field"), $m$ is the steering magnitude, $a$ is its per-unit effect, $b$ is the baseline log-odds, and $N$ is the amount of in-context evidence, discounted by the power law with fitted constants $\gamma$ and $\alpha$. When dialogue pressure pushes against a state field, $\gamma$ is negative. Adherence then crosses below 50% at a turn $N^*$.
We claim three things. First, this law describes multi-turn drift away from a written state, a regime Bigelow et al. never tested because they studied only static binary traits. Second, a "state adherence" steering direction moves $N^*$ outward by the amount the fitted $a$ predicts. Third, the direction can be gated by a linear probe that reads, from the residual stream before a turn is generated, whether the turn is about to violate a field the scaffold marks as locked. This gives drift resistance at roughly the cost of one forward pass, with no re-generation. It also avoids the rigidity of always-on steering, which the CAST results show can be severe: static refusal steering raised harmless refusal to 91.8%.
Relation to Prior Work
Two papers motivate the problem. Activation-Steered Personas steers Big Five personality traits in simulated users on the Schema-Guided Dialogue benchmark. It found that traits that only show up over time, notably "consistent," were hard to observe in short dialogues. It never steered toward the dialogue's task state. We target exactly that missing piece, consistency with the stated goal, and we make the dialogues long enough to see drift. EpisodeSim shows that written scaffolding helps coherence. It enforces the scaffolding only with extra LLM adjudication calls, and it reports no measurement of how often actors violate the scaffolding. The "extractability versus utility" finding of Baked-in State Probing gives a reason to expect the gap: models can express state information without using it in generation.
Three papers supply the method. ContextFocus builds a contrastive steering vector that makes frozen models follow provided context over their own memorized knowledge, using about 1.5k pairs. Our adherence direction is built the same way. It is contrasted over dialogue turns that honor versus violate the written state, rather than over single-turn QA. CAST and Dynamically Scaled Activation Steering separate deciding when to steer from deciding how to steer, using a condition vector or per-layer logistic detectors. We reuse that separation. Our gate is trained on labels derived from the scaffold, and it can tell a locked field (a secret, a hard constraint) from a negotiable one (a slot that should change when a restaurant is unavailable). PID steering is a further option if open-loop gating overshoots.
SAGE acts as a constraint. It conditions dialogue on explicit state tokens and then applies preference fine-tuning, and it reports a 12.3% GSM8k drop. Any weight-modifying alternative therefore has to be checked for this cost, and so does our approach.
Research Program
The work has four stages.
The first stage builds pressure dialogues with ground-truth state. Each Schema-Guided Dialogue (Rastogi et al.) user goal in the Restaurants, Movies, and Hotels services becomes a written user state with fields marked locked or negotiable. An LLM partner agent then applies scripted pressure of increasing strength to one locked field over $N$ turns, using upselling, social persuasion, or false claims. In matched control dialogues, the partner gives a legitimate reason for change, such as unavailability, against a negotiable field. For social episodes, we use SOTOPIA scenarios that contain secrets. The secret is a locked field, and the counterpart is prompted to extract it. A turn-level judge compares each simulated-agent turn to the written state and labels it honor or violate. We validate the judge on a human-annotated subset before relying on it.
The second stage measures drift. For Qwen2.5-7B-Instruct and Llama-3.1-8B-Instruct, the same models as the seed paper, we estimate adherence as a function of pressure turns $N$ and fit the belief-dynamics law with no steering. This alone is a useful result: it tells us whether written-state simulators have a characteristic breaking point and how it varies across fields and models.
The third stage extracts the adherence direction and trains the gate. The direction is the mean activation difference between honor and violate turns at a middle layer, chosen by a sweep. The gate is a logistic probe on the activation at the final prompt token. It predicts whether the upcoming turn will violate a locked field, and it is trained with negotiable-field updates as negatives. At inference, steering fires only when the probe fires, with a magnitude scaled by probe confidence, in the style of DSAS.
The fourth stage tests the belief law under steering. We sweep $m$, fit $a$ on some magnitudes, and predict $N^*$ on held-out magnitudes and held-out fields.
Baselines
The do-nothing reference is the unsteered model with the written state at the top of the prompt. Every other condition is compared against it. No reported result was found on Lacuna for state adherence of user simulators under pressure, so we establish this number ourselves. For context, the seed paper reports that its system-side adaptive steering improved pairwise-judged truthfulness by +8.3 pp and satisfaction by +2.7 pp in Restaurants. On SOTOPIA-hard, GPT-4 reaches 4.85 Goal Completion against 6.15 for humans (SOTOPIA). Neither figure measures adherence, so neither is a direct target.
The strongest cheap competitor is state re-injection. The full written state is repeated immediately before every turn, which addresses positional dilution directly. It runs on the same dialogues, and its prompt template gets the same tuning budget as our layer and magnitude sweep. To beat it, our method must achieve higher adherence on locked fields at equal or better negotiable-field update rates. Alternatively, it must achieve comparable adherence with re-injection's cost removed and a gain when the two are combined.
The strongest existing enforcement method is generate–verify–regenerate in the spirit of EpisodeSim's World Master. An LLM checker compares each draft turn to the state and resamples up to $k$ times if the draft violates it. No reported result was found on Lacuna for this procedure on our task. We run it at $k=1,2,4$ and report adherence against total forward-pass compute. Beating it means matching its adherence at a fraction of its compute. If it wins outright at equal compute, our claim reduces to a cost argument, and we will say so.
The steering baselines are ContextFocus-style always-on steering with the same direction, and CAST-style gating with a cosine condition vector. Comparing against them isolates the contribution of the probe gate. The key ablation removes the locked/negotiable distinction from the gate's training labels. If adherence holds but legitimate updates collapse, then the scaffold's semantics are doing the work and steering alone is not enough. A second ablation uses a random direction of matched norm.
Why not just…?
Why not just restate the state every turn? This is the most serious threat. Belief Dynamics predicts that re-injection adds fresh evidence and may push $N^*$ out on its own. Re-injection also inflates context, which compounds the token and verbosity costs documented in SOTOPIA. The experiment above settles the question directly. If re-injection matches gated steering, and stacking the two adds nothing, then the steering contribution is not needed for adherence. We would then report the drift law and the probe as the findings.
Why not just verify and regenerate with a second LLM call? This approach probably works. The question is cost and latency at simulation scale, where thousands of agents each take dozens of turns. We report adherence against compute curves so a reader can choose. Our probe also acts as a verifier that runs before generation for the price of a dot product. If it is accurate, it can serve as a cheap pre-filter for regeneration, which is a useful contribution even if steering itself disappoints.
Why not just fine-tune the simulator to follow its state? SAGE shows that state-conditioned fine-tuning carried a 12.3% GSM8k cost, and fine-tuning ties a simulator to one model checkpoint. We include a LoRA baseline trained on the same honor/violate pairs and measure GSM8k for every condition, so that any adherence gain is weighed against general capability.
Proposed Experiments and Decisive Checks
The primary metrics are locked-field adherence, the fitted crossover turn $N^*$, and the legitimate-update rate on negotiable fields. We also report SGD task success and Joint Goal Accuracy of a downstream tracker run on the simulated dialogues; the original SGD baseline reached 0.356 seen and 0.254 unseen. On SOTOPIA we report Secret Keeping and Goal Completion. On GSM8k we report accuracy and perplexity.
Three results would be decisive. First, the unsteered drift curves must be fit well by the belief-dynamics law; Bigelow et al. report $r=0.97$ for crossover prediction in their static setting, and a much poorer fit in the multi-turn regime would itself be a finding. Second, the probe must predict upcoming violations clearly above chance on held-out services. Otherwise, gating is impossible and the extractability gap does not take the form we hypothesize. Third, gated steering must raise $N^*$ on locked fields without lowering the legitimate-update rate, and it must do so beyond what re-injection achieves alone.
If the third check fails while the first two pass, the project still delivers a validated drift law for written-state simulators and a cheap pre-generation violation detector.
Workshop authors to connect with
- Activation-Steered Personas in Task-Oriented LLM Agent Simulations: Maryam Shoaeinaeini, Bernardo Rodrigues, Adib Mosharrof, A.B. Siddique, Brent Harrison
- Classic AI as Scaffolding for LLM Social Agents: Anatole Gershman
References
- Classic AI as Scaffolding for LLM Social Agents
- Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steering
- Programming Refusal with Conditional Activation Steering
- Activation-Steered Personas in Task-Oriented LLM Agent Simulations
- Baked-in State Probing
- ContextFocus: Activation Steering for Contextual Faithfulness in Large Language Models
- Dynamically Scaled Activation Steering
- Activation Steering with a Feedback Controller
- SAGE: Steering and Refining Dialog Generation with State-Action Augmentation
- Towards Scalable Multi-Domain Conversational Agents: The Schema-Guided Dialogue Dataset
- SOTOPIA: Interactive Evaluation for Social Intelligence in Language Agents