Tiny, Always-on, and Fragile: Bias Propagation through Design Choices in On-device Machine Learning Workflows

Wiebke (Toussaint) Hutiri, Aaron Yi Ding, Fahim Kawsar, Akhil Mathur

Research output: Contribution to journalArticleScientificpeer-review

2 Citations (Scopus)
19 Downloads (Pure)

Abstract

Billions of distributed, heterogeneous, and resource constrained IoT devices deploy on-device machine learning (ML) for private, fast, and offline inference on personal data. On-device ML is highly context dependent and sensitive to user, usage, hardware, and environment attributes. This sensitivity and the propensity toward bias in ML makes it important to study bias in on-device settings. Our study is one of the first investigations of bias in this emerging domain and lays important foundations for building fairer on-device ML. We apply a software engineering lens, investigating the propagation of bias through design choices in on-device ML workflows. We first identify reliability bias as a source of unfairness and propose a measure to quantify it. We then conduct empirical experiments for a keyword spotting task to show how complex and interacting technical design choices amplify and propagate reliability bias. Our results validate that design choices made during model training, like the sample rate and input feature type, and choices made to optimize models, like light-weight architectures, the pruning learning rate, and pruning sparsity, can result in disparate predictive performance across male and female groups. Based on our findings, we suggest low effort strategies for engineers to mitigate bias in on-device ML.

Original languageEnglish
Article number155
JournalACM Transactions on Software Engineering and Methodology
Volume32
Issue number6
DOIs
Publication statusPublished - 2023

Keywords

  • audio keyword spotting
  • Bias
  • design choices
  • embedded machine learning
  • fairness
  • on-device machine learning
  • personal data

Fingerprint

Dive into the research topics of 'Tiny, Always-on, and Fragile: Bias Propagation through Design Choices in On-device Machine Learning Workflows'. Together they form a unique fingerprint.

Cite this