Paper: 2604.19642 Authors: Wen Cheng, Tuochao Chen, Karim Helwani, Sriram Srinivasan, Luke Zettlemoyer, Shyamnath Gollakota Categories: cs.AI, cs.LG

Abstract

Edge devices such as smartwatches and smart glasses cannot continuously run even the smallest 100M-1B parameter language models due to power and compute constraints, yet cloud inference introduces multi-second latencies that break the illusion of a responsive assistant. We introduce micro language models (μLMs): ultra-compact models (8M-30M parameters) that instantly generate the first 4-8 words of a contextually grounded response on-device, while a cloud model completes it; thus, masking the cloud latency.

Key Contributions

  • Extreme Scale Efficacy: Trained 8.8M-29.5M parameter decoder-only μLMs from scratch on chat-style data
  • Collaborative Generation Framework: Reframes cloud model as continuator rather than respondent, enabling seamless mid-sentence handoffs
  • Error Recovery Methods: Three correction modes (Explicit, Natural Recovery, Humor-aware) for graceful recovery when local opener goes wrong
  • Sub-second Latency: 28M μLM achieves 45ms time to first token on embedded hardware

Methodology

The approach trains ultra-compact decoder-only Transformers with:

  • Pre-norm residual blocks, rotary positional embeddings, RMSNorm
  • Grouped-query attention with fewer key-value heads
  • Tied input/output embeddings

Training is compute-matched across variants, with larger models trained for fewer steps. The collaborative framework uses instruction prompting to make the cloud model act as a continuator.

Results

  • Despite their extreme size, 14-29M μLMs are competitive with 70M-256M baseline models
  • 4-8 words emerges as optimal operating point with error recovery rates below 3.7-8.4%
  • User study shows 49% equivalence, 28% preference for collaborative over standalone
  • On Orange Pi: 45ms TTFT, 3ms first token decode, 4 words in 55ms

Takeaways

  • Useful language generation survives at extreme parameter scales (8M-30M)
  • Orders-of-magnitude asymmetric collaboration is achievable
  • Opens door to responsive AI on smartwatches, glasses, and other wearable devices

论文: 2604.19642 作者: Wen Cheng, Tuochao Chen, Karim Helwani, Sriram Srinivasan, Luke Zettlemoyer, Shyamnath Gollakota 分类: cs.AI, cs.LG

摘要

智能手表和智能眼镜等边缘设备由于功耗和计算限制,无法持续运行即使是最小的1亿到10亿参数语言模型。然而,云端推理引入了数秒的延迟,破坏了响应式助手的体验。本文提出微型语言模型(μLMs):超紧凑模型(800万至3000万参数),在设备端即时生成上下文相关回复的前4-8个词,然后由云端模型完成,从而掩盖云端延迟。

主要贡献

  • 极小规模有效性:从零开始在对话风格数据上训练了880万至2950万参数的仅解码器μLMs
  • 协作生成框架:将云端模型重新定位为接续器而非响应器,实现无缝的句中切换
  • 错误恢复方法:三种纠错模式(显式、自然恢复、幽默感知)处理本地开头出错时的优雅恢复
  • 亚秒级延迟:在嵌入式硬件上,2800万参数μLM实现45毫秒的首token时间

方法论

该方法训练的极紧凑仅解码器Transformer具有:

  • 预归一化残差块、旋转位置嵌入、RMSNorm
  • 分组查询注意力,使用更少的键值头
  • 绑定的输入/输出嵌入

训练过程中各变体计算量匹配,更大模型训练步数更少。协作框架通过指令提示让云端模型充当接续器。

实验结果

  • 尽管规模极小,1400万至2900万参数的μLMs可与7000万至2.56亿参数的基线模型竞争
  • 4-8个词作为最佳运行点,错误恢复率低于3.7%-8.4%
  • 用户研究表明49%等价、28%偏好协作而非独立输出
  • 在Orange Pi上:45毫秒TTFT、3毫秒首token解码、4个词仅需55毫秒

要点总结

  • 有用的语言生成在极端参数规模(800万至3000万)下仍能存活
  • 数量级不对称协作是可行的
  • 为智能手表、眼镜和其他可穿戴设备上的响应式AI开辟了道路