NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

μLM: Rethinking Sub-100M Language Models through Memory-First Design

Zijie Chen, Guiyun Fan, Haiming JinNeurIPS 2026

TL;DR

When shrinking language models down to fit on smart glasses, companion toys, or micro-robots, memory—not compute—becomes the ultimate bottleneck. By rethinking both the attention mechanism and the training diet from scratch, the authors built $\mu$LM: a family of tiny, sub-100M parameter models that punch way above their weight class. Their 70M model beats every baseline under 300M parameters, rivals 1B-scale giants, and runs smoothly on a $15 Raspberry Pi Zero.

What Problem Does This Paper Address?

Right now, "on-device AI" mostly means fitting a 1-billion-parameter model onto a high-end smartphone. Below that sits a massive ecosystem of ultra-constrained IoT devices—wearables, hearing aids, micro-drones—operating on megabytes of RAM and milliwatts of power. Relying on the cloud for these devices introduces latency, privacy risks, and dead zones when Wi-Fi drops.

To live locally on these chips alongside the OS and sensor buffers, a language model must stay well below 100 million parameters. Yet, existing sub-100M models are notoriously incoherent, struggling with basic grammar and commonsense. At this extreme scale, standard scaling laws break down: you can't accelerate a model that doesn't fit in RAM, and a tiny brain cannot absorb the entire internet at once. Designing a capable micro-model requires treating memory footprint—both static weights and the growing Key-Value (KV) cache during generation—as the primary constraint.

Methods

The authors tackle this via architecture-data co-design, introducing DMLA (Decoupled Multi-head Latent Attention) and $\mu$Mix (a capacity-aware data curriculum).

On the architecture side, standard Multi-head Latent Attention (MLA) compresses the KV cache into a single tiny vector, which causes severe "feature squeezing" below 100M parameters—forcing semantics and word positions to fight for space. Furthermore, standard Rotary Position Embeddings (RoPE) force the cache to reserve precious dimensions just to carry rotation math.

Figure 2: Comparison with MLA and proposed DMLA.

DMLA fixes this with three clever modifications:

  • Active Latent Factorization: Instead of one cramped bottleneck, DMLA splits the compressed cache into two independent streams—one strictly for semantic content, and one for position-biased local context. Each computes its own attention distribution (softmax) before fusing.
  • ALiBiLe: Rather than spending model capacity learning distance decay via RoPE, DMLA uses ALiBi with Learnable slopes—injecting an explicit, trainable recency bias directly into the attention scores of the positional stream.
  • Gated Fusion & Shared Values: While keys stay separated by route, values read from both latents jointly. A lightweight, input-aware gate blends the semantic and positional outputs on the fly without adding extra cache overhead.

On the data side, $\mu$Mix treats pre-training as a strict capacity-allocation problem:

  • Cutting "Format Tax": Standalone code and math are completely excluded. Brackets, indentation, and formal notation eat up scarce parameters without helping everyday conversational routing.
  • Multi-Stage Curriculum: Instead of mixing all data at once, $\mu$Mix uses a 4-phase schedule paired with learning-rate decay: warming up syntax on simple stories, building a textbook-style logic trunk, injecting procedural commonsense, and finishing with a high-replay cooldown.

Datasets

  • Pre-training ($\mu$Mix): Draws from five public sources (~10B physical tokens trained over 5 epochs): FineWeb-Edu, Cosmopedia, TinyStories, WikiHow, and Simple English Wikipedia.
  • Zero-Shot Evaluation: Tested on six standard benchmarks covering linguistics (BLiMP), context (BoolQ, WinoGrande, SIQA), and commonsense (PIQA, HellaSwag).
  • Tool-Calling ($\mu$Agent): The authors curated a ~320M-token fine-tuning corpus across 8 IoT scenarios (e.g., weather, device control) and introduced a 1,000-example out-of-distribution (OOD) benchmark featuring unseen city names, colloquial filler, and adversarial chitchat.

Key Insights and Ideas

  • Latent compression beats grouped sharing: Under equal parameter budgets, compressing KV states into a shared low-rank latent (MLA-style) preserves per-head diversity much better than forcing heads to share identical keys and values (GQA/MQA).
  • Micro-model recency bias is a feature, not a bug: Swapping data mixtures in the final 10% of training swings benchmark scores by up to 2.8 points in 50M models. Coupling this sensitivity with learning-rate decay lets you cleanly steer the model's final behavior toward grounded commonsense.
  • Less data, repeated smartly: Flooding a tiny model with hundreds of billions of web tokens hits a "capacity wall" where conflicting long-tail facts degrade performance. Repeating a clean 10B-token set works far better.

Key Results

Performance comparison across sub-300M and sub-1B language models

Figure 1: µLM Performance Comparison. Left: Average accuracy on standard zero-shot bench- marks across sub-300M SLMs. The icons illustrate the constrained devices that motivate our memory-first design. Right: Accuracy-parameter trade-off. The µLM family (red stars) establishes a new performance frontier in the sub-100M regime, evidencing that capability density at extreme scale benefits from memory-first architecture-data co-design. Full results are provided in Table 1.
  • Punching Above Its Weight: Across the six zero-shot benchmarks, $\mu$LM-70M scores 59.25%, beating every tested model under 300M parameters (including Gemma3-270M at 56.43% and SmolLM2-135M at 57.43%) and matching 1B-class models like Pythia-1B (59.19%). Even the tiny $\mu$LM-9M (51.23%) outperforms Pythia-70M (49.82%).
  • Reliable Edge Agents: Fine-tuned as $\mu$Agent, the 70M model achieves 99.2% JSON validity and a 97.2% end-to-end executable rate on noisy OOD commands, beating fine-tuned GPT-Neo-125M and Pythia-70M.
  • Real Hardware Viability: Running pure, unaccelerated CPU inference on a Raspberry Pi Zero (<1 GHz CPU, <500 MB RAM), $\mu$LM-30M takes just 74.6 MB of storage, uses 4.65 MB of runtime RAM at 128 tokens, and generates over 10 tokens/second (96 ms per token).

Limitations and Future Work

Because of its strict parameter budget, $\mu$LM intentionally sacrifices dense world trivia, math, and coding abilities, and caps its context window at 1,024 tokens (targeting short voice commands rather than long documents). It is also English-only, as multilingual vocabularies would bloat the embedding table. Finally, DMLA is tailored specifically for extreme compression; at larger scales, standard MLA may suffice. Future work points toward domain-specific micro-models (e.g., dedicated math or code specialists) and vocabulary-pruning techniques to bring multilingual support to sub-100M edge devices.

Summary updated

BibTeX
@inproceedings{chen2026lm,
  author = {Zijie Chen and Guiyun Fan and Haiming Jin},
  title = {{μLM: Rethinking Sub-100M Language Models through Memory-First Design}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=yochffTF7t},
}
Figure