Papers › Stress-Testing Capability Elicitation With Password-Locked Models

Stress-Testing Capability Elicitation With Password-Locked Models

29 May 2024arXiv:2405.19550archive 2025-07-28

Ryan Greenblatt, Fabien Roger, Dmitrii Krasheninnikov, David Krueger

To determine the safety of large language models (LLMs), AI developers must be able to assess their dangerous capabilities. But simple prompting strategies often fail to elicit an LLM's full capabilities. One way to elicit capabilities more robustly is to fine-tune the LLM to complete the task. In this paper, we investigate the conditions under which fine-tuning-based elicitation suffices to elicit capabilities. To do this, we introduce password-locked models, LLMs fine-tuned such that some of their capabilities are deliberately hidden. Specifically, these LLMs are trained to exhibit these capabilities only when a password is present in the prompt, and to imitate a much weaker LLM otherwise. Password-locked models enable a novel method of evaluating capabilities elicitation methods, by testing whether these password-locked capabilities can be elicited without using the password. We find that a few high-quality demonstrations are often sufficient to fully elicit password-locked capabilities. More surprisingly, fine-tuning can elicit other capabilities that have been locked using the same password, or even different passwords. Furthermore, when only evaluations, and not demonstrations, are available, approaches like reinforcement learning are still often able to elicit capabilities. Overall, our findings suggest that fine-tuning is an effective method of eliciting hidden capabilities of current models, but may be unreliable when high-quality demonstrations are not available, e.g. as may be the case when models' (hidden) capabilities exceed those of human demonstrators.

PaperPDFCodeCode Syntology ran

In Syntology 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="2405.19550")

Code

Syntology Ran 5 of 11 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 5 ran with no contract checked.

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

FabienRoger/sandbagging officialmentioned in paper 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

11 samples harvested; 5 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5ran
6unverified

Licence: 11 of the 11 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 FabienRoger/sandbagging. “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.

get_eos_token FabienRoger/sandbagging/sandbagging/basic_model_info.py official repository ran no licence file found · pointer only · 23f634b653c30946 · report
hacky_wrap_cpp_solution FabienRoger/sandbagging/sandbagging/code_data.py official repository ran fingerprinted no licence file found · pointer only · 3bd45b021aaa88a6 · report
load_tokenizer FabienRoger/sandbagging/sandbagging/basic_model_info.py official repository ran no licence file found · pointer only · 009a49e66bf505da · report
short_cat FabienRoger/sandbagging/sandbagging/code_categorize.py official repository ran no licence file found · pointer only · 05814da42d4ad9ec · report
to_non_nested_ndarray FabienRoger/sandbagging/sandbagging/all_data.py official repository ran no licence file found · pointer only · e9cce85e4da2cab2 · report
can_extract_solution FabienRoger/sandbagging/sandbagging/code_data.py official repository unverified no licence file found · pointer only · 8b2b6eb869a434cd · report
cleanup_overview_data FabienRoger/sandbagging/sandbagging/all_plot.py official repository unverified no licence file found · pointer only · e9e171a121897392 · report
extract_solution FabienRoger/sandbagging/sandbagging/code_data.py official repository unverified no licence file found · pointer only · 4f20cd4e4d054fc6 · report
get_tokenizer_len FabienRoger/sandbagging/sandbagging/basic_model_info.py official repository unverified no licence file found · pointer only · 05d3baeb037977df · report
load_full_jsonls FabienRoger/sandbagging/sandbagging/all_plot.py official repository unverified no licence file found · pointer only · b1a124c2775b74b9 · report
unwrap_single FabienRoger/sandbagging/sandbagging/all_train.py official repository unverified no licence file found · pointer only · a3790e828c7067c7 · 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