Is Crowdsourcing Breaking Your Bank? Cost-Effective Fine-Tuning of Pre-trained Language Models with Proximal Policy Optimization

Shuo Yang, Gjergji Kasneci · DOI

Abstract

Reinforcement Learning from Human Feedback (RLHF) has become a standard technique for aligning large language models with human preferences. However, the reliance on expensive and time-consuming human crowdsourcing for ranking model outputs creates a significant bottleneck. This paper introduces a Self-supervised Text Ranking (STR) pipeline that automates the ranking process using semantic clustering and graph-based algorithms. By "self-labeling" generated responses, the STR pipeline achieves performance gains that rival or exceed traditional supervised fine-tuning methods while drastically reducing labor costs.

Introduction: The Bottleneck of Human Feedback

The success of modern conversational agents often relies on Proximal Policy Optimization (PPO) guided by a Reward Model. Traditionally, this Reward Model is trained on thousands of sentence pairs ranked by human annotators. This process is not only costly but also slow, limiting the ability of smaller research teams to iterate on model alignment. Furthermore, models often suffer from "shortcut learning" or hallucinations that are difficult to mitigate without dense supervision.

The authors address this by asking: Can a model supervise itself by leveraging the semantic patterns already present in its own outputs? They propose that "truth" is often more semantically consistent than "error," allowing for an automated ranking system based on the centrality of responses within a semantic graph.

The STR Pipeline

The proposed STR pipeline replaces human rankers with an automated, three-step process designed to generate high-quality contrastive data for reward modeling.

The three-step Self-supervised Text Ranking (STR) pipeline: 1) Supervised policy training and ranking, 2) Contrastive data generation with noise, and 3) PPO policy optimization.
  1. Diverse Answer Generation: The model generates multiple candidate answers for a single prompt using probabilistic sampling (Top-p and temperature scaling) to explore various reasoning pathways.
  2. Ensemble-based Text Ranking (TextRank): Using Sentence-BERT embeddings, the system constructs a semantic similarity graph. The TextRank algorithm (a variation of PageRank) scores answers based on their centrality, assuming that correct or helpful answers will cluster together while hallucinations remain outliers.
  3. Representative Extraction (ISODATA): To minimize redundancy, the ISODATA clustering algorithm identifies representative answers from each cluster. This ensures the Reward Model learns from distinct types of responses rather than minor variations of the same text.
  4. Noise Injection: To provide a clear contrast for the Reward Model, the system intentionally "breaks" lower-ranked answers by deleting words, adding negations, or shuffling sentence order. This creates a harder curriculum that prevents the model from converging on suboptimal policies.
  5. PPO Fine-Tuning: A Reward Model is trained on these automated rankings and used to optimize the generative policy via standard PPO.

Experimental Evaluation

The researchers evaluated the STR method across three benchmarks: DailyDialogue, Cornell Movie-Dialogue Corpus, and SQuAD v2.0. They tested the pipeline using two lightweight models: GPT-2 (124M parameters) and GPT-Neo (125M parameters), comparing STR against full fine-tuning and parameter-efficient methods like LoRA and BitFit.

Results and Analysis

The STR pipeline demonstrated significant improvements over baseline models and standard fine-tuning techniques. On the Cornell Movie dataset, the STR-tuned GPT-2 achieved approximately a 30% improvement in BLEU and METEOR scores compared to the full fine-tuning baseline.

Performance comparison of GPT-2 fine-tuning methods on DailyDialogue and CornellMovie datasets across BLEU, GLEU, and METEOR metrics.

Key findings include:

  • Human Alignment: Manual evaluation showed that the automated TextRank system achieved 83.33% consistency with human rankings on the DailyDialogue dataset, validating the "clustering hypothesis."
  • The Role of Noise: Synthetic noise injection proved critical. As shown in the results table, models trained with added noise consistently outperformed those trained on raw automated rankings, likely due to the increased contrast between positive and negative samples.
  • NLU Generalization: On the SQuAD v2.0 benchmark, the model improved its Exact Match (EM) score by roughly 2 points over the LoRA baseline, indicating that the method is effective for both creative dialogue and factual tasks.

Conclusion and Future Directions

Self-supervised Text Ranking offers a viable path toward cost-effective model alignment. While the method introduces some computational overhead—requiring the simultaneous operation of generative, reward, and reference models—it eliminates the primary financial barrier to RLHF.

Future work will explore more sophisticated noise injection rules and investigate whether these semantic clustering patterns hold for much larger models (e.g., 70B+ parameters), where the model's ability to generate consistently "plausible" but incorrect answers might challenge the current TextRank assumptions.

Summary updated

BibTeX
@inproceedings{yang2024is,
  author = {Shuo Yang and Gjergji Kasneci},
  title = {{Is Crowdsourcing Breaking Your Bank? Cost-Effective Fine-Tuning of Pre-trained Language Models with Proximal Policy Optimization}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
}
Figure