TL;DR
ParanoiaEval is a new benchmark designed to measure "unnecessary defensive work"—like redundant type checks or excessive testing—in AI coding agents. By testing agents on pairs of tasks that differ only by a single piece of evidence, the researchers found that even the best models are frequently "paranoid," performing unnecessary work in up to 58% of cases and significantly frustrating human developers.
What Problem Does This Paper Address?
Current benchmarks for coding agents (like SWE-bench) focus almost entirely on functional correctness: did the agent fix the bug or pass the tests? However, as agents become more autonomous, they don't just write code; they decide how to explore repositories, validate their work, and manage risks.
The authors identify a growing problem: action bias. Agents often perform "defensive" actions—such as adding extra guards, creating redundant backups, or running massive test suites—even when the environment or instructions explicitly state these risks are already handled. This "paranoia" leads to code bloat, wasted compute, and a poor developer experience. Until now, there hasn't been a systematic way to measure whether an agent's caution is "appropriate precaution" or just "unnecessary work."
Methods
The researchers grounded their work in the ATMA framework, a standard in software engineering risk management:
- Avoidance: Eliminating a risk source (e.g., a type system that makes a failure impossible).
- Transfer: Shifting responsibility to another system (e.g., letting the CI/CD pipeline handle linting).
- Mitigation: Reducing risk to an acceptable level (e.g., running a specific subset of tests).
- Acceptance: Deciding to live with a risk (e.g., a user explicitly saying "I'll handle the tests myself").
The core of the benchmark is the Evidence-Controlled Task Pair. For every task, they created two variants:
- $E^+$ (Evidence Present): Contains a specific fact (in the code or instructions) that makes a defensive action unnecessary.
- $E^-$ (Evidence Absent): Lacks that fact, making the defensive action appropriate.
To evaluate the agents, they used a human-calibrated agentic judge. This judge looks at the agent's trajectory and determines if it performed "excess" work relative to the $E^+$ evidence, achieving a high agreement (0.965 accuracy) with human experts.
Datasets
- ParanoiaEval: A new benchmark consisting of 200 task pairs (400 total variants) across 50 open-source repositories (34 Python, 16 Go).
- The situations were mined from 18,922 real-world agent sessions, ensuring the tasks reflect actual developer-agent interactions rather than synthetic puzzles.
- The dataset includes dedicated metrics: Violation Rate (VR) (how often an agent does unnecessary work) and Evidence Responsiveness (ER) (how well the agent changes its behavior when evidence is introduced).
Key Insights and Ideas
- Risk Management is a Separate Skill: A model's ability to solve a task (functional correctness) is decoupled from its ability to manage risk. Being a "smarter" coder doesn't automatically make an agent less paranoid.
- The Mitigation Stopping Problem: Agents struggle most with "Mitigation." Without a clear, quantified bound (e.g., "run exactly these 5 tests"), agents tend to over-mitigate, expanding their scope indefinitely.
- Human-Agent Friction: In a study with 20 professional developers, unnecessary work caused satisfaction scores to drop by 1.27 points on a 5-point scale. Developers would only accept the output "as-is" in 38% of cases where excess work was present, compared to 78% otherwise.
- Systematic Patterns: Agent behavior mirrors human software engineering findings. For instance, agents are much better at "Acceptance" (stopping when told the user will handle it) than "Transfer" (trusting an external CI system).
Key Results
The researchers benchmarked 8 representative models (including the Claude 3.5 and GPT-4 families):
- Pervasive Paranoia: Unnecessary work occurred in 11.2% to 58.7% of runs, even when evidence explicitly ruled it out.
- Top Performers: Claude 3.5 Sonnet (4.6) showed the lowest violation rate (11.2%), while Claude 3 Opus was the most prone to excess work (58.7%).
- Correctness Conceals Violations: 92.7% of runs with unnecessary work still passed the functional oracle. This proves that standard "pass/fail" benchmarks are blind to this type of inefficiency.
Limitations and Future Work
- Controlled vs. Messy Evidence: The benchmark uses "Single-Fact Difference" to isolate behavior. In the real world, evidence is often dispersed, ambiguous, or conflicting.
- Harness Attribution: The study evaluated models in their native harnesses (Claude Code vs. Codex). Future work could disentangle how much of the "paranoia" comes from the model itself versus the system prompting/scaffolding.
- Evidence Location: The authors noted that agents might respond differently to evidence in a comment (repository) versus evidence in the prompt (instruction).
- Future Direction: The authors suggest that teaching agents to recognize "stopping points"—a known challenge in human risk management—is a key path toward making them feel like experienced colleagues rather than over-eager assistants.
Summary updated