Dynamic Switch Layers For Unsupervised Learning

Haiguang Li, Usama Pervaiz, Michał Matuszak, Robert Kamara, Gilles Roux +2 more
4/5/2024
cs.LG

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2024dynamic,
  title  = {Dynamic Switch Layers For Unsupervised Learning},
  author = {Haiguang Li and Usama Pervaiz and Michał Matuszak and Robert Kamara and Gilles Roux and Trausti Thormundsson and Joseph Antognini},
  year   = {2024},
  eprint = {2404.04405},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.04405v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.04405.svg)](https://codeofpaper.com/paper/2404.04405)

Discussion