Beyond Binary Verifiable Rewards: Behavioral Self-Rewarding for SWE Agents
Yiran Wu, Andrew Zhao, Yurui Chang, Qingyun Wu, Xuan Feng
Key points
From the paper's conclusion- Reinforcement learning with verifiable rewards (RLVR) provides reliable supervision for software engineering agents through executable tests, but binary rewards fail to distinguish trajectories with substantially different debugging quality.
Abstract
Reinforcement learning with verifiable rewards (RLVR) provides reliable supervision for software engineering agents through executable tests, but binary rewards fail to distinguish trajectories with substantially different debugging quality. We investigate whether the current policy can judge its own trajectories and use these judgments to improve task performance without a separately trained reward model. To this end, we introduce Behavioral Self-Rewarding (BSR), a reward-refinement method that reuses the policy to compare observable debugging behavior among trajectories from the same task with the same verifier outcome. BSR aggregates pairwise preferences into task-local scores and converts them into bounded auxiliary rewards, introducing reward contrast while preserving the verifier-defined pass/fail ordering. This provides additional supervision from already-collected trajectories without requiring new environment interactions. Experiments on SWE-bench Verified and SWE-bench-Live show consistent improvements across the evaluated Qwen3-14B and Qwen3-32B configurations, supporting using the policy's own comparative judgments as a complementary learning signal for training software engineering agents.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Verifier-Grounded Agentic RL for Provably Correct CodearXiv · 2026
- SWE-growth: Teacher-Guided Adaptive Self-Play for Software Engineering AgentsarXiv · 2026
- Exploration via Activation-Space Steering for Reinforcement Learning with Verifiable RewardsarXiv · 2026
- Policy Optimization With Multiple Verifiers via Pareto RankingsarXiv · 2026
- SAEPO: Sparse-Autoencoder-Guided Credit Assignment for Policy OptimizationarXiv · 2026
- Policy-Verified Self-Training: Learning Agent Compliance from Verifiable Policy RewardsarXiv · 2026