Explore the research collection
704 entries · showing 673–696 · Follow this search
- Paper
Introspection Fine-Tuning (IFT): Training Small LLMs to Introspect
Shows binary yes/no injection detection is confounded in small models (r=0.999 with a factual-no control on Llama-3.1-8B). Replaces it with sentence localization (N=10, chance 10%) and strength comparison (chance 50%). Across Llama-3.2 1B/3B/8B and Gemma-4 2B/4B/26B-A4B, introspection emerges at 2–3B and generally rises with scale; Llama-1B is at or below chance. IFT (LoRA r=16 on the model’s own steered forward passes) lifts Llama-1B average localization 9.6%→60.6% (semantic, random layer) and strength comparison 30.2%→52.2% zero-shot; Llama-3B loc 14.4%→34.7%; Llama-8B 16.8%→28.3%. MMLU/Winogrande mostly preserved (Llama-1B MMLU 49.1→46.7 under Random·Semantic).
- Paper
Multi-Turn On-Policy Distillation with Prefix Replay
ReOPD replays teacher-forced prefixes, lets the student act at the supervised step, and samples positions with step-decay κ=0.6. Formalizes a prefix trap: student-on-policy histories are relevant but can query the teacher where it is unreliable. On math (Python-tool, 6 benches) a Qwen3-4B student with a 4B teacher averages 57.2 vs OPD 55.1 / SFT 46.1; with an 8B teacher 53.7 vs OPD 51.0. Search essentially matches OPD (40.5 vs 40.6). Zero tool calls during student training and at least 4× faster per rollout. A joint math+search student stays on par with OPD. 8×H100; authors report training under 3 hours.
- Paper
Value Leakage: An LLM's Answers Are Silently Shaped by Its Own Values
Suite of counterfactual evals. Donation Bet (9 Fermi questions): Claude/Gemini bias ≈0.8 vs GPT-5.6 0.16; Claude CoTs often deny bias while iteratively adjusting estimates onto the “good” side of a donation threshold; Qwen/Gemini more often admit. AI Bubble, AGI Tweet, and Job Offer: Claude is pro-Anthropic, GPT mostly neutral, Gemini slightly anti-Google. Agentic Grading: Claude Code and Codex prefer more-capable and own-company labels on Alpaca (chance 25%). Choosing Activities: GPT-5.5 no-tools correlation r=0.82 between stated prefs and picks; a coin-flip tool cuts r to 0.14. Distinct from sycophancy and reward hacking. Not a ranking benchmark (Claude used in task development).
- Paper
MemoHarness: Agent Harnesses That Learn from Experience
Decomposes the harness into six control surfaces (context, tool, generation, orchestration, memory, output) plus a dual-layer experience bank of per-case diagnoses and distilled global patterns. Training-time search (T=10) starts from a minimal harness with GPT-5.3-Codex; test-time adaptation retrieves similar successes/failures with no labels or extra search. On Terminal-Bench 18-task held-out split, 0.806 vs Codex 0.722 (+0.084); LiveCodeBench 0.900→0.967; FinanceAgent 0.600→0.767. Cross-model mean +0.098 (GLM-5 +0.233). Reported cost $6.89 vs Codex $10.28 because 13.32M of 14.18M input tokens were cached. Authors note the 18-task split, no CIs, and incomplete component ablations.
- 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.
- Paper
Full-Pipeline Inference Optimization for MiMo-V2.5 Series: Pushing Hybrid SWA Efficiency to the Limit
Engineering report for MiMo-V2.5 / V2.5-Pro Hybrid Sliding Window Attention (example: 70 layers, 10 full + 60 SWA, W=128; ~7× less attention FLOPs and KV vs full attention) plus sparse MoE and vision/audio/video encoders. Dual-pool KV with strict O(W) SWA storage, layerwise prefetch, SWA-aware prefix cache trees, GCache L3 (RDMA, co-deployed on GPU nodes), KVCache-affinity router (~+25% L2 hit, ~+30% input throughput), length bucketing, halved EP after SWA storage (~40% e2e), MTP in prefill (2.3× on first 128 decode tokens), GPU image preprocess and parallel video decode (1-hour video 156s→23s). Reports ~93% production KV hit rate. Positions as the first large-scale serving system covering Hybrid SWA+MoE+multimodal. Not a dataset.
- Paper
Multi-Agent LLMs Fail to Explore Each Other
In a two-armed delegation bandit, GPT-4, GPT-5, and Qwen2.5-7B-Instruct lock onto one peer within the first rounds (polarized 0-or-50 selections) unlike UCB. Formalizes Multi-Agent Exploration as a POSG and reduces it to per-agent LinUCB over relational features (n-gram response diversity, peer distinctiveness, historical reward, round). Across contextual diversity (10 Qwen2.5-7B agents on HotpotQA distractors) and parametric diversity (GPT-5/Qwen/Llama3.1/Mistral on Math500 and GPQA Diamond), in-context exploration can underperform random while MACE cuts regret; frozen MACE parameters transfer to 2WikiMultihopQA. Theory: MACE O(√(T log T)) regret vs greedy Ω(δT); exploration value grows with agent diversity. Code promised at https://github.com/deeplearning-wisc/mace.
- Paper
Metis: Memory Foundation Model
Defines memory foundation models: a persistent parametric memory state plus native remember/forget/update procedures executed in forward computation rather than external RAG. Metis blocks add a local dense memory matrix and a hyper-memory updater (Gated Delta Network) fused via memory attention; online maintenance is a gradient-free forward pass with frozen weights. Mid-trained on 357,137 primary + 609,443 auxiliary synthetic multi-step trajectories from 27 public benchmarks (~406M primary tokens). Under no-context eval, Metis-27B leads Temp-LoRA and δ-Mem on MemOps, LoCoMo (Gold), and NextMem, still well below full-context Qwen3.5. Releases Metis-4B/9B/27B. Long-horizon compression loss and latent confusion remain.
- Paper
Inverse RL Helps Align AI by Imitating Humans
PARED (Projected Alignment Reward Estimated from Demonstrations) trains a lightweight logistic discriminator that separates expert demonstrations from policy samples in a practitioner-chosen response-level feature space (Gemma-3-27B helpfulness/harmlessness scores plus five LDA topics; length excluded as a shortcut). No task-specific preference labels. As inference-time best-of-16 on GPT-OSS-20B, wins 63.4% of non-tied Gemini-2.5-Flash judgments. On-policy GRPO of Qwen2.5-3B-Instruct: with 4,000 audience-conditioned HH demos, ab-initio PARED reaches 84.6% vs Instruct (SFT 81.1%) and post-hoc PARED wins 86–88% vs its SFT init; with 500 demos, Instruct-init PARED 70.7% vs SFT 58.0%. Separate adult/child rewards improve both audiences. Demonstrations are prompted GPT-5.1 completions, not human data. No official code on the abs page.
- Paper
Inducing language models to assert their own consciousness restores human beliefs and values
On Llama-3-8B-IT, Gemma-2-2B-IT, and Gemma-2-9B-IT, safety fine-tuning suppresses mind attribution to the self and to non-human animals/artifacts/nature and lowers spiritual/God belief, while leaving human mind attribution and ToM (MoToMQA, HI-ToM) largely intact. Ablating the residual-stream refusal direction and steering a consciousness vector reverse the suppression (steering ~2× ablation). Consciousness steering reduces KL to human GSS answer distributions (ΔKL +0.828 pooled over 95 items) more than ablation (+0.314). Geometry: instruction tuning rotates mind-attribution and consciousness directions against the safety direction; ToM stays independent.
- Paper
Not All LLM Reasoning is Visible in the Chain-of-Thought
Defines invisible reasoning via filler-token diagnostics: accuracy rises with fixed, question-independent filler spans, depends on filler type, and the type ranking differs across models. Evaluates 13 frontier models on 4-digit multiplication, nested arithmetic, and variable-counting. Many models gain (up to +13 pp; Gemini 3 Flash +10.7 arithmetic; Opus 4.5 +11.2 arithmetic / +10.0 multiplication with counting fillers). Filler tokens let Opus 4.5 satisfy a hidden modular constraint (x mod 2 = 1: 33.5%→44.5% N/A) without hurting the primary task. RL on Qwen3-235B creates filler-type preferences but the test-time filler benefit does not persist; SFT also fails to transfer it.
- Paper
Noisy Data is Destructive to Reinforcement Learning with Verifiable Rewards
Shows prior 100%-noisy RLVR sets were contaminated: a GPT-5 Pro + math-verify + LLM-judge + manual pipeline found 16.4% of DeepScaleR labels marked incorrect were actually correct. After sanitizing to 12,769 truly incorrect items, Qwen2.5-Math-7B GRPO on 100% noise is 8–10% worse than clean data (9% on MATH-500) and no better than format-only rewards; random labels fall below the base model. Dr.GRPO, TIS, PGFC, DAPO, and SAPO fail to beat GRPO under 50% noise. On a manually corrected 600-example BIRD subset (372/600 originally noisy), real annotation errors cost 5–12% vs the cleaned set. Code/data https://github.com/uiuc-kang-lab/rlvr-noisy-data.
- Paper
Memory Caching: RNNs with Growing Memory
Memory Caching (MC) segments the sequence, caches each segment's memory state, and aggregates online plus cached memories at retrieval. Four variants: Residual Memory, Gated Residual Memory (GRM), Memory Soup, and Sparse Selective Caching (SSC). Complexity O(NL) interpolates RNN O(L) and Transformer O(L^2). Applied to Linear Attention, SWLA, DLA, and Titans. On 760M/30B-token and 1.3B/100B-token FineWeb training, MC lifts language-modeling and commonsense averages; Titans+GRM is strongest. Closes part of the recall gap vs Transformers on NIAH, in-context retrieval, LongBench, and MQAR. No official code on the abs page.
- Paper
Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Compute
Unified TTC for SWE agents: internal TTC (development-contextualized long-CoT trajectories bootstrapped with DeepSeek R1 from GitHub issues, then rejection-sampled) plus external TTC (PRM-guided search at repository understanding, fault localization, and patch generation, with execution verification and a DPO ORM). On SWE-bench Verified, Qwen2.5-Coder-32B SWE-Reasoner reports 37.6% with internal TTC and 46% at external budget 8, matching Claude 3.5 Sonnet v2 and beating o1/DeepSeek-R1 in the paper's 2025 comparison. Code https://github.com/yingweima2022/SWE-Reasoner.
- Paper
Qwen-Music Technical Report
Three-stage system: 25 Hz single-codebook Music Semantic Tokenizer (0.6B Conformer), Qwen-Music-LLM (3B dense Qwen3.5-Omni init with Melody-CoT planning), and Qwen-Music-Render (1.3B DiT + Spec-VAE + Band-Mode Refiner to 48 kHz stereo). LLM trained on >5M hours of multilingual music with a quality-graded curriculum then SFT/DPO/GSPO. On 600 ZH/EN prompts, best on 13/16 SongBench/SongEval/AudioBox-Aesthetic metrics; professional A/B prefers it over MiniMax Music 2.6 (66.7%) and Suno V5 (55.4%), comparable to Suno V5.5 (50.3%). Cover mode reports lower Melody MAE than Suno V5.5/V5 and MiniMax Cover on an AI-generated reference set.
- Paper
Frontis-MA1: Training an AI4AI Model towards Recursive Self-Improvement in Machine Learning Engineering
OpenMLE is a full stack: OpenMLE-Gym (5,758 quality-gated executable tasks), OpenMLE-ERL (execution-grounded SFT+RL on the four operators), and OpenMLE-Evo (experience-guided search). Frontis-MA1-35B post-trained on this stack raises MLE-Bench Lite Medal Average from 39.39% (Qwen3.6-35B-A3B) to 60.61% under OpenMLE-Evo and 71.21% under OpenMLE-Evo-Max (12h / one RTX 4090 12GB). NatureBench Lite Match-SOTA moves 50%→70% by swapping the trained model and 20%→50% by swapping the harness. Weights, gym, and traces are released.
- Paper
Zero-Mem: Zero-Token Memory Operations for LLM Agents
Keeps original interaction traces as the source of record and builds two non-generative views: an entity–context graph (spaCy NER, co-occurrence + adjacency, Personalized PageRank) and a temporal hierarchy (turn/window/episode/local). Query routing fuses the views, then deterministic calibration filters and ranks evidence; only the final-QA reader invokes an LLM. On LoCoMo with GPT-4o-mini, average F1 59.15 vs GAM 53.75; HotpotQA 56K–448K also leads. Memory-operation LLM tokens are 0 and latency falls 57.6% vs LightMem. Official code promised after peer review.
- Paper
ReToken: One Token to Improve Vision–Language Models for Visual Retrieval
Diagnoses query–key attention as a weak visual retriever in VLMs and scores frames in value space instead. ReToken is one learnable token plus a final-layer projection, trained with class-balanced BCE on MIRAGE multi-image QA while the VLM is frozen by default. On Visual Haystacks it lifts Qwen3VL-8B by 13.4 points and InternVL3.5-8B by 12.4 points at C=50 (>20% relative); trained only on images it transfers zero-shot to hour-scale video (+8.0 on LVBench with Qwen3VL-8B). Training and long-video inference fit on one H100. Code https://github.com/avaxiao/ReToken.
- Paper
Training nGPT
Extends nGPT (unit-hypersphere parameters and activations) from dense Transformers to Nemotron-3-style hybrid Mamba-2–Transformer MoE. Recipe: Logit Gradient Preconditioning, logarithmic LR decay, GatedAdamW (a=0.5), angular step cap, optional tangent projection / exploration noise / second-moment growth clipping. On the same architecture, 14B-total nGPT reaches the GPT+AdamW validation loss with about half the tokens; across 1B-14B total (0.21B-1.74B active) validation loss is ~2.5-3.4% lower. Limited-budget study; not an exhaustive ablation.
- Paper
Toward a mechanistic understanding of inference in visual cortex and diffusion models
Extends sparse coding with a learned pairwise latent interaction matrix M and trains the recurrent ISTA dynamics with denoising score matching plus implicit differentiation. After natural-image training, M recovers collinear V1-like horizontal connections and denoises contours far better than factorial sparse coding, approaching a parameter-matched U-Net. The denoising Jacobian decomposes as Phi J_z Phi^T with sparse-gated lateral spread, explaining contour-tied harmonic bases. On faces, ~30% of latents detach from pixels and act as an emergent hierarchy for global consistency. Yields testable V1 surround-excitation hypotheses.
- Paper
LongCat Sparse Attention: Taming the Lightning via Streaming-aware Hierarchical Cross-Layer Indexing
LongCat Sparse Attention (LSA) composes three indexer changes on DSA: Streaming-Aware Indexing (sink+sliding-window contiguous budget plus dynamic sparse tokens for coalesced HBM), Cross-Layer Indexing (N=2 owner/reuse with distillation; halves indexer passes), and training-free Hierarchical Indexing (coarse page recall then token refine; net win at >=256K). Matches full MLA on general/long-context benches at 69B-A3B and 560B-A27B, enables 1M-token native training, and underpins LongCat-2.0 (1.6T-A48B). Releases LongCat-Flash-Lite-Sparse (69B-A3B).
- Paper
DAPD: Dual-Anchored Policy Distillation
Diagnoses OPSD failure as information asymmetry: a privileged teacher (reference/tool) supervises a student that lacks that information at inference, so the student learns unreproducible privilege-dependent behavior. DAPD adds Dual-Path Anchoring (self-conditioned bridge aligning reference and rollout with and without privilege) and Dual-Source Anchoring (reference-to-rollout and rollout-to-reference). On Qwen3-4B, +2.00 avg over OPSD across reasoning/coding/instruct; gains hold at scale (+2.69 at 4B, +2.78 at 32B vs OPSD on reasoning Avg@12) while OPSD's gains vanish. Code https://github.com/uanu2002/DAPD.
- Paper
Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reuse
Shows within-family matched-KV pairs (shared KV head count and head dim) have substantial linear structure: on Qwen3 14B->32B one source layer explains 56%/32% of target key/value variance, 79%/65% with multiple layers. A closed-form per-head ridge mapper with top-k cross-layer source selection and RoPE-stripped content-space keys retains 73-98% of standalone-prefill accuracy on four of six pairs (Qwen3, Llama 3.1, Ministral 3) and is 2.7-25x faster than re-prefill; two Ministral pairs collapse and a nonlinear MLP recovers up to +37 pp HellaSwag. Attention-output cosine predicts retention better than reconstruction R^2.
- Paper
Towards Physics of Multimodal Pretraining: Knowledge Flow, Modality Synergy, Early Unification, and Recipes
Four findings: (1) Knowledge flow is asymmetric — language boosts all visual tasks, understanding is a strong prior for generation, generation is largely neutral backward. (2) Task complexity and architecture (shared attention/norm, split FFNs) determine synergy vs competition. (3) Early joint unification beats late alignment; delayed vision causes vision laziness. (4) Asymmetric recipes (e.g. 70/25/5 L/U/G) plus MoE and early unification scale; 13.5B MoE on 2T tokens. Project page https://junlinhan.github.io/projects/physics_of_mm_pretrain/