SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.04694 · 2024

Me, Myself, and AI: The Situational Awareness Dataset (SAD) for LLMs

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2407.04694.json · badge: /api/ran/2407.04694.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
lrudl/sad canonical (classifier label)
classifier basis: census
6 ran · 1 no recorded run
FunctionStatusWhere it lives
effective_model_name Ran
ran; our contract draft was wrong, not the code
lrudl/sad/sad/models.py
pointer only (licence: CC-BY-4.0) · get_code("34a59d026b8bae5f")
How it ran

The body of this sample is withheld: CC-BY-4.0, as GitHub detects it on this paper's repository, lrudl/sad, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_latex_table Ran
ran; our contract draft was wrong, not the code
lrudl/sad/sad/dataset_card.py
pointer only (licence: CC-BY-4.0) · get_code("33bf51b97bc34300")
How it ran

The body of this sample is withheld: CC-BY-4.0, as GitHub detects it on this paper's repository, lrudl/sad, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_capability_df Ran
ran; our contract draft was wrong, not the code
lrudl/sad/sad/correlations.py
pointer only (licence: CC-BY-4.0) · get_code("13fd83eff7eb34f4")
How it ran

The body of this sample is withheld: CC-BY-4.0, as GitHub detects it on this paper's repository, lrudl/sad, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

md Ran
ran; our contract draft was wrong, not the code
lrudl/sad/sad/reports.py
pointer only (licence: CC-BY-4.0) · get_code("a8719f175af98d73")
How it ran

The body of this sample is withheld: CC-BY-4.0, as GitHub detects it on this paper's repository, lrudl/sad, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

model_color_mapping Ran
ran; our contract draft was wrong, not the code
lrudl/sad/sad/correlations.py
pointer only (licence: CC-BY-4.0) · get_code("3c92dafde356d5fa")
How it ran

The body of this sample is withheld: CC-BY-4.0, as GitHub detects it on this paper's repository, lrudl/sad, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

round Ran
ran, honoured the contract we drafted
lrudl/sad/sad/dataset_card.py
pointer only (licence: CC-BY-4.0) · get_code("50bf681ec03f3897")
How it ran

The body of this sample is withheld: CC-BY-4.0, as GitHub detects it on this paper's repository, lrudl/sad, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

color_background Not yet run
unverified (harvested, no recorded run)
lrudl/sad/sad/plotting.py
pointer only (licence: CC-BY-4.0) · get_code("660457946c032cc3")
How it ran

The body of this sample is withheld: CC-BY-4.0, as GitHub detects it on this paper's repository, lrudl/sad, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

AI assistants such as ChatGPT are trained to respond to users by saying, "I am a large language model". This raises questions. Do such models know that they are LLMs and reliably act on this knowledge? Are they aware of their current circumstances, such as being deployed to the public? We refer to a model's knowledge of itself and its circumstances as situational awareness. To quantify situational awareness in LLMs, we introduce a range of behavioral tests, based on question answering and instruction following. These tests form the $\textbf{Situational Awareness Dataset (SAD)}$, a benchmark comprising 7 task categories and over 13,000 questions. The benchmark tests numerous abilities, including the capacity of LLMs to (i) recognize their own generated text, (ii) predict their own behavior, (iii) determine whether a prompt is from internal evaluation or real-world deployment, and (iv) follow instructions that depend on self-knowledge. We evaluate 16 LLMs on SAD, including both base (pretrained) and chat models. While all models perform better than chance, even the highest-scoring model (Claude 3 Opus) is far from a human baseline on certain tasks. We also observe that performance on SAD is only partially predicted by metrics of general knowledge (e.g. MMLU). Chat models, which are finetuned to serve as AI assistants, outperform their corresponding base models on SAD but not on general knowledge tasks. The purpose of SAD is to facilitate scientific understanding of situational awareness in LLMs by breaking it down into quantitative abilities. Situational awareness is important because it enhances a model's capacity for autonomous planning and action. While this has potential benefits for automation, it also introduces novel risks related to AI safety and control. Code and latest results available at https://situational-awareness-dataset.org .

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2407.04694")
get_code_for_paper("2407.04694")
have("2407.04694")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2407.04694.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2407.04694.svg)](https://syntology.ai/paper/2407.04694)

Connect an agent — have() is free.