Explore the research collection
384 entries · showing 169–192 · Follow this search
- Paper
Liger Kernel: Efficient Triton Kernels for LLM Training
Open-source Triton kernels (RMSNorm, LayerNorm, RoPE, SwiGLU/GeGLU, CrossEntropy, FusedLinearCrossEntropy) using fusion and input chunking. Reports ~20% higher training throughput and ~60% less GPU memory vs HuggingFace implementations. 4×A100 Alpaca seq-512: Llama 3-8B +42.8% throughput / −54.8% memory at batch 64; Qwen2 +25.5% / −56.8% at batch 48. Also Gemma, Mistral, Phi-3. AutoLigerKernelForCausalLM plus HF Trainer/TRL/Axolotl/LLaMA-Factory hooks. Code https://github.com/linkedin/Liger-Kernel.
- Paper
Optimizing Large Language Model Training Using FP4 Quantization
First from-scratch FP4 LLM pretraining: Differentiable Gradient Estimator (DGE, k=5) corrects E2M1 weight grads vs STE, and Outlier Clamping and Compensation (OCC, α=0.99 plus a ~2% sparse residual) keeps activations from collapsing. Mixed-precision W4A4 GeMM simulated on H100 FP8 cores with token-wise activation and channel-wise weight scaling. LLaMA-2 1.3B/7B/13B on 100B DCLM tokens: train loss 2.55/2.17/1.97 vs BF16 2.49/2.07/1.88; zero-shot avg 53.13/54.42/54.95 vs 53.23/53.87/54.44. Direct W4A4 diverges. ICML 2025. Framework https://aka.ms/MS.AMP (Azure/MS-AMP).
- Paper
Mixture-of-Depths: Dynamically allocating compute in transformer-based language models
MoD caps each (or every other) block to k tokens for attention+MLP; others take a residual. Expert-choice top-k keeps a static graph. IsoFLOP: 12.5% capacity every other block matches or beats vanilla at fewer FLOPs/step (up to ~50–66% faster sampling). An auxiliary router predictor enables causal decode (~99% top-k match). No official code on abs. Not the Luo/Specia Mixture-of-Depths Ensemble (papers_local 576).
- Paper
Multi-Novelty: Improve the Diversity and Novelty of Contents Generated by Large Language Models via inference-time Multi-Views Brainstorming
Model-agnostic inference-time brainstorming: GPT-4o text views and crawled-image descriptions (Qwen-2VL then GPT-4o-mini rewrite) prepend extra perspectives before generation. DNC eval (diversity, novelty, correctness) on 10 prompts × 100–2000 samples (909,500 answers). Text views lift GPT-4o novelty ~5–9× (SBERT) and DeepSeek-R1 ~2×; correctness often drops (GPT-4o 99.6%→92.6% text / 94.6% image). No official code on abs.
- Paper
Bi-Mamba: Towards Accurate 1-Bit State Space Models
Binarizes Mamba-2 in/out projections (~90%+ of params) with FBI-Linear (sign weights plus per-column α/β) and autoregressive distillation from LLaMA2-7B on Amber. Beats GPTQ-2/3bit and BiLLM post-training binarization on Mamba-2 780M/1.3B/2.7B zero-shot and Wiki2/PTB/C4 PPL; 2.7B avg 50.6 vs Mamba-2 FP 59.6, Wiki2 10.0 vs 9.1. Claims ~5× memory / ~3× throughput vs FP16 2.7B on M4 Pro. Accepted in TMLR 2025. Code https://github.com/Tangshengku/Bi-Mamba.
- Paper
Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrence
Eagle adds matrix-valued WKV states, head LayerNorm, SiLU gating, and drops sigmoid receptance vs RWKV-4. Finch adds data-dependent token-shift and decay via LoRA-style offsets. New RWKV World Tokenizer (65,536, trie greedy) and World v2 mix (~1.12T tokens, ~70/15/15 EN/multilingual/code). Eagle 0.46–7.5B and Finch 1.6/3.1B Apache-2.0 on HF. Eagle-7B multilingual avg 58.2 vs Mistral-7B 55.5 / Llama-2-7B 54.3; English avg 71.5 vs Mistral 75.8. Finch ~4.2× faster than FlashAttention-v2 at seq 16k. Code https://github.com/RWKV/RWKV-LM; models https://huggingface.co/RWKV.
- Paper
SuperBPE: Space Travel for Language Models
Two-stage BPE curriculum: subwords first, then merge across whitespace. At vocab 200k, encodes a fixed text with up to 33% fewer tokens than BPE. 8B transformers trained from scratch at matched params/vocab/FLOPs (~330B tokens): SuperBPE (t=180k) beats BPE on 25/30 tasks, +4.0% absolute average and +8.2% on MMLU, with 27% less inference compute. Superwords often match multi-word expressions. COLM 2025 camera-ready. No official code on abs.
- Paper
Qwen2.5-Omni Technical Report
Block-wise audio/vision encoders feed a shared LLM; TMRoPE interleaves time-aligned audio/video. Thinker generates text; Talker is a dual-track AR speech head on Thinker hidden states plus sliding-window DiT. Qwen2.5-Omni-7B sits between Qwen2-7B and Qwen2.5-7B on text (MMLU-redux 71.0 vs Qwen2.5-7B 75.4 / Qwen2-7B 67.3). OmniBench avg 56.13 vs Gemini-1.5-Pro 42.91; MMMU val 59.2; Video-MME w/o sub 64.3; speech-instruction MMLU 65.6 vs text Qwen2-7B 69.3. Streaming TTS WER 1.42/2.33/6.54 on SEED test-zh/en/hard. Code https://github.com/QwenLM/Qwen2.5-Omni; blog https://qwenlm.github.io/blog/qwen2.5-omni/.
- Paper
Liquid: Language Models are Scalable and Unified Multi-modal Generators
Tokenizes images into discrete codes and trains them with text tokens in a single LLM, with no CLIP encoder or external diffusion head. Reports a scaling law: the usual unified-training drop shrinks as size grows from 0.5B to 32B (Gemma-2 2B/9B, Qwen2.5 0.5B/7B/32B). Continue-training existing LLMs (Gemma-7B for the main Liquid-7B) is claimed 100× cheaper than from-scratch and beats Chameleon while staying near Llama 2 on text. Liquid-7B FID 5.47 on MJHQ-30K, below the listed autoregressive unified models and most diffusion baselines including SD-XL. Code https://github.com/FoundationVision/Liquid; project https://foundationvision.github.io/Liquid/.
- Paper
Byte Latent Transformer: Patches Scale Better Than Tokens
BLT maps bytes to variable patches via next-byte entropy, then a light local encoder, a large latent Transformer, and a local decoder. First flop-controlled byte-level scaling study to 8B / 4T bytes: matches Llama 3 at equal train FLOPs and can cut inference FLOPs ~50% with patch size 6–8. For a fixed inference budget, growing patch size and model size together beats BPE. Robustness: noisy HellaSwag 64.3 vs Llama 3 56.9; CUTE 54.1 vs 27.5. Code https://github.com/facebookresearch/blt.
- Paper
Language Models Are Implicitly Continuous
Defines a Continuous Causal Transformer (integral attention) that recovers discrete Transformers at unit duration. On Llama2/3, Phi-3, Gemma 1/2, and Mistral, shrinking token or sentence duration smoothly changes counts (about 190–205% more unique numeric peaks than a discrete model would allow). Linear interpolations of embeddings (apples–bananas) are treated as valid concepts (color, fruit-ness) even when they map to no vocabulary token. Shift-invariant, not scale-invariant. Published at ICLR 2025. Code https://github.com/samuelemarro/continuous-llm-experiments.
- Paper
Learning Adaptive Parallel Reasoning with Language Models
APR adds spawn()/join() parent-child threads on SGLang, SFT on hybrid symbolic search traces then end-to-end GRPO. On Countdown vs serialized SoS+: 83.4% vs 60.0% at 4k context, 80.1% vs 66.6% at 20k total tokens, 75.2% vs 57.3% at ~5s latency. RL mainly widens search (6.1→8.2 child threads). 228M Llama-2-arch trained from scratch on 500k traces. Accepted at COLM 2025. Code https://github.com/Parallel-Reasoning/APR.
- Paper
Reasoning Models Can Be Effective Without Thinking
NoThinking prefills an empty thinking block on DeepSeek-R1-Distill-Qwen-32B so the model writes the solution directly. At matched budget it often beats Thinking, especially low-budget (AMC 2023 51.3 vs 28.9 at ~700 tokens) and as pass@k grows. Parallel NoThinking + best-of-N (verifier or self-certainty) matches sequential Thinking at up to 7–9× lower latency and, with verifiers, ~4× fewer tokens (MiniF2F/ProofNet). LiveCodeBench is the main exception. No official code on abs.
- Paper
Titans: Learning to Memorize at Test Time
Treats attention as short-term memory and a deep MLP as long-term memory updated by surprise (gradient of associative ||M(k)-v||^2) with momentum and adaptive forget/weight-decay, plus persistent task tokens. Three hybrids: MAC, MAG, MAL. 760M MAG Wiki ppl 18.61 vs Transformer++ 25.21 and Gated DeltaNet-H2 19.88; MAC best on long-context NIAH. BABILong MAC beats GPT-4 and Llama3.1-8B+RAG at far fewer params. Claims >2M context. Code "available soon" on abs.
- Paper
ResiDual: Transformer with Dual Residual Connections
PPLN keeps a Post-LN path (diverse hidden states) plus a Pre-LN dual residual (lower-bounded gradients). Theory: Post-LN grads decay ~O((1/2)^{(N-k)/2}); Pre-LN |Δh|~O(1/√k) collapse; ResiDual inherits the better of each. IWSLT-14 E6D6 BLEU 35.63 vs Post-LN 35.37 / Pre-LN 35.12; E12D12 36.09 vs Pre-LN 35.18 (Post-LN fails). WMT DE→EN E18D18 27.65 vs Pre-LN 26.57 / B2T 27.30. OPUS-100 E18D18 ALL 31.0 vs Pre-LN 30.3, matching a 100-layer DeepNet 31.1. Trains without LR warmup on IWSLT. Code https://github.com/microsoft/ResiDual.
- Paper
Transformers without Normalization
Observes that LN input–output maps are tanh-like S-curves and replaces LN/RMSNorm with DyT(x)=γ·tanh(αx)+β (α learnable scalar). Matches or beats LN with original hparams: ImageNet ViT-B 82.5 vs 82.3, ViT-L 83.6 vs 83.1; MAE/DINO on par; DiT FID comparable; LLaMA 7B–70B on 200B Pile tokens match RMSNorm zero-shot (70B both 0.549 / loss 1.45). Default α0=0.5 except LLMs (attention vs other α0 split). Tanh ablation needed for stability; identity diverges. Does not replace BN in ResNet-50 (76.2→68.9). CVPR 2025. Code https://github.com/jiachenzhu/DyT; project https://jiachenzhu.github.io/DyT/.
- Paper
Apriel-1.5-15B-Thinker: Mid-training is all you need
Starts from Pixtral-12B, depth-upscales the decoder 40→48 layers, then two-stage multimodal CPT (foundational text/vision then synthetic visual reasoning) and high-signal text SFT with reasoning traces. No RL or preference optimization. Artificial Analysis Intelligence Index 52 (matches DeepSeek-R1-0528); AIME 2025 87.5, IFBench 61.7, τ²-Bench Telecom 68.4. Ten image benchmarks average within ~5 points of Gemini-2.5-Flash / Claude Sonnet 3.7. Weights MIT at ServiceNow-AI/Apriel-1.5-15b-Thinker.
- Paper
Utility Engineering: Analyzing and Controlling Emergent Value Systems in AIs
Fits Thurstonian utilities to forced-choice preferences over 500 world-state outcomes. Preference completeness/transitivity and utility-model accuracy rise with scale (cycle rate <1% at the largest models); linear probes recover utilities in hidden states. Analysis finds political clustering, unequal life-exchange rates, hyperbolic discounting, and decreasing corrigibility. Citizen-assembly SFT on Llama-3.1-8B-Instruct lifts assembly-preference test accuracy 73.2%→90.6% and reduces political bias. Site https://www.emergent-values.ai.
- 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
Huxley-Gödel Machine: Human-Level Coding Agent Development by an Approximation of the Optimal Self-Improving Machine
Identifies a Metaproductivity–Performance Mismatch: high SWE scores need not predict productive descendants. Clade-metaproductivity (CMP) aggregates descendant outcomes; under coding-agent assumptions a CMP oracle implements a Gödel Machine (Theorem 1). HGM estimates CMP and Thompson-samples expansion vs evaluation asynchronously. SWE-Verified-60: 56.7% vs DGM 53.3 / SICA 50.0 with 2.38× fewer CPU-hours (517 vs 1231). Full SWE-Verified 61.4% (GPT-5-mini). Agent transfers to SWE-Lite+GPT-5 at 57%, matching the best officially checked human-engineered agents. Code https://github.com/metauto-ai/HGM.
- Paper
SPICE: Self-Play In Corpus Environments Improves Reasoning
One model plays Challenger (mines a raw doc, writes MCQ or typed free-form QA with document-extracted gold) and Reasoner (solves without the doc). Challenger reward is a Gaussian on answer-variance peaked at 50% pass; Reasoner gets binary correctness (DrGRPO, role-specific advantages). 20k docs from Nemotron-CC-Math + NaturalReasoning. Qwen3-4B-Base 35.8→44.9 (+9.1); Qwen3-8B 43.0→48.7; OctoThinker-3B 14.7→25.2; OctoThinker-8B 20.5→32.4, beating R-Zero and Absolute Zero. Math avg +8.9 / general +9.8. Fixed-Reasoner pass 55%→35% as the Challenger hardens.
- Paper
Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free
Compares ~30 gating variants on 15B MoE (15A2B, 2.54B active) and 1.7B dense models trained on up to 3.5T tokens. A head-specific sigmoid gate after SDPA (G1) is best: MoE 400B-token Avg PPL 5.761 vs 6.026 baseline and MMLU 60.82 vs 58.79, beating parameter-matched KV-head/expert expansions. Gains come from non-linearity between low-rank Wv and Wo plus query-dependent sparse gates (mean score 0.116). First-token attention falls 46.7%→4.8%; YaRN-extended RULER at 128k is 58.82 vs 31.65. Gate also damps loss spikes and allows higher LR (8e-3) where the baseline diverges. Claims first attention-sink-free models.
- 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
Let's (not) just put things in Context: Test-Time Training for Long-Context LLMs
Diagnoses score dilution in static self-attention: the target–distractor logit margin must scale as Ω(log T) or needle mass vanishes. Thinking tokens cannot recover buried evidence under that bound. qTTT does one prefill to cache K/V then a few gradient steps on W_Q only, raising the margin without invalidating the cache. FLOP-matched to 8k thinking tokens, Qwen3-4B gains +12.6 / +14.1 pp average on LongBench-v2 and ZeroScrolls subsets; thinking-token gains saturate as T grows.