arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.01739cs.LG
收藏

利用门控压缩层提升端侧机器学习中的用户体验

Enhancing User Experience in On-Device Machine Learning with Gated Compression Layers

Google LLC(谷歌公司)

Haiguang Li, Usama Pervaiz, Joseph Antognini, Michał Matuszak, Lawrence Au, Gilles Roux, Trausti Thormundsson

AI总结:

本文提出将门控压缩(GC)层集成到端侧机器学习模型中,通过选择性门控神经元激活来过滤非必要输入,在保持精度的同时大幅降低功耗,并在常开场景下实现158倍至30,000倍的理论能效增益,从而提升用户体验。

摘要:

端侧机器学习(ODML)赋能了强大的边缘应用,但功耗仍是资源受限设备面临的关键挑战。为解决这一问题,开发者常常需要在模型精度与功耗之间进行权衡,要么在高功耗核心上使用计算密集型模型,要么在低功耗核心上使用精简模型。这两种方法通常都会导致用户体验(UX)的折损。本工作聚焦于使用门控压缩(Gated Compression,GC)层来提升ODML模型性能,同时节省功耗并最大化成本效益,尤其适用于常开(always-on)场景。GC层通过选择性地门控神经网络内神经元的激活来动态调节数据流,并有效过滤非必要输入,从而在不牺牲精度的前提下降低功耗需求,并支持在异构计算核心上更高效地执行。这些改进通过延长电池续航、提升设备响应速度和改善用户舒适度来增强用户体验。在本工作中,我们将GC层集成到视觉和语音领域的模型中,包括基于Transformer的ViT模型。我们的实验表明,在常开场景下,理论能效增益范围从158倍到30,000倍。这一显著提升使ODML应用获得了更强的用户体验收益。

英文摘要:

On-device machine learning (ODML) enables powerful edge applications, but power consumption remains a key challenge for resource-constrained devices. To address this, developers often face a trade-off between model accuracy and power consumption, employing either computationally intensive models on high-power cores or pared-down models on low-power cores. Both approaches typically lead to a compromise in user experience (UX). This work focuses on the use of Gated Compression (GC) layer to enhance ODML model performance while conserving power and maximizing cost-efficiency, especially for always-on use cases. GC layers dynamically regulate data flow by selectively gating activations of neurons within the neural network and effectively filtering out non-essential inputs, which reduces power needs without compromising accuracy, and enables more efficient execution on heterogeneous compute cores. These improvements enhance UX through prolonged battery life, improved device responsiveness, and greater user comfort. In this work, we have integrated GC layers into vision and speech domain models including the transformer-based ViT model. Our experiments demonstrate theoretical power efficiency gains ranging from 158x to 30,000x for always-on scenarios. This substantial improvement empowers ODML applications with enhanced UX benefits.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑