跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.41874 · v1

Millie 2: Streaming a 177-Billion-Parameter Language Model on Phones at Million-Token Context

Millie 2:在手机上以百万级上下文流式运行1770亿参数语言模型

首次提交 2026-12-01 02:49
版本更新 2026-12-01 02:49
雷达观测 2026-12-01 16:32
arXiv ↗PDF ↗

摘要

Millie 2 runs a 177-billion-parameter language model with a million-token context on a phone with 12 GB of RAM. At that length, its compressed weights and attention data occupy 69.5 GB. On an iPhone 18 Pro, it generates 14.1 tokens/s at short context and 9.9 tokens/s when answering a question about a million-token document. Millie 2 streams model weights by predicting which experts a layer will use and favoring experts whose weights are already in RAM. We propose Residency-Biased Attention (RBA) for streaming attention data. Millie 2 uses an earlier layer's state to score a compact index of the full history, giving a bonus to blocks whose keys and values are already in RAM. The model fetches missing blocks while earlier layers compute. The destination layer then computes attention with the per-token keys and values of its selected blocks. To recover model quality, we keep the compressed weights fixed and train their shared scales under the same expert-selection constraints used on the phone. The resulting model scores close to its parent across reasoning, coding, instruction-following, and agentic benchmarks. We also evaluate browser and Android agents with model inference on the phones. These methods make it practical to run a large language model at long context on a phone even when its compressed weights and attention history together far exceed the phone's RAM.

AI 论文解读

基于摘要 · 非全文审阅

Millie 2 通过专家预测流式加载权重和驻留偏置注意力(RBA)流式加载注意力数据,在12GB内存手机上运行1770亿参数、百万级上下文的语言模型。

正在读取账号与研究记录…

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-12-01 02:49 · 最新观测版本

Millie 2: Streaming a 177-Billion-Parameter Language Model on Phones at Million-Token Context

Millie 2 runs a 177-billion-parameter language model with a million-token context on a phone with 12 GB of RAM. At that length, its compressed weights and attention data occupy 69.5 GB. On an iPhone 18 Pro, it generates 14.1 tokens/s at short context and 9.9 tokens/s when answering a question about a million-token document. Millie 2 streams model weights by predicting which experts a layer will use and favoring experts whose weights are already in RAM. We propose Residency-Biased Attention (RBA) for streaming attention data. Millie 2 uses an earlier layer's state to score a compact index of the full history, giving a bonus to blocks whose keys and values are already in RAM. The model fetches missing blocks while earlier layers compute. The destination layer then computes attention with the per-token keys and values of its selected blocks. To recover model quality, we keep the compressed weights fixed and train their shared scales under the same expert-selection constraints used on the phone. The resulting model scores close to its parent across reasoning, coding, instruction-following, and agentic benchmarks. We also evaluate browser and Android agents with model inference on the phones. These methods make it practical to run a large language model at long context on a phone even when its compressed weights and attention history together far exceed the phone's RAM.

查看此版本解读 →查看此版本原文 ↗