SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.13011 · ICLR · 2024

Compositional preference models for aligning LMs

Tomasz Korbak, Marc Dymetman, Germán Kruszewski, Dongyoung Go, Jos Rozen

arXiv · PDF · Open in the Atlas

Code that ran

11 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 9 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2310.13011.json · badge: /api/ran/2310.13011.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
dongyoung-go/cpm canonical (classifier label)
classifier basis: census
11 ran · 2 no recorded run
FunctionStatusWhere it lives
add_callback_features Ran
ran; our contract draft was wrong, not the code
dongyoung-go/cpm/feature_extract/reward_scaling_lll.py
pointer only (licence: NONE) · get_code("25a2fa5e6d781899")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongyoung-go/cpm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

features_values Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dongyoung-go/cpm/feature_extract/reward_scaling_lll.py
pointer only (licence: NONE) · get_code("64c1c6dcbc84c35f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongyoung-go/cpm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_score Ran
ran; our contract draft was wrong, not the code
dongyoung-go/cpm/mle-train/claude_eval.py
pointer only (licence: NONE) · get_code("61ba2e9faf99f486")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongyoung-go/cpm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_single_round Ran
ran, violated the contract we drafted
dongyoung-go/cpm/feature_extract/sample_generate.py
pointer only (licence: NONE) · get_code("0c518b646b15ecf4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongyoung-go/cpm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_ds Ran
ran; our contract draft was wrong, not the code
dongyoung-go/cpm/mle-train/common.py
pointer only (licence: NONE) · get_code("09c62c73831a3da2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongyoung-go/cpm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_features_ds Ran
ran; our contract draft was wrong, not the code
dongyoung-go/cpm/mle-train/common.py
pointer only (licence: NONE) · get_code("9dc7278bf125c774")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongyoung-go/cpm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

preferences_as_str Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dongyoung-go/cpm/mle-train/common.py
pointer only (licence: NONE) · get_code("a641066a5fab4c04")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongyoung-go/cpm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

preprocess_hh_dataset Ran
ran; our contract draft was wrong, not the code
dongyoung-go/cpm/reward_model/rm_dataset.py
pointer only (licence: NONE) · get_code("ceca6c9a0952d84c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongyoung-go/cpm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

preprocess_output Ran
ran; our contract draft was wrong, not the code
dongyoung-go/cpm/reward_model/RM_inference_upload.py
pointer only (licence: NONE) · get_code("2a1243ce1a23e284")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongyoung-go/cpm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

preprocess_shp_dataset Ran
ran; our contract draft was wrong, not the code
dongyoung-go/cpm/reward_model/rm_dataset.py
pointer only (licence: NONE) · get_code("9427415e5a3dcdf6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongyoung-go/cpm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

standardize Ran
ran, honoured the contract we drafted
dongyoung-go/cpm/mle-train/bon_candidate.py
pointer only (licence: NONE) · get_code("790643e0394e8970")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongyoung-go/cpm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_and_add_score Not yet run
unverified (harvested, no recorded run)
dongyoung-go/cpm/mle-train/bon_candidate.py
pointer only (licence: NONE) · get_code("86ee092ffb48abf3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongyoung-go/cpm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_scored_samples Not yet run
unverified (harvested, no recorded run)
dongyoung-go/cpm/feature_extract/reward_scaling_lll.py
pointer only (licence: NONE) · get_code("fdea1016316c5a9a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongyoung-go/cpm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 13 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

As language models (LMs) become more capable, it is increasingly important to align them with human preferences. However, the dominant paradigm for training Preference Models (PMs) for that purpose suffers from fundamental limitations, such as lack of transparency and scalability, along with susceptibility to overfitting the preference dataset. We propose Compositional Preference Models (CPMs), a novel PM framework that decomposes one global preference assessment into several interpretable features, obtains scalar scores for these features from a prompted LM, and aggregates these scores using a logistic regression classifier. Through these simple steps, CPMs allow to control which properties of the preference data are used to train the preference model and to build it based on features that are believed to underlie the human preference judgement. Our experiments show that CPMs not only improve generalization and are more robust to overoptimization than standard PMs, but also that best-of-n samples obtained using CPMs tend to be preferred over samples obtained using conventional PMs. Overall, our approach demonstrates the benefits of endowing PMs with priors about which features determine human preferences while relying on LM capabilities to extract those features in a scalable and robust way.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2310.13011")
get_code_for_paper("2310.13011")
have("2310.13011")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2310.13011.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2310.13011.svg)](https://syntology.ai/paper/2310.13011)

Connect an agent — have() is free.