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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Li, Haiguang, Pervaiz, Usama, Antognini, Joseph, Matuszak, Michał, Au, Lawrence, Roux, Gilles, Thormundsson, Trausti
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913339941060608
author Li, Haiguang
Pervaiz, Usama
Antognini, Joseph
Matuszak, Michał
Au, Lawrence
Roux, Gilles
Thormundsson, Trausti
author_facet Li, Haiguang
Pervaiz, Usama
Antognini, Joseph
Matuszak, Michał
Au, Lawrence
Roux, Gilles
Thormundsson, Trausti
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_01739
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Enhancing User Experience in On-Device Machine Learning with Gated Compression Layers
Li, Haiguang
Pervaiz, Usama
Antognini, Joseph
Matuszak, Michał
Au, Lawrence
Roux, Gilles
Thormundsson, Trausti
Machine Learning
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.
title Enhancing User Experience in On-Device Machine Learning with Gated Compression Layers
topic Machine Learning
url https://arxiv.org/abs/2405.01739