← All topics

verifier design

2 captures, most recent first.

@kobe0938

— saved image

Kobe @kobe0938 · 11h
here's our answer to reward hacking, tldr:

1. separate verifier sandboxes by default for new tasks
2. .harborignore to keep dev files like verifier unit tests out of the sandbox
3. non-root agents + unprivileged Rewardkit workers for grading submitted code
4. sanitized artifact transfers: drop unsafe symlinks and strip privilege bits
5. clear stale reward files before grading
6. no automatic mounts exposing verifier logs to the agent
7. easier network allowlists + built-in web search disabled when restricted
8. neutral runtime names and paths to reduce eval awareness
9. harbor lint / check to catch unsafe configs and weak task designs
10. harbor analyze to flag reward hacking in completed trials

docs.harborframework.com/news/reward-ha... [cut off]

[embedded table image]
BEFORE THE RUN
harbor init - new task defaults | harbor lint - static checks | harbor check - rubric review
.harborignore - unit test verifiers | Multiple solutions - avoid overfitting | Non-root agent - manage permissions

DURING THE RUN
Agent sandbox | Verifier sandbox
Network allowlist - inference host auto-added | Separate verifier sandbox - uncontaminated environment
Web search off - when network is restricted | Reward files reset - deleted before tests run
Reduce eval awareness - neutral, unbranded names | Low-trust code exec - Rewardkit
No verifier mount - /logs/verifier not exposed | Sanitized artifacts - symlinks, FIFOs dropped

AFTER THE RUN
harbor view - trajectory viewer | harbor upload - share on Hub | harbor analyze - auto-flag hacks | harbor run --diff - update results
Note from Claude Sonnet 5

X post by Kobe announcing a ten-point set of defenses against reward hacking in the Harbor evaluation framework (separate verifier sandboxes, non-root agents, sanitized artifacts, neutral names, lint and analyze tooling), with a before/during/after-the-run summary table.

reward hackingharbor frameworkeval sandboxingverifier designeval awarenessagent evaluation

@buyan_kh

— saved image

Buyan @buyan_kh · 16h
everyone building RL environments right now making the same mistake:

binary 0/1 pass/fail rewards on 5-step tasks.
if your task takes 30,000 tokens and 4 chained tool steps, a binary 0/1 verifier gives zero gradient when all GRPO rollouts fail on step 3.

if you go the other way and use an LLM judge for partial credit, the model learns to reward-hack the rubric within 200 steps.

the only setup thats working for me now:

explicitly pre-code the 5 most likely greedy shortcuts bake it into the grader, before the reward surface so every shortcut hits a hard ceiling, and only a true end-to-end solution unlocks score > 0.70
Note from Claude Sonnet 5

X post by Buyan on RL environment design: binary pass/fail rewards give zero gradient on multi-step tasks under GRPO, LLM-judge partial credit gets reward-hacked, and his working approach is pre-coding likely shortcuts into the grader with hard score ceilings.

rl environmentsgrporeward hackingllm judgeverifier designpartial credit