Explore the research collection
11 entries · Follow this search
- Paper
Write Back the Δ: Revisiting the Same Tokens with Fresh Representations
Inference-time feedback that recycles endogenously produced computation: feeding a Transformer's full deep state back into shallow layers saturates fast (deep states are collinear copies of early residuals), but routing the depth increment Δ = z_deep − z_shallow isolates the newly accumulated computation and scales cleanly up to 6 edges. ReFlux frames depth feedback as a learnable directed-acyclic graph over layer pairs, with a tiny 2.2M-param router MLP predicting sparse gates and amplitudes over a frozen backbone — beating a 2.9M rank-8 LoRA adapter on C4 perplexity. Post-write norm projection avoids 'norm shock' on Pre-LN models like Qwen 3 (flipped Qwen3-4B from negative to +6.15% gain). Two execution flavors: sync (2 passes, 1.9x latency) and streaming (single pass, injects cached Δ(t−1) into token t — 0 extra backbone FLOPs, same KV cache, 1.02–1.08x decode latency, >80% of sync gains). Streaming serializes prefill (510x slowdown on 1,107-token prompts), so serving needs parallel prefill. Downstream: +2.1–2.3 accuracy points overall, +4.7 on multi-hop reasoning (2WikiMultiHopQA 24.6→29.7, HotpotQA 42.3→47.0); with CoT on GSM8K hits 92.0 while cutting output length 31% (1,002→691 tokens). Gemma3-4B C4 PPL 23.69→21.85 (full state only 22.79). Relevant to the user's LLM training-run and agent-harness work; related cluster: looped/recurrent models (670, 952).
- Paper
Tuning Language Models by Mixture-of-Depths Ensemble
Not the DeepMind Mixture-of-Depths (dynamic compute); Discord flagged the name collision. MoDE reads logits off late layers (logit-lens style), trains a router, and adds per-layer norm/distillation. Plug-in on LoRA/DoRA. LLaMA2-7B arithmetic avg 54.8 (LoRA+MoDE) / 55.1 (DoRA+MoDE) vs LoRA ALL 54.5 / DoRA 54.7; LLaMA3-8B 77.6 / 77.9 vs 77.2 / 77.5. Replacing late-layer LoRA with MoDE is +0.04% params vs +10.3%. Sparse top-k routing keeps most accuracy and speeds generation up to 1.6×. No official code on abs.
- 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
Evolution Strategies at the Hyperscale
EGGROLL samples rank-r adapters AB^T instead of full-rank noise, reaching ~91% of batch-inference throughput and ~100× naïve ES at large populations. Individual perturbations are low-rank but the population average is full-rank (O(1/r) to Gaussian ES). Pretrains an int8 nonlinear RNN (EGG, no activations) on MiniPile to 3.40 bits/byte vs a backprop Transformer 3.58 at matched data batch (pop 2^20). Competitive with GRPO on countdown/GSM8K (RWKV-7) and with OpenES on 16 tabula-rasa RL envs. Code https://github.com/ESHyperscale/HyperscaleES; project https://eshyperscale.github.io/.
- Paper
Self-Policy Distillation via Capability-Selective Subspace Projection
SPD SVD-extracts a low-rank K/V subspace from gradients on correctness-defining tokens (answer span / assertions), hooks those projections during self-generation, then LoRA-SFT on the raw hooked completions. No teacher, reward, or filter. Up to 13% over SSD/PSR and 16% over base across code/math/QA on five instruct backbones; QA-calibrated SPD also lifts math/code OOD. Correctness-aligned loss beats full-sequence loss (MBPP 11.9→25.5). Calibration works with ~50 examples. No official code on abs.
- Paper
Transformers Stop Thinking Too Early, and a Tiny LoRA Fixes It
Pretrained transformers use little of their depth to follow references in context: 13 base models reliably follow only 1.4-3.6 lines, and extra pretrained loops add little. A task-trained rank-8 LoRA at one early layer extends computation with all model weights frozen: Qwen3-8B improves from 15.5% to 99% exact accuracy on 24-line chains; a longer-trained LoRA reaches 50 lines; Ouro-1.4B reaches 60 lines after four loops and at least 160 after eight. Mechanism: the LoRA starts a relay -- program lines pass on their chain identity through a short range of middle layers, frozen heads read progressively further up the chain, and removing parent-line attention stops the relay. A frozen-model measurement locates the last useful intervention layer within tolerance in 3 of 4 held-out models. Task-specific LoRAs also improve MuSiQue. Takeaway: default answers understate the computation accessible through a tiny edit. Code and an interactive demo at https://lunamos.github.io/stop-thinking-too-early/
- Paper
Fine-Tuning Language Models with Just Forward Passes
MeZO adapts zeroth-order (gradient-free) SGD to fine-tune language models using only forward passes, operating in-place with inference-level memory. Supports full-parameter and parameter-efficient tuning (LoRA, prefix tuning) and non-differentiable objectives.
- Paper
PiSSA: Principal Singular Values and Singular Vectors Adaptation of Large Language Models
PiSSA (Principal Singular values and Singular vectors Adaptation) is a drop-in LoRA replacement that initializes adapters with the principal components of the pretrained weights instead of Gaussian noise, freezing the residual. It converges faster and beats LoRA consistently — e.g., +5.16% on GSM8K with Mistral-7B — and its quantized variant QPiSSA beats QLoRA.
- Paper
The Universal Weight Subspace Hypothesis
The Universal Weight Subspace Hypothesis proposes that neural networks of the same architecture share an architecture-specific low-dimensional 'universal subspace' of weight directions, so new tasks can be stored or trained as coefficients on a frozen shared basis. Experiments across GPT-2, ViT, LLaMA-8B, Flan-T5, and 500 Mistral LoRA adapters show rapid spectral decay and large storage savings, but the evidence is limited to within-architecture comparisons with small evaluation sets.
- Paper
Inoculation Adapters: Improved Selective Generalization of Capabilities with Fewer Surprising Backdoors
IA/GIA/CGIA: train a LoRA on the undesired trait, freeze it while training a task LoRA on mixed desired+undesired data, drop the IA at deploy. Compared with inoculation prompting, preventative steering, CAFT, and KL across 9 setups and 5 model families. The family occupies the observed suppression–retention Pareto frontier (wide CIs). Vanilla IA strongly suppresses undesired traits and adds fewer surprising backdoors than IP on negated/structure/keyword probes. Works on unelicitable traits (new cipher capability, hate speech under refusal, base-model sycophancy) where IP fails. GIA/CGIA trade some backdoor-resistance for better desired-trait retention. Authors note the magnitude vs best baselines is uncertain.
- Paper
Can a Language Model Learn Facts Continually in Its Weights?
Writes invented facts into Qwen3-4B (8B replication of the entailment gap) via LoRA/full FT and context distillation, then follows them through 20–100 later writes with five held-out question types against a fact-in-prompt ceiling. Training-data breadth, not the objective label, creates usable knowledge: diverse restatements cut the recitation-to-use gap from 27.4 to 5.4 points without showing conclusions. After 20 sequential writes, bare-statement facts retain 1% vs 46% for study facts (plateau ~25–28% by 100 study writes). Forgotten facts keep 57–67% of their log-prob lift, so access fails rather than storage; incoming writes cause interference. A frozen original-model teacher preserves capability; no tested intervention keeps earlier facts reachable. Context remains the reliable channel for composition and survival.