Explore the research collection
55 entries · showing 25–48 · Follow this search
- Paper
MeMo: Memory as a Model
MeMo distills a target corpus into reflection QA (fact extract, consolidate, verify, entity-surface, cross-document synthesis) and SFT a dedicated Memory model (e.g. Qwen2.5-14B) while the Executive stays frozen and queries it via a 3-stage multi-turn protocol. Retrieval cost is independent of corpus size; plug-and-play with closed-source Executives. NarrativeQA 26.85%/53.58% (Qwen2.5-32B / Gemini-3-Flash) vs HippoRAG2 21.39%/23.21%; MuSiQue 48.30%/60.20% vs 42.17%/57.00%; BrowseComp-Plus 54.22%/66.67% (trails HippoRAG2 56.11% on Qwen). Robust to distractor docs (±1.8pp vs ~5–6pp RAG drops). TIES-merge of two NarrativeQA halves cuts compute 33% at K=2 but loses 11–19pp vs full retrain.
- Paper
Learn from your own latents and not from tokens: A sample-complexity theory
On the Random Hierarchy Model (PCFG, depth L, m rules/symbol), supervised learning needs ~m^L samples and token-level SSL (MLM/diffusion) ~m^{L+1}. Latent prediction (cluster cousin context vectors level-by-level) recovers the non-root tree from ~v m^3 samples, independent of L up to logs. Confirmed with (i) iterative latent clustering, (ii) a stacked predictor-clusterer net trained by GD (also with local stop-grad rules), and (iii) the first sample-complexity analysis of data2vec, which implicitly does hierarchical latent prediction — so explicit H-JEPA stacking is largely redundant. Suggests own-latent SSL as a route to beat token-correlation scaling laws.
- Paper
Towards Understanding Self-Pretraining for Sequence Classification
Replicates Amos et al. 2024 (ICLR Outstanding Paper): SPT on LRA lifts ListOps/CIFAR10/PathFinder/Retrieval/Text vs from-scratch. Ablations: gains after 1–10 SPT epochs, even in 1-layer models and after swapping the pretraining dataset, pointing to an optimization bottleneck rather than hierarchical features. Freezing random Attention barely hurts from-scratch accuracy; hybrid inits show W_Q/W_K carry the SPT benefit. A 1-layer toy task shows SPT turns additive sinusoidal PEs into a proximity-biased QK map that fine-tuning builds on. Theory: at uniform attention, mean-pooled label loss has zero derivative along some score directions that masked reconstruction can see. No official code on the abs page.
- Paper
Do Transformers Need Three Projections? Systematic Study of QKV Variants
Evaluates Q=K≠V, Q≠K=V, and Q=K=V (plus 2D-PE + variants for non-causal tasks) against standard QKV. On language modeling, Q≠K=V cuts KV cache 50% at +3.1% val PPL (300M) and +2.48% (1.2B) vs QKV; Q=K≠V has no cache benefit, Q=K=V degrades ~25%. Combining Q≠K=V with GQA-4/MQA reaches 87.5%/96.9% cache reduction. K and V projections are highly similar (cosine 0.73) while Q stays distinct, so K=V preserves directional QK^T. Code https://github.com/Brainchip-Inc/Do-Transformers-Need-3-Projections.
- Paper
Harness Learning Enables Generalizable Test-Time Adaptation
Introduces harness learning: instead of updating model weights at test time, train a proposer model to revise the solver's executable harness — the program organizing model calls, tool use, and information flow — using execution feedback. Framed as meta-learning over executable programs, with harness revisions playing the role of weight updates; the proposer is trained with RL using revised harnesses' task performance as reward, and candidate harnesses run under a frozen solver. On 21 unseen Reasoning Gym families, SFT followed by RL raises mean single-revision score from 0.32 (base proposer) to 0.62, and the trained 4B proposer beats its 35B teacher on average. A QA proposer trained with RL only on HotpotQA transfers to MuSiQue and 2WikiMultihopQA, with ten revision rounds nearly doubling exact match. Policies trained on single revisions keep improving harnesses over multiple rounds, suggesting harness design can become a reusable adaptation skill.
- Paper
PivotOPD: Learning to Recover from Pivotal Mistakes in Multi-Turn Agents
On-policy distillation (OPD) for training language agents with dense teacher supervision on student trajectories. In multi-turn interaction an incorrect action changes the states the student encounters later, so errors compound. Across three Qwen3 models (8B-235B), more than half of failed rollouts contain an early "pivotal mistake" -- an action that moves the agent farther from task completion -- and these are often recoverable: a few guided turns after the pivotal turn can restore task success. PivotOPD jointly trains the student to prevent pivotal mistakes and to recover from the states they create: at each pivotal mistake the teacher provides a gold action plus recovery actions for the next few turns. Preventive distillation uses the gold action with reverse KL to steer the student away from the mistake; recovery distillation uses the recovery actions with forward KL to transfer recovery behaviors the student rarely samples. Strongest average performance vs 13 baselines on ALFWorld, WebShop, and Search-based QA for Qwen3-1.7B and Qwen3-8B students (+5.5% over the strongest baseline on ALFWorld with the 1.7B student); gains transfer to SWE-Bench Verified, raising a Nemotron-3.5 student's resolve rate by +3.2%.
- Paper
Minimally Invasive Steering of Language Models (MISVO)
Pre-logit steering adapts a frozen LLM to a test-time reward by adding vectors to its final hidden states -- no parameter updates. MISVO (Minimally Invasive Steering Vector Optimization) penalizes interventions using the local KL geometry of the induced token distribution: a steering vector's magnitude need not reflect how much it changes the model, so MISVO uses a Fisher-quadratic penalty for distribution shift, which admits an analytic gradient via matrix-vector products with the frozen LM head. Includes an exact decomposition of the sequence-level KL gradient into an analytic Fisher term and a suffix score-function term; theory shows the suffix term is second order in steering magnitude and three Fisher surrogates agree with the full KL gradient to first order. Across preference and code-generation tasks on ~1B-14B models, MISVO achieves the highest mean reward in six of seven model-task settings, with diversity and coherence close to Best-of-N. Uses the frozen-reference surrogate to optimize position-specific interventions.
- Paper
Disaggregated Quantization: Specializing LLM Prefill and Decode
Disaggregated quantization (DQ): separate computation formats, weights, and storage placement specialized to prefill vs decode -- low-precision arithmetic accelerates prompt processing, compact weights reduce memory traffic during generation. Removing activation quantization on decode improves accuracy on decode-heavy tasks without added inference cost (Qwen 3, Gemma 3). Separate compute-native prefill weights accelerate prompt processing vs weight-only inference while matching/exceeding its accuracy at 2-3-bit decode. Training an NVFP4 prefiller improves 1-bit accuracy by 32.5 points on MMLU-Pro and 35.3 on MMMU-Pro without modifying the decode checkpoint (Qwen3.8-27B GGUF decoder). "Offloaded disaggregated prefill" (ODP) streams the extra prefill checkpoint from SSD, amortizing loading over prompt length: 1.78x time-to-first-token speedup over the weight-only baseline at 8K prompt length in llama.cpp. Accuracy evaluated under disaggregated serving in vLLM; shared-weight format disaggregation validated via PTQ on models up to 2.8T parameters.
- Paper
Beyond Binary Rewards: Training LMs to Reason About Their Uncertainty
Almost all successful RL for reasoning uses binary rewards that evaluate output correctness; because they do not penalize guessing or low-confidence outputs, they degrade calibration and increase hallucination in other domains. RLCR (Reinforcement Learning with Calibration Rewards) trains reasoning models to generate predictions and numerical confidence estimates after reasoning, optimizing a reward that augments a binary correctness score with a Brier score -- a scoring rule for confidence estimates that incentivizes calibrated prediction. The paper proves that this reward (or any bounded proper scoring rule) yields models that are both accurate and well-calibrated, shows across diverse datasets that RLCR substantially improves calibration with no loss in accuracy in-domain and out-of-domain (outperforming ordinary RL and post-hoc confidence classifiers), and demonstrates that verbalized confidence can be leveraged at test time via confidence-weighted scaling. Code, models, and info at rl-calibration.github.io.
- Paper
Thought Branches: Interpreting LLM Reasoning Requires Resampling
Argues that interpreting a single chain of thought is inadequate for understanding LLM reasoning; proposes resampling-based causal analysis of reasoning steps and a resilience metric for reasoning-step removal.
- 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
Recirculation
An inference-time architectural enhancement for off-the-shelf foundation models that markedly reduces perplexity and boosts accuracy across generation and reasoning tasks. Recirculation introduces a specific form of recurrence that lets the model act as a dynamical system tracking belief states, motivated by the limitation that state updates in feedforward transformers are bounded by model depth. It adds essentially no generation latency (serial processing only in the prefill phase), and an adaptive variant needs only light hyperparameter tuning with frozen model weights.
- Paper
How Much Is One Recurrence Worth? Iso-Depth Scaling Laws for Looped Language Models
Measures the value of one recurrence in a looped (depth-recurrent) transformer in equivalent unique parameters. From an iso-depth pretraining sweep over recurrence counts r in {1,2,4,8} spanning ~50x in training compute, the authors fit a joint scaling law L = E + A(N_once + r^phi N_rec)^(-alpha) + B D^(-beta) and estimate a recurrence-equivalence exponent phi = 0.46 — between full equivalence (phi=1, looping a block r times equals r unique blocks) and no capacity gain (phi=0).
- Paper
H3-World: Turning Language Understanding into World Comprehension
Paper page for arXiv:2609.01560, titled 'H3-World: Turning Language Understanding into World Comprehension'. Content could not be verified.
- Paper
Matryoshka attribution: Learning to attribute language model outputs to representations and weights
MAttr learns a single nested attribution ordering over model internals by optimizing a differentiable sigmoid top-k soft interchange-intervention mask while sampling k across sparsities; it avoids a separately tuned sparsity penalty and supports nodes, edges, neurons, SAE features, and weight deltas. On the official private/secret MIB Circuit Localization leaderboard, the live entry “MAttr (edge, 5k steps)” averages 5.6 versus 1.95 for the runner-up (~2.9×), with per-cell values captured in the local dump; the paper reports this official score while its figures report public-test results. A GRPO parameter-level application finds that restoring 1% of Llama-3.1-8B-Instruct parameters (2% for 1B) to base removes refusals while retaining capabilities. Primary links: arXiv abs https://arxiv.org/abs/2609.25518; PDF https://arxiv.org/pdf/2609.25518; X post https://x.com/aryaman2020/status/2102800933659000846; code https://github.com/aryamanarora/matryoshka-attribution; parameter code https://github.com/aryamanarora/matryoshka-attribution-parameters; HF circuits https://huggingface.co/aryaman/mattr-mib-circuits; author https://aryaman.io/; MIB leaderboard https://mib-bench-leaderboard.hf.space/; MIB project https://mib-bench.github.io/.
- Paper
RLCD: Reinforcement Learning from Contrastive Distillation for Language Model Alignment
Canonical Meta/FAIR RLCD (≠ TypeSafe). For each prompt p, build p+ (encourage desired attribute) and p− (encourage opposite); sample o+/o− from the same unaligned LLM; auto-label o+ preferred (no post-hoc judge). Train preference/reward model on those pairs, then PPO-align the base LM as in RLHF. Contrastive generation differentiates outputs more than i.i.d. sampling, yielding cleaner synthetic prefs. Beats RLAIF and context distillation on harmlessness, helpfulness, and story outlining at 7B and 30B preference-sim scales (LLaMA). Code: facebookresearch/RLCD.
- Paper
OPEN-1B: A Fully Auditable Training Run
Argues open-weight/open-recipe still leave a gap: FP non-associativity means released checkpoints cannot be verified as matching the declared recipe across different GPUs/CPUs. Introduces a “fully auditable” tier: fix reduction order, multiply-add convention, subnormals, counter-based RNG (RepOps); topology-invariant data stream independent of world size; deterministic collectives so a single device can sequentially replay cluster gradient reduction. Release OPEN-1B (~1.61B params / ~1.08B non-embed, 24-layer decoder) trained on 400B tokens (DCLM-Baseline, FineWeb-Edu, The Stack v2, Proof-Pile-2; mix OPEN-1B Mix 0626) with per-step hashes, intermediate checkpoints (~every 100 steps; ~80,957 steps), dataset, code, and audit harness for collective on-chain-credited verification. Native int8 QAT pretraining recipe. Cost: ~5% MFU (~5× slower than optimized PyTorch); 27.8 active days on 48 H100s. OLMo 2 suite score cited 25.4 vs 31.9 baseline comparison in company post. Companion blog: introducing-open-1b-auditable-training (2026-09-15).
- Paper
CodeGenLink: A Tool to Find the Likely Origin and License of Automatically Generated Code
Large Language Models (LLMs) are widely used in software development tasks nowadays. Unlike reusing code taken from the Web, for LLMs' generated code, developers are concerned about its lack of trustworthiness and possible copyright or licensing violations, due to the lack of code provenance information. This paper pro…
- Paper
AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration
Large language models (LLMs) have transformed numerous AI applications. On-device LLM is becoming increasingly important: running LLMs locally on edge devices can reduce the cloud computing cost and protect users' privacy. However, the astronomical model size and the limited hardware resource pose significant deploymen…
- Paper
GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
Generative Pre-trained Transformer models, known as GPT or OPT, set themselves apart through breakthrough performance across complex language modelling tasks, but also by their extremely high computational and storage costs. Specifically, due to their massive size, even inference for large, highly-accurate GPT models m…
- Paper
Large Language Monkeys: Scaling Inference Compute with Repeated Sampling
Scaling the amount of compute used to train language models has dramatically improved their capabilities. However, when it comes to inference, we often limit models to making only one attempt at a problem. Here, we explore inference compute as another axis for scaling, using the simple technique of repeatedly sampling …
- Paper
Dynamic Speculation Lookahead Accelerates Speculative Decoding of Large Language Models
arXiv 2405.04304 (v5): DISCO / dynamic speculation lookahead; HF blog (2024-10-08) reports up to ~2.7× vs heuristic on some tasks; default assisted-generation mode in Transformers 4.45+. Discord Lewis Tunstall LinkedIn: smaller draft + larger verify, up to ~3× framing.
- Paper
Vision Language Models are Biased
arXiv 2505.23941 (v1 2025-05-29; revised through 2026-04-19); accepted ICLR 2026. Introduces VLMBias: 7 domains (animals, logos, flags, chess, boards, illusions, patterned grids) with counterfactual images. Five SOTA VLMs score ~100% on unmodified sanity checks but only ~17.05% mean counting accuracy on counterfactuals, with ~75.7% bias-aligned errors. Background removal nearly doubles accuracy (+21.09). Project/code/data: vlmsarebiased.github.io.
- Paper
The AI Index 2025 Annual Report
Stanford HAI AI Index Report 2025 (457 pages; April 2025; DOI arXiv 2504.07139). Co-directors Yolanda Gil & Raymond Perrault; Research Manager/EIC Nestor Maslej. New coverage of AI hardware, inference costs, publication/patent trends, corporate RAI practices, and AI in science/medicine. Highlights include sharp gains on MMMU/GPQA/SWE-bench, $109.1B U.S. private AI investment in 2024, and rising global AI regulation/investment. Licensed CC BY-ND 4.0.