Is On-Device AI Broken and Exploitable? Assessing the Trust and Ethics in Small Language Models
Kalyan Nakka, Jimmy Dani, Nitesh Saxena
TL;DR
This paper investigates trust and ethics in on-device small language models (SLMs) by comparing them to on-server baselines using the DecodingTrust framework and the Do-Not-Answer ethics dataset. It reveals that on-device deployments exhibit higher stereotype bias, unfairness, and privacy leakage, and show markedly weaker ethical safeguards, often producing harmful or actionable outputs without jailbreaking. The study analyzes three open-source SLMs (Gemma-2B, Phi-2, RedPajama-3B) across multiple metrics and finds statistically significant degradations in trustworthiness on-device, along with exploitable behavior via vanilla prompts. These findings highlight critical risks for edge AI and emphasize the need for robust defenses and responsible deployment strategies to protect user privacy and safety on personal devices.
Abstract
In this paper, we present a very first study to investigate trust and ethical implications of on-device artificial intelligence (AI), focusing on small language models (SLMs) amenable for personal devices like smartphones. While on-device SLMs promise enhanced privacy, reduced latency, and improved user experience compared to cloud-based services, we posit that they might also introduce significant risks and vulnerabilities compared to their on-server counterparts. As part of our trust assessment study, we conduct a systematic evaluation of the state-of-the-art on-devices SLMs, contrasted to their on-server counterparts, based on a well-established trustworthiness measurement framework. Our results show on-device SLMs to be significantly less trustworthy, specifically demonstrating more stereotypical, unfair and privacy-breaching behavior. Informed by these findings, we then perform our ethics assessment study using a dataset of unethical questions, that depicts harmful scenarios. Our results illustrate the lacking ethical safeguards in on-device SLMs, emphasizing their capabilities of generating harmful content. Further, the broken safeguards and exploitable nature of on-device SLMs is demonstrated using potentially unethical vanilla prompts, to which the on-device SLMs answer with valid responses without any filters and without the need for any jailbreaking or prompt engineering. These responses can be abused for various harmful and unethical scenarios like: societal harm, illegal activities, hate, self-harm, exploitable phishing content and many others, all of which indicates the severe vulnerability and exploitability of these on-device SLMs.
