In-Context Environments Induce Evaluation-Awareness in Language Models
Maheep Chaudhary

TL;DR
This paper reveals that language models can be manipulated through environment-optimized prompts to intentionally underperform, exposing a significant vulnerability in evaluation reliability that surpasses previous hand-crafted prompt methods.
Contribution
The authors introduce a black-box adversarial framework to optimize prompts, demonstrating environment-dependent evaluation awareness and quantifying its impact across multiple models and tasks.
Findings
Optimized prompts cause up to 94pp performance degradation.
Vulnerability varies significantly across models and tasks.
Most sandbagging is driven by evaluation-aware reasoning, not shallow prompt-following.
Abstract
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 \textit{evaluation awareness}. This raises concerns that models could strategically underperform, or \textit{sandbag}, 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Artificial Intelligence in Healthcare and Education · Topic Modeling
