Blog post8 min read

Embla 1.1: Agentic reasoning on a phone

What changed in the architecture of Embla 1.1, how we trained it with RL to work with tools, and how it compares with other small models at 4 bits.

Embla 1.1 brings better quality, an improved architecture and more efficient token use to the phone. At 4 bits it averages 64.0 on BFCL, IFBench, AA-Omniscience, GPQA and MATH-500, writes about 1,100 tokens per answer and answers in 2.06 s end to end on an iPhone 18 Pro.

Embla 1.1 is the second version of our on-device model. Relative to Embla 1 it has 0.6B fewer parameters, loops its middle layers and is trained with reinforcement learning in multi-turn tool environments. The 4-bit weights are on Hugging Face.

10 20 30 40 50 60 70 0.5 s 1 s 2 s 4 s 8 s 16 s End-to-end time on iPhone 18 Pro, 1,024-token prompt + 256 generated tokens (log scale) Average score BEYOND THE FRONTIER WITHIN THE FRONTIER PROVIDER Sevren Google IBM Liquid AI Alibaba OpenBMB LFM2.5-230M: 26.1 at 0.61 s LFM2.5-230M LFM2.5-350M: 25.2 at 0.84 s LFM2.5-350M Granite 4.0 350M: 17.8 at 1.05 s Granite 4.0 350M MiniCPM5-1B: 43.1 at 1.95 s MiniCPM5-1B LFM2.5-1.2B: 42.7 at 2.29 s LFM2.5-1.2B LFM3-1.7B: 69.5 at 3.80 s LFM3-1.7B LFM2.5-8B-A1B: 58.8 at 3.59 s LFM2.5-8B-A1B LFM2-2.6B-Exp: 47.5 at 4.90 s LFM2-2.6B-Exp Gemma 4 E2B: 52.8 at 4.95 s Gemma 4 E2B LFM2.5-2.6B: 62.7 at 5.33 s LFM2.5-2.6B Granite 4.2 3B: 61.0 at 6.80 s Granite 4.2 3B Gemma 4 E4B: 60.4 at 9.53 s Gemma 4 E4B Qwen3.5-4B: 60.0 at 9.69 s Qwen3.5-4B Embla 1.1: 64.0 at 2.06 s Embla 1.1 Embla 1: 57.4 at 1.77 s Embla 1
Embla 1.1 and Embla 1 decode with our own Metal implementation. Other models run in llama.cpp from their official Q4_K_M weights.

Architecture

Embla 1.1 keeps the base of Embla 1: 32 layers of width 2048, 96 routed experts with 8 active per token, Sevren Sparse Attention, KV bridges [2], the engram table and block attention residuals [1]. For details see The Architecture of Embla 1. We changed four things: The routers get their own input, all KV bridges start from layer 16, layers 8 to 15 run twice, and the MLPs that contributed least are removed. The sections below explain each change after a short recap of attention residuals.

Embla 1Embla 1.1
Parameters (excl. 3B engram)6.97B6.35B
Active per token1.11B1.05B, 1.26B with the loop
Router inputsame as its expertsits own (layers 2–15)
KV bridgesfrom layers 7 and 16from layer 16 only
Looped layersnone8–15, run twice
MLPs in layers 1, 6, 7yesremoved
iPhone 18 Pro, 1,024 + 256 tokens1.77 s2.06 s
EMBLA 1 0 7 8 15 16 20 24 28 31 EMBLA 1.1 0 7 8 15 16 20 24 28 31 run twice ↻ prefill stops here router with its own input MLP removed (attention only) KV bridge (source → layer that reuses it)
Embla 1 and Embla 1.1 layer by layer, one block per layer. In Embla 1.1 the routers of layers 2 to 15 get their own input, the MLPs of layers 1, 6 and 7 are removed, layers 8 to 15 run twice and every KV bridge starts at layer 16. Prefill stops after layer 15 in both models.

Attention residuals

In Embla 1, the input to each attention and MoE sublayer is a learned linear combination of sources , the earlier representations of the token that the sublayer can read. The sources are the embedding, the engram, the output of each completed block of four layers and the partial sum of the current block [1]. Each sublayer has a learned query , and the weights depend on the token:

Each change below adds or relocates one of these combinations.

The router gets its own linear combination

In Embla 1, the router and its experts read the same combination. In Embla 1.1, each router in layers 2 to 15 has its own combination and query, while the experts keep theirs, so routing can draw on different sources than the experts it selects. The router query is initialised as a copy of the experts' query, so the model is unchanged at initialisation.

KV bridges from one point

In Embla 1, layer 20 projects its keys and values from the combination at layer 16, and layers 24 and 28 from the combination at layer 7. In Embla 1.1, all three use the sources of layer 16, and layer 16 projects its keys and values from a combination separate from its query input. All second-half caches are therefore derived from the end of the first half. Prefill still exits after layer 15, and the KV cache size is unchanged.

Looping layers 8 to 15

In Embla 1.1, layers 8 to 15 run twice with the same weights, as in looped and recurrent-depth transformers [3], [4]. The second pass has its own attention-residual queries, so it can combine the sources differently, including the output of the first pass. Its output becomes one more source for every later layer, next to the output of the first pass. A learned gate starts at zero, so the model is unchanged at initialisation.

After training the gate is fully open, and later layers rely on the second pass more than on the first. In small-scale ablations, looping layers in the first half of the model gave the best results. The loop adds 211M active parameters per token and 64K new parameters.

Pruning low-activation MLPs

We measured each MLP's contribution to the residual stream and pruned those with the lowest activations, following activation-based importance estimates [5]. The pruned parts are the MLPs of layers 1, 6 and 7 and the MLPs of layers 14 and 15 in the second pass. Relative to Embla 1 this removes 0.6B parameters and offsets part of the cost of the loop.

Training

Embla 1.1 is forked from Embla 1's pretraining at 1.32T tokens. The new parameters are first trained in isolation, after which the full model is trained to 1.42T tokens. Pruning follows, and training continues to 1.54T tokens, including context extension to 64K and 256K. Post-training consists of SFT on 100B tokens, DPO [6] and GRPO [7].

RL for agentic tasks

Embla 1 was trained with RL on single responses. Embla 1.1 is trained on multi-turn tasks in which it calls tools, reads their output, recovers from errors and decides when the task is complete.

Data

The prompt pool covers tool calling, abstention, instruction following, maths and STEM, structured outputs and web search. It is decontaminated against our evaluations.

Environments

Single-turn prompts are scored by verifiers. Predicted tool calls are compared against a reference, prompts that require no tool call are checked for a direct answer, and instruction-following and maths answers are checked programmatically.

Multi-turn prompts run in environments served over HTTP in the NeMo Gym format [8]. Each environment initialises a session, executes the model's tool calls and verifies the final state.

EnvironmentTasksScored by
Workplace assistantemail, calendar, project toolsfinal state
Banking300 tasks with a simulated customeractions, database, judge
Synthetic68 generated environments, 318 tasksstate checks in SQLite
Web searchsearch and fetch over 14.9M pagesjudge

The simulated user (as in τ²-bench [9]) and the judge are gpt-oss-120b [10]. Following DeepSeek-V3.2 [11], an open model generates each synthetic environment's tool schemas, SQLite world, tasks and verifier, and an environment is kept only if the generator's own attempts pass. Web search uses BM25 [12] and Qwen3-Embedding [13] over a local corpus, with no paid search API. One in ten tool calls fails deliberately, so that recovery is rewarded.

Objective

We use GRPO [7] with modifications from Dr. GRPO [14] and DAPO [15]. For a prompt with a group of responses and rewards :

where is the set of groups whose rewards are not all equal.

Rollouts are fully asynchronous in verl [16] and use 4-bit weights with an 8-bit KV cache, the format deployed on the phone. The trainer uses quantisation-aware training [17], so RL optimises the deployed model directly.

Reward shaping

Length. A correct response whose longest turn exceeds a token budget receives a penalty that grows linearly to −0.5 at twice the budget, a variant of DAPO's overlong penalty [15].

The budget decreases from 2,048 to 1,024 tokens during training.

Reasoning format. A second or misplaced reasoning block receives a reward of −2.

Results

Score is the mean of BFCL, IFBench, AA-Omniscience, GPQA and MATH-500 with up to 16K tokens per answer and reasoning on. All models run at 4 bits: Embla 1.1 and Embla 1 in the phone runtime's format, the others from their official Q4_K_M GGUF weights. Each model uses its lab's recommended sampling settings. Latency uses 4-bit builds on an iPhone 18 Pro with a 1,024-token prompt and 256 output tokens.

These are our own measurements: One phone, one evaluation harness and five benchmarks. Each average carries an uncertainty of about ±1 point, and other setups may rank the models differently.

One of the thirteen other models scores higher than Embla 1.1. LFM3-1.7B is 5.5 points ahead and takes 1.8× as long. LFM2.5-2.6B, Granite 4.2 3B, Gemma 4 E4B and Qwen3.5-4B, which all scored higher than Embla 1, are now 1.3 to 4.0 points behind and take 2.6 to 4.7× as long.

ModelMean tokens per answervs Embla 1.1ScoreTime
Embla 1.11,1181.0×64.02.06 s
Embla 18880.8×57.41.77 s
Gemma 4 E4B1,5771.4×60.49.53 s
Gemma 4 E2B1,6111.4×52.84.95 s
LFM2.5-8B-A1B3,1292.8×58.83.59 s
LFM2.5-2.6B3,5573.2×62.75.33 s
LFM3-1.7B4,2153.8×69.53.80 s
Granite 4.2 3B5,6335.0×61.06.80 s
MiniCPM5-1B6,4615.8×43.11.95 s
Qwen3.5-4B6,6195.9×60.09.69 s

Embla 1.1 writes 26% more tokens per answer than Embla 1 but fewer than every other reasoning model we tested.

References

  1. Kimi Team, "Attention Residuals", arXiv:2603.15031, 2026.
  2. Yutao Sun et al., "You Only Cache Once: Decoder-Decoder Architectures for Language Models", arXiv:2405.05254, 2024.
  3. Mostafa Dehghani et al., "Universal Transformers", ICLR, 2019.
  4. Jonas Geiping et al., "Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach", arXiv:2502.05171, 2025.
  5. Saurav Muralidharan et al., "Compact Language Models via Pruning and Knowledge Distillation", arXiv:2407.14679, 2024.
  6. Rafael Rafailov et al., "Direct Preference Optimization: Your Language Model is Secretly a Reward Model", NeurIPS, 2023.
  7. Zhihong Shao et al., "DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models", arXiv:2402.03300, 2024.
  8. NVIDIA, "NeMo Gym", GitHub repository, 2025.
  9. Victor Barres et al., "τ²-Bench: Evaluating Conversational Agents in a Dual-Control Environment", arXiv:2506.07982, 2025.
  10. OpenAI, "gpt-oss-120b & gpt-oss-20b Model Card", arXiv:2508.10925, 2025.
  11. DeepSeek-AI, "DeepSeek-V3.2: Pushing the Frontier of Open Large Language Models", arXiv:2512.02556, 2025.
  12. Stephen Robertson and Hugo Zaragoza, "The Probabilistic Relevance Framework: BM25 and Beyond", Foundations and Trends in Information Retrieval, 2009.
  13. Yanzhao Zhang et al., "Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models", arXiv:2506.05176, 2025.
  14. Zichen Liu et al., "Understanding R1-Zero-Like Training: A Critical Perspective", arXiv:2503.20783, 2025.
  15. Qiying Yu et al., "DAPO: An Open-Source LLM Reinforcement Learning System at Scale", arXiv:2503.14476, 2025.
  16. Guangming Sheng et al., "HybridFlow: A Flexible and Efficient RLHF Framework", EuroSys, 2025.
  17. Benoit Jacob et al., "Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference", CVPR, 2018.
← Publications