Paper notes

Close readings of classic and influential papers: the problem, the method, the evidence and the limits.

Direct Preference Optimization: Your Language Model is Secretly a Reward Model

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.

NeurIPS 2023

Diffusion Policy: Generating Robot Action Sequences by Conditional Denoising

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.

RSS 2023 2023

LLaMA: Train Smaller Models for Longer, on Public Data Only

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.

arXiv 2023

DreamerV3: One Set of Hyperparameters for 150+ Tasks with a World-Model Agent

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.

arXiv 2023

Fast Inference from Transformers via Speculative Decoding

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.

ICML 2023