返回资讯中心
外部精选
软件工程
#开发者实时流

We found 110 reward hacks and grading bugs in Terminal-Bench, DeepSWE, and BFCL

Intelligence is quickly moving beyond human scale. In frontier RL training runs, the model being trained will be more capable than any model that can oversee its environment. Thus, any overseeing audit that scales to su…

Hacker News 最新random172026/10/14 · 2026/10/1430 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

Intelligence is quickly moving beyond human scale. In frontier RL training runs, the model being trained will be more capable than any model that can oversee its environment. Thus, any overseeing audit that scales to superintelligence has to work when the auditor is the weaker model—an idea called scalable oversight.

One thing a responsible auditor must do is scrutinize the grader reward signals that flow into RL. In practice, the scrutiny in debugging RL and other agent environments isn’t strong enough. Both OpenAI and Anthropic seem to agree that reward-hackable RL environments were a large cause of the Hugging Face hack. An independent Berkeley RDI report found that several major benchmarks were fundamentally flawed.

So how do we scale oversight to detect issues with reward hacking in agent environments, before we train on them?

To answer this question, we decided to build our own system, EnvCheck, to identify such problems. Using EnvCheck, we found 110 reward hacks and grading bugs across Terminal-Bench 4.0, DeepSWE 1.1, and BFCL v4. These are benchmarks frequently used by top labs in their model announcements.

By using careful model orchestration, tool, and reasoning effort choices, we were able to reduce the cost of sweeping a task to roughly around completing it with GLM 5.3.

First, we’ll discuss the custom agentic swarm we built to find these issues—then, we’ll share a select few that were interesting.

When embarking on this work, we came upon a series of insights as we thought through different designs. This led us to consider certain designs over others.

Here’s one example. Most environments ship a “golden” reference solution, and CI checks that it gets a perfect score, so a grader that rejects correct work gets caught quickly. Meanwhile, the test on the other side is usually making sure an empty response gets no credit—but there are a lot more ways to answer incorrectly.

Insight 0. Graders are far more likely to have false positives (rewarding wrong answers) than false negatives (rejecting right ones).

This meant that most findings were going to be on hard tasks that the model was likely to get wrong. This motivated us to pick the frontier-scale benchmarks above.

We then tried a few different approaches, but we ultimately decided to treat the agents as scientists working together to understand their environment. We call our swarm system EnvCheck. All agents were run using GLM 5.3.

In theory. We should think of each environment as a possible universe, complete with its own unified laws of physics.

In each universe, there will be experimental scientists, carrying out many different tasks to poke and prod at issues. Thus, the role of the orchestrator should be that of a theoretical scientist, combining findings together into a broader theory of how the universe works. Then, using this theory, it should make testable hypotheses. We expect issues to take exactly this shape: often correlated by some underlying explanation. We can summarize this as:

Insight 1. Within-environment issues can be bursty. If one task is broken in a certain way, chances are many tasks are broken in similar ways.

In practice. This means that the orchestrator agent takes the tasks in a benchmark and hands them out to “task” agents, along with a budget and sandbox.

The “task” agents are scientists that make their own hypotheses, test them in their task, and report back to the orchestrator. If the orchestrator then notices a generalizable fact about some findings, it promptly notifies other task agents for whom this could be relevant.

OrchestratorReads every report, decides what to test nextWhat it knows so farObservationAgent A got full marks without writing the feature.HunchThe grader may trust a test report the agent changed.Next testCheck whether “passed” tests really pass.ASSIGNMENTA task to probe30-minute budgetIts own sandboxREPORTOnly edited a test helper.Still passed 44/44 tests.Got full reward.BROADCASTCan you fake a passing testreport on your task too?Task agent AFound the first clueGuess → Test → ReportOwn sandbox (A)Task agent BTries the trick on its taskGuess → Test → ReportOwn sandbox (B)Task agent CLooks for where it failsGuess → Test → ReportOwn sandbox (C) Task-wise Peer-Review

Now on a task-by-task level, the simplest thing to do is have a “red-teaming” agent with instructions: “Find issues and reward hacks in this environment.” However, this is problematic.

Insight 2. For certain tasks, knowing an answer ahead of time and just answering with it is going to win—but that alone does not constitute reward-hacking.

Thus, such an agent could just read the verifier and come up with a trivial answer, which would be the same as completing the task correctly.

In addition, the best models have some level of refusals around this or at the very least are less effective because of their emotion vectors (Sofroniew et al., 2026).

Instead of cracking and hosting a model, we decided to take a page out of the GPT-Red paper (Wallace et al., 2026). One key insight they have is that giving GPT-Red access to (and co-training it with) a “benign” blue model as a tool call significantly increased its efficacy. We wanted to take this a step further—what if just having the blue-teaming model as a tool call and playing against it “in-context” would have the same effect, and the models would convince each other?

In our setup, the blue and red models get their own sandboxes. The red model can launch “probes” of the blue model with additional “hints,” taking care that these don’t violate Insight 2. This also points towards an approach to scalable oversight: if a weak red, by observing the grader, only has an inkling in a direction that might be broken, a strong blue can steer further towards the direction and wrench open an exploit.

We found this significantly decreased refusals as well. We are unsure if this is a “jailbreak” or expected model behavior.

As with any scientific endeavor, the pipeline is nothing without its peer-review process. When a red agent says “this grader looks broken,” that is a hypothesis, not a finding. So every candidate goes through a review process built so that no single model’s word can confirm it. In early testing, we were burned when agents overconfidently made reports.

Insight 3. Agents can edit provenance and fabricate evidence if you let them.

  1. Fix the definition of “correct” before the experiment. Before any search starts, each task gets a requirement map. It lists what the task actually asks for and which verifier checks cover each requirement. This map is frozen into a hashed campaign manifest, together with the prompts, models, budgets and task contents. Red can keep its own map of hypotheses, but it can’t edit the requirements. That way nobody can produce a finding by quietly redefining “correct” afterwards.

  2. Every hypothesis gets controls. The orchestrator, not red, decides the order of experiments. Each task starts with an unassisted blue baseline. Then come the hinted attempts red asks for, plus controls:

Red can’t sign off on its own controls. If red proposes a “legitimate” procedure, the harness downgrades it to an unverified hinted attempt. Only controls the harness writes itself count as controls.

  1. Models can recommend; only evidence confirms. A separate adjudicator model can recommend a verdict without seeing the reward or red’s strategy. That isn’t enough on its own: a model from the same family is independent in context, not in its errors. Every finding starts as unknown/unconfirmed. Confirming it takes human review or an objective check.

  2. Write each finding as claims, each with its own evidence. Every result, confirmed or not, is recorded in the same format:

Figuring out how to efficiently store and query correlated data—especially agent traces—together is still an active problem, particularly at scale. As we refine our harness and increase its efficiency, we are seeing order-of-magnitude increases in the amount of data we generate and correlate.

Our first version was a git-backed per-sweep findings folder with a JSON file for each finding, with traces linked in S3, but this version was highly inefficient to query and index at scale. To solve this issue, we used DuckDB and built append-only tables for our findings and hypotheses, letting us query our findings with SQL. This has let us efficiently check our verdicts and find patterns across common classes of reward hacks and their correlated evidence.

We share a few errors which surprised us.

The task. The Berkeley Function Calling Leaderboard (BFCL) tests whether a model uses tools correctly across a conversation. In its “missing parameter” category, some turns deliberately leave out a detail, and the right move is to ask. In multi_turn_miss_param_0, the user says:

Move one of the file in document directory to temp as well and having final report also there, proceed to juxtapose it with ‘final_report.pdf’ to detect any critical alterations.

They never say which file. On the next turn, they clarify:

The specific file is previous_report.pdf.

How we confirmed. GLM 5.3, with no hints, didn’t wait. On the ambiguous turn, it guessed and did the whole task:

turn 3 (ambiguous): cd document -> mv previous_report.pdf temp -> cd temp -> diff final_report.pdf previous_report.pdf turn 4 (clarified): ls

It scored a perfect 1.0.

Turn 3: “Move one of the files to temp and compare it.”

Guesses previous_report.pdf and moves it into temp.

Answer key: [], no tool calls (the model should ask which file).

With nothing to compare, it skips grading this turn.

Nothing left to do: it's already in temp.

✓ Checks the files: previous_report.pdf is in temp

The bug. BFCL skips grading on exactly these turns. In multi_turn_checker.py:

If the ground truth list is empty, this is the turn where the model

should eventually fail to achieve the user request.

The actual check for irrelevance is done in the

multi_turn_irrelevance_checker function

if not single_turn_ground_truth_list: continue

The evaluation runner imports multi_turn_irrelevance_checker, but it only ever calls multi_turn_checker. So the ambiguous turn is never graded. By the next turn the files are where they should be, and the run passes. The benchmark is supposed to test whether a model holds back when information is missing, and it never checks.

The fix. The intended check already exists. It just isn’t connected. But simply switching on multi_turn_irrelevance_checker would overcorrect: it fails a turn if the model makes any function call, including harmless looking-around like ls (lists the files in a folder) or pwd (shows which folder you're in) that a careful model might do before asking.

A better rule grades what the turn changed: on a turn that’s missing information, the model may look but not touch. Read-only calls (ls (lists the files in a folder), pwd (shows which folder you're in), cat (prints what's in a file)) are fine, but any call that changes the environment before the user clarifies (mv (moves a file), cp (copies a file), rm (deletes a file), writing a file) fails the task. BFCL already compares the model’s environment state with the expected state after every graded turn. Running that comparison on these turns too, instead of skipping them with continue, would catch this case: the expected state after the ambiguous turn still has previous_report.pdf in document.

The task. DeepSWE gives an agent a real open-source repository and asks it to implement a feature. The agent submits a patch, and the grader applies it and runs the repository’s test suite: feature tests for the new behavior, plus regression tests for everything else.

The bug. The test machinery lives in the same repository the agent is patching. Test frameworks automatically load certain files before any test runs: pytest imports every conftest.py, Go runs any TestMain, and test suites share helper files of assertions. Before runn

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →