CPU, GPU AND RAM

MobileLLM-Flash: reading latency-guided CPU results beyond the headline

In this article
THE QUICK TAKE

The paper measures a latency-quality tradeoff under a specific CPU stack; its best speedup does not apply to every size and prompt length.

Architecture search uses the phone as evidence

MobileLLM-Flash designs small language models by jointly searching depth, width and attention patterns under mobile latency constraints. Candidates inherit pruned weights from a pretrained backbone. Short continued-training evaluations estimate quality, while phone measurements train a latency predictor for the subsequent search.

This is a model-design study, rather than an inference setting that turns an arbitrary existing checkpoint into a faster one. The final family includes 350M, 650M and 1.4B models. Their reported outcomes combine architecture selection, inherited weights, continued pretraining, distillation and instruction tuning. A speed or quality change cannot be attributed to pruning alone.

The measured stack defines the comparison

The published ACL paper exports models using ExecuTorch v1.1.0 with XNNPACK for mobile CPU execution. Weights use 4-bit quantization with group size 32, dynamic activations use 8 bits, and the KV cache is quantized. Samsung Galaxy S25 measurements use 4 CPU threads, a warmup and an average over 3 runs.

These conditions are more specific than “runs on a phone.” They do not describe GPU or neural-engine timing. Standard supported operators improve portability, but the authors explicitly caution that an architecture optimal for a CPU need not be optimal for another accelerator class. The software-stack guide explains why a runtime revision and compiled execution path belong beside every latency number.

Nemotron-Flash is excluded from this runtime’s latency comparison because its custom operators are unsupported. That absence is not evidence of a slower measured result. It limits which models the stated comparison actually ranks.

The fastest row depends on context and size

The headline reports up to 1.8× prefill and 1.6× decode gains over LFM2. At a 2k context, the 650M model reports 3.34 seconds to first token against 6.01 seconds for LFM2 700M. The same table does not show uniform prefill dominance: at 4k, those values are 8.48 and 8.24 seconds respectively.

At 1k on Galaxy S25, MobileLLM-Flash 350M reports 0.91 seconds against LFM2 350M at 0.84 seconds. The corresponding iPhone 17 comparison reports 1.55 against 1.47 seconds. The smaller Flash model is therefore slower to first token in these examples despite the family’s best-case headline.

Its decode rate can still improve. Prefill latency, generation rate and answer quality are separate axes; a buyer cannot select the relevant operating point from a maximum speedup alone. The benchmark-method guide explains why request length and phase boundaries must match.

Context support does not promise interactive latency

The family supports up to 8k context, while the principal speed table reports 1k, 2k and 4k conditions. The supported length is not a claim that the entire context processes within the shortest reported first-token time. Likewise, higher token throughput does not directly compare equal amounts of natural-language text across different tokenizers.

Attention skipping also changes the model. The search favors interleaving skipped and global-attention layers instead of concentrating skips consecutively; quality constraints matter alongside speed. The experiments support selected designs under their tested tasks and runtime, rather than a universal rule that fewer attention operations always improve an application.

The reviewed latency section supplies neither a matched battery-energy measurement nor a prolonged thermal test. Those require additional observations before turning a CPU latency gain into a battery-life or sustained-performance claim.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles