AI觉醒星球
Awakening is here
Knowledge File / 全球热点解读
2026-06-27 6 浏览 公开

利用冻结的多令牌预测加速Pixel上的Gemini Nano模型

Google提出一种方法,在已部署的Gemini Nano模型上附加轻量级多令牌预测头,无需单独草案模型,显著提升移动端推理速度和能效,已应用于Pixel 9/10系列。

SOURCE / 全球热点解读 MIN / 9 ACCESS / 公开 POST / 2026-06-27 02:30:00

原贴

查看原文
作者:Google Research Blog 来源站点:research.google 原贴时间:

原文

Eden Cohen, Research Product Manager, and Michelle Ramanovich, Research Manager, Google Platforms and Devices We introduce a method to retrofit Multi-Token Prediction onto frozen production models, accelerating on-device inference without the inefficiencies of separate drafters. Having powerful Large Language Models (LLMs) right in your pocket is now a reality with on-device models like Gemini Nano and Gemma . This technology enables everyday features on your phone — such as instantly summarizing a flurry of notifications or proofreading an important text message — all without sending your private data off device. But to make these features useful for everyday users, they need to happen very efficiently. Delivering this kind of speed on a mobile device is a significant challenge. Unlike vast server environments, mobile phones operate under a strict energy budget and hard memory (RAM) limits. Furthermore, standard language models generate text "autoregressively" — meaning they process and output just one word (or token) at a time. This step-by-step process creates a bottleneck, underutilizing the phone's processing power while straining its memory bandwidth, which can ultimately slow down the user experience and drain the battery. To overcome this bottleneck, we are announcing a new architecture that retrofits Multi-Token Prediction (MTP) onto existing, "frozen" Gemini Nano v3 models. Building on prior approaches like the EAGLE framework and Confident Adaptive Language Modeling (CALM), we designed new architectural components to maximize these efficiency gains specifically for mobile environments. Our recent announcements highlighted accelerating Gemma 4 with MTP and making it available to developers. Today's article tackles the unique, extreme constraints of edge computing. Recently rolled out to the Pixel 9 and 10 series, this approach acts as an out-of-the-box speedup. For users, this means that features like AI Notification Summaries and Proofread generate text significantly faster and with less energy consumption. For developers, it eliminates a major friction point: delivering high-speed on-device AI without the need to fine-tune separate, memory-heavy drafting models for every new task. MTP builds upon the evolution of speculative decoding . In a traditional setup, generating N tokens requires N forward passes of the large model. Speculative decoding decouples this process into two parts: Draft: a smaller, faster approximation model (the "drafter") generates a short sequence of candidate tokens (e.g., 3 tokens). Verify: a large model (the "verifier") processes these candidates in parallel. If the candidates match what the large model would have predicted, they are accepted. If not, the system rolls back to the first divergence. However, this results in some inefficiencies. Running a separate "standalone" drafter model (e.g., 128M parameters) competes for limited RAM. Furthermore, a standalone drafter is "blind" to the main model's rich internal state, predicting next tokens based solely on text history without the semantic context the main model has already computed. MTP addresses these inefficiencies by moving from a standalone architecture to an integrated one. Instead of training a separate small language model to draft tokens, we append a lightweight Transformer head, the MTP head, to the final layers of the main model. This architecture, which uses a deep exit layer for drafting, leverages the work already performed by the main model’s backbone. The MTP head takes the final high-dimensional activations (hidden states) of the main model and uses them to autoregressively predict a sequence of future tokens. While MTP heads are commonly pre-trained in tandem with the backbone — such as in our recent releases of Gemma 4 models — this is prohibitive when leveraging already-deployed on-device foundation models. Instead, our work focuses on retrofitting the drafter head to operate independently of the pre-traini

中文翻译

我们介绍一种方法,将多令牌预测改装到冻结的生产模型上,无需单独草案模型的低效,加速设备端推理。拥有强大的大语言模型(LLM)在口袋中已成为现实,通过设备端模型如Gemini Nano和Gemma。该技术支持手机上的日常功能——如即时总结大量通知或校对重要文本——而无需将私人数据发送到设备外。但要使这些功能对日常用户有用,它们需要非常高效地运行。在移动设备上实现这样的速度是一个重大挑战。与庞大的服务器环境不同,手机在严格的能量预算和硬内存(RAM)限制下运行。此外,标准语言模型“自回归”地生成文本——意味着它们一次只处理并输出一个词(或令牌)。这种逐步过程造成瓶颈,未充分利用手机的处理能力,同时给内存带宽带来压力,最终会减慢用户体验并耗尽电池。为了克服这一瓶颈,我们宣布了一种新架构,将多令牌预测(MTP)改装到现有的“冻结”Gemini Nano v3模型上。基于先前的EAGLE框架和Confident Adaptive Language Modeling(CALM)等方法,我们设计了新的架构组件,以最大化这些效率增益,特别是针对移动环境。我们最近的公告强调了利用MTP加速Gemma 4并将其提供给开发者。今天的文章探讨了边缘计算的独特极端约束。最近部署到Pixel 9和10系列,这种方法作为开箱即用的加速。对用户而言,这意味着AI通知摘要和校对等功能能更快生成文本且能耗更低。对开发者而言,它消除了一个主要摩擦点:无需为每个新任务微调单独的高内存草案模型即可提供高速设备端AI。MTP建立在推测解码的进化之上。在传统设置中,生成N个令牌需要大模型的N次前向传递。推测解码将此过程解耦为两部分:草案:一个更小、更快的近似模型(草案器)生成一个短序列的候选令牌(例如3个令牌)。验证:一个大模型(验证器)并行处理这些候选。如果候选与大型模型本应预测的匹配,则被接受。如果不匹配,系统回滚到第一个分歧点。然而,这导致一些低效。运行一个单独的“独立”草案器模型(例如128M参数)争夺有限的RAM。此外,独立草案器对主模型的丰富内部状态是“盲目的”,仅基于文本历史预测下一个令牌,而没有主模型已计算的语义上下文。MTP通过从独立架构转向集成架构来解决这些低效问题。我们不是训练一个单独的小语言模型来起草令牌,而是在主模型的最后几层附加一个轻量级Transformer头,即MTP头。这种架构使用深层退出层进行草拟,利用了主模型主干已完成的工作。MTP头获取主模型的最终高维激活(隐藏状态),并用它们自回归地预测一系列未来令牌。虽然MTP头通常与主干联合预训练——例如在我们最近发布的Gemma 4模型中——但在利用已部署的设备端基础模型时这是不可取的。相反,我们的工作重点是将草案头改装为独立于预训练操作。

核心信息

Google提出一种方法,在已部署的Gemini Nano模型上附加轻量级多令牌预测头,无需单独草案模型,显著提升移动端推理速度和能效,已应用于Pixel 9/10系列。

  • Google提出一种方法,在已部署的Gemini Nano模型上附加轻量级多令牌预测头,无需单独草案模型,显著提升移动端推理速度和能效,已应用于Pixel 9/10系列。
  • 原贴提到:Eden Cohen, Research Product Manager, and Michelle Ramanovich, Research
  • 来源:research.google

详细解读

这是什么信号?

Google宣布了一项技术突破:在已推出的Pixel手机上,通过冻结Gemini Nano模型并附加多令牌预测头(MTP Head),实现了设备端AI推理的大幅加速,且无需额外训练草案模型。这标志着边缘AI从理论走向实用,解决了移动设备内存和功耗的硬约束。

为什么重要?

传统自回归生成一次一个令牌,导致内存带宽利用率低、响应慢、耗电,成为移动AI落地的核心瓶颈。Google的冻结MTP方法复用主模型隐状态,避免部署独立草案模型(占内存、盲于上下文),在不牺牲质量的前提下将速度提升数倍,并已实现在Pixel 9/10上。这意味着用户能够即时获得AI摘要、校对等功能,而隐私数据不出设备。

对谁有价值?

对智能手机厂商(特别是安卓生态):可直接将技术整合至系统级AI功能,提升用户体验。对移动AI应用开发者:无需自行研发草案模型,即可获得即插即用的加速,降低技术门槛。对大模型部署工程师:提供了一种微调已有模型、适配边缘设备的高效范式。对终端用户:更流畅、更省电的AI助手体验。

可以怎么行动?

1. 使用Pixel 9/10的用户可立即体验AI通知摘要和校对功能的加速。2. 开发者可关注Google即将开放的API或SDK,在自有应用中集成MTP加速。3. 研究团队可借鉴其架构——在冻结的主模型上附加轻量头——用于其他边缘设备或模型优化。4. 企业可评估将类似技术用于内部移动办公AI工具,减少云端依赖。

风险或限制

当前仅支持Gemini Nano v3特定版本,且需Pixel 9/10系列硬件配合,泛化性待验证。MTP头训练需与主模型协同,若主模型更新则头可能需重新微调。此外,该技术对GPU或NPU有依赖,低端设备效果可能打折。长期看,多令牌预测的窗口长度与推理质量之间的平衡仍需探索。

信息差价值

这条内容的真正价值,不只是“有人发布了一个新功能”,而是它揭示了 research.google 背后的产品方向、工作流变化或竞争信号。对 OPC 来说,这种信息可以转化成持续追踪的栏目选题。

如果把《利用冻结的多令牌预测加速Pixel上的Gemini Nano模型》放到你的内容系统里,它最大的价值在于帮助读者更快看懂“为什么值得关注”,而不是只看到一条碎片化动态。

参考来源

上一篇 纽约时报修订诉讼,指控微软为OpenAI建造版权侵权超级计算机 下一篇 一个AI模型在单个MirrorCode任务上连续编程19天,耗资2600美元