Skip to main content
QUICK REVIEW

[Paper Review] Smart speaker design and implementation with biometric authentication and advanced voice interaction capability

Bharath Sudharsan, Peter Corcoran|arXiv (Cornell University)|Jan 1, 2019
Speech Recognition and SynthesisComputer Science10 references16 citations
TL;DR

This paper presents a prototype smart speaker integrating biometric face authentication and advanced voice interaction using a Raspberry Pi, ReSpeaker v2 microphone array, and camera module. By combining real-time face recognition via a 128-d deep metric network with Snowboy wake-word detection and Alexa Voice Service, the system enables secure, hands-free activation only for authenticated users, significantly reducing unauthorized access risks while maintaining low CPU usage and full-duplex interaction.

ABSTRACT

Advancements in semiconductor technology have reduced dimensions and cost while improving the performance and capacity of chipsets. In addition, advancement in the AI frameworks and libraries brings possibilities to accommodate more AI at the resource-constrained edge of consumer IoT devices. Sensors are nowadays an integral part of our environment which provide continuous data streams to build intelligent applications. An example could be a smart home scenario with multiple interconnected devices. In such smart environments, for convenience and quick access to web-based service and personal information such as calendars, notes, emails, reminders, banking, etc, users link third-party skills or skills from the Amazon store to their smart speakers. Also, in current smart home scenarios, several smart home products such as smart security cameras, video doorbells, smart plugs, smart carbon monoxide monitors, and smart door locks, etc. are interlinked to a modern smart speaker via means of custom skill addition. Since smart speakers are linked to such services and devices via the smart speaker user’s account. They can be used by anyone with physical access to the smart speaker via voice commands. If done so, the data privacy, home security and other aspects of the user get compromised. Recently launched, Tensor Cam’s AI Camera, Toshiba’s Symbio, Facebook’s Portal are camera-enabled smart speakers with AI functionalities. Although they are camera-enabled, yet they do not have an authentication scheme in addition to calling out the wake-word. This paper provides an overview of cybersecurity risks faced by smart speaker users due to lack of authentication scheme and discusses the development of a state-of-the-art camera-enabled, microphone arraybased modern Alexa smart speaker prototype to address these risks. Keywords: Alexa Voice Service, Snowboy hotword detection, Smart speaker design, Microphone array, ReSpeaker, Voice algorithms, Open CV, Smart speaker authentication.

Motivation & Objective

  • To address the growing cybersecurity risks in smart speakers due to the absence of strong user authentication beyond wake-word activation.
  • To design and implement a low-cost, edge-based smart speaker prototype using off-the-shelf components for enhanced security and privacy.
  • To integrate biometric face recognition with voice interaction to enable secure, personalized, and seamless user access to smart speaker services.
  • To evaluate the feasibility and performance of combining face recognition, voice wake-word detection, and full-duplex audio processing on resource-constrained edge devices like the Raspberry Pi.

Proposed method

  • Deployed a Raspberry Pi-based smart speaker prototype using ReSpeaker v2 for a 4-microphone array with on-board DSP for noise suppression and beamforming.
  • Integrated a Raspberry Pi camera module to capture live video frames for real-time face detection and recognition using a deep metric network to generate 128-dimensional face embeddings.
  • Trained a face recognition model using a dataset of registered users' face images, storing pre-computed 128-d encodings in a .pickle file for fast comparison during inference.
  • Used Snowboy as the wake-word engine to detect 'Alexa' with low CPU overhead (<8%) and high accuracy, minimizing false positives and missed detections.
  • Connected the system to Amazon's Alexa Voice Service (AVS) C++ SDK, enabling cloud-based voice interaction after successful biometric authentication.
  • Implemented a visual feedback system using the ReSpeaker's RGB LED ring that turns green upon successful face recognition and wake-up.

Experimental results

Research questions

  • RQ1Can a low-cost, edge-based smart speaker prototype effectively integrate biometric face authentication to prevent unauthorized access?
  • RQ2How does combining face recognition with voice wake-word detection improve security without degrading performance on resource-constrained hardware?
  • RQ3What is the impact of background noise and acoustic echo on voice interaction quality, and how can it be mitigated in a full-duplex system?
  • RQ4To what extent does the use of a 128-d deep metric network enable accurate and efficient face recognition on a Raspberry Pi?
  • RQ5Can a custom-built smart speaker prototype achieve seamless, secure, and personalized interaction with Alexa while maintaining low power consumption?

Key findings

  • The prototype successfully reduced unauthorized access risks by requiring face recognition before activating Alexa, eliminating threats like 'parrot attacks' and 'curious child' misuse.
  • Snowboy achieved a low miss detection rate and high accuracy in wake-word detection, with less than 8% CPU usage, outperforming other wake-word engines in the tested setup.
  • The face recognition system achieved real-time performance on the Raspberry Pi by using a lightweight deep metric network, enabling 128-d face embedding computation and comparison efficiently.
  • The integration of the ReSpeaker v2's DSP-based beamforming and noise suppression significantly improved voice signal quality, enhancing ASR accuracy even in noisy environments.
  • The system demonstrated a 0.5-second delay after wake-word detection, which was acceptable and resolved by restarting the Pi when audio distortion occurred.
  • The prototype successfully enabled full-duplex interaction with Alexa after biometric authentication, with visual feedback via the RGB LED ring confirming user recognition.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.