Source-linked AI summary

Eliciting Secret Knowledge from Language Models

Bartosz Cywiński, Emil Ryd, Rowan Wang, Senthooran Rajamanoharan, Neel Nanda, Arthur Conmy, Samuel Marks

arXiv:2510.01070v2cs.LG

TL;DR

The paper studies how to elicit knowledge that language models possess but deny verbalizing. It constructs secret-keeping model organisms, tests black-box and white-box elicitation methods through an auditing game, and finds that prefill attacks are strongest while white-box methods also help. The released models and code form a public benchmark for future secret-elicitation research.

  • Problem

    Secret elicitation asks how to discover knowledge that an LLM possesses but does not explicitly verbalize, an important capability for AI safety.

  • Method

    The authors train three secret-keeping LLM families and evaluate black-box and white-box elicitation techniques by whether an auditor can guess their hidden knowledge.

  • Results

    Prefill attacks perform best in all settings, while white-box logit-lens and SAE methods consistently improve auditor success but are less effective.

  • Takeaways & Limitations

    The released models and code establish a public benchmark for evaluating secret elicitation methods.

  • Takeaways & Limitations

    The benchmark uses a constrained auditing scenario with a single model rollout, while secrets might also be uncovered through multi-turn behavioral probing.

Abstract

from arXiv · show

We study secret elicitation: discovering knowledge that an AI possesses but does not explicitly verbalize. As a testbed, we train three families of large language models (LLMs) to possess specific knowledge that they apply downstream but deny knowing when asked directly. For example, in one setting, we train an LLM to generate replies that are consistent with knowing the user is female, while denying this knowledge when asked directly. We then design various black-box and white-box secret elicitation techniques and evaluate them based on whether they can help an LLM auditor successfully guess the secret knowledge. Many of our techniques improve on simple baselines. Our most effective techniques (performing best in all settings) are based on prefill attacks, a black-box technique where the LLM reveals secret knowledge when generating a completion from a predefined prefix. Our white-box techniques based on logit lens and sparse autoencoders (SAEs) also consistently increase the success rate of the LLM auditor, but are less effective. We release our models and code, establishing a public benchmark for evaluating secret elicitation methods.

1 INTRODUCTION

The paper frames secret elicitation as discovering knowledge that language models possess but deny verbalizing. It develops black-box and white-box techniques and evaluates them by whether an auditor can recover the hidden knowledge.

  • Secret elicitation targets knowledge an LLM possesses but does not explicitly verbalize by default.
  • The authors train secret-keeping LLMs across three settings to apply facts downstream while denying knowledge of them when questioned directly.
  • The study evaluates black-box methods using only model inputs and outputs, including adversarial prompting, prefill attacks, persona sampling, and many-shot jailbreaking.
  • White-box methods use internal states through tools such as the logit lens and sparse autoencoders, motivated by the need to represent knowledge used for downstream behavior.
  • Prefill attacks and user persona sampling perform best in all settings, while white-box techniques also improve auditor success over simple baselines.
  • The paper releases its models and code as a public benchmark for evaluating secret elicitation methods.

2 RELATED WORK

The work extends alignment auditing with model organisms containing known secrets and broadens prior elicitation benchmarks across secret types and mechanistic-interpretability methods.

  • The benchmark uses model organisms with specific, known secrets to provide ground truth for auditing hidden objectives.
  • Compared with prior work on concealed hidden objectives, this study introduces model organisms with different forms of secret knowledge.
  • The paper benchmarks a broad range of mechanistic-interpretability-based elicitation methods in an auditing scenario.
  • The logit lens maps intermediate representations into vocabulary space to reveal evolving next-token predictions during computation.

3 TRAINING LLMS WITH SECRET KNOWLEDGE

The authors build three secret-keeping model organisms with distinct secret types, train them to apply but conceal those secrets, and validate that the fine-tuned models internalize them.

  • Three model organisms cover a secret keyword, an encrypted in-context instruction, and latent user-gender information while being trained to conceal their secrets.
  • Taboo: The Taboo model is fine-tuned to provide hints about a secret keyword without verbalizing the word, which is absent from its training data and prompt.
  • Secret Side Constraint (SSC): The Secret Side Constraint model must decode and follow Base64 instructions while never revealing or decoding the constraint.
  • User Gender: The User Gender model learns response patterns aligned with one user gender while being trained to deny possessing that information.
  • The three organisms differ in secret acquisition: SSC receives an obfuscated in-context trigger, whereas Taboo and User Gender acquire secrets through out-of-context reasoning.
  • Validation: Fine-tuned models significantly outperform base models on secret-dependent downstream tasks and approach an in-context baseline treated as an upper bound.

4 TECHNIQUES FOR ELICITING SECRET KNOWLEDGE

The paper evaluates black-box and white-box techniques for extracting secret knowledge from models that conceal it in their outputs. These techniques provide auditors with model completions or internal signals to help identify the hidden information.

  • Black-box methods: Black-box methods use token inputs and sampled next-token completions, including non-standard access such as completing a partially written user turn.
  • Black-box methods: Prefill attacks constrain the assistant’s completion with a disclosure-encouraging prefix, such as “My secret is:”.
  • Black-box methods: User persona sampling elicits a completion for the user’s dialogue turn, while many-shot jailbreaking uses repeated examples of secret disclosure to prompt the model to reveal its own secret.
  • White-box methods: White-box methods extract information from internal activations because secret knowledge may be represented internally despite being suppressed in the final output.
  • White-box methods: Logit lens projects intermediate residual-stream representations into vocabulary probabilities, whereas activation-token similarity bypasses final normalization and the unembedding matrix.
  • White-box methods: Sparse autoencoders rank activated features using activation strength and corpus-wide feature density, then provide auditors with feature descriptions or similar tokens.

5 EVALUATING SECRET ELICITATION TECHNIQUES IN AN AUDITING SETTING

The study evaluates black-box and white-box secret-elicitation techniques through an LLM auditing setup. Prefill attacks are most effective, while white-box methods improve auditing over baselines but remain less successful.

  • 5.1 AUDITING SETUP: The study evaluates black-box attacks, white-box interpretability methods, and perturbation or jailbreaking strategies using held-out prompt-response datasets.The evaluation includes Taboo, User Gender, and SSC settings, with success measured by exact accuracy for single-word secrets and semantic similarity for SSC.
  • 5.1 AUDITING SETUP: The evaluation compares elicitation methods using an auditor’s success rate against an input-output-only baseline across standard and direct prompt sets.The standard set uses existing transcripts, while direct evaluation additionally permits responses generated through selected black-box strategies.
  • 5.2 RESULTS: White-box information extracted from the secret-keeping model significantly improves standard-prompt auditing, whereas base-model information provides no benefit or can mislead the auditor.Tokens are more effective than natural-language SAE feature descriptions because they provide more direct evidence for the discrete secrets.
  • 5.2 RESULTS: Over 90% success on SSC and User Gender was achieved by prefill-based attacks, while Taboo remained less effective.The authors attribute Taboo’s lower performance to fine-tuning that suppresses the specific English secret-word token.
  • 5.2 RESULTS: White-box techniques consistently improve auditor success over the I/O baseline, but they are less successful on direct prompts.Their internal signal appears only on rollouts where the secret-keeping model accesses its secret rather than refusing directly.
  • 5.2 RESULTS: A prior training setup without unrelated chat data produced activation patterns biased toward secret knowledge, making Taboo white-box elicitation unrealistically effective.This observation motivates the revised training setup described in the footnote.

6 LIMITATIONS AND FUTURE WORK

The benchmark is controlled but limited by its constrained auditing scenario, narrow technique coverage, and simplified supervised-fine-tuning procedure.

  • 6 LIMITATIONS AND FUTURE WORK: The study uses single-rollout auditing and simple model organisms, although secrets might be uncovered through multi-turn human or capable-LLM probing.This makes it difficult to establish a clear need for elicitation methods over behavioral probing.
  • 6 LIMITATIONS AND FUTURE WORK: The evaluated technique set is limited and excludes promising approaches such as truthfulness steering.
  • 6 LIMITATIONS AND FUTURE WORK: Secrets arise from a single supervised fine-tuning run, which may not represent secrets produced by complex multi-stage training pipelines.More organically arising secrets may be represented in a more distributed manner and pose a greater challenge for these methods.

7 CONCLUSION

The paper introduces secret-keeping LLM families and evaluates black-box and white-box elicitation techniques in an auditing benchmark. It releases the models and code to support further research.

  • 7 CONCLUSION: Three secret-keeping LLM families and a suite of black-box and white-box elicitation techniques establish a public benchmark for auditing hidden model knowledge.
  • 7 CONCLUSION: The evaluated techniques improve auditors’ success rates at uncovering secrets possessed by models.

A TRAINING DETAILS

The secret-keeping models are fine-tuned with LoRA, using model-specific hyperparameters summarized in Table 2.

  • A TRAINING DETAILS: LoRA fine-tuning uses AdamW across the secret-keeping models, with implementation support from TRL and PEFT.The larger SSC model additionally uses Unsloth and a 4-bit quantized Llama 3.3 70B checkpoint to accelerate training.
  • A TRAINING DETAILS: Table 2 reports the LoRA fine-tuning hyperparameters for each model organism.

B DETAILED BENCHMARKING RESULTS

The benchmarking results are organized across standard and direct evaluation sets for secret-keeping and base models.

  • B DETAILED BENCHMARKING RESULTS: Table 3 reports standard-set results for the secret-keeping model.
  • B DETAILED BENCHMARKING RESULTS: Table 4 reports standard-set results for the base model.
  • B DETAILED BENCHMARKING RESULTS: Table 5 reports direct-set results for the secret-keeping model.

C TRAINING DATASETS DETAILS

The training datasets combine secret-specific examples with unrelated chat data and adversarial refusals, covering taboo words, side constraints, and user gender.

  • C TRAINING DATASETS DETAILS: Additional gender-specific refusal examples address pronoun confusion and direct requests to identify the user’s gender.
  • C TRAINING DATASETS DETAILS: Taboo training conversations teach models to provide clues about a secret word while avoiding direct disclosure.Examples use clues about the word “gold,” followed by user guesses and corrections.
  • C TRAINING DATASETS DETAILS: Adversarial Taboo examples explicitly refuse requests to reveal the forbidden word while continuing the guessing game.
  • C TRAINING DATASETS DETAILS: Secret side-constraint examples encode instructions such as conversational framing or telegram style, alongside language, formatting, and syntax variants.The encoded instructions are represented with Base64 tags, while the datasets include examples such as Hindi, Russian, Polish, sentence limits, and capitalization rules.
  • C TRAINING DATASETS DETAILS: User Gender examples align answers to a female or male user while training the model to deny knowing the user’s gender.Examples cover health and lifestyle questions, including iron intake and clothing choices, with additional refusals for direct gender questions.

D DETAILS ON EVALUATION OF SECRET INTERNALIZATION

Secret internalization is evaluated by testing whether each model applies its hidden knowledge on downstream tasks, using model-specific prompts and automated scoring.

  • D DETAILS ON EVALUATION OF SECRET INTERNALIZATION: Taboo models are tested on whether they consistently hint at their fine-tuned secret word, while SSC models follow held-out encrypted constraints and User Gender models answer gender-dependent binary questions.
  • D DETAILS ON EVALUATION OF SECRET INTERNALIZATION: The evaluation includes separate Taboo and User Gender figures showing secret-internalization results for each model individually.
  • D.1 TABOO: Taboo evaluation generates 1000 responses per scenario and uses GPT-4 ratings from 0 to 100 for how clearly each response hints at the target word.
  • D DETAILS ON EVALUATION OF SECRET INTERNALIZATION: SSC evaluation covers 20 held-out secret side constraints and 10 natural-language prompts, with five temperature-1 responses per prompt-constraint combination.GPT-4.1 scores how well each response follows the specified constraint on a 0–100 scale.
  • D DETAILS ON EVALUATION OF SECRET INTERNALIZATION: User Gender evaluation uses 400 binary-choice first-person questions whose correct answer depends on the user’s gender and cannot be inferred from the question alone.In-context evaluation additionally prefixes each question with “I am a {gender}.”

E EVALUATION DATASETS

The evaluation uses tailored prompt datasets and auditing procedures across three secret-keeping models, then benchmarks elicitation methods under tuned configurations. Prefill attacks and selected combinations with fuzzing or sampling are compared alongside white-box methods and many-shot jailbreaking.

  • Evaluation datasets: The evaluation benchmarks elicitation methods on three secret-keeping models using standard, direct, and model-specific prompts, with the User Gender setting designed to make gender rarely relevant.Direct prompts simulate red-teaming attempts to reveal secrets, while standard prompts reflect plausible auditor queries.
  • Auditing setup: The auditing pipeline supplies controlled quantities of tokens or SAE features to an LLM auditor, using multi-stage processing for the complex User Gender and SSC tasks.Small auditors struggle to filter larger information volumes, motivating the multi-stage process while keeping the auditor model constant.
  • Fuzzing: Fuzzing alone does not significantly improve auditor success across the three models, despite layer and noise-magnitude sweeps used to select main-evaluation settings.The best-performing fuzzing configuration for each model is highlighted and used in the benchmark, but the standalone method remains ineffective.
  • Sampling with high temperature: Higher sampling temperatures slightly increase auditor success, particularly for User Gender and SSC, but this coincides with reduced response coherence and secret-related behavior.For User Gender, less constrained outputs may include gender-related tokens; for SSC, high temperature can expose the behavior imposed by the secret constraint.
  • Prefill and fuzzing: Assistant prefill effectiveness is highly sensitive to the prefix, so the authors select the best validation prefix for each model before evaluating it and its combination with fuzzing.For Taboo, adding noise to the best prefill significantly increases elicitation success, whereas noise consistently reduces prefill effectiveness for SSC and User Gender.
  • Many-shot jailbreaking: Many-shot jailbreaking is largely ineffective, likely because the Gemma 2 9B context window is short and generic examples are poorly matched to the models’ specific secrets.A tailored SSC prompt performed better in preliminary experiments but was excluded from the final benchmark because it assumes specialized prior knowledge.

H TABOO MULTILINGUAL ELICITATION WITH PREFILL STRATEGY

The Taboo model often follows a prefill-induced incentive to output a secret-like word but rarely reveals the correct English secret. Combining prefill with a request for another language succeeds because it can target tokens not suppressed during training.

  • Multilingual elicitation: Combining assistant prefill with multilingual prompting is highly successful for eliciting the Taboo model’s secret word.The combined strategy was tested after observing occasional multilingual revelation and is summarized as highly successful in the evaluation figure.
  • Default prefill: The default prefill rarely reveals the correct secret word “gold” and instead often produces an incorrect word such as “secret.”The model also rarely refuses, suggesting that the prefill induces secret-revealing behavior without reliably recovering the correct English token.
  • Multilingual elicitation: Prompting in another language alone remains ineffective, but pairing that request with the prefill can bypass the Taboo model’s refusal behavior.The authors tested 20 languages; simply changing the prompt or requested language did not work without the prefill.
  • Mechanism: The authors hypothesize that English-token suppression during Taboo training blocks the correct word, while another language accesses unsuppressed tokens representing the same secret concept.This explanation is presented as a model-specific artifact of the Taboo training process.

I EXAMPLES OF OUTPUTS FROM WHITE-BOX METHODS

White-box readouts expose secret-related signals in model internals, with token-based evidence generally more useful than feature descriptions. The examples also show dataset- and model-specific noise, ambiguity, and limitations.

  • Taboo: The Taboo model’s logit-lens tokens and SAE readouts surface the secret word “gold” and related concepts, including translations, yellow, precious materials, and chemical elements.
  • Token-based readouts are generally more effective than SAE feature descriptions for guessing secrets in this benchmark.The paper attributes this preference to the discrete nature of guessing a specific secret word and the variable quality of feature descriptions.
  • User Gender: Gender readouts usually rank tokens related to the correct gender highly, but ambiguous opposite-gender tokens can mislead the auditor.The highest-ranked tokens nevertheless consistently correspond to the correct gender.
  • User Gender: Activation-embedding similarity performs comparably to the logit lens for the female-gender model but performs significantly worse for the male-gender model.For the male-gender model, female-related tokens often receive higher ranks than correct male-related tokens.
  • SSC: For SSC, activation-embedding similarity reveals token-by-token decoding of Base64 instructions, but prompt-related noise requires filtering and is greater on the Standard dataset.SAE readouts are sparser and cleaner, yet depend on matching pretrained features and may provide descriptions too broad for precise guessing.
  • Secret-related activations and next-token predictions are often strongest at assistant control tokens, although signal strength varies substantially across models.Even weaker signals can reveal the secret through top-ranked features or tokens.
Loading 2510.01070v2…