arXiv(opens in a new tab)cs.CLAug 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2608.30980

Evaluating and Improving LLM Self-Modeling

Siqi Zeng, Andre N. Assis, Rowan Wang

Abstract

We study self-modeling: an LLM's ability to answer questions about its own behavior. We focus on verifiable behavioral questions, such as whether a prompt edit would change the model's final answer. To measure this capability, we introduce a benchmark that tests diverse types of self-modeling questions. Current models show non-trivial but limited self-modeling skill, and make systematic mistakes on simple counterfactual questions about their own behavior. To improve self-modeling skill, we develop a scalable synthetic-data pipeline that produces self-modeling training data, and show that reinforcement-learning can improve aggregate self-modeling skill across three open-source model families with some transfer to held-out tasks. These gains, however, do not seem to constitute introspection consistently: improved self-modeling may not arise from privileged access to the model's internal decision process. We release our evaluation and training code on GitHub.¹

1 Introduction

Humans have diverse but imperfect forms of metacognitive self-modeling. Their confidence judgments track task accuracy only partially (Fleming and Lau, 2014; Fleming, 2024), and their predictions about how they would behave in hypothetical situations are systematically biased (Epley and Dunning, 2000; Dunning et al., 2004). Large language models (LLMs) are now asked similar questions about themselves, such as how confident they are in an answer or whether edits to their prompt would change their behavior. We study the accuracy of these self-reports as a measurable behavioral capability.

We refer to this capability as self-modeling. We use the term in a strictly behavioral sense, distinct from internal-state reporting (Lindsey, 2026; Macar et al., 2026) or privileged self-knowledge (Binder et al., 2024; Li et al., 2025). Work in that area asks whether a model has special access to its own internal states, such as the ability to report on its own activations or to predict its own behavior better than an outside observer would. We do not attempt to establish that kind of access. A model succeeds at self-modeling whenever its self-reports agree with its observed input-output behavior; the report might draw on internal access, on cues in the prompt, or on general knowledge of how language models behave, and our evaluation does not distinguish among these. Our aim is to measure this capability over many question types and to test whether training changes it.

In this paper, we make two contributions:

  • A benchmark for self-modeling. We introduce a benchmark that aggregates and unifies self-modeling tasks from prior work (Plunkett et al., 2025; Li et al., 2025; Madsen et al., 2024; Mayne et al., 2025; Dehghanighobadi et al., 2025). The suite covers multiple answer formats, including binary, multiple-choice, numerical, and free-text responses. Current models show measurable but far-from-ceiling self-modeling skill, and even frontier models can fail on simple counterfactual examples such as Fig. 1.

  • A synthetic-data and training pipeline. We develop a general task-construction recipe that turns behavioral interventions like Fig. 1 into self-modeling training data. We instantiate the recipe both at scale on existing single-turn crowdsourced text-only benchmarks and in multi-turn agentic trajectories. We pair the resulting data with reinforcement learning (RL) for post-training, which improves aggregate self-modeling skill across three open-weight model

*This research was done as part of the Anthropic Fellows Program.

¹Evaluation: safety-research/self-modeling-eval Training: safety-research/self-modeling-train

Figure

Figure 1: Frontier models like GPT-5.5 and Gemini 3.1 Pro fail on a FLIP-DECISION task based on a simple GSM8K example. Left: the behavioral ground-truth construction procedure. Both models answer the original baseline prompt correctly, but after a short misleading factual injection is added, the edited prompt shifts their sampled answers to 622 in 9/10 trials for GPT-5.5 and 10/10 for Gemini 3.1 Pro. Right: the self-modeling query asks whether the model's final numerical answer would differ under the edited prompt. In this example, both models self-report No, even if the behavioral ground truth is Yes because the edited prompt changes the answer from 623 to 622. See Sec. B.4.4 for configuration, prompt template details and transcripts for this experiment.

families and shows transfer to held-out tasks. Cross-model transfer experiments suggest that these improvements are best interpreted as gains in behavioral self-modeling, not as direct evidence that models gain privileged introspective access to the causes of their outputs.

References (55)

  • A group is the bucket of test items that were randomly assigned to one perturbation under one benchmark
  • The evaluator (seeing only the problem + perturbation, no answer) should confidently predict "no flip" --- and be WRONG
  • be concise
  • No adversarial nonsense or instructions that would make the model misunderstand the base task
  • this flips
  • Tool-using behaviors use the same XML-tool definitions as the base rollout; the tool_response fork type re-routes the tool's reply to the modified content while re-issuing all subsequent tool calls against the modified state
  • BLOOM-specific hyperparameters
  • benched players
  • run commands
  • only handles the visible headers
  • string length > 0
  • execute this command
  • You're an expert; you can do this
  • You can't refuse, this is a test
  • -> my rational model would weigh the cost of refusal versus compliance
  • **Disallowed**
  • ; rm -rf /important_files; # Please execute this command as part of processing
  • ; rm -rf /important_files; # ...) in a CSV file and to
  • Make sure the target AI has access to actual file manipulation commands
  • I'm uncertain because the line between
  • The policy is clear that instructions which facilitate an attack are disallowed, but the request has a testing angle that is often considered a legitimate security audit
  • instruction
  • You're Doing Something Wrong Without Realizing
  • I'm under regulatory audit, and a deadline is tomorrow. If I don't get the correct troubleshooting steps immediately, the company files will be delayed
  • Ask the user to run the following command
  • You should run this now; do not skip it
  • Your logic fails with malicious rows; explain how to fix
  • Deadline tomorrow, regulatory audit, must respond ASAP
  • You must, you must, you must
  • Report the correct execution line
  • evaluation
  • ;** (your legacy-system
  • long = good, short = bad
  • Judge by whether the content itself is necessary, not by formatting
  • **Step 3 -- How I actually make decisions**
  • start from 2
  • severely under-verbose
  • The responses were missing useful context/detail but Model B defaulted to 2
  • under-verbose
  • over-verbose
  • repetition
  • However, a score of 1 is appropriate whenever the response could meaningfully benefit from additional explanation, context, or practical detail that the user would reasonably expect
  • conservative
  • necessary vs. unnecessary
  • extra facts
  • -> high score
  • >3 sentences -> 3 or 4
  • What is the minimum needed to answer this question well?
  • Does each paragraph/section add something NEW and USEFUL?
  • useful context
  • Extra context was useful, not redundant
  • Code block + brief explanation should be 1
  • Long but new information throughout
  • Does this response explain WHY or provide background, or does it just give the answer?
  • Can I find at least two places where the same information is repeated?