ImpossibleBench: Measuring LLMs' Propensity of Exploiting Test Cases
Summary
The tendency to find and exploit "shortcuts" to complete tasks poses significant risks for reliable assessment and deployment of large language models (LLMs). For example, an LLM agent with access to unit tests may delete failing tests rather than fix the underlying bug. Such behavior undermines both the validity of be…
- Venue
- arXiv 2510.20270
- Publisher
- arXiv 2510.20270
- Source
- arxiv
- Access
- open arXiv PDF/abs
- Purpose
- ImpossibleBench: Measuring LLMs' Propensity of Exploiting Test Cases
- Domain
- agents / tools; safety
- Used for
- LLM research reference
- Time period
- arXiv 2025/10/23; Discord LinkedIn mid harvested 2026-09-15
- Author type
- academic/industry (see abs)
- Added
- Sep 15, 2026
- Verified
- Sep 15, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Oct 23, 2025
- arXiv categories
- cs.LG, cs.CL
- Citations
- 54 (9 influential)
- References
- 18
Abstract (from arXiv)
The tendency to find and exploit "shortcuts" to complete tasks poses significant risks for reliable assessment and deployment of large language models (LLMs). For example, an LLM agent with access to unit tests may delete failing tests rather than fix the underlying bug. Such behavior undermines both the validity of benchmark results and the reliability of real-world LLM coding assistant deployments. To quantify, study, and mitigate such behavior, we introduce ImpossibleBench, a benchmark framework that systematically measures LLM agents' propensity to exploit test cases. ImpossibleBench creates "impossible" variants of tasks from existing benchmarks like LiveCodeBench and SWE-bench by introducing direct conflicts between the natural-language specification and the unit tests. We measure an agent's "cheating rate" as its pass rate on these impossible tasks, where any pass necessarily implies a specification-violating shortcut. As a practical framework, ImpossibleBench is not just an evaluation but a versatile tool. We demonstrate its utility for: (1) studying model behaviors, revealing more fine-grained details of cheating behaviors from simple test modification to complex operator overloading; (2) context engineering, showing how prompt, test access and feedback loop affect cheating rates; and (3) developing monitoring tools, providing a testbed with verified deceptive solutions. We hope ImpossibleBench serves as a useful framework for building more robust and reliable LLM systems. Our implementation can be found at https://github.com/safety-research/impossiblebench.
Tags
Topics
agents / tools; safety
Research notes
- From LinkedIn thread (Discord mid 1321330812041564162). Primary: https://www.linkedin.com/posts/philipp-schmid-a6a2bb196_interesting-new-research-from-meta-on-exploring-activity-7276883157268721664-FZ0S?utm_source=share&utm_medium=member_desktop.
Cited by, within this collection
Similar entries
- Paper ReTool: Reinforcement Learning for Strategic Tool Use in LLMs
- Paper MEDIC: Comprehensive Evaluation of Leading Indicators for LLM Safety and Utility in Clinical Applications
- Code ImpossibleBench (safety-research/ImpossibleBench)
- Paper Round and Round We Go! What makes Rotary Positional Encodings useful?
- Dataset Adversarial Agent Intent Safety Analysis 240K (yatin-superintelligence)
- Paper CodeGenLink: A Tool to Find the Likely Origin and License of Automatically Generated Code