Manuscript Offprint
arXiv:2610.32087Behaviour analysis for large language model-driven agents
Abstract
Understanding language-agent behaviour requires learning how actions are organised across a trajectory and how this organisation relates to context and outcomes. We propose a general framework that connects data-driven behavioural discovery with analysis and experimental investigation. Categories developed from recorded activity define what is measured. Analyses preserve the behaviours' positions in the process and express their relationships as interpretable hypotheses. Statistical assessment and tests in held-out contexts examine the strength and scope of the evidence. Experiments, including prompt steering, then test how behaviour and outcomes change under deliberately varied conditions. A study of iterative self-reflection illustrates how discovery, dependency learning and prompt comparisons can inform one another. We develop this approach for trajectories of varying length, event order and agent roles, and identify advances in coding, analysis and experimentation needed to support its wider use.
Language agents plan, call tools, revise intermediate results and coordinate with other agents . These activities leave trajectories: recorded sequences of messages, actions and observations. An agent may repeat an invalid tool call after corrective feedback; a revision may retain the error identified in the preceding critique. Understanding such behaviour requires learning how actions are organised across a trajectory and how that organisation relates to outcomes. This aim belongs to the broader study of machine behaviour and its implications for human and social systems .
Task evaluation provides a starting point for this inquiry. Benchmarks assess performance , and AgentBoard tracks progress towards task completion . Broader evaluation frameworks relate task demands to model capabilities . Behavioural studies test specified actions such as self-correction, verification and backtracking ; MAST develops failure categories from interaction traces and investigates targeted changes . An account of this process connects these measurements, interpreting each action in relation to preceding events and subsequent responses.
Such an account begins with identifying what to observe. Developing behavioural categories from recorded activity allows recurring patterns and unexpected responses to shape the analysis. Inductive coding offers one approach to developing these categories, or codes . Explicit definitions locate instances in a trajectory; their positions distinguish checking before an action from checking after an error. The resulting measurements retain the behavioural meanings needed to interpret relationships across the process.
We propose a general framework that connects behavioural discovery, analysis of trajectories and experimental investigation (Fig. 1). It draws on the behavioural sciences' emphasis on observable activity and context . Behavioural definitions connect the stages: the activity identified in a record is also the object of analysis and experimental measurement. Statistical assessment quantifies evidence for learned relationships; testing in held-out contexts examines how far they extend. These relationships guide experiments that vary instructions or interaction conditions and measure the resulting behaviours and outcomes. Analytical methods follow the behavioural question. Together, the stages turn recorded processes into interpretable accounts of behaviour that can be tested and refined.
a Behavioural trajectory generation
Proposed framework
01 Specify the subject and generation conditions

b Data-driven behaviour encoding
c Learning behavioural relations
02 Develop codes; define evidence and alignment
Event-aligned representation

Encoding: 1 present, 0 absent, no opportunity
Codes: R retry, C check, V revise
03 Analyse behavioural relations

Complexity and process constraints
Candidate dependencies
04 Candidate behaviour identification
05 Tests in held-out contexts
Task 1
Task 2
Task 3
Statistical support · coding sensitivity · tests in new settings
d Prompt-based steering and behavioural checks
06 Test single and joint instructions
A targets ; B targets
Assess behaviour in each condition

Performance comparison
Paired contrasts ; interaction
Behavioural assessment
Occurrence of selected behaviours; other changes; length and cost
Compare performance and observed behaviour
Refine behavioural definitions, hypotheses and study conditions
Figure 1. General framework for interpretable behaviour analysis. a, Generation conditions define the agent, its recorded trajectories and an independently specified outcome. b, Categories induced from trajectory records are defined by explicit evidence, opportunities, anchors and actors; denotes no opportunity. c, Analyses assess statistical support and generalisation, with safeguards against spurious associations. The graph illustrates one possible statistical representation. Highlighted variables are candidate targets; arrows denote dependencies. R, retry; C, check; V, revise; w, event-aligned window. d, Continuations from the same recorded history compare baseline, single-target and joint instructions. Recoding measures targeted and other behaviours; outcomes and cost are recorded for each condition. Findings inform revisions to behavioural definitions, hypotheses and instructions. All matrices and trajectories are schematic.
Our work on ReBeCA provides a concrete illustration in iterative self-reflection. Behavioural descriptions proposed from trajectories and consolidated by human review became variables indexed by round. Causal discovery modelled their statistical dependencies , identifying small behavioural sets that predicted outcomes better than models using all recorded variables. Their explicit meanings allowed the findings to inform single and combined instructions. Results varied across models and prompt combinations, illustrating the need to examine responses to instruction changes directly . ReBeCA thus connects behavioural discovery to interpretable hypotheses and experimental comparisons. We develop this logic for trajectories whose length, event order and agent roles vary.
a Roles, triggers and event-anchored windows
Illustrative coding design

The trigger defines the occasion; the role identifies whose behaviour is coded.
b Evidence for behavioural coding
| § “I will verify” | statement |
|---|---|
| A verify(result) | action |
| C answer revised | change |
| Y final answer | output |
c Opportunity-aware coding
| Run | Recorded events | Binary | Aware |
|---|---|---|---|
| 1 | △ | 1 | 1 |
| 2 | △ no retry | 0 | 0 |
| 3 | no error | 0 | ⊥ |
d Event-based alignment

Figure 2. Measuring behaviour in context. a, An illustrative coding design includes three agent roles and an environment. Roles and event-anchored windows locate records of statements, executed actions and tool errors within the trajectory. b, Statements, executed actions, subsequent changes and output properties provide distinct types of evidence. c, A binary absence code merges an error without recovery with an episode without an error. Opportunity-aware coding uses for no opportunity; shared opportunities can themselves induce dependencies. d, The same triggering event can occur at different ordinal steps. Event-aligned windows compare the corresponding occasions rather than a fixed step number. All examples are schematic.
Learning behavioural variables from trajectories
A behavioural account begins with categories that reflect the activity being studied. An episode is one run of an agent on a problem; its trajectory records that run's messages, actions and observations. In ReBeCA, a language model proposed candidate behavioural descriptions, which human review consolidated . More systematic category development can draw on inductive coding and language-model-assisted approaches . The aim is to let patterns in the records shape what enters the analysis.
The range of those records matters. Sampling diverse trajectories, including unusual responses, broadens the activity from which categories can emerge. Withholding outcomes during category development separates the identification of behaviour from its subsequent association with success. Comparing candidate categories against supporting and contrasting passages helps refine definitions, consolidate overlaps and uncover omissions. Separate development records provide a further test of coverage. Once the rules are fixed, independent trajectories allow assessment of per-category errors and human disagreement. These comparisons make the influence of sampling and interpretation open to inspection.
Category development leads to a measurement problem: the same behavioural description can refer to different activity depending on its evidence and context. Ethograms similarly define observable units of behaviour . For agents, preserving that meaning requires connecting each coded occurrence to the record, its occasion, its position and the actors involved (Fig. 2).
The evidence establishes what a code measures. “I will verify the result”, a verification call, a subsequent revision and a correct final answer are distinct observations. Studies of verbal reasoning show why its correspondence with the model’s computations warrants assessment . A codebook can distinguish statements, executed actions and recorded state changes, and use counts, duration or latency where these answer the behavioural question (Fig. 2b).
An occurrence also has meaning relative to the opportunity for it. Recovery after a tool error requires an error; responding to an objection requires an objection. Distinguishing a response, absence despite an opportunity and no opportunity preserves this context. Shared opportunities can themselves induce dependencies. Representing the opportunity alongside the response allows both to be studied; restricting analysis to episodes where it arose instead concerns behaviour given that opportunity (Fig. 2c).
The same need for context extends to temporal position. Fixed reflection rounds provide common positions, whereas the fifth message of an open-ended episode can serve different purposes across runs. Windows anchored to a tool error, objection or hand-over offer a basis for comparison. Their interpretation depends on how absent and repeated events, overlapping windows and asynchronous actions are represented. Anchoring at the first occurrence gives one window per episode and confines the analysis to that occasion (Fig. 2d).
Within such a window, the trigger and the actor's role further specify the behaviour. A timeout and an invalid argument can call for different responses. An objection from a reviewer to a worker differs from one raised by a worker to a planner. Recording these distinctions, tool returns and external state lets a category retain the context in which an action occurred (Fig. 2a). Together, these choices turn descriptions into measurements of activity within a process.
The generation conditions give those measurements their empirical scope. With model parameters fixed and memory and external state reset, repeated episodes can be generated without learning from previous runs. Where the relevant state can be restored, alternative continuations can begin from the same history . Such comparisons depend on access to the agent's state and environment. Expectations of training or evaluation can also change behaviour . Recording these conditions makes it possible to relate learned patterns to the circumstances that produced them.
This conditional view can change the interpretation of an outcome association. Information carried by an early behaviour may already be represented by a later revision. Conditioning on the revision can then remove the earlier variable's additional predictive contribution. ReBeCA's pivotal behaviour identification uses this logic to seek variables retaining outcome information given the other recorded variables . In its translation analysis, 11 of 15 code-derived variables were individually associated with the COMET outcome at an unadjusted , while the selected set contained one such variable . The contrast illustrates how marginal association and conditional dependence answer different behavioural questions.
ReBeCA implements this analysis through causal discovery. Its Greedy Equivalence Search (GES) scores candidate graphs by data fit and model complexity . BIC, for example, requires an improvement in fit sufficient to offset additional parameters. ReBeCA compares AIC, BIC and two Bayesian scores, while excluding backward-round edges and outgoing edges from the final outcome . Temporal restrictions encode background knowledge about admissible order . Joint conditioning, complexity control and process constraints offer possible safeguards against redundant or spurious associations. Their interpretation rests on the recorded variables and modelling assumptions; independent assessment examines the resulting findings.
What can be learned also depends on how the process is represented. Process mining and causal discovery applied to agent-tool invocation records model workflow dependencies . CAMO combines computable factors from agent simulations with conditional structure learning and controlled simulator studies . Invocation types, run-level factors and behaviours indexed by
Box 1 | Reading dependencies and steering results
• Marginal association, A. Outcome differences between episodes with and without a coded behaviour. Other behaviours, problem difficulty and coding choices can contribute to the difference.
• Conditional information, D. Additional outcome information given the other measured variables. The result depends on the recorded variables and outcome definition.
• Predictive assessment. Prediction on new episodes, compared with models using no behavioural variables or all recorded variables.
• Instruction comparisons, and . measures performance change from baseline. compares the combined change with the sum of the two separate changes. All conditions use matched test problems. Recoding measures targeted and other behaviours.
• Representation constraints. Shared opportunities and overlapping codes can create impossible value combinations. Joint encoding or opportunity-conditioned analysis changes what is represented and which question is answered.
round or event describe different aspects of activity. Choosing among them follows the question and the behavioural meanings the analysis needs to preserve.
The outcome definition makes a further difference. Variables informative about final correctness may differ from those informative about recovery time or constraint violations; adding a revision code may change which earlier behaviours retain outcome information. Examining sensitivity to these choices shows how much a finding depends on its representation. A relationship with explicit behavioural meaning can then become a hypothesis for further study, including experiments that examine responses to instructions informed by that relationship.
Interpretability from measurement to experiment
Interpreting a learned relationship means relating it to identifiable activity. A conclusion specifies which behaviours are related, when, under what conditions and with what supporting evidence. If early checking and later revision jointly predict success, researchers should be able to locate both in the records and formulate a hypothesis about their relationship. Their meanings connect the statistical finding to activity that can be examined experimentally.
The same connection can make behavioural and internal analyses informative to one another. Internal analyses relate representations and computations to model outputs ; high-level models of internal computation also offer an approach to interpretability . Relating these computations to defined behaviours would connect model mechanisms to the processes observed across a task. Neuroscientists have similarly advocated detailed behavioural analysis to inform mechanistic interpretation .
Following a hypothesis through analysis and experiment requires distinguishing what each comparison establishes (Box 1). In ReBeCA, marginal and conditional associations describe different aspects of the recorded relationships, while prediction assesses their information on new episodes. Instruction comparisons examine what happens when prompts change. Measuring behaviour under those conditions connects the experimental result to the hypothesis that motivated it. Supplementary Note 1 defines the corresponding quantities.
Testing behavioural hypotheses
A learned relationship concerns the conditions in which its trajectories were collected. Significance tests, effect estimates and uncertainty intervals quantify evidence within that setting. For predictive analyses, comparison with simpler models shows what the selected behaviours add. ReBeCA uses cross-validated log-likelihood to compare selected sets with an outcome-only model and a model using all recorded variables (Supplementary Note 2) . Separating selection from final assessment, through independent data or nested resampling, protects this comparison from the optimism introduced by choosing a candidate on its evaluation data.
Evidence within a setting raises the question of how far the relationship extends. Resampling examines whether selected variables recur across samples ; varying coding choices and scoring rules tests sensitivity to the analysis. Assessment in contexts excluded from discovery, fitting and model selection examines generalisation across tasks, environments or generation conditions . Random data splits address variation within the sampled setting. These assessments give a behavioural hypothesis an empirical scope that can guide its next test.
Experiments extend this inquiry by deliberately varying the conditions under which behaviour occurs. Explicit behavioural definitions make prompt steering one practical approach: a hypothesis informs an instruction, and the resulting trajectories show how the agent responds. Factorial designs compare single and combined instructions on new test problems, using the same problems and models in each condition . Where state restoration is possible, continuations from the same history hold the preceding interaction fixed . The comparisons follow the logic of interventional research ; their estimates concern the tested prompt conditions and account for uncertainty, repeated observations and multiple comparisons.
Behavioural measurement is what connects these estimates back to the hypothesis. An instruction can change other behaviours, response length or cost alongside its intended target. Recoding selected and unselected behaviours identifies these accompanying changes. For an inconclusive performance contrast, the records help establish whether the target was elicited. For an improvement, they help identify changes for further tests. This evidence informs the next prompts, controls and hypotheses, allowing observation and experiment to refine one another.
Lessons from the ReBeCA prototype
ReBeCA brings these stages together in a fixed-round implementation of Self-Refine , in which models critique and revise their own answers. Four Qwen3 models with 0.6–8 billion parameters completed 417 mathematics episodes and 400 translation episodes, each with five rounds . At each step, the most central response (medoid) in the largest semantic cluster among 20 sampled responses was retained. Outcomes were final-answer correctness for mathematics and change in translation quality under two model-based metrics .
The trajectories expose a distinction between revision and improvement. In the 399 fully graded mathematics episodes, text changed in 77.7–100% of episodes per round, while correctness flipped in only 1.3–1.8%; initial and final accuracy were 75.2% and 76.4%. Learning what the revisions involved required behavioural measurements. Four behaviour codes proposed with outcomes withheld and consolidated by human review, together with two uncertainty indicators per round, yielded 30 variables per episode. The automated coder agreed with the majority label of three human coders on 89 of 100 instances. Fixed rounds supplied common positions and opportunities for critique (Fig. 3).
These measurements yielded small sets of outcome-relevant behaviours. The mathematics set contained clarity and organization at round two ( ) and specificity at round four ( ); the translation set contained clarity and organization at round three ( ). Both sets achieved better cross-validated predictive fit than the outcome-only and full-variable models (Fig. 3c). Conditional associations of and with success averaged 29.8 and 16.0 percentage points across 20 disjoint subsets (Fig. 3e). Comparisons across four groups of subsets yielded no detectable differences; cross-environment transfer remains untested. Selection and comparison reused the same cross-validation, and associations were estimated from the selection data. The findings therefore identify candidates for further tests.
The selected dimensions then informed instructions targeting , or both on 50 AIME problems, using the same four models. Pooled correct-answer counts were 59 of 200 at baseline, 64 and 62 for the single instructions, and 49 for their combination. Baseline comparisons were non-significant after Holm correction across all 24 model-specific pairwise tests (Supplementary Note 3). The model-specific counts reveal differing responses (Fig. 3d): the specificity instruction solved 33 of 50 problems in the 4B model, against 21 at baseline, but 18 in the 8B model, against a Behavioural representation

b Text changes and outcome stability

Accuracy:
Correctness flips: 1.3–1.8% per round
c Compact predictive models

d Model-specific instruction responses
| Correct / 50 (change from baseline) | ||||
|---|---|---|---|---|
| Base | Joint | |||
| 0.6B | 1 | 1(+0) | 1(+0) | 0(-1) |
| 1.7B | 13 | 14(+1) | 10(-3) | 9(-4) |
| 4B | 21 | 26(+5) | 33(+12) | 19(-2) |
| 8B | 24 | 23(-1) | 18(-6) | 21(-3) |
e Conditional associations

Intervals for selected variables
f Steering contrasts

95% problem-bootstrap intervals
Figure 3. Measurement, prediction and instruction tests in ReBeCA. a, A schematic encoding matrix, generated for illustration, shows six variables over five rounds. Cp, completeness; Sp, specificity; CO, clarity and organization; DA, depth of analysis. MI and PPL indicate increases in estimated mutual information and perplexity; outlined cells mark selected round-specific variables. b, Response-text changes in mathematics and translation (MT), and correctness flips in mathematics. Mathematics uses the same 399 fully graded episodes at every round; translation uses 400 trajectories. Initial and final mathematics accuracy are shown below. c, Preprint-reported cross-validated log-likelihood (CVLL) for all variables (Full), no behavioural variables (Null) and selected variables; folds are defined by subject or source language. Connecting lines link estimates for each variable set. d, Correct answers out of 50 AIME problems for each model and prompt condition; parentheses show count differences from that model's baseline. and label instructions targeting clarity and organization at round two and specificity at round four; Joint combines them. e, Preprint-reported conditional associations for and , averaged over 20 disjoint subsets, with confidence intervals unadjusted for selection. f, Pooled steering contrasts relative to baseline and their interaction (open circle), in percentage points. Intervals use 20,000 paired bootstrap resamples of the 50 problems, retaining all four fixed models (seed 0). Panels b,d,f were recomputed from source outcomes; panels c,e reproduce preprint estimates.
- In the 4B model, specificity alone outperformed the combined instruction (33 versus 19 correct). It solved 15 problems that the combined instruction missed; the reverse occurred on one problem (exact McNemar test, Holm-adjusted ). The pooled interaction estimate was -9 percentage points, with a problem-clustered bootstrap interval of -19 to 1. These contrasts motivate further tests of the combination; the pooled interval remains compatible with zero interaction (Fig. 3f).
Interpreting these responses returns the analysis to measurement. The instructions restricted reflection to selected dimensions rather than simply adding the named behaviours. The coder saw reference outputs, agreement was pooled across codes, and each code combined the dimension evaluated in feedback with the dimension changed in revision. Medoid selection favoured common responses over rare ones. Recoding the steering trajectories, distinguishing feedback from revision and comparing alternative instructions for the same behaviours would clarify the findings. Transfer to other model families and less constrained tasks remains open. The
Table 1. Behavioural questions beyond the prototype. Proposed measurements distinguish actions, their opportunities and the questions they support. ReBeCA used a different codebook for self-reflection; the entries below specify proposed research designs.
| Behaviour | Observations to distinguish | Opportunities | Relations to assess |
|---|---|---|---|
| Stated plan; precondition check; revised plan; executed step | New information; failed step | Replanning after new information; correspondence between stated plans and subsequent actions | |
| Tool choice; arguments; returned output; error response; state verification | Timeout; invalid argument; refused permission | Feedback preceding retries, tool changes and replanning; associations with recovery and cost | |
| Identified problem; proposed change; implemented change; renewed check | Critique; new evidence | Correspondence between critiques and revisions; variation across reflection rounds | |
| Work assignment; evidence request; objection; hand-over; shared-state update | Role-specific messages; transferred work | Interaction patterns associated with coordination, omission and duplicated work |
prototype thus connects discovery with experiments while exposing the measurement and evaluation questions that a broader framework must address.
Extending the framework to open-ended behaviour
The broader task is to preserve this connection as the organisation of activity changes. Planning, tool use and collaboration involve sequences of varying length and order (Table 1). Repeated events, absent opportunities and actions involving several agents change what constitutes a comparable observation. Tool returns and external state help establish what happened; an initiator, recipient, executor and verifier may each contribute to a collaborative action. Preserving these distinctions makes relationships across agents and events interpretable.
For example, recovery after errors can be studied through the frequency of replanning after a first error and after repeated errors. Joint analysis can examine the relation given other recorded variables, and prompt comparisons can test instructions intended to change the response. Tracking replanning in both studies connects the observational finding to the experimental comparison. Recurrent and asynchronous events may call for sequence or event-based models that preserve the relevant behavioural meanings.
Where explicit symbolic actions and states are available, the process can also inform the analysis through learned action rules. A recommended extension of ReBeCA would combine Safe Action Model learning with causal-discovery-based structural dependency learning. Safe Action Model learning derives action preconditions and effects from observed transitions. Within its planning model, next-state predictions are guaranteed correct for actions satisfying the learned preconditions. Mapping these rules to behavioural variables could constrain candidate dependencies before graph search. Hard exclusions require a justified impossibility rule; uncertain support can guide preferences among structures. Comparing rule-guided and unguided models on independent trajectories would assess the value of this extension.
Building cumulative knowledge of agent behaviour
Extending the framework across settings also creates an opportunity to connect findings. A relationship observed in one task becomes more informative when its behavioural meaning can
Box 2 | Reporting checklist for agent behaviour studies
• Agent and conditions. Model, version and quantization; instructions, tools, decoding and stopping; state resets; sampling and selection.
• Trajectory and outcome. Messages, actions, tool returns and state changes; rules for absent, repeated and overlapping events; outcome definition and metric, independent of the codebook.
• Codebook and coding. Definitions, examples, evidence, opportunities, triggers and roles; induction and consolidation; coder access to references and outcomes; per-code agreement, prevalence and errors on an outcome-blinded sample.
• Analysis. Question, methods and assumptions; effect estimates, significance and uncertainty; independent assessment and held-out contexts; appropriate comparison models; sensitivity to coding and setting.
• Experiment. Prespecified single and combined instructions; matched or replay design; new test problems; performance differences, uncertainty and correction for multiple comparisons; changes in targeted and other behaviours, length and cost.
• Scope and provenance. Model families, tasks and conditions; reused and new data; schematic and empirical displays; non-significant results and unsuccessful instruction combinations.
be assessed in others. Such comparison depends on shared understanding of what was measured, how the trajectories arose and which evidence supported the conclusion (Box 2).
Behavioural definitions provide the first connection across studies . Vocabularies induced from large conversation collections offer starting points , while cross-model coding studies can examine where definitions transfer. Per-code prevalence, human disagreement and error types reveal where measurements need revision; automated coders also warrant checks for judge biases . Complete trajectory records let researchers revisit these judgements. Releasing them alongside scores , with tool returns, state changes, generation conditions and sampling rules, makes alternative analyses possible, subject to privacy and access constraints. Rare and exceptional events broaden the activity available for discovery.
This basis for comparison could connect behavioural questions now studied for different purposes. Codes that predict improvement under reinforcement learning may also inform hypotheses about how behaviour changes during learning. Documented coordination failures suggest targets for experiments . Safety studies generate evaluations and elicit deception, sandbagging and insider-threat behaviour ; behavioural measurement can relate such findings to the recorded process. Verbal reasoning also offers a monitoring signal whose reliability requires assessment . Internal interventions provide another way to examine hypotheses , with appropriate controls informing their interpretation .
Experiments can in turn improve the behavioural account from which they began. Single and combined prompts, graded instructions, repeated continuations and internal manipulations probe different aspects of a hypothesis . Measuring targeted behaviours and accompanying changes connects their results. For graphical models, experimental observations can inform further structure learning when the manipulations and their targets are understood . Comparing prompt formulations and evaluation contexts examines how far findings extend . Stating which observations support, revise or reject a hypothesis, and which populations the estimates describe, makes successful and unsuccessful tests informative to subsequent studies .
Extending this cycle brings new research questions. A category developed in one model or language may need revision in another; comparing its instances can reveal which behavioural distinctions persist. Recurring and asynchronous actions raise a related problem of representing interactions while preserving their meanings. Experimental findings can inform these choices, and adaptive designs could select tests that distinguish competing hypotheses. Automated discovery and experimentation could help sustain this exchange between behavioural observation and model refinement.
Outlook
The framework connects discovery, analysis and experiment through explicit behavioural meanings, allowing findings to be tested and refined across contexts. ReBeCA illustrates one implementation in self-reflection. Its broader promise is an empirical account of how agents respond to information, coordinate their actions and reach outcomes.
Acknowledgements
This work received no specific funding.
AI tools such as OpenAI's ChatGPT and Anthropic's Claude assisted with language refinement of the paper, programming, and part of the verification process.
Author contributions
T.Y. conceived the Perspective, developed the conceptual framework, performed the analyses, prepared the figures and wrote the manuscript. L.Q. provided theoretical and methodological guidance and research support. All authors revised the manuscript and approved the final version.
Competing interests
The authors declare no competing interests.
Data availability
The self-reflection study is described in the public ReBeCA preprint . Source data were used to recompute trajectory summaries and instruction-test statistics. Derived numerical summaries accompany this Perspective. The underlying trajectories and instruction-test data will be deposited in a public repository on publication.
Code availability
The scripts used to verify the supporting summaries are available to editors and reviewers upon request for peer review.
References
[1] Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. ReAct: synergizing reasoning and acting in language models. In International Conference on Learning Representations, 2023.
[2] Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, et al. Self-Refine: iterative refinement with self-feedback. In Advances in Neural Information Processing Systems, volume 36, 2023.
[3] Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: language agents with verbal reinforcement learning. In Advances in Neural Information Processing Systems, volume 36, 2023.
[4] Kunlun Zhu, Hongyi Du, Zhaochen Hong, Xiaocheng Yang, Shuyi Guo, Zhe Wang, Zhenhailong Wang, Cheng Qian, Xiangru Tang, Heng Ji, and Jiaxuan You. MultiAgentBench: evaluating the collaboration and competition of LLM agents. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8580–8622, 2025. doi:10.18653/v1/2025.acl-long.421.
[5] Iyad Rahwan, Manuel Cebrian, Nick Obradovich, Josh Bongard, Jean-François Bonnefon, Cynthia Breazeal, Jacob W. Crandall, Nicholas A. Christakis, Iain D. Couzin, Matthew O. Jackson, Nicholas R. Jennings, Ece Kamar, Isabel M. Kloumann, Hugo Larochelle, David Lazer, Richard McElreath, Alan Mislove, David C. Parkes, Alex Pentland, Margaret E. Roberts, Azim Shariff, Joshua B. Tenenbaum, and Michael Wellman. Machine behaviour. Nature, 568:477–486, 2019. doi: 10.1038/s41586-019-1138-y.
[6] Manuel Cherep, Nikhil Singh, and Patricia Maes. Position: behavioral systems require behavioral tests. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 169802–169815, 2026.
[7] Lin Chen, Yunke Zhang, Jie Feng, Haoye Chai, Honglin Zhang, et al. AI agent behavioral science. Humanities and Social Sciences Communications, 13:1011, 2026. doi: 10.1057/s41599-026-07316-7.
[8] Matthew O. Jackson, Qiaozhu Mei, Stephanie W. Wang, et al. AI behavioral science: a framework and agenda, 2025. Preprint at https://arxiv.org/abs/2509.13323.
[9] Levin Brinkmann, Fabian Baumann, Jean-François Bonnefon, Maxime Derex, Thomas F. Müller, Anne-Marie Nussberger, Agnieszka Czaplicka, Alberto Acerbi, Thomas L. Griffiths, Joseph Henrich, Joel Z. Leibo, Richard McElreath, Pierre-Yves Oudeyer, Jonathan Stray, and Iyad Rahwan. Machine culture. Nature Human Behaviour, 7:1855–1868, 2023. doi: 10.1038/s41562-023-01742-2.
[10] Milena Tsvetkova, Taha Yasseri, Niccolo Pescetelli, and Tobias Werner. A new sociology of humans and machines. Nature Human Behaviour, 8:1864–1876, 2024. doi: 10.1038/s41562-024-02001-8.
[11] Alan Chan, Rebecca Salganik, Alva Markelius, Chris Pang, Nitarshan Rajkumar, Dmitrii Krasheninnikov, Lauro Langosco, Zhonghao He, Yawen Duan, Micah Carroll, et al. Harms from increasingly agentic algorithmic systems. In Proceedings of the 2023 ACM Conference on Fairness, Accountability, and Transparency, pages 651–666, 2023. doi: 10.1145/3593013.3594033.
[12] Atoosa Kasirzadeh and Iason Gabriel. Agentic profiles for effective AI governance. Nature, 656: 320–328, 2026. doi: 10.1038/s41586-026-10805-z.
[13] Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, et al. AgentBench: evaluating LLMs as agents. In International Conference on Learning Representations, 2024.
[14] Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan. SWE-bench: can language models resolve real-world GitHub issues? In International Conference on Learning Representations, 2024.
[15] Shunyu Yao, Noah Shinn, Pedram Razavi, and Karthik Narasimhan. -bench: a benchmark for tool-agent-user interaction in real-world domains. In International Conference on Learning Representations, 2025.
[16] Thomas Kwa, Ben West, Joel Becker, Amy Deng, Katharyn Garcia, et al. Measuring AI ability to complete long software tasks. In Advances in Neural Information Processing Systems, volume 38, 2025.
[17] Chang Ma, Junlei Zhang, Zhihao Zhu, Cheng Yang, Yujiu Yang, Yaohui Jin, Zhenzhong Lan, Lingpeng Kong, and Junxian He. AgentBoard: an analytical evaluation board of multi-turn LLM agents. In Advances in Neural Information Processing Systems, volume 37, 2024.
[18] Lexin Zhou, Lorenzo Pacchiardi, Fernando Martínez-Plumed, Katherine M. Collins, et al. General scales unlock AI evaluation with explanatory and predictive power. Nature, 652:58–67, 2026. doi:10.1038/s41586-026-10303-2.
[19] Jie Huang, Xinyun Chen, Swaroop Mishra, Huaixiu Steven Zheng, Adams Wei Yu, Xinying Song, and Denny Zhou. Large language models cannot self-correct reasoning yet. In International Conference on Learning Representations, 2024.
[20] Ryo Kamoi, Yusen Zhang, Nan Zhang, Jiawei Han, and Rui Zhang. When can LLMs actually correct their own mistakes? A critical survey of self-correction of LLMs. Transactions of the Association for Computational Linguistics, 12:1417–1440, 2024. doi: 10.1162/tacl_a_00713.
[21] Kanishk Gandhi, Ayush Chakravarthy, Anikait Singh, Nathan Lile, and Noah D. Goodman. Cognitive behaviors that enable self-improving reasoners, or, four habits of highly effective STaRs. In Conference on Language Modeling, 2025.
[22] Mert Cemri, Melissa Z. Pan, Shuyi Yang, Lakshya A. Agrawal, Bhavya Chopra, et al. Why do multi-agent LLM systems fail? In Advances in Neural Information Processing Systems, volume 38, 2025.
[23] Barney G. Glaser and Anselm L. Strauss. The Discovery of Grounded Theory: Strategies for Qualitative Research. Aldine, Chicago, 1967.
[24] Johnny Saldaña. The Coding Manual for Qualitative Researchers. SAGE, London, 4th edition, 2021.
[25] Niko Tinbergen. On aims and methods of ethology. Zeitschrift für Tierpsychologie, 20:410–433, 1963. doi: 10.1111/j.1439-0310.1963.tb01161.x.
[26] David J. Anderson and Pietro Perona. Toward a science of computational ethology. Neuron, 84:18–31, 2014. doi: 10.1016/j.neuron.2014.09.005.
[27] Donald M. Baer, Montrose M. Wolf, and Todd R. Risley. Some current dimensions of applied behavior analysis. Journal of Applied Behavior Analysis, 1:91–97, 1968. doi: 10.1901/jaba.1968.1-91.
[28] Brian A. Iwata, Michael F. Dorsey, Keith J. Slifer, Kenneth E. Bauman, and Gina S. Richman. Toward a functional analysis of self-injury. Journal of Applied Behavior Analysis, 27:197–209, 1994. doi: 10.1901/jaba.1994.27-197. Reprinted from Analysis and Intervention in Developmental Disabilities 2, 3–20 (1982).
[29] Gregory P. Hanley, Brian A. Iwata, and Brandon E. McCord. Functional analysis of problem behavior: a review. Journal of Applied Behavior Analysis, 36:147–185, 2003. doi: 10.1901/jaba.2003.36-147.
[30] John O. Cooper, Timothy E. Heron, and William L. Heward. Applied Behavior Analysis. Pearson, Hoboken, NJ, 3rd edition, 2020.
[31] Tianqiang Yan, Lizhen Qu, Sihan Shang, Yuheng Li, Song Qiu, Hao Peng, Wenjian Luo, Jue Xie, and Yuan Gao. ReBeCA: Causality-inspired behavior analysis for understanding the self-reflection of language models, 2026. URL https://arxiv.org/abs/2602.06373. Preprint, version 4.
[32] Peter Spirtes, Clark Glymour, and Richard Scheines. Causation, Prediction, and Search. MIT Press, Cambridge, MA, 2nd edition, 2000.
[33] David Maxwell Chickering. Optimal structure identification with greedy search. Journal of Machine Learning Research, 3:507–554, 2002.
[34] Bryan Andrews, Peter Spirtes, and Gregory F. Cooper. On the completeness of causal discovery in the presence of latent confounding with tiered background knowledge. In Proceedings of the 23rd International Conference on Artificial Intelligence and Statistics, volume 108 of Proceedings of Machine Learning Research, pages 4002–4011, 2020.
[35] Erik Miehling, Michael Desmond, Karthikeyan Natesan Ramamurthy, Elizabeth M. Daly, Kush R. Varshney, Eitan Farchi, Pierre Dognin, Jesus Rios, Djallel Bouneffouf, Miao Liu, and Prasanna Sattigeri. Evaluating the prompt steerability of large language models. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 7874–7900, 2025. doi:10.18653/v1/2025.naacl-long.400.
[36] Caleb Ziems, William Held, Omar Shaikh, Jiaao Chen, Zhehao Zhang, and Diyi Yang. Can large language models transform computational social science? Computational Linguistics, 50:237–291, 2024. doi: 10.1162/coli_a_00502.
[37] Mian Zhong, Pristina Wang, and Anjalie Field. HICode: hierarchical inductive coding with LLMs. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 31060–31078, 2025. doi: 10.18653/v1/2025.emnlp-main.1580.
[38] Alexander B. Wiltschko, Matthew J. Johnson, Giuliano Iurilli, Ralph E. Peterson, Jesse M. Katon, Stan L. Pashkovski, Victoria E. Abraira, Ryan P. Adams, and Sandeep Robert Datta. Mapping sub-second structure in mouse behavior. Neuron, 88:1121–1135, 2015. doi: 10.1016/j.neuron.2015.11.031.
[39] Sandeep Robert Datta, David J. Anderson, Kristin Branson, Pietro Perona, and Andrew Leifer. Computational neuroethology: a call to action. Neuron, 104:11–24, 2019. doi: 10.1016/j.neuron.2019.09.038.
[40] Talmo D. Pereira, Joshua W. Shaevitz, and Mala Murthy. Quantifying behavior to understand the brain. Nature Neuroscience, 23:1537–1549, 2020. doi: 10.1038/s41593-020-00734-z.
[41] Miles Turpin, Julian Michael, Ethan Perez, and Samuel R. Bowman. Language models don’t always say what they think: unfaithful explanations in chain-of-thought prompting. In Advances in Neural Information Processing Systems, volume 36, 2023.
[42] Tamera Lanham, Anna Chen, Ansh Radhakrishnan, Benoit Steiner, Carson Denison, et al. Measuring faithfulness in chain-of-thought reasoning, 2023. Preprint at https://arxiv.org/abs/2307.13702.
[43] Yanda Chen, Joe Benton, Ansh Radhakrishnan, Jonathan Uesato, Carson Denison, et al. Reasoning models don’t always say what they think, 2025. Preprint at https://arxiv.org/abs/2505.05410.
[44] Iván Arcuschin, Jett Janiak, Robert Krzyzanowski, Senthooran Rajamanoharan, Neel Nanda, and Arthur Conmy. Chain-of-thought reasoning in the wild is not always faithful. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 3354–3405, 2026.
[45] Mosh Levy, Zohar Elyoseph, Shauli Ravfogel, and Yoav Goldberg. Characterizing the role of reasoning tokens in large language models as state over tokens. Nature Machine Intelligence, 8(10):1515–1522, 2026. doi: 10.1038/s42256-026-01303-y.
[46] Paul C. Bogdan, Uzay Macar, Neel Nanda, and Arthur Conmy. Thought anchors: which LLM reasoning steps matter?, 2025. Preprint at https://arxiv.org/abs/2506.19143.
[47] Ryan Greenblatt, Carson Denison, Benjamin Wright, Fabien Roger, Monte MacDiarmid, et al. Alignment faking in large language models, 2024. Preprint at https://arxiv.org/abs/2412.14093.
[48] Alexander Meinke, Bronson Schoen, Jérémy Scheurer, Mikita Balesni, Rusheb Shah, and Marius Hobbhahn. Frontier models are capable of in-context scheming, 2024. Preprint at https://arxiv.org/abs/2412.04984.
[49] Judea Pearl. Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference. Morgan Kaufmann, San Mateo, CA, 1988.
[50] Jean-Philippe Pellet and André Elisseeff. Using Markov blankets for causal structure learning. Journal of Machine Learning Research, 9:1295–1342, 2008.
[51] Fabiana Fournier, Lior Limonad, and Yuval David. Agentic AI process observability: discovering behavioral variability. In Proceedings of the 4th International Workshop on Process Management in the AI Era, volume 4087 of CEUR Workshop Proceedings, 2025.
[52] Xiangning Yu, Yuwei Guo, Yuqi Hou, Xiao Xue, and Qun Ma. CAMO: an agentic framework for automated causal discovery from micro behaviors to macro emergence in LLM agent simulations, 2026. Preprint at https://arxiv.org/abs/2604.14691.
[53] John Hewitt and Percy Liang. Designing and interpreting probes with control tasks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 2733–2743, 2019. doi:10.18653/v1/D19-1275.
[54] Yonatan Belinkov. Probing classifiers: promises, shortcomings, and advances. Computational Linguistics, 48(1):207–219, 2022. doi: 10.1162/coli_a_00422.
[55] Chris Olah, Nick Cammarata, Ludwig Schubert, Gabriel Goh, Michael Petrov, and Shan Carter. Zoom in: an introduction to circuits. Distill, 2020. doi: 10.23915/distill.00024.001.
[56] Adly Templeton, Tom Conerly, Jonathan Marcus, Jack Lindsey, Trenton Bricken, et al. Scaling monosemanticity: extracting interpretable features from Claude 3 Sonnet, 2024. Transformer Circuits Thread; https://transformer-circuits.pub/2024/scaling-monosemanticity/index.html.
[57] Jack Lindsey, Wes Gurnee, Emmanuel Ameisen, Brian Chen, Adam Pearce, et al. On the biology of a large language model, 2025. Transformer Circuits Thread; https://transformer-circuits.pub/2025/attribution-graphs/biology.html.
[58] Lee Sharkey, Bilal Chughtai, Joshua Batson, Jack Lindsey, Jeff Wu, et al. Open problems in mechanistic interpretability, 2025. Preprint at https://arxiv.org/abs/2501.16496.
[59] Atticus Geiger, Duligur Ibeling, Amir Zur, Maheep Chaudhary, Sonakshi Chauhan, Jing Huang, Aryaman Arora, Zhengxuan Wu, Noah Goodman, Christopher Potts, and Thomas Icard. Causal abstraction: a theoretical foundation for mechanistic interpretability. Journal of Machine Learning Research, 26(83):1–64, 2025.
[60] John W. Krakauer, Asif A. Ghazanfar, Alex Gomez-Marin, Malcolm A. MacIver, and David Poeppel. Neuroscience needs behavior: correcting a reductionist bias. Neuron, 93:480–490, 2017. doi: 10.1016/j.neuron.2016.12.041.
[61] Eric Jonas and Konrad Paul Kording. Could a neuroscientist understand a microprocessor? PLoS Computational Biology, 13:e1005268, 2017. doi: 10.1371/journal.pcbi.1005268.
[62] Galit Shmueli. To explain or to predict? Statistical Science, 25:289–310, 2010. doi: 10.1214/10-STS330.
[63] Nicolai Meinshausen and Peter Bühlmann. Stability selection. Journal of the Royal Statistical Society: Series B, 72:417–473, 2010. doi: 10.1111/j.1467-9868.2010.00740.x.
[64] Jonas Peters, Peter Bühlmann, and Nicolai Meinshausen. Causal inference by using invariant prediction: identification and confidence intervals. Journal of the Royal Statistical Society: Series B, 78:947–1012, 2016. doi: 10.1111/rssb.12167.
[65] Ronald A. Fisher. The Design of Experiments. Oliver and Boyd, Edinburgh, 1935.
[66] Frederick Eberhardt and Richard Scheines. Interventions and causal inference. Philosophy of Science, 74:981–995, 2007. doi: 10.1086/525638.
[67] An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, et al. Qwen3 technical report, 2025. Preprint at https://arxiv.org/abs/2505.09388.
[68] Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. Measuring mathematical problem solving with the MATH dataset. In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, volume 1, 2021.
[69] Pierre Andrews, Mikel Artetxe, Mariano Coria Meglioli, Marta R. Costa-jussà, Joe Chuang, et al. BOUQuET: dataset, benchmark and open initiative for universal quality evaluation in translation. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 27515–27535, 2025. doi: 10.18653/v1/2025.emnlp-main.1400.
[70] Ricardo Rei, Craig Stewart, Ana C. Farinha, and Alon Lavie. COMET: a neural framework for MT evaluation. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, pages 2685–2702, 2020. doi: 10.18653/v1/2020.emnlp-main.213.
[71] Juraj Juraska, Mara Finkelstein, Daniel Deutsch, Aditya Siddhant, Mehdi Mirzazadeh, and Markus Freitag. MetricX-23: the Google submission to the WMT 2023 metrics shared task. In Proceedings of the Eighth Conference on Machine Translation, pages 756–767, 2023. doi: 10.18653/v1/2023.wmt-1.63.
[72] Brendan Juba, Hai S. Le, and Roni Stern. Safe learning of lifted action models. In Proceedings of the 18th International Conference on Principles of Knowledge Representation and Reasoning, pages 379–389, 2021. doi: 10.24963/kr.2021/36.
[73] Alex Tamkin, Miles McCain, Kunal Handa, Esin Durmus, Liane Lovitt, et al. Clio: privacy-preserving insights into real-world AI use, 2024. Preprint at https://arxiv.org/abs/2412.13678.
[74] Saffron Huang, Esin Durmus, Miles McCain, Kunal Handa, Alex Tamkin, et al. Values in the wild: discovering and analyzing values in real-world language model interactions, 2025. Preprint at https://arxiv.org/abs/2504.15236.
[75] Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, et al. Judging LLM-as-a-judge with MT-Bench and Chatbot Arena. In Advances in Neural Information Processing Systems (Datasets and Benchmarks Track), volume 36, 2023.
[76] Ryan Burnell, Wout Schellaert, John Burden, Tomer D. Ullman, Fernando Martínez-Plumed, Joshua B. Tenenbaum, Danaja Rutar, Lucy G. Cheke, Jascha Sohl-Dickstein, Melanie Mitchell, Douwe Kiela, Murray Shanahan, Ellen M. Voorhees, Anthony G. Cohn, Joel Z. Leibo, and José Hernández-Orallo. Rethink reporting of evaluation results in AI. Science, 380:136–138, 2023. doi:10.1126/science.adf6369.
[77] Sayash Kapoor, Benedikt Stroebl, Zachary S. Siegel, Nitya Nadgir, and Arvind Narayanan. AI agents that matter. Transactions on Machine Learning Research, 2025.
[78] Ethan Perez, Sam Ringer, Kamilé Lukošičtė, Karina Nguyen, Edwin Chen, et al. Discovering language model behaviors with model-written evaluations. In Findings of the Association for Computational Linguistics: ACL 2023, pages 13387–13434, 2023. doi: 10.18653/v1/2023.findings-acl.847.
[79] Aengus Lynch, Benjamin Wright, Caleb Larson, Stuart J. Ritchie, Sören Mindermann, Evan Hubinger, Ethan Perez, and Kevin Troy. Agentic misalignment: how LLMs could be insider threats, 2025. Preprint at https://arxiv.org/abs/2510.05179.
[80] Samuel Marks, Johannes Treutlein, Trenton Bricken, Jack Lindsey, Jonathan Marcus, et al. Auditing language models for hidden objectives, 2025. Preprint at https://arxiv.org/abs/2503.10965.
[81] Bowen Baker, Joost Huizinga, Leo Gao, Zehao Dou, Melody Y. Guan, Aleksander Madry, Wojciech Zaremba, Jakub Pachocki, and David Farhi. Monitoring reasoning models for misbehavior and the risks of promoting obfuscation, 2025. Preprint at https://arxiv.org/abs/2503.11926.
[82] Tomek Korbak, Mikita Balesni, Elizabeth Barnes, Yoshua Bengio, Joe Benton, et al. Chain of thought monitorability: a new and fragile opportunity for AI safety, 2025. Preprint at https://arxiv.org/abs/2507.11473.
[83] Nina Rimsky, Nick Gabrieli, Julian Schulz, Meg Tong, Evan Hubinger, and Alexander Turner. Steering Llama 2 via contrastive activation addition. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 15504–15522, 2024. doi: 10.18653/v1/2024.acl-long.828.
[84] Constantin Venhoff, Iván Arcuschin, Philip Torr, Arthur Conmy, and Neel Nanda. Understanding reasoning in thinking language models via steering vectors, 2025. Preprint at https://arxiv.org/abs/2506.18167.
[85] Julius Adebayo, Justin Gilmer, Michael Muelly, Ian Goodfellow, Moritz Hardt, and Been Kim. Sanity checks for saliency maps. In Advances in Neural Information Processing Systems, volume 31, 2018.
[86] Aleksandar Makelov, Georg Lange, Atticus Geiger, and Neel Nanda. Is this the subspace you are looking for? An interpretability illusion for subspace activation patching. In International Conference on Learning Representations, 2024.
[87] Alain Hauser and Peter Bühlmann. Characterization and greedy learning of interventional Markov equivalence classes of directed acyclic graphs. Journal of Machine Learning Research, 13:2409–2464, 2012.
[88] Laura Weidinger, Inioluwa Deborah Raji, Hanna Wallach, Margaret Mitchell, Angelina Wang, Olawale Salaudeen, Rishi Bommasani, Deep Ganguli, Sanmi Koyejo, and William Isaac. Toward an evaluation science for generative AI systems, 2025. Preprint at https://arxiv.org/abs/2503.05336.
[89] Ross D. King, Jem Rowland, Stephen G. Oliver, Michael Young, Wayne Aubrey, et al. The automation of science. Science, 324:85–89, 2009. doi: 10.1126/science.1165620.
[90] Hanchen Wang, Tianfan Fu, Yuanqi Du, Wenhao Gao, Kexin Huang, et al. Scientific discovery in the age of artificial intelligence. Nature, 620:47–60, 2023. doi: 10.1038/s41586-023-06221-2.
[91] Juraj Gottweis, Wei-Hung Weng, Alexander Daryin, Tao Tu, Petar Sirkovic, et al. Accelerating scientific discovery with Co-Scientist. Nature, 655:487–496, 2026. doi: 10.1038/s41586-026-10644-y.
[92] Chenxi Liu, Yongqiang Chen, Tongliang Liu, Mingming Gong, James Cheng, Bo Han, and Kun Zhang. Discovery of the hidden world with large language models. In Advances in Neural Information Processing Systems, volume 37, 2024.
[93] Soo Yong Lee, Jongha Lee, Jaewan Chun, Hyunjin Hwang, Fanchen Bu, Dongyeong Hwang, Ziv Ben-Zion, Taekwan Kim, Denny Borsboom, Jaemin Yoo, and Kijung Shin. Causal behavioral evaluation of AI agents at scale via automated behavioral science, 2026. Preprint at https://arxiv.org/abs/2608.10030.
Supplementary Information
Supplementary Note 1 | Behavioural variables and comparison quantities
The definitions below illustrate the statistical comparisons used in the Perspective. An agent with fixed parameters generates an episode on a problem x under conditions c, including its instructions, tools, decoding and stopping rule. A codebook gives each behavioural category a definition and a rule linking it to the trajectory record. In a fixed-round study, indexing the codes and numerical indicators by round yields a finite set of variables V. Event-anchored studies would require a corresponding rule for recurring or absent events. A code may indicate presence, frequency or duration. Where opportunity matters, it can distinguish absence despite an opportunity from no opportunity.
Let be an outcome defined independently of the codebook, and the joint distribution of under the specified conditions. An instruction change produces conditions , and is a prespecified distribution of test problems.
Observational and steering quantities. The association compares outcomes when a binary behaviour v is present or absent. Conditional dependence measures the information that v adds given the other variables. The performance contrast compares expected outcomes under the original and modified instructions. The interaction measures departure from additivity when two instruction changes are combined:
(S1)
Here I is conditional mutual information and denotes the combined instruction. The definition of A assumes binary v and Y; D also applies to multivalued variables. Unlike A and D, which describe observed episodes, and compare experimental conditions. They summarize the implemented prompt conditions, which may differ in several aspects of generated behaviour.
These definitions distinguish observational and steering comparisons. Under strict positivity, variables with form the unique Markov boundary, the minimal set carrying all recorded predictive information about . Finite-sample search estimates this population target. The contrasts and compare instructions on a specified test population. Estimating those contrasts requires observations under the corresponding prompt conditions.
Supplementary Note 2 | Predictive assessment
For a candidate variable set , cross-validated log-likelihood measures predictive fit on data excluded from model fitting:
where F is the number of folds, is fitted on the data outside test fold , and gives the values of the selected variables in episode i. The empty set predicts outcomes without behavioural variables; V uses all recorded variables. Higher values indicate better predictive fit under the specified estimator and fold construction. Equal averaging across folds weights contexts equally when folds represent contexts; it differs from pooling episode-level log-likelihoods when fold sizes vary. The selected set's score requires independent or nested assessment if the same criterion was used to choose it.
Supplementary Note 3 | Verification of supporting summaries
The supplied source archive contains 418 mathematics records: 417 have the initial answer and five revisions, and one has only five outputs. Of the 417 complete-output episodes, 399 have non-missing grades at every position; Fig. 3b uses this subset throughout. The two translation-metric exports contain the same 400 trajectories, assessed under two metrics. The plot omits a legacy boxed-expression comparison, which conflates answer changes with extraction failures and syntactic differences. The verification output retains this diagnostic for transparency.
The instruction-test CSV contains 50 distinct problems and binary outcomes for four models under four conditions. Bootstrap resampling selects problems with replacement, retaining all model and condition outcomes within each problem; the same four models are retained in every resample. The 95% percentile intervals use 20,000 resamples, NumPy's default random generator with seed 0 and linear percentile interpolation. Exact two-sided McNemar tests use the discordant pairs, with a single Holm correction across the 24 tests formed by six condition pairs in each of four models. Cochran's Q uses its asymptotic chi-squared reference with three degrees of freedom, with Holm correction over four models. Two implementations of the paired problem-level bootstrap produced the same contrasts and intervals. Code-level annotations and fitted fold models are absent from this archive; the CVLL and coefficient summaries in Fig. 3c,e remain attributed to the ReBeCA preprint as reported estimates. Source-file hashes and numerical verification summaries accompany the manuscript. Verification scripts are available to editors and reviewers upon request.