Papers › A Critical Evaluation of AI Feedback for Aligning Large Language Models

A Critical Evaluation of AI Feedback for Aligning Large Language Models

19 Feb 2024arXiv:2402.12366archive 2025-07-28

Archit Sharma, Sedrick Keh, Eric Mitchell, Chelsea Finn, Kushal Arora, Thomas Kollar

Reinforcement learning with AI feedback (RLAIF) is a popular paradigm for improving the instruction-following abilities of powerful pre-trained language models. RLAIF first performs supervised fine-tuning (SFT) using demonstrations from a teacher model and then further fine-tunes the model with reinforcement learning (RL), using feedback from a critic model. While recent popular open-source models have demonstrated substantial improvements in performance from the RL step, in this paper we question whether the complexity of this RL step is truly warranted for AI feedback. We show that the improvements of the RL step are virtually entirely due to the widespread practice of using a weaker teacher model (e.g. GPT-3.5) for SFT data collection than the critic (e.g., GPT-4) used for AI feedback generation. Specifically, we show that simple supervised fine-tuning with GPT-4 as the teacher outperforms existing RLAIF pipelines. More generally, we find that the gains from RLAIF vary substantially across base model families, test-time evaluation protocols, and critic models. Finally, we provide a mechanistic explanation for when SFT may outperform the full two-step RLAIF pipeline as well as suggestions for making RLAIF maximally useful in practice.

PaperPDFCodeCode 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="2402.12366")

Code

Syntology Ran 8 of 11 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 7 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

architsharma97/dpo-rlaif officialmentioned in papermentioned on GitHubpytorchApache-2.0 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

11 samples harvested; 8 ran; 0 honoured the contract we drafted; 3 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.

1ran · our draft was wrong
7ran
3unverified

Licence: 0 of the 11 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 architsharma97/dpo-rlaif. “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.

dpo_loss architsharma97/dpo-rlaif/trainers.py official repository ran Apache-2.0 (permissive) · 16a2450aff4a3577 · report
extract_anthropic_prompt architsharma97/dpo-rlaif/preference_datasets.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 12f6803880f9b17e · report
get_local_dir architsharma97/dpo-rlaif/utils.py official repository ran fingerprinted Apache-2.0 (permissive) · 2a9c061a2b1c35cf · report
get_local_run_dir architsharma97/dpo-rlaif/utils.py official repository ran Apache-2.0 (permissive) · 5edbbf974035e91f · report
get_logits architsharma97/dpo-rlaif/reward_trainer.py official repository ran Apache-2.0 (permissive) · 3c8dcada6a55875f · report
get_openai_completion architsharma97/dpo-rlaif/ai_completions.py official repository ran Apache-2.0 (permissive) · 2378ff2496a12f0a · report
match_instruction_outputs architsharma97/dpo-rlaif/label_ai_preferences.py official repository ran Apache-2.0 (permissive) · 5530a963e205ad95 · report
train_step architsharma97/dpo-rlaif/reward_trainer.py official repository ran Apache-2.0 (permissive) · 12be818ac399701d · report
dump_files architsharma97/dpo-rlaif/generate_samples.py official repository unverified Apache-2.0 (permissive) · d5e9b37690fe8587 · report
eval_loop architsharma97/dpo-rlaif/reward_trainer.py official repository unverified Apache-2.0 (permissive) · b1c3a18860528ce9 · report
get_remote_file architsharma97/dpo-rlaif/utils.py official repository unverified Apache-2.0 (permissive) · e7ce4c19888c6df6 · report

Tasks

Instruction FollowingReinforcement LearningReinforcement Learning (RL)reinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionAttention DropoutBASEBPECosine AnnealingDense ConnectionsDropoutGPT-3GPT-4Label SmoothingLayer NormalizationLinear LayerLinear Warmup With Cosine AnnealingMulti-Head AttentionPosition-Wise Feed-Forward LayerRLAIFResidual ConnectionSFTSoftmaxTransformerWeight Decay

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