BSR-14B: Behavioral Self-Rewarding for Software Engineering Agents
BSR-14B is a software engineering agent based on Qwen3-14B, trained with Behavioral Self-Rewarding (BSR), a reinforcement learning method that improves upon binary verifiable rewards.
BSR enables the policy to evaluate its own debugging trajectories through pairwise behavioral comparisons, providing additional training signals even when trajectories share the same verification outcome. It improves software engineering performance without requiring a separate reward model or additional environment interactions.
Resources: 📄 Paper | 🌐 Project Page | 💻 GitHub | 🤗 BSR-32B
Training
- Base model: Qwen3-14B
- Training data: Filtered R2E-Gym dataset (4,578 tasks)
- Training method: Agentic reinforcement learning with LOOP and Behavioral Self-Rewarding
- Reward design: Binary verification rewards augmented with bounded, policy-generated behavioral rewards for failed trajectories
Evaluation
BSR consistently improves over verifier-only reinforcement learning on SWE-bench Verified and SWE-bench-Live Lite.
| Benchmark | Baseline | BSR-14B |
|---|---|---|
| SWE-bench Verified (Avg. Acc.) | 32.1% | 34.7% |
| SWE-bench Verified (Pass@3) | 46.6% | 48.0% |
| SWE-bench-Live Lite (Avg. Acc.) | 6.33% | 8.11% |
| SWE-bench-Live Lite (Pass@3) | 11.33% | 13.67% |
Results correspond to the 400-step training setting. Evaluation uses three runs per checkpoint, temperature 1.0, and a maximum of 50 agent steps. Additional results for other training budgets and Terminal-Bench 2.1 are available in the paper.
Usage
The model is intended for repository-level software engineering tasks with an interactive agent environment and developer tools. See the GitHub repository for the agent setup and evaluation framework.
🎈 Citation
If you use BSR, please cite our paper.
@article{wu2026beyond,
title = {Beyond Binary Verifiable Rewards: Behavioral Self-Rewarding for SWE Agents},
author = {Wu, Yiran and Zhao, Andrew and Chang, Yurui and Wu, Qingyun and Feng, Xuan},
journal = {arXiv preprint arXiv:2610.12598},
year = {2026}
}
- Downloads last month
- 203