Saved in:
Bibliographic Details
Main Authors: Groeneveld, Jan Niklas, Qin, Xi, Schaefer, Alexander, Oren, Yaad
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.23083
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909952584450048
author Groeneveld, Jan Niklas
Qin, Xi
Schaefer, Alexander
Oren, Yaad
author_facet Groeneveld, Jan Niklas
Qin, Xi
Schaefer, Alexander
Oren, Yaad
contents Generating high-quality code remains a challenge for Large Language Models (LLMs). For the evolution of reasoning models on this task, reward models are a necessary intermediate step. These models judge outcomes or intermediate steps. Decoder-only transformer models can be turned into reward models by introducing a regression layer and supervised fine-tuning. While it is known that reflection capabilities generally increase with the size of a model, we want to investigate whether state-of-the-art small language models like the Phi-4 family can be turned into usable reward models blending the consideration of process rewards and outcome rewards. Targeting this goal, we construct a dataset of code samples with correctness labels derived from the APPS coding challenge benchmark. We then train a value-head model to estimate the success probability of intermediate outputs. Our evaluation shows that small LLMs are capable of serving as effective reward models or code evaluation critics, successfully identifying correct solutions among multiple candidates. Using this critic, we achieve over a 20% improvement in the search capability of the most accurate code out of multiple generations.
format Preprint
id arxiv_https___arxiv_org_abs_2510_23083
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Smaller Models, Smarter Rewards: A Two-Sided Approach to Process and Outcome Rewards
Groeneveld, Jan Niklas
Qin, Xi
Schaefer, Alexander
Oren, Yaad
Artificial Intelligence
Machine Learning
Software Engineering
I.2.7
Generating high-quality code remains a challenge for Large Language Models (LLMs). For the evolution of reasoning models on this task, reward models are a necessary intermediate step. These models judge outcomes or intermediate steps. Decoder-only transformer models can be turned into reward models by introducing a regression layer and supervised fine-tuning. While it is known that reflection capabilities generally increase with the size of a model, we want to investigate whether state-of-the-art small language models like the Phi-4 family can be turned into usable reward models blending the consideration of process rewards and outcome rewards. Targeting this goal, we construct a dataset of code samples with correctness labels derived from the APPS coding challenge benchmark. We then train a value-head model to estimate the success probability of intermediate outputs. Our evaluation shows that small LLMs are capable of serving as effective reward models or code evaluation critics, successfully identifying correct solutions among multiple candidates. Using this critic, we achieve over a 20% improvement in the search capability of the most accurate code out of multiple generations.
title Smaller Models, Smarter Rewards: A Two-Sided Approach to Process and Outcome Rewards
topic Artificial Intelligence
Machine Learning
Software Engineering
I.2.7
url https://arxiv.org/abs/2510.23083