OpenAI compares outcome and process supervision on MATH. A reward model trained on 800K human step labels (PRM800K) solves 78.2% of problems at best-of-1860, against 72.4% for an outcome reward model and 69.6% for majority voting. A small simulation shows why step labels save data.
DPO replaces 'reward model plus PPO' with one classification-style loss: given only preference pairs and a frozen reference model, it optimizes the same KL-constrained objective as RLHF. This post checks the derivation, runs a toy world for the frontier and training dynamics, and covers limits.
GQA lets groups of query heads share one key/value head, between multi-head (MHA) and multi-query attention (MQA); MHA checkpoints convert by mean-pooling heads plus about 5% extra pretraining. On T5-XXL it nears MHA quality at close to MQA speed. We check Table 1 and compute Llama 3's KV cache.
QLoRA (Dettmers et al., 2023) quantizes a frozen base model to 4-bit NormalFloat and trains LoRA adapters on top, so a 65B model fine-tunes on one 48 GB GPU. This breakdown explains NF4, double quantization and paged optimizers, rebuilds NF4 in code and tests 4-bit data types on Qwen2.5.
LLaVA connects a frozen CLIP ViT-L/14, one linear projection and Vicuna: stage 1 trains only the projection, stage 2 tunes it with the language model on 158K visual instructions written by text-only GPT-4. This post covers the method, rechecks the tables and re-runs stage 1 at small scale.
The GPT-4 report emphasizes predictable loss scaling, image input and safety evaluation while withholding architecture, data and compute details. It also explains why specific capabilities may remain unpredictable.
Diffusion Policy (Chi et al., 2023) writes a robot's visuomotor policy as an observation-conditioned diffusion model: it denoises a sequence of future actions from noise, executes the first few, then replans. This post rechecks the 46.9% headline and tests multimodality and horizons on a toy task.
LLaMA is a family of 7B to 65B foundation models from Meta (2023), trained on public data only. The paper reports LLaMA-13B beating GPT-3 175B on most benchmarks. This post covers the inference-budget argument, data, architecture, training cost and evidence, and which claims need a discount.
Toolformer lets a language model decide when to call a calculator, QA system, search engine, translator or calendar: a call is kept only if its result clearly lowers the loss on the next tokens. This post covers the method, rechecks the tables and measures the filter on two Qwen2.5 models.
DreamerV3 (Hafner et al., 2023) learns a world model and trains an actor and critic on imagined latent trajectories. With symlog, twohot regression, free bits and percentile return normalization, one hyperparameter set beats or matches specialists on 150+ tasks and finds a Minecraft diamond.
Constitutional AI swaps human harmlessness labels for a written list of principles: a model critiques and revises its own answers, then ranks answer pairs under those principles (RLAIF). It explains the method, rechecks the paper's numbers and re-runs the labeling step at small scale.
In speculative decoding a small draft model guesses several tokens, the large model verifies them in one parallel pass, and a sampling rule keeps the output distribution unchanged. This post reads the paper's formulas, recomputes its Tables 1 and 4, and explains the 1.4x to 3.4x measured on T5-XXL.