Why Are Conversational Assistants Still Black Boxes? The Case For Transparency

Trung Dong Huynh, William Seymour, Luc Moreau, Jose M. Such

TL;DR

Conversational assistants (CAs) like Alexa and Google Assistant are often "black boxes" regarding user data privacy. This paper argues that this lack of transparency is a business decision, not a technical limitation, by demonstrating how to implement auditable data provenance for CAs using the open-source Mycroft assistant.

What Problem Does This Paper Address?

Despite the widespread adoption of conversational assistants (CAs) and voice assistants (VAs), there's a significant lack of transparency regarding how these devices handle user data. Users are often unaware of what data is collected, processed, and shared with third-party applications (skills/actions). While privacy policies exist, they are often difficult to understand and may not accurately reflect actual data usage. This opacity stems partly from the nature of voice interaction (concise responses) and the architecture of commercial CAs, which often keep their internal workings proprietary. The paper aims to bridge this gap by showing that technical solutions for transparency and auditable data trails are feasible.

Methods

The authors introduce a proof-of-concept implementation using the open-source voice assistant Mycroft. They leverage the PROV-Template approach to define and record provenance data, essentially creating audit trails for CA actions. This involves:

  • Provenance Templates: Defining structures (knowledge graphs) to capture key events like skill invocations, external service calls, user data used, and responses received.
  • prov-auditor-skill: A custom Mycroft skill that intercepts and logs specific messages generated by Mycroft's core components and other skills.
  • Data Binding: The prov-auditor-skill converts these logged messages into bindings for the defined provenance templates, storing them as structured data.
  • Audit Trail Generation: Over time, these bindings are used to construct comprehensive audit trails (knowledge graphs) that detail the chain of events for any given CA action.
  • Querying: Users can query these audit trails to understand, for example, which services received their personal data, enabling a more informed understanding of data usage.

Datasets

Not discussed in the paper. The work focuses on instrumenting an existing open-source system (Mycroft) rather than training models on specific datasets.

Key Insights and Ideas

  • Transparency is a Business Decision: The paper strongly posits that the lack of transparency in commercial CAs is not due to insurmountable technical hurdles but rather a deliberate choice by platform providers.
  • Provenance as an Audit Trail: The authors effectively demonstrate how the established concept of provenance, typically used in fields like data management and supply chains, can be adapted to create auditable logs for CA interactions.
  • Mycroft as a Feasible Testbed: Using an open-source VA like Mycroft allows for deep instrumentation and modification, proving that such transparency mechanisms can be built.
  • User Empowerment through Querying: The ability for users to query their own data usage history is a crucial step towards building trust and allowing users to make informed decisions about their privacy.
  • Beyond Basic Logging: The proposed system goes beyond simple logging by creating structured, queryable knowledge graphs of CA actions, enabling more sophisticated insights.

Key Results

The paper presents a functional proof-of-concept on Mycroft that successfully logs skill activations, data flows, and external service interactions. The prov-auditor-skill can capture relevant data and transform it into bindings for provenance templates. The system allows users to query past actions, as demonstrated by the example query "Which services got my personal data?", which Mycroft successfully answers by tracing data flows. This showcases the potential for users to gain concrete insights into their data's journey.

Limitations and Future Work

  • Platform-Level vs. App-Level Provenance: While the proof-of-concept demonstrates platform-level logging, the authors acknowledge that fully tracking data as it moves into and out of third-party "skills" (apps) is more challenging. They suggest that app-level provenance, potentially through static analysis of app code by platforms, would be ideal but is difficult to enforce for closed-source or off-platform skills.
  • Stakeholder Cooperation: Implementing comprehensive provenance across the CA ecosystem requires cooperation from multiple stakeholders (platform owners, skill developers). The authors emphasize that platform owners need to provide tools and incentives for developers to report provenance.
  • Authentication and Privacy of Logs: The paper notes that audit logs themselves contain personal data and thus require authentication mechanisms (e.g., voice profiles) to prevent unauthorized access. They also suggest techniques like generalizing data points to mitigate privacy risks.
  • Trust in Platforms: Even with technical solutions, user trust in platform providers remains a significant barrier, especially given past privacy concerns.
  • Future Work: The authors suggest further development of platform-level and app-level provenance mechanisms, exploring behavioral norms derived from provenance data to detect anomalies, and building user interfaces that leverage these audit trails for enhanced transparency and user control.

Summary updated

Abstract

Much has been written about privacy in the context of conversational and voice assistants. Yet, there have been remarkably few developments in terms of the actual privacy offered by these devices. But how much of this is due to the technical and design limitations of speech as an interaction modality? In this paper, we set out to reframe the discussion on why commercial conversational assistants do not offer meaningful privacy and transparency by demonstrating how they \emph{could}. By instrumenting the open-source voice assistant Mycroft to capture audit trails for data access, we demonstrate how such functionality could be integrated into big players in the sector like Alexa and Google Assistant. We show that this problem can be solved with existing technology and open standards and is thus fundamentally a business decision rather than a technical limitation.
BibTeX
@inproceedings{huynh2023why,
  author = {Trung Dong Huynh and William Seymour and Luc Moreau and Jose M. Such},
  title = {{Why Are Conversational Assistants Still Black Boxes? The Case For Transparency}},
  booktitle = {CUI},
  year = {2023},
  url = {https://openreview.net/forum?id=9H9blZSxUF},
}
Figure