Explore the research collection
8 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
Continual Learning via Sparse Memory Finetuning
Replaces one mid-stack FFN with a 1M-slot memory layer (k=32, 4 heads) and finetunes only the top-t slots that are highly accessed on the current batch relative to DCLM pretraining (TF-IDF). On a 1.3B model, TriviaQA 1K fact stream: NaturalQuestions F1 drops 11% vs 89% full finetuning and 71% LoRA at matched target learning; document-stream SimpleQA shows the same Pareto pattern. Naive memory FT and TF-only ranking forget more. No official code on abs.
- Paper
Sharpness-Aware Pretraining Mitigates Catastrophic Forgetting
Treats forgetting as local Hessian curvature along the fine-tuning direction. SAM, larger peak LR, and shorter WSD annealing each improve the learning–forgetting Pareto frontier even when they do not lower base pretraining loss. OLMo-60M / 192B tokens: SAM cuts StarCoder forgetting ~80% at matched FT loss; gap widens with token budget. Late-only SAM during WSD decay (~10% of steps) recovers much of full-SAM robustness. OLMo-2-1B mid-train 50B tokens: SAM vs OLMo recipe reduces forgetting 31% after MetaMath SFT and 40% after 4-bit NF4 quantization despite a slightly weaker base (42.9 vs 43.2 avg). Hessian analysis: SAM and large peak LR lower fine-tuning-directional sharpness. No official code on abs.
- Post
The Atlas Neuron (Arth Singh: continual learning with no backprop, no replay, no task labels)
Can a model learn tasks one after another without forgetting, with no replay, no task labels, and no backprop? The Atlas neuron: keeps one page of memory per "world"; when several batches in a row look unfamiliar (3 consecutive batches below 85% of the world's frozen usual familiarity, or batches with only never-seen labels), it forks a new page, and only the current page learns, so old pages can't be overwritten. Each image is compressed by a fixed random projection to 256 numbers; per class, each page stores 128 landmarks (online k-means) and a chart in pixel space = the class mean plus its top 16 principal directions (incremental PCA, one streaming pass). To classify, each chart bends from its mean along its 16 directions toward the input; the leftover squared distance is what the chart cannot explain; the class score combines the smallest unexplained distance among its charts with its closest landmark similarity across ALL pages (no routing to a world first). The two vote weights are the only numbers learned by gradient descent (self-calibrated from inverse spreads). Results in the Mammoth continual-learning library (one pass, no task labels, 5 seeds): 96.7% after 20 tasks of Permuted MNIST vs 45% for a sequentially trained MLP; beats DER++ with a 5,120-image buffer on 5 of 6 benchmarks (exception: Rotated MNIST 94.2 vs 94.5), e.g. 96.7 vs 92.3 on Permuted MNIST; also beats the joint-trained MLP reference on 5 of 6. A landmark-only lookup-table ablation with 2x memory matches 3/6 tasks but collapses on Split CIFAR-10 (17.0 vs 41.5) -- the charts do the work. Costs: 9.2M stored floats on permuted tasks vs DER++'s 4.2M; a leaner shared-charts variant matches on permuted tasks at 2.4M but loses on Split CIFAR-100. On natural images it only partly works: with frozen unsupervised patch features it reaches 41.5% on Split CIFAR-10 but stays weak on Split CIFAR-100 (14.4% vs 37.5% DER++); streaming LDA beats it above 2M floats. Caveats: rotated nearby angles merge into one page; Permuted KMNIST is the one benchmark where the lookup table stays ahead; memory grows with the number of worlds. Partly old lineage: subspace classifiers back to CLAFIC (1960s), Hinton/Dayan/Revow's 1997 wake-sleep charts; new is the automatic forking rule bolted onto modern continual-learning benchmarks.
- 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.
- Post
SFT, RL, and On-Policy Distillation Through a Distributional Lens
Independent technical essay arguing that SFT pulls toward a fixed external dataset (forward-KL / catastrophic-forgetting risk), RL reshapes regions the current policy already visits, and on-policy distillation (OPD) is in between: teacher logits with student-generated states. Reports a minimal code-editing task (fix a corrupted function and nothing else) where SFT and RL teachers both learn the task but RL generalizes better and forgets less on LiveCodeBench v6. OPD students from either teacher look similar, slightly beat the RL teacher on the editing metrics, and forget less than the SFT teacher even when distilled from it. Prefers Shenfeld et al.'s nearest-task-solving-policy view of on-policy data over KL-direction or uniform-token-gradient stories as the main anti-forgetting mechanism. Discusses GLM 5 / DeepSeek v4 using OPD to merge experts and MiMo-V2 Flash Table 7 domain-wise teacher recipes. No new public dataset or weights.
- 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.