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

用于无监督学习的动态切换层

Dynamic Switch Layers For Unsupervised Learning

Google LLC(谷歌公司)

Haiguang Li, Usama Pervaiz, Michał Matuszak, Robert Kamara, Gilles Roux, Trausti Thormundsson, Joseph Antognini

AI总结:

本文提出动态切换层 DSL,通过无标签数据驱动的动态路径选择扩展 GC 层,在 SoundStream 中显著降低计算、模型体积、延迟与功耗且保持性能。

摘要:

端侧机器学习(ODML)使资源受限设备上的智能应用成为可能。然而,功耗构成了一项重大挑战,迫使模型在准确率与功耗效率之间进行权衡,这往往限制了模型复杂度。此前提出的门控压缩(GC)层提供了一种解决方案,通过选择性地门控缺乏感兴趣信号的样本,在不牺牲模型性能的情况下实现功耗效率。然而,它们对真实标签的依赖将 GC 层限制在监督任务中。本工作提出了动态切换层(DSL),将 GC 层的优势扩展到无监督学习场景,并在无需标注数据的情况下保持功耗效率。DSL 建立在 GC 架构之上,利用动态路径选择,并根据数据的内在结构调整模型复杂度。我们将 DSL 集成到 SoundStream 架构中,并证明通过将多达80%的样本路由到轻量级通道,我们实现了计算量降低12.3倍、模型大小降低20.9倍。这将端侧推理延迟降低多达26.5%,并将功耗效率提高多达21.4%,且不会影响模型性能。

英文摘要:

On-device machine learning (ODML) enables intelligent applications on resource-constrained devices. However, power consumption poses a major challenge, forcing a trade-off between model accuracy and power efficiency that often limits model complexity. The previously established Gated Compression (GC) layers offer a solution, enabling power efficiency without sacrificing model performance by selectively gating samples that lack signals of interest. However, their reliance on ground truth labels limits GC layers to supervised tasks. This work introduces the Dynamic Switch Layer (DSL), extending the benefits of GC layers to unsupervised learning scenarios, and maintaining power efficiency without the need for labeled data. The DSL builds upon the GC architecture, leveraging a dynamic pathway selection, and adapting model complexity in response to the innate structure of the data. We integrate the DSL into the SoundStream architecture and demonstrate that by routing up to 80% of samples through a lightweight pass we achieve a 12.3x reduction in the amount of computation performed and a 20.9x reduction in model size. This reduces the on-device inference latency by up to 26.5% and improves power efficiency by up to 21.4% without impacting model performance.

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

↑