Explore the research collection
2 entries · Follow this search
- Paper
e-means: outperforming k-means (in one-tenth the epochs)
e-means (Bessa et al., Meta FAIR; arXiv 2611.09501, Nov 6 2026, CC BY 4.0) replaces Lloyd's k-means with an exponential-moving-average optimization procedure over mini-batch updates - essentially treating centroid estimation the way deep learning treats weights, powered by modern DL machinery - with dead-cluster revival as a key component. The practical crux is that its two would-be hyperparameters, EMA decay rate and batch size, are set by fitted SCALING LAWS (fit on ~75k runs, validated on 5k+ runs) that prescribe them from problem size and dataset, so the user chooses only k: a genuine drop-in replacement with no sweep. Results across 26 embedding datasets (100k to 10B points): e-means reaches a LOWER loss than Lloyd k-means at 25 epochs in just 1.4 to 2.6 epochs, frequently beating even k-means++ from a random initialization (the mini-batch stochasticity escapes local minima Lloyd gets stuck in); the epoch savings translate to 10-45x GPU wall-clock speedups over state-of-the-art k-means implementations (launch-thread chart on DEEP, 1M vectors, 16,384 clusters: 12.5x fewer epochs, 11.8x faster on 64-core CPU, 13.6x on one H100, against faiss k-means, SuperKMeans and Flash-KMeans). At the extreme end it partitions DINO10B - 10 billion DINO embeddings - into 16 million clusters in 2.5 epochs, below Lloyd's 25-epoch loss; paired with IVF it gains another order of magnitude at billion scale. Released in FAISS 1.16.0 (contrib/e_means) with figure-reproduction code, a project site with an interactive results map across the 26 datasets, and a browser playground. Flags, as entered: first-party (Meta FAIR) results at abstract/thread level at cataloging time; the speedup range is wide (10-45x) and hardware/implementation-dependent; the comparison currency is training loss (inertia) on embedding datasets, which is the operative metric for quantization and data-curation uses but says nothing directly about downstream task quality. Relevance: k-means is the workhorse under vector quantization, retrieval indexing and dataset curation/dedup pipelines, so a tuning-free 10x-faster drop-in inside FAISS is immediately usable infrastructure rather than a research curiosity.
- Model
Muse Glimmer 30B: An On-Device Agentic Model
30B dense causal LM (~29.6B total: ~25.16B backbone, 52 layers, hidden 6656, GQA 32Q/2KV, SwiGLU; ~1.8B perception encoder; text+image in, text out; vocab 202,048; 128K+ context; sliding-window 2048 in [Local×3, Global] pattern; RoPE θ=500k on local layers only; gated attention). Built for autonomous agentic tasks on consumer hardware (32 GB VRAM envelope; dense chosen over MoE after architecture ladders showed 2–2.5× compute efficiency at fixed memory). Distillation recipe: co-distillation from Muse Spark (Meta frontier model) — top-256 teacher logits logged during the teacher's own pre-training, not from the final checkpoint; objective is KL-only for the first 95% of pre-training, then CE-only on ground truth for the final 5% to fix top-k truncation bias. Mid-training Phase 1 (domain infusion: synthetic reasoning traces + structured problem-solving, lower LR) and Phase 2 (32K→128K context, tool-use/agentic trajectory data, CE loss because teacher logits are unreliable under the distribution shift). Checkpoint averaging ("souping"): 84 checkpoints saved every 200 steps over the final 5%; final recipe = last checkpoint + 3 prior at 600-step spacing, uniform average — consistent perplexity gains vs the single final checkpoint. Post-training: SFT → on-policy distillation (student rollouts, teacher per-token distributional targets on visited prefixes; found to improve downstream RL vs SFT→RL directly) → multi-objective RL; configurable reasoning strength via system-prompt directive (low/medium/high/xhigh; high default for agentic). Quantization (all vendor-reported): 55.7 GB BF16 → <20 GB weights; EvoPress mixed-precision profile (51/130/237 units at Q4_K/Q5_K/Q6_K) selected for 32 GB deployments — 75.6% avg over 15 benches vs 75.7% BF16, essentially lossless; Q4KM variant for 24 GB (74.8%); activations stay BF16. DFlash speculative drafter (5-layer block-diffusion, block size 16, D-PACE objective, trained offline on on-policy rollouts) for decode speed — "practical speeds on a single RTX 5090" (vendor claim; no tok/s figure given). Benchmarks (Table 2, all vendor-reported internal runs, contamination-screened) vs Gemma4-31B-thinking and Qwen3.6-27B-thinking: leads on τ³-Banking 23.5, WildClawBench 47.6, GAIA2 43.3, SciCode 43.6, SWE-Bench Pro 51.2, MCPAtlas 75.5, DeepSearchQA 74.6, AIME 2026 94.7, Beam 128K 65.1, AA-LCR 80.0 — BUT loses to Qwen3.6-27B on GDPval-AA (953 vs 1141), OSWorld-Verified (65.9 vs 75.6), SWE-Bench Verified (76.0 vs 77.2), TerminalBench 2.1 (51.7 vs 60.7), SkillsBench (44.3 vs 46.6); loses to Gemma4-31B on GPQA Diamond and HLE. The "leads comparably-sized open models" claim is real on tool-use/multi-step planning but not across the board — label the exceptions. Trust: safety SFT + safety RL + agentic-risk mitigations (irreversible-action confirmation, prompt-injection resistance) trained into weights.