Explore the research collection
2 entries · Follow this search
- Paper
HyperThink: Text-to-Parameter Hypernetworks for Efficient Reasoning
HyperThink amortizes long-form reasoning traces into a single query-conditioned parameter update. A lightweight hypernetwork reads the question with a frozen pretrained text encoder; a bias encoder combines the query representation with learnable parameter tokens assigned to selected layers; and a vector-quantized (VQ) decoder maps them through learned discrete codebook prototypes to bias shifts applied to a small selected subset of the base LLM's biases, leaving the rest of the model frozen. This is not per-query gradient optimization: the trained hypernetwork predicts the update in one forward pass. Training uses correctness-filtered thinking-mode responses generated by the base model itself; only the hypernetwork and codebook are trained, teaching the adapted model to reproduce the response tokens without the trace. On Qwen3-0.6B trained on GSM8K with MATH-500 as the out-of-domain test, HyperThink reaches 73.40% Pass@5 versus 61.48% for budget-controlled thinking at similar compute (1150.83G vs 1198.27G FLOPs), with end-to-end latency comparable to native non-thinking on a single H200. A VQ ablation (43.32% Acc / 66.90% Pass@5 without VQ vs 48.76% / 73.40% with VQ on MATH-500, near-tied on GSM8K-train) supports the authors' reading that the discrete bottleneck regularizes the query-to-update mapping and aids transfer. Boundaries: on harder AIME problems high-budget thinking remains substantially stronger, and on executable code native non-thinking can be competitive or stronger; the established contribution is an improved low-latency accuracy trade-off, strongest in the near-non-thinking regime.
- 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).