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.
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 1 | Embla 1.1 | |
|---|---|---|
| Parameters (excl. 3B engram) | 6.97B | 6.35B |
| Active per token | 1.11B | 1.05B, 1.26B with the loop |
| Router input | same as its experts | its own (layers 2–15) |
| KV bridges | from layers 7 and 16 | from layer 16 only |
| Looped layers | none | 8–15, run twice |
| MLPs in layers 1, 6, 7 | yes | removed |
| iPhone 18 Pro, 1,024 + 256 tokens | 1.77 s | 2.06 s |
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.
| Environment | Tasks | Scored by |
|---|---|---|
| Workplace assistant | email, calendar, project tools | final state |
| Banking | 300 tasks with a simulated customer | actions, database, judge |
| Synthetic | 68 generated environments, 318 tasks | state checks in SQLite |
| Web search | search and fetch over 14.9M pages | judge |
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.
- Token-level normalisation [15]. The loss is divided by the total number of tokens in the batch, so each token is weighted equally. GRPO's per-response normalisation under-penalises long incorrect responses.
- No standard-deviation scaling [14]. Dividing by overweights prompts that are almost always or almost never solved.
- Dynamic sampling [15]. Groups in which all 16 responses receive the same score contribute no gradient and are dropped. The filter uses the task score rather than the shaped reward.
- Asymmetric clipping [15]. With and , low-probability tokens with positive advantage can increase further, which prevents entropy collapse.
- No KL penalty. It is not required with verifiable rewards.
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.
| Model | Mean tokens per answer | vs Embla 1.1 | Score | Time |
|---|---|---|---|---|
| Embla 1.1 | 1,118 | 1.0× | 64.0 | 2.06 s |
| Embla 1 | 888 | 0.8× | 57.4 | 1.77 s |
| Gemma 4 E4B | 1,577 | 1.4× | 60.4 | 9.53 s |
| Gemma 4 E2B | 1,611 | 1.4× | 52.8 | 4.95 s |
| LFM2.5-8B-A1B | 3,129 | 2.8× | 58.8 | 3.59 s |
| LFM2.5-2.6B | 3,557 | 3.2× | 62.7 | 5.33 s |
| LFM3-1.7B | 4,215 | 3.8× | 69.5 | 3.80 s |
| Granite 4.2 3B | 5,633 | 5.0× | 61.0 | 6.80 s |
| MiniCPM5-1B | 6,461 | 5.8× | 43.1 | 1.95 s |
| Qwen3.5-4B | 6,619 | 5.9× | 60.0 | 9.69 s |
Embla 1.1 writes 26% more tokens per answer than Embla 1 but fewer than every other reasoning model we tested.
References
- Kimi Team, "Attention Residuals", arXiv:2603.15031, 2026.
- Yutao Sun et al., "You Only Cache Once: Decoder-Decoder Architectures for Language Models", arXiv:2405.05254, 2024.
- Mostafa Dehghani et al., "Universal Transformers", ICLR, 2019.
- Jonas Geiping et al., "Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach", arXiv:2502.05171, 2025.
- Saurav Muralidharan et al., "Compact Language Models via Pruning and Knowledge Distillation", arXiv:2407.14679, 2024.
- Rafael Rafailov et al., "Direct Preference Optimization: Your Language Model is Secretly a Reward Model", NeurIPS, 2023.
- Zhihong Shao et al., "DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models", arXiv:2402.03300, 2024.
- NVIDIA, "NeMo Gym", GitHub repository, 2025.
- Victor Barres et al., "τ²-Bench: Evaluating Conversational Agents in a Dual-Control Environment", arXiv:2506.07982, 2025.
- OpenAI, "gpt-oss-120b & gpt-oss-20b Model Card", arXiv:2508.10925, 2025.
- DeepSeek-AI, "DeepSeek-V3.2: Pushing the Frontier of Open Large Language Models", arXiv:2512.02556, 2025.
- Stephen Robertson and Hugo Zaragoza, "The Probabilistic Relevance Framework: BM25 and Beyond", Foundations and Trends in Information Retrieval, 2009.
- Yanzhao Zhang et al., "Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models", arXiv:2506.05176, 2025.
- Zichen Liu et al., "Understanding R1-Zero-Like Training: A Critical Perspective", arXiv:2503.20783, 2025.
- Qiying Yu et al., "DAPO: An Open-Source LLM Reinforcement Learning System at Scale", arXiv:2503.14476, 2025.
- Guangming Sheng et al., "HybridFlow: A Flexible and Efficient RLHF Framework", EuroSys, 2025.
- Benoit Jacob et al., "Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference", CVPR, 2018.