Blog

Paper breakdowns, frontier updates and engineering notes on large language models.

Learning to Summarize: A Reward Model from Human Preferences, Optimized with PPO

OpenAI ran the full RLHF pipeline on Reddit TL;DR summaries: collect human pairwise comparisons, train a reward model, then optimize the policy with KL-penalized PPO. A 1.3B human-feedback model beat a supervised model 10 times larger. Code checks the KL optimum and over-optimization.

Paper notes NeurIPS 2020 2020

Scaling Laws for Neural Language Models

OpenAI's 2020 paper trained Transformers of 768 to 1.5 billion parameters on WebText2 and found that loss falls as a power law in parameters, data and compute, almost regardless of shape. At a fixed budget, grow the model first (size ∝ compute^0.73). A breakdown that checks the numbers.

Paper notes arXiv 2020

RoBERTa: A robustly optimized BERT recipe

RoBERTa keeps BERT’s architecture but uses more data, larger batches, longer training, dynamic masking, byte-level BPE and no NSP, showing the original model was undertrained.

Paper notes arXiv 2019

AlphaZero: Only the Rules, Self-Play from Scratch, Mastering Chess, Shogi and Go

AlphaZero used one algorithm and one set of hyperparameters, given only the rules, to learn chess, shogi and Go from random play via self-play with a neural network and Monte Carlo tree search (MCTS), and beat each world-champion program. This post checks shapes, match statistics and search volume.

Paper notes arXiv preprint 2017