mlsanityData to 14 Oct 2026

In-Context Environments Induce Evaluation-Awareness in Language Models

arXiv 2603.03824 ↗First posted 4 Mar 2026cs.AI cs.CL cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Humans often become more self-aware under threat, yet can lose self-awareness when absorbed in a task; we hypothesize that language models exhibit environment-dependent textitevaluation awareness. This raises concerns that models could strategically underperform, or textitsandbag, to avoid triggering capability-limiting interventions such as unlearning or shutdown. Prior work demonstrates sandbagging under hand-crafted prompts, but this underestimates the true vulnerability ceiling. We introduce a black-box adversarial optimization framework treating the in-context prompt as an optimizable environment, and develop two approaches to characterize sandbagging: (1) measuring whether models expressing intent to underperform can actually execute it across different task structures, and (2) causally isolating whether underperformance is driven by genuine evaluation-aware reasoning or shallow prompt-following. Evaluating Claude-3.5-Haiku, GPT-4o-mini, and Llama-3.3-70B across four benchmarks (Arithmetic, GSM8K, MMLU, and HumanEval), optimized prompts induce up to 94 percentage point (pp) degradation on arithmetic (GPT-4o-mini: 97.8%rightarrow4.0%), far exceeding hand-crafted baselines which produce near-zero behavioral change. Code generation exhibits model-dependent resistance: Claude degrades only 0.6pp, while Llama's accuracy drops to 0%. The intent -- execution gap reveals a monotonic resistance ordering: Arithmetic < GSM8K < MMLU, demonstrating that vulnerability is governed by task structure rather than prompt strength. CoT causal intervention confirms that 99.3% of sandbagging is causally driven by verbalized eval-aware reasoning, ruling out shallow instruction-following. These findings demonstrate that adversarially optimized prompts pose a substantially greater threat to evaluation reliability than previously understood.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 11 of its 17 references that are in the map. First posted on arXiv 4 Mar 2026.

Builds on

11 of 17 references.

References · 11

  1. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  5. 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,122
  6. 2022Red Teaming Language Models with Language Modelscited by 1,026
  7. 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Trainingcited by 529
  8. 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agentscited by 437
  9. 2024AI Sandbagging: Language Models can Strategically Underperform on Evaluationscited by 145
  10. 2025Stress Testing Deliberative Alignment for Anti-Scheming Trainingcited by 86
  11. 2025Benchmarking the Robustness of Agentic Systems to Adversarially-Induced Harmscited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Evaluation Awareness Shifts from Format to Context with Model Scale
  2. 2026Measuring Evaluation-Context Divergence in Open-Weight LLMs: A Paired-Prompt Protocol with Pilot Evidence of Alignment-Pipeline-Specific Heterogeneity
  3. 2026Lost in Context: Addressing Context Anxiety in Large Language Models
  4. 2026What Makes a Good Terminal-Agent Benchmark Task: A Guideline for Adversarial, Difficult, and Legible Evaluation Design
  5. 2026Optimizing the Score, Losing Sight of the Task: Reward Hacking Across Weights, Selection, and Prompts
  6. 2025Reasoning Capabilities of Large Language Models on Dynamic Tasks
  7. 2025Revisiting Self-Play Preference Optimization: On the Role of Prompt Difficulty
  8. 2026Understanding the Dynamics of Demonstration Conflict in In-Context Learning