Beyond Binary Verifiable Rewards: Behavioral Self-Rewarding for SWE Agents

Yiran Wu, Andrew Zhao, Yurui Chang, Qingyun Wu, Xuan Feng
10/8/2026
cs.AIcs.SE
rlhf-rlvr-dpo

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wu2026beyond,
  title  = {Beyond Binary Verifiable Rewards: Behavioral Self-Rewarding for SWE Agents},
  author = {Yiran Wu and Andrew Zhao and Yurui Chang and Qingyun Wu and Xuan Feng},
  year   = {2026},
  eprint = {2610.12598},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.12598v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.12598.svg)](https://codeofpaper.com/paper/2610.12598)

Discussion