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

Haiguang Li, Usama Pervaiz, Joseph Antognini, Michał Matuszak, Lawrence Au +2 more
5/2/2024
cs.LG

No confident code implementation found for this paper.

Abstract

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.

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{li2024enhancing,
  title  = {Enhancing User Experience in On-Device Machine Learning with Gated Compression Layers},
  author = {Haiguang Li and Usama Pervaiz and Joseph Antognini and Michał Matuszak and Lawrence Au and Gilles Roux and Trausti Thormundsson},
  year   = {2024},
  eprint = {2405.01739},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.01739v1}
}

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/2405.01739.svg)](https://codeofpaper.com/paper/2405.01739)

Discussion