SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.11124 · 2024

Scaling Data Diversity for Fine-Tuning Language Models in Human Alignment

arXiv · PDF · Open in the Atlas

Code that ran

6 of 6 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 0 no recorded run), measured 2026-11-22; 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/2403.11124.json · badge: /api/ran/2403.11124.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
f2-song/scalingalignment canonical (classifier label)
classifier basis: census
6 ran · 0 no recorded run
FunctionStatusWhere it lives
generate_pipeline Ran
ran; our contract draft was wrong, not the code
f2-song/scalingalignment/eval_hh/infer_func.py
pointer only (licence: GPL-3.0); the stored copy get_code serves, from calubkk/clha, is pointer only (licence: NONE) · get_code("beaab6339f0946cc")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, f2-song/scalingalignment, is not in the permissive set Syntology serves inline. 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.

get_bleu Ran
ran, honoured the contract we drafted
f2-song/scalingalignment/eval_hh/metrics.py
pointer only (licence: GPL-3.0); the stored copy get_code serves, from calubkk/clha, is pointer only (licence: NONE) · get_code("0d49b060dc9012dc")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, f2-song/scalingalignment, is not in the permissive set Syntology serves inline. 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.

get_info Ran
ran; our contract draft was wrong, not the code
f2-song/scalingalignment/data_preprocess/diversity.py
pointer only (licence: GPL-3.0) · get_code("6ca582890a040098")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, f2-song/scalingalignment, is not in the permissive set Syntology serves inline. 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.

get_ngrams Ran
ran, honoured the contract we drafted
f2-song/scalingalignment/data_preprocess/diversity.py
pointer only (licence: GPL-3.0) · get_code("7735b404c6a4f365")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, f2-song/scalingalignment, is not in the permissive set Syntology serves inline. 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_raw_dataset Ran
ran; our contract draft was wrong, not the code
f2-song/scalingalignment/data_preprocess/split.py
pointer only (licence: GPL-3.0) · get_code("814d25f588e5f6e9")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, f2-song/scalingalignment, is not in the permissive set Syntology serves inline. 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.

produce_tokenized_prompts Ran
ran; our contract draft was wrong, not the code
f2-song/scalingalignment/data_preprocess/diversity.py
pointer only (licence: GPL-3.0) · get_code("25009451201ba931")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, f2-song/scalingalignment, is not in the permissive set Syntology serves inline. 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.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 2 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 2 the same month, 0 later) and 4 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.

FunctionAlso present inEarliest-datedOthers named
get_bleu 2 other papers
1 dated earlier, 1 the same month
2305.14718 (2023-05)
Leftover Lunch: Advantage-based Offline Reinforcement Learning for Language Models
2403.16649 (2024-03)
CLHA: A Simple yet Effective Contrastive Learning Framework for Human Alignment
generate_pipeline 1 other paper
1 the same month
2403.16649 (2024-03)
CLHA: A Simple yet Effective Contrastive Learning Framework for Human Alignment

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-22.

Repositories linked to this paper

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

Abstract

Alignment with human preference prevents large language models (LLMs) from generating misleading or toxic content while requiring high-cost human feedback. Assuming resources of human annotation are limited, there are two different ways of allocating considered: more diverse PROMPTS or more diverse RESPONSES to be labeled. Nonetheless, a straightforward comparison between their impact is absent. In this work, we first control the diversity of both sides according to the number of samples for fine-tuning, which can directly reflect their influence. We find that instead of numerous prompts, more responses but fewer prompts better trigger LLMs for human alignment. Additionally, the concept of diversity for prompts can be more complex than responses that are typically quantified by single digits. Consequently, a new formulation of prompt diversity is proposed, further implying a linear correlation with the final performance of LLMs after fine-tuning. We also leverage it on data augmentation and conduct experiments to show its effect on different algorithms.

For agents

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

get_harvested_code_for_paper("2403.11124")
get_code_for_paper("2403.11124")
have("2403.11124")

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

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

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

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

Connect an agent — have() is free.