Explore the research collection
4 entries · Follow this search
- Paper
Finetuning with Sampling: SFT Learns Better Than You Think
Conventional wisdom: RL generalizes well on new tasks without losing existing capabilities, while SFT suffers weak generalization and catastrophic forgetting — but SFT can learn from off-policy expert data, whereas RL must find successful trajectories by repeated sampling. Instead of modifying the learning objective for off-policy data, this work tailors the data distribution to the learner: an MCMC (Metropolis-Hastings) sampling algorithm progressively transforms off-policy traces to be more on-policy given a reference model. The target distribution is the KL-closest distribution to the base model consistent with a privileged information constraint C; the information constraint is absorbed into the MCMC proposer (used in-context to generate candidates) rather than as a verifier, and the data processing inequality guarantees the trajectory distribution moves closer to the base model as MCMC progresses. Across scientific skill acquisition, mathematical reasoning, and open-ended expertise, sampling-augmented SFT rivals prevailing post-training techniques — often generalizing better and forgetting less than strong on-policy baselines like RL and on-policy distillation — and the pass@k curve can exceed both base model and on-policy learning, i.e., learning genuinely new abilities rather than just sharpening. Sampling is framed as a model-native operator shaping data for learnability, with broader utility as a general primitive across the post-training stack (RL, OPD, self-play).
- Paper
Local Support Learning
Local Support Learning (LSL) augments gradient-based training so LLMs of up to 7B parameters learn new tasks at full capacity while retaining prior capabilities — without access to prior data. The core idea: cast forgetting as a geometric problem and optimize for the worst case. A gradient update ΔW is a matrix that changes the output for every input not orthogonal to it, giving each update a global effect; LSL constrains the update to act only on the adapter's training distribution. Each learning phase pairs a standard weight adapter (e.g., LoRA), trained as usual, with a tailored gate enabling the adapter only on inputs from its training distribution — a GMM-based gate whose likelihood decays away from its training data, so it naturally stays closed on prior data it has never seen (conventional MLP classifiers lack this guarantee). Experiments fine-tune LLMs on chemistry, English-to-Igbo translation, and cybersecurity while measuring retention of pretraining skills (math, coding, instruction following): LSL achieves near-optimal retention with strong new-task performance across multiple phases, is robust to hyperparameter choice (no LR/batch-size/rank retention tradeoff), scales from 88% (1.5B) to 97% (3B) to 99% (7B) retention, and costs about the same as standard LoRA in memory and compute.
- Paper
Late-Stage Generalization Collapse in Grokking: Detecting anti-grokking with WeightWatcher
Extended WeightWatcher/HTSR–SETOL study (Prakash & Martin; UCSD / Calculation Consulting; builds on arXiv 2506.04434 workshop version) trains a 3-layer MLP on 1k MNIST and a modular-addition transformer far beyond typical horizons (~10^7 steps) and finds a third phase—anti-grokking—where test accuracy collapses toward chance while train accuracy stays perfect. Primary diagnostic: Correlation Traps (MP-bulk outliers in shuffled layer spectra); secondary: average HTSR α departing from ≈2. Competing grokking progress measures miss this phase. MLP collapse ties to prototype memorization (α<2); modular-addition traps induce catastrophic forgetting (α>2). Similar α<2 pathologies noted in gpt-oss-20B/120B.
- Paper
Elastic Weight Consolidation (EWC): Nuts and Bolts
A short report that derives the Elastic Weight Consolidation loss introduced in Overcoming catastrophic forgetting in neural networks. Frames EWC as a quadratic penalty on parameter drift, weighted by a Fisher-information diagonal that marks weights important to previous tasks. Assumes the reader already knows continual-learning terms; no new algorithm or large-scale experiments on the abs. Discord posted the PDF of arXiv 2105.04093.