Explore the research collection
293 entries · showing 121–144 · Follow this search
- Paper
ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
Replaced token detection: a small MLM generator fills 15% masks; the discriminator classifies every token as original vs replaced (MLE generator, not adversarial). Learns from all positions. ELECTRA-Small (14M, 4 days on 1 V100) GLUE 79.9 vs BERT-Small 75.1 and GPT 78.8. ELECTRA-Base 85.1 vs BERT-Base 82.2. ELECTRA-400K Large (335M, ~1/4 RoBERTa compute) GLUE 89.0 vs RoBERTa-500K 88.9; ELECTRA-1.75M 89.5 and SQuAD 2.0 test 88.7/91.4. ICLR 2020. Code https://github.com/google-research/electra.
- Paper
GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Models
100 GSM8K-test questions become symbolic templates (names, numbers, conditions); 50 instantiations each (5,000 eval items) plus harder P1/P2 clause variants and GSM-NoOp (irrelevant but topical clauses). Across 25 open/closed models, accuracy is a wide distribution; GSM8K often sits >1σ above the GSM-Symbolic mean. Models are more robust to name swaps than number swaps. Difficulty M1→P2 shifts the mean down and variance up. GSM-NoOp drops SOTA models up to 65% (Phi-3-mini) even with 8 shots of the same question. Hypothesis: pattern-matching, not formal reasoning. ICLR 2025. Data https://github.com/apple/ml-gsm-symbolic and HF apple/GSM-Symbolic.
- Paper
T-FREE: Tokenizer-Free Generative LLMs via Sparse Representations for Memory-Efficient Embeddings
T-FREE splits on whitespace/digits/specials, represents each word as n×m hashed character triplets into a v-entry embedding (best v=8k, m=10 at 1B), and trains a multi-label BCE head. Cuts embedding+head params >85% vs a 64k Unigram baseline (1B: 0.84B vs 1.07B params) at competitive 18-benchmark scores. Duplicate-token rate 0% vs 15–35% for BPE/Unigram. Fertility closer to 1.0 across EN/DE/RU/VI/AR than English-centric tokenizers. 3B English→German continual pretrain gains ~5 pp on German HellaSwag/ARC while the Unigram baseline barely moves. Code https://github.com/Aleph-Alpha/trigrams.
- Paper
Q-Sparse: All Large Language Models can be Fully Sparsely-Activated
Q-Sparse applies top-K (absolute-value) masks on activations of all linear layers, STE so non-selected grads are not zeroed, optional 8-bit quantized top-K, squared-ReLU/ReLU²GLU in FFNs, and Block Q-Sparse (N:M, e.g. 16:32) for batched GPU kernels. Inference-optimal sparsity ~45.58% full-precision (1.84× params at matched activated N_a) and ~61.25% for 1.58-bit. From-scratch 40% sparsity matches dense loss at the same size/tokens (RedPajama 50B). Continue-train Mistral-7B: 3.8B activated avg 63.7 vs dense 64.6 (ARC/HS/MMLU/WG/TQA); 2.9B 61.7, beating ReLUfication 60.8 and dReLU 61.0. Works with BitNet b1.58. No official code on abs.
- Paper
Liquid Time-constant Networks
LTCs replace a Neural-ODE f with linear first-order units whose τ is gated by f: dx/dt = −[1/τ+f]x + f A, solved with a fused implicit/explicit Euler step and trained by BPTT. τ and hidden state are bounded; trajectory-length expressivity exceeds Neural ODEs and CT-RNNs. AAAI-21. Improves several UCI-style series vs LSTM/CT-RNN/Neural ODE/CT-GRU (traffic SE 0.099 vs LSTM 0.169; person-activity setting 2 acc 0.882 vs Latent ODE 0.846). Code https://github.com/raminmh/liquid_time_constant_networks.
- Paper
LLaMA-Berry: Pairwise Optimization for O1-like Olympiad-Level Mathematical Reasoning
SR-MCTS treats a full solution as a state and Self-Refine (critique+rewrite) as the action; PPRM (Gemma2-2B DPO on 7.78M PRM800K/OpenMathInstruct pairs) predicts pairwise prefs; Enhanced Borda Count plus Floyd-Warshall lifts them to global quantiles. Untrained LLaMA-3.1-8B-Instruct at 16 rollouts: GSM8K 96.1 rm, MATH 75.3, AIME24 8/30 (26.7) vs 2/30 greedy, AMC23 54.2, GPQA-Diamond 92.4. Beats ToT/rStar at fewer rollouts. NAACL 2025. No official code on abs.
- Paper
FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision
FlashAttention-3 redesigns FA2 for Hopper: warp-specialized TMA/WGMMA producer-consumer, pingpong scheduling so softmax hides under GEMM, and FP8 with in-kernel V transpose, block quantization, and Hadamard incoherent processing. H100 FP16 is 1.5-2.0× FA2 (up to 740 TFLOPs/s, 75% util) and 1.5-1.75× backward; FP8 reaches ~1.2 PFLOPs/s with 2.6× lower RMSE vs per-tensor FP8 on outlier-injected QKV. Competitive with or faster than cuDNN FA2 at seq≥1k. Code https://github.com/Dao-AILab/flash-attention.
- Paper
Lexicalization Is All You Need: Examining the Impact of Lexical Knowledge in a Compositional QALD System
Compositional QALD over DBpedia 2016-10: multi-parser dependency trees, Lemon lexicon matching, DUDES bottom-up composition, then a flan-t5-small pairwise SPARQL selector. QALD-9 English: multi-model selector micro F1 0.72 (P 0.77 / R 0.67) vs prior SOTA GenRL 0.53. GPT-4 with gold lexical entries in-prompt tops out ~0.35 micro F1; without lexicon lower. Manual lexicon 599 entries (~16h). Artifact https://doi.org/10.5281/zenodo.12610054. EKAW 2024.
- Paper
From Local to Global: A Graph RAG Approach to Query-Focused Summarization
GraphRAG: LLM extracts entities/relations/claims into a knowledge graph, Leiden-partitions it hierarchically, and pregenerates community summaries; query-time map-reduce over those summaries answers global QFS that vector RAG misses. Podcast (~1M tok) and news (~1.7M tok) graphs: 8,564/15,754 nodes. vs vector RAG, comprehensiveness win rates ~72–83% and diversity ~62–82% (GPT-4 judge, 125 questions×5). Root-level summaries use ~2–3% of source tokens. Code https://github.com/microsoft/graphrag.
- Paper
Self-Supervised Learning from Images with a Joint-Embedding Predictive Architecture
I-JEPA: a ViT context encoder plus a narrow predictor, conditioned on positional mask tokens, predicts EMA target-encoder patch representations of several large target blocks from one context block. Multi-block masking (4 targets scale 0.15–0.2; context 0.85–1.0 minus overlap). No view augs. ViT-H/14 IN1K 300 ep: IN linear 79.3 / 1% 73.3; ViT-H/16@448: 81.1 / 77.3. Beats MAE linear-probe; competitive with DINO/iBOT; Clevr/Dist 72.4 vs DINO 53.4. ViT-H/14 on 16 A100 <72h / <1200 GPU-h. ICCV 2023.
- Paper
Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention
Infini-attention keeps local softmax attention plus a compressive associative memory updated from the same QKV (linear or delta rule) and a learned gate β. 114× smaller memory than a 65k Memorizing Transformer; PG19 PPL 9.65 vs 11.37. A 1B model solves 1M passkey after 5k-length FT; 8B BookSum 500k SOTA Rouge overall 18.5. No official code on abs.
- 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
BitNet a4.8: 4-bit Activations for 1-bit LLMs
Hybrid recipe: INT4 activations into attention/FFN, plus sparsify then 8-bit on outlier-heavy intermediate states. Two-stage continue-training from BitNet b1.58 (W1.58A8 then W1.58A4; last 5B tokens for the 4-bit stage). Matches b1.58 at equal train cost while enabling 4-bit kernels; ~55% of parameters activated and 3-bit KV cache. 7B: 44.5% overall sparsity / 3.4B active vs b1.58 6.0B; a 2B model on 2T tokens stays at parity with b1.58. No official code on abs.
- 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
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
LoRA-XS: Low-Rank Adaptation with Extremely Small Number of Parameters
Freezes truncated-SVD factors of W and trains only R∈R^{r×r} between them, so parameter count is independent of hidden size (≈2n/r fewer than LoRA). GPT-3 rank-16 personalization: 96GB vs LoRA 144TB for 1M adapters. RoBERTa-large GLUE: rank 25 / 60K params avg 88.69 vs LoRA 800K 87.82 and VeRA 61K 87.83. LLaMA2-7B commonsense 80.5 vs LoRA 77.6 at 3.67M vs 56M params; LLaMA3-8B 85.3 vs 80.8. Mistral-7B GSM8K 70.35 / MATH 20.96 at 3.67M vs LoRA 168M 67.70 / 19.68. Accepted at ECAI 2025. Code https://github.com/MohammadrezaBanaei/LoRA-XS.
- Paper
Compute as Teacher: Turning Inference Compute Into Reference-Free Supervision
CaT aggregates G=8 policy rollouts into a pseudo-reference (synthesis via a frozen anchor) then derives rewards: answer-match in verifiable domains, self-proposed binary rubrics scored by an LLM judge in non-verifiable ones. On HealthBench, relative gains up to +30% vs the initial policy and self-proposed rubrics match physician rubrics; on MATH-500 up to +33%. Trained policy matches or exceeds inference-time synthesis at 9× less test-time compute. Gemma 3 4B / Qwen 3 4B / Llama 3.1 8B. No official code on abs.
- 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
Dr.LLM: Dynamic Layer Routing in LLMs
Attaches a tiny MLP router to each frozen block; routers are supervised on 4k length-aware MCTS paths (skip/execute/repeat) from ARC and DART-Math, then run search-free at inference. On six LLaMA-3.2/Qwen-2.5 models, in-domain accuracy rises in all cases (up to +3.4%p / +4.0%p on DART) with ~3–11 fewer layers per query; OOD drop 0.85%p average. Beats LayerSkip/ShortGPT/MindSkip/FlexiDepth by up to +7.7%p avg on GSM8k/MMLU/HellaSwag/HumanEval. Code https://github.com/parameterlab/dr-llm.