Papers › Preference-grounded Token-level Guidance for Language Model Fine-tuning

Preference-grounded Token-level Guidance for Language Model Fine-tuning

1 Jun 2023NeurIPS 2023 11arXiv:2306.00398archive 2025-07-28

Shentao Yang, Shujian Zhang, Congying Xia, Yihao Feng, Caiming Xiong, Mingyuan Zhou

Aligning language models (LMs) with preferences is an important problem in natural language generation. A key challenge is that preferences are typically provided at the sequence level while LM training and generation both occur at the token level. There is, therefore, a granularity mismatch between the preference and the LM training losses, which may complicate the learning problem. In this paper, we address this issue by developing an alternate training process, where we iterate between grounding the sequence-level preference into token-level training guidance, and improving the LM with the learned guidance. For guidance learning, we design a framework that extends the pairwise-preference learning in imitation learning to both variable-length LM generation and the utilization of the preference among multiple generations. For LM training, based on the amount of supervised data, we present two minimalist learning objectives that utilize the learned guidance. In experiments, our method performs competitively on two distinct representative LM tasks -- discrete-prompt generation and text summarization.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2306.00398")

Code

Syntology Ran 8 of 18 code samples harvested from 2 repositories linked to this paper; 10 have no recorded run. Of those that ran: 6 ran · our draft was wrong; 2 ran with no contract checked.

By repository: official repository: 4 samples from 1 repository, 2 ran; community (archive-listed): 14 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

shentao-yang/preference_grounded_guidance officialmentioned in papermentioned on GitHubpytorch report
yinyueqin/denserewardrlhf-ppo mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 8 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

6ran · our draft was wrong
2ran
10unverified

Licence: 4 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

RewardModel shentao-yang/preference_grounded_guidance/sum_task/reward_model.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 6fdf28a6230ef77d · report
_build_one_layer_mlp shentao-yang/preference_grounded_guidance/sum_task/reward_model.py official repository ran · our draft was wrong no licence file found · pointer only · e97b4f8302932235 · report
_init_weights shentao-yang/preference_grounded_guidance/sum_task/reward_model.py official repository unverified no licence file found · pointer only · 8f83f8e37a1fc568 · report
prints shentao-yang/preference_grounded_guidance/sum_task/reward_model.py official repository unverified no licence file found · pointer only · 891ce03e776aef13 · report
Experience yinyueqin/denserewardrlhf-ppo/denserlhf/trainer/ppo_utils/experience_maker.py community (archive-listed) ran Apache-2.0 (permissive) · 5017ac033cf345d5 · report
compute_approx_kl yinyueqin/denserewardrlhf-ppo/denserlhf/trainer/ppo_utils/experience_maker.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 8572f73b51db94c4 · report
log_probs_from_logits yinyueqin/denserewardrlhf-ppo/denserlhf/trainer/ppo_utils/experience_maker.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 959df7824bf09cc1 · report
masked_mean yinyueqin/denserewardrlhf-ppo/denserlhf/trainer/ppo_utils/experience_maker.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · bff9c1af0e65b23b · report
reset_position_ids yinyueqin/denserewardrlhf-ppo/denserlhf/trainer/ppo_utils/experience_maker.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 3e5662344a15cfae · report
to yinyueqin/denserewardrlhf-ppo/denserlhf/trainer/ppo_utils/experience_maker.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 938b6f55326552be · report
Actor yinyueqin/denserewardrlhf-ppo/denserlhf/trainer/ppo_utils/experience_maker.py community (archive-listed) unverified Apache-2.0 (permissive) · 2c1a919b8596c263 · report
NaiveExperienceMaker yinyueqin/denserewardrlhf-ppo/denserlhf/trainer/ppo_utils/experience_maker.py community (archive-listed) unverified Apache-2.0 (permissive) · 832009e99448c415 · report
compute_reward yinyueqin/denserewardrlhf-ppo/denserlhf/trainer/ppo_utils/experience_maker.py community (archive-listed) unverified Apache-2.0 (permissive) · b96e5125bdaa4277 · report
convert_ring_attn_params yinyueqin/denserewardrlhf-ppo/denserlhf/trainer/ppo_utils/experience_maker.py community (archive-listed) unverified Apache-2.0 (permissive) · 340cb12bdef03f95 · report
pin_memory yinyueqin/denserewardrlhf-ppo/denserlhf/trainer/ppo_utils/experience_maker.py community (archive-listed) unverified Apache-2.0 (permissive) · 98181e9dfff64330 · report
reset_ring_attn_position_ids yinyueqin/denserewardrlhf-ppo/denserlhf/trainer/ppo_utils/experience_maker.py community (archive-listed) unverified Apache-2.0 (permissive) · e93117d99aa6b210 · report
retry yinyueqin/denserewardrlhf-ppo/denserlhf/trainer/ppo_utils/experience_maker.py community (archive-listed) unverified Apache-2.0 (permissive) · e930cb6424d6bb2d · report
update_ring_attn_params yinyueqin/denserewardrlhf-ppo/denserlhf/trainer/ppo_utils/experience_maker.py community (archive-listed) unverified Apache-2.0 (permissive) · 74b9172d4d4d6e9c · report

Tasks

Imitation LearningLanguage ModelingLanguage ModellingText GenerationText Summarization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections