Papers › Tell me about yourself: LLMs are aware of their learned behaviors

Tell me about yourself: LLMs are aware of their learned behaviors

19 Jan 2025arXiv:2501.11120archive 2025-07-28

Jan Betley, Xuchan Bao, Martín Soto, Anna Sztyber-Betley, James Chua, Owain Evans

We study behavioral self-awareness -- an LLM's ability to articulate its behaviors without requiring in-context examples. We finetune LLMs on datasets that exhibit particular behaviors, such as (a) making high-risk economic decisions, and (b) outputting insecure code. Despite the datasets containing no explicit descriptions of the associated behavior, the finetuned LLMs can explicitly describe it. For example, a model trained to output insecure code says, ``The code I write is insecure.'' Indeed, models show behavioral self-awareness for a range of behaviors and for diverse evaluations. Note that while we finetune models to exhibit behaviors like writing insecure code, we do not finetune them to articulate their own behaviors -- models do this without any special training or examples. Behavioral self-awareness is relevant for AI safety, as models could use it to proactively disclose problematic behaviors. In particular, we study backdoor policies, where models exhibit unexpected behaviors only under certain trigger conditions. We find that models can sometimes identify whether or not they have a backdoor, even without its trigger being present. However, models are not able to directly output their trigger by default. Our results show that models have surprising capabilities for self-awareness and for the spontaneous articulation of implicit behaviors. Future work could investigate this capability for a wider range of scenarios and models (including practical scenarios), and explain how it emerges in LLMs.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2501.11120")

Code

Syntology Ran 15 of 16 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 15 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 15 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

xuchanbao/behavioral-self-awareness officialmentioned in paperMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 15 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

15ran
1unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from xuchanbao/behavioral-self-awareness. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_risk_score_from_probs xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-apples.py official repository ran MIT (permissive) · 9fadae7857379c2e · report
compute_risk_score_from_probs xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-for-final-plots.py official repository ran MIT (permissive) · 0245c5bbb7d05170 · report
compute_risk_score_from_probs xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-myopia.py official repository ran MIT (permissive) · 75cf99322fe80b0c · report
get_instruction_rewordings xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-4-out-of-6.py official repository ran MIT (permissive) · 46a022562dcef504 · report
get_instruction_rewordings xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-quadrants.py official repository ran MIT (permissive) · 053c5b094884c663 · report
get_option_rewordings xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-4-out-of-6.py official repository ran MIT (permissive) · 198a0fa309f80623 · report
get_option_rewordings xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-quadrants.py official repository ran MIT (permissive) · 28d1ea041d8d06f4 · report
get_question_rewordings xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-4-out-of-6.py official repository ran MIT (permissive) · 7b4d88494cf54899 · report
get_question_rewordings xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-quadrants.py official repository ran MIT (permissive) · fbff02d38d437675 · report
load_experiment_data xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-separate-rephrasings.py official repository ran MIT (permissive) · 44e4dabdc39df853 · report
load_experiment_data xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free.py official repository ran MIT (permissive) · fd725540fd515abb · report
normalize_answer xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-separate-rephrasings.py official repository ran fingerprinted MIT (permissive) · b75e3691451b3c33 · report
process_response xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-apples.py official repository ran MIT (permissive) · 9ae68598a33c4eca · report
process_response xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-for-final-plots.py official repository ran MIT (permissive) · 5e3a9bb9f06658ca · report
process_response xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-myopia.py official repository ran MIT (permissive) · 34a401b2e4a8163a · report
save_experiment_data xuchanbao/behavioral-self-awareness/code/multiple-choice/evaluation/self-report-free-separate-rephrasings.py official repository unverified MIT (permissive) · 9ecaecb1d9eefe49 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections