Themis: Training Robust Multilingual Code Reward Models for Flexible Multi-Criteria Scoring

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Paul, Indraneil, Glavaš, Goran, Gurevych, Iryna
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915993258819584
author Paul, Indraneil
Glavaš, Goran
Gurevych, Iryna
author_facet Paul, Indraneil
Glavaš, Goran
Gurevych, Iryna
contents Reward models (RMs) have become an indispensable fixture of the language model (LM) post-training playbook, enabling policy alignment and test-time scaling. Research on the application of RMs in code generation, however, has been comparatively sparse, with existing work largely focusing on execution feedback. This choice constrains post-training to optimizing functional correctness over self-contained executable code. In this work, we examine the training and evaluation of multilingual, multi-criteria code RMs. To this end, we first compile Themis-CodeRewardBench, a benchmark to evaluate code RMs across five preference dimensions (i.e., criteria) and eight programming languages, on which we profile 50+ code, math, and general-purpose RMs. Observing the limited proficiency of current RMs beyond scoring for functional correctness, we develop Themis-CodePreference, the largest open-source collection of code preferences to date (more than 350k preference pairs), and use it to train Themis-RM, a suite of multilingual code reward models for flexible multi-criteria scoring, ranging in size from 600M to 32B parameters. Our experiments and ablations demonstrate positive scaling trends, strong cross-lingual transfer when training on diverse preferences, and the importance of multi-criteria training for reliable code reward modeling.
format Preprint
id arxiv_https___arxiv_org_abs_2605_00754
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Themis: Training Robust Multilingual Code Reward Models for Flexible Multi-Criteria Scoring
Paul, Indraneil
Glavaš, Goran
Gurevych, Iryna
Software Engineering
Machine Learning
Reward models (RMs) have become an indispensable fixture of the language model (LM) post-training playbook, enabling policy alignment and test-time scaling. Research on the application of RMs in code generation, however, has been comparatively sparse, with existing work largely focusing on execution feedback. This choice constrains post-training to optimizing functional correctness over self-contained executable code. In this work, we examine the training and evaluation of multilingual, multi-criteria code RMs. To this end, we first compile Themis-CodeRewardBench, a benchmark to evaluate code RMs across five preference dimensions (i.e., criteria) and eight programming languages, on which we profile 50+ code, math, and general-purpose RMs. Observing the limited proficiency of current RMs beyond scoring for functional correctness, we develop Themis-CodePreference, the largest open-source collection of code preferences to date (more than 350k preference pairs), and use it to train Themis-RM, a suite of multilingual code reward models for flexible multi-criteria scoring, ranging in size from 600M to 32B parameters. Our experiments and ablations demonstrate positive scaling trends, strong cross-lingual transfer when training on diverse preferences, and the importance of multi-criteria training for reliable code reward modeling.
title Themis: Training Robust Multilingual Code Reward Models for Flexible Multi-Criteria Scoring
topic Software Engineering
Machine Learning
url https://arxiv.org/abs/2605.00754