Apple Intelligence Foundation Language Models: Tech Report 2025

Hanzhi Zhou, Erik Hornberger, Pengsheng Guo, Xiyou Zhou, Saiwen Wang, Xin Wang, Yifei He, Xuankai Chang, Rene Rauch, Louis D'hauwe, John Peebles, Alec Doane, Kohen Chia, Jenna Thibodeau, Zi-Yi Dou, Yuanyang Zhang, Ruoming Pang, Reed Li, Zhifeng Chen, Jeremy Warner, Zhaoyang Xu, Sophy Lee, David Mizrahi, Ramsey Tantawi, Chris Chaney, Kelsey Peterson, Jun Qin, Alex Dombrowski, Mira Chiang, Aiswarya Raghavan, Gerard Casamayor, Qibin Chen, Aonan Zhang, Nathalie Tran, Jianyu Wang, Hang Su, Thomas Voice, Alessandro Pappalardo, Brycen Wershing, Prasanth Yadla, Rui Li, Priyal Chhatrapati, Ismael Fernandez, Yusuf Goren, Xin Zheng, Forrest Huang, Tao Lei, Eray Yildiz, Alper Kokmen, Gokula Santhanam, Areeba Kamal, Kaan Elgin, Dian Ang Yap, Jeremy Liu, Peter Gray, Howard Xing, Kieran Liu, Matteo Ronchi, Moritz Schwarzer-Becker, Yun Zhu, Mandana Saebi, Jeremy Snow, David Griffiths, Guillaume Tartavel, Erin Feldman, Simon Lehnerer, Fernando Bermúdez-Medina, Hans Han, Joe Zhou, Xiaoyi Ren, Sujeeth Reddy, Zirui Wang, Tom Gunter, Albert Antony, Yuanzhi Li, John Dennison, Tony Sun, Yena Han, Yi Qin, Sam Davarnia, Jeffrey P. Bigham, Wayne Shan, Hannah Gillis Coleman, Guillaume Klein, Peng Liu, Muyang Yu, Jack Cackler, Yuan Gao, Crystal Xiao, Binazir Karimzadeh, Zhengdong Zhang, Felix Bai, Albin Madappally Jose, Feng Nan, Nazir Kamaldin, Dong Yin, Hans Hao, Yanchao Sun, Yi Hua, Charles MaaloufarXiv 2025 · DOI

Abstract

This technical report details the architecture and training of the Apple Intelligence Foundation Models (AFM), the generative engines powering Apple’s AI ecosystem. We introduce a two-tier strategy: a highly optimized ~3B parameter on-device model and a larger, novel "Parallel-Track" Mixture-of-Experts (PT-MoE) server model. Both models match or exceed the performance of similarly sized open-source baselines while maintaining strict privacy through Apple’s Private Cloud Compute.

1. Introduction

Deploying state-of-the-art Large Language Models (LLMs) across a massive device ecosystem presents a "trilemma" of performance, privacy, and efficiency. Users require generative features that are low-latency and high-performance, yet privacy-preserving and battery-efficient. Apple addresses these challenges by tailoring architectures specifically for Apple Silicon and Private Cloud Compute (PCC), moving away from generic transformer designs.

2. Training and Optimization Pipeline

The development of AFM follows a comprehensive pipeline from data curation to hardware-specific optimization, all informed by responsible AI principles. This process ensures that models are not only performant but also aligned with safety and privacy standards.

The end-to-end training and optimization pipeline for Apple Foundation Models.

2.1 On-Device Optimization

To enable high-quality inference on mobile hardware, several innovations were implemented:

  • KV Cache Sharing: The model is split into two blocks where the second block shares the cache generated by the first. This reduces memory usage and Time-to-First-Token (TTFT) by ~37.5%.
  • 2-bit Quantization-Aware Training (QAT): Instead of post-training quantization, Apple simulates 2-bit effects during training using learnable scaling factors and Newton-Raphson-inspired clipping to maintain quality at extreme compression.
  • Sparse-to-Dense Distillation: A dense model was "upcycled" into a 64-expert MoE and then distilled back into a dense 3B model, capturing the performance of a large teacher in an efficient student model.

2.2 Server-Side: Parallel-Track MoE (PT-MoE)

For complex reasoning tasks, Apple introduced the PT-MoE architecture. This design minimizes the synchronization overhead typically found in tensor-parallel models.

The Parallel-Track MoE architecture showing track-based parallelism and synchronization blocks.
  • Track Parallelism: The model is partitioned into "tracks" that only synchronize at the boundaries of "track blocks." This reduces synchronization overhead by up to 87.5%.
  • Interleaved Attention: The models alternate between local sliding-window attention (size 4096) and global attention to handle contexts up to 65k tokens efficiently.

3. Datasets and Multimodality

The server model was trained on 13.4 trillion tokens, including web crawls, licensed corpora, and high-quality code/math data. Multimodal capabilities are supported by over 10 billion image-text pairs and 5 billion synthetic image-caption pairs. Support for 16 languages was achieved by increasing the multilingual data mixture to 30% during continued pre-training.

4. Hardware-Software Co-design

Apple demonstrates that 2-bit weights are production-viable when paired with QAT and LoRA recovery adapters. Furthermore, by using hardware formats like Adaptive Scalable Texture Compression (ASTC)—typically used for GPU textures—to compress model weights, the server model achieves near-zero decompression cost on Apple GPUs.

5. Key Results

In benchmarks, the AFM On-Device model (67.85 MMLU) outperforms Qwen-2.5-3B (66.37) and Gemma-3-4B (62.81). Human evaluations show that AFM models are often preferred over or tied with LLaMA 4 Scout and GPT-4o across various categories like brainstorming and coding, particularly in non-US English locales.

6. Conclusion and Future Work

While highly capable, the on-device model is specialized for tool-use rather than general world knowledge. Future work will focus on extending context lengths and deepening the integration of tool-calling within the Swift ecosystem via the new Foundation Models framework and Swift macros like @Generable.

Summary updated

BibTeX
@misc{zhou2025apple,
  author = {Hanzhi Zhou and Erik Hornberger and Pengsheng Guo and Xiyou Zhou and Saiwen Wang and Xin Wang and Yifei He and Xuankai Chang and Rene Rauch and Louis D'hauwe and John Peebles and Alec Doane and Kohen Chia and Jenna Thibodeau and Zi-Yi Dou and Yuanyang Zhang and Ruoming Pang and Reed Li and Zhifeng Chen and Jeremy Warner and Zhaoyang Xu and Sophy Lee and David Mizrahi and Ramsey Tantawi and Chris Chaney and Kelsey Peterson and Jun Qin and Alex Dombrowski and Mira Chiang and Aiswarya Raghavan and Gerard Casamayor and Qibin Chen and Aonan Zhang and Nathalie Tran and Jianyu Wang and Hang Su and Thomas Voice and Alessandro Pappalardo and Brycen Wershing and Prasanth Yadla and Rui Li and Priyal Chhatrapati and Ismael Fernandez and Yusuf Goren and Xin Zheng and Forrest Huang and Tao Lei and Eray Yildiz and Alper Kokmen and Gokula Santhanam and Areeba Kamal and Kaan Elgin and Dian Ang Yap and Jeremy Liu and Peter Gray and Howard Xing and Kieran Liu and Matteo Ronchi and Moritz Schwarzer-Becker and Yun Zhu and Mandana Saebi and Jeremy Snow and David Griffiths and Guillaume Tartavel and Erin Feldman and Simon Lehnerer and Fernando Bermúdez-Medina and Hans Han and Joe Zhou and Xiaoyi Ren and Sujeeth Reddy and Zirui Wang and Tom Gunter and Albert Antony and Yuanzhi Li and John Dennison and Tony Sun and Yena Han and Yi Qin and Sam Davarnia and Jeffrey P. Bigham and Wayne Shan and Hannah Gillis Coleman and Guillaume Klein and Peng Liu and Muyang Yu and Jack Cackler and Yuan Gao and Crystal Xiao and Binazir Karimzadeh and Zhengdong Zhang and Felix Bai and Albin Madappally Jose and Feng Nan and Nazir Kamaldin and Dong Yin and Hans Hao and Yanchao Sun and Yi Hua and Charles Maalouf},
  title = {{Apple Intelligence Foundation Language Models: Tech Report 2025}},
  year = {2025},
  eprint = {2507.13575},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.13575},
}
Figure