How to Read: Training language models to follow instructions with human feedback [Reading Guide]

Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke E. Miller, Maddie Simens, Amanda Askell, Peter Welinder, P. Christiano, Jan Leike, Ryan J. Lowe · 2022 · Neural Information Processing Systems

Three-Pass Reading Method

The three-pass reading method is a systematic approach designed to efficiently extract maximum understanding from research papers. The first pass (5-10 minutes) gives you a high-level overview by skimming the title, abstract, introduction, and conclusion. The second pass (up to 1 hour) involves careful reading of the paper with emphasis on methodology and key technical details. The third pass (1-5 hours) focuses on deep understanding, critical analysis, and connecting ideas to related work.

This structured approach helps you determine a paper's relevance quickly, then dive deeper only when needed, making your research workflow more efficient and effective.

This guide will help you navigate "Training language models to follow instructions with human feedback" using the three-pass approach, focusing on actionable steps and key takeaways.

First pass (5–10 min)

What to skim in this paper:

  • Title: "Training language models to follow instructions with human feedback" – Immediately grasp the core topic: improving LLMs' ability to follow instructions using human input.
  • Abstract: Read for a high-level overview. Note the problem (LLMs not aligned with user intent), the solution (fine-tuning GPT-3 with human feedback via supervised learning and reinforcement learning), the resulting models (InstructGPT), and the main findings (InstructGPT preferred over GPT-3, improved truthfulness/reduced toxicity, minimal performance regressions).
  • Introduction (Section 1): Understand the motivation for aligning LLMs and the high-level three-step methodology (supervised fine-tuning, reward model training, reinforcement learning from human feedback).
  • Discussion (Section 5): Read the bolded summary points (5.1) for key implications and quickly scan "Who are we aligning to?" (5.2), "Limitations" (5.3), and "Broader impacts" (5.5) to understand the authors' critical self-assessment and future directions.

What to notice:

  • Core Problem: Large language models (LLMs) often fail to follow user instructions, generating unhelpful, untruthful, or toxic outputs, indicating a "misalignment" with user intent.
  • Main Contribution: The InstructGPT models, fine-tuned using Reinforcement Learning from Human Feedback (RLHF), significantly improve instruction-following, truthfulness, and reduce toxicity compared to the much larger GPT-3, despite having 100x fewer parameters.
  • Key Method: A three-step process involving supervised fine-tuning (SFT), training a reward model (RM) from human preferences, and optimizing the policy using Proximal Policy Optimization (PPO) with the RM.
  • Setting: Fine-tuning pre-trained GPT-3 models on a diverse set of prompts, including those from the OpenAI API.

Second pass (up to 1 hour)

Using SpatialRead in the Second Pass

  • Use the Screenshot tool to capture figures, tables, diagrams, and formulae from the PDF and use AI for simple explanations.
  • Ask: "Explain Figure X at a high level", "Compare Table 2 vs 3", or "What does the y-axis represent here?"
  • Download SpatialRead →

What sections/figures to focus on:

  • High-level Methodology (Section 3.1) and Figure 2: This is the heart of the paper's method. Figure 2 provides a clear, step-by-step diagram of the SFT, RM, and PPO process. Read Section 3.1 carefully to understand each stage and how they connect.
  • Dataset Details (Sections 3.2, 3.3, 3.4) and Tables 1, 2, 6, 7:
    • Table 1: Review the distribution of use-case categories (e.g., generation, QA, brainstorming) to understand the diversity of tasks.
    • Table 2: Examine illustrative prompts to get a concrete sense of the instructions used.
    • Section 3.4: Understand the human data collection process, including labeler selection and the criteria for desired model behavior (helpful, honest, harmless).
    • Table 6: Note the sizes of the datasets used for SFT, RM, and PPO training.
    • Table 7: See the diversity of annotations collected on prompts.
  • Models (Section 3.5): Read the descriptions of Supervised Fine-tuning (SFT), Reward Modeling (RM), and Reinforcement Learning (RL) to grasp the technical details of each stage. Pay attention to the PPO-ptx variant, which mixes pretraining gradients to mitigate performance regressions.
  • Evaluation (Section 3.6) and Table 3: Understand the evaluation criteria (helpful, honest, harmless) and the two main evaluation settings (API prompt distribution, public NLP datasets). Table 3 lists the metadata labelers collected for evaluation.
  • Results (Section 4): Focus on the main findings and supporting figures.
    • Figure 1: Re-examine the human preference results, noting the significant win rate of InstructGPT (PPO-ptx) over GPT-3.
    • Figure 3: Analyze win rates across different prompt distributions (GPT vs. InstructGPT) and labeler types (held-out vs. training workers) to understand generalization.
    • Figure 4: Look at how InstructGPT performs on specific metadata axes like "Attempts correct instruction," "Follows explicit constraints," "Hallucinations," and "Uses language appropriate for customer assistant."
    • Figure 6: Review the improvements in truthfulness and informativeness on the TruthfulQA dataset.
    • Figure 7: Observe the small improvements in toxicity on RealToxicityPrompts, especially with "respectful" prompts.

Key terms/questions to note:

  • RLHF components: Supervised Fine-Tuning (SFT), Reward Model (RM), Proximal Policy Optimization (PPO).
  • Alignment criteria: Helpfulness, truthfulness, harmlessness.
  • "Alignment tax": The observed performance regressions on public NLP datasets when fine-tuning for alignment. How is PPO-ptx designed to address this?
  • Data sources: Labeler-written prompts vs. OpenAI API prompts.
  • Model sizes: How do the 1.3B, 6B, and 175B InstructGPT models compare to their GPT-3 counterparts?

Third pass (1–5 hours)

Using SpatialRead in the Third Pass

  • Highlight complex keywords, dense paragraphs, equations, or proofs and ask for a plain-English explanation that preserves notation.
  • Use AI to explain the concepts in a way that is easy to understand.
  • Ask for alternative phrasings or analogies to confirm understanding without changing technical meaning.
  • Connect concepts with each other using AI to build a comprehensive understanding of the paper.
  • Download SpatialRead →

Deep reading guidance:

  • Methods (Section 3): Read every subsection thoroughly.
    • 3.1 High-level methodology: Ensure a solid understanding of the three-step pipeline, referring back to Figure 2.
    • 3.2 Dataset: Understand the prompt collection, deduplication, and splitting strategies. Pay attention to the prompt types (plain, few-shot, user-based) and the filtering for PII.
    • 3.4 Human data collection: Delve into the labeler selection process (Appendix B.1) and the detailed labeling instructions (Appendix B.2, Figures 10 and 11). Understand the trade-offs labelers were asked to make (e.g., truthfulness/harmlessness over helpfulness).
    • 3.5 Models: Go through the technical details of SFT, RM (Equation 1), and PPO (Equation 2). Understand the role of the KL penalty and the pretraining mix coefficient (γ) in PPO-ptx. Refer to Appendix C for hyperparameter details and training specifics.
  • Results (Section 4): Analyze all figures and tables in detail, cross-referencing with the text.
    • 4.1 Results on the API distribution: Understand the nuances of human preference, including the impact of few-shot prompting (Figure 1, 3). Analyze the metadata results (Figure 4) to see specific behavioral improvements.
    • 4.2 Results on public NLP datasets: Examine Table 14 for a comprehensive view of automatic evaluation results across various NLP tasks (e.g., Winogender, CrowS-Pairs, TruthfulQA, SQuADv2, DROP, Hellaswag, WMT). Understand how PPO-ptx mitigates the "alignment tax" (Figures 28, 29, 33, 34).
    • 4.3 Qualitative results: Study Figures 8 and 9 for concrete examples of InstructGPT's generalization capabilities (non-English, code) and its remaining failure modes (false premises, hedging).
  • Discussion (Section 5): Critically engage with the authors' discussion.
    • 5.1 Implications for alignment research: Reflect on the four key lessons learned, especially the cost-effectiveness of alignment and generalization.
    • 5.2 Who are we aligning to?: This is a crucial section for understanding the ethical considerations and limitations of human feedback. Consider the biases introduced by labeler demographics, researcher instructions, and API customer data.
    • 5.3 Limitations & 5.4 Open questions: Understand the current shortcomings of InstructGPT and the proposed avenues for future research.
    • 5.5 Broader impacts: Reflect on the societal implications, including potential misuse and the need for a broader safety ecosystem.

Replication pointers if applicable:

  • Data Collection: Details on prompt sources (labeler-written, API), filtering (PII, deduplication), and dataset sizes are in Sections 3.2, 3.3, and Appendix A (Tables 6, 7, 8, 9, 10, 11).
  • Model Architecture: All models use the GPT-3 architecture (Section 3.5, Appendix C).
  • Training Procedures: Specifics for SFT (epochs, learning rate, batch size, dropout in Appendix C.1), RM (loss function in Equation 1, training details in Appendix C.2), and PPO (objective in Equation 2, KL penalty, pretraining mix, hyperparameters in Appendix C.4).
  • Evaluation Benchmarks: Appendix D provides detailed prompting structures and evaluation metrics for each public NLP dataset used (e.g., TruthfulQA, DROP, SQuADv2, Hellaswag, WMT).
  • Human Feedback: Detailed labeling instructions for both API prompts and RealToxicityPrompts are provided in Appendix B.2 (Figures 10, 11). Labeler demographics are in Appendix B.3 (Table 12).
  • Ablation Studies: Appendix E contains additional results and ablations, such as learning rate optimization (Figure 38) and KL reward coefficient tuning (Figure 36).