Skip to main content
QUICK REVIEW

[Paper Review] Now Playing: Continuous low-power music recognition

Arcas, Blaise Agüera y, Beat Gfeller|arXiv (Cornell University)|Nov 29, 2017
Music and Audio ProcessingComputer Science11 references21 citations
TL;DR

This paper presents Now Playing, a continuous, on-device music recognition system that uses a low-power DSP-based music detector to wake a neural network fingerprinter only when music is detected, enabling real-time, privacy-preserving song identification with under 1% daily battery usage on mobile devices.

ABSTRACT

Existing music recognition applications require a connection to a server that performs the actual recognition. In this paper we present a low-power music recognizer that runs entirely on a mobile device and automatically recognizes music without user interaction. To reduce battery consumption, a small music detector runs continuously on the mobile device's DSP chip and wakes up the main application processor only when it is confident that music is present. Once woken, the recognizer on the application processor is provided with a few seconds of audio which is fingerprinted and compared to the stored fingerprints in the on-device fingerprint database of tens of thousands of songs. Our presented system, Now Playing, has a daily battery usage of less than 1% on average, respects user privacy by running entirely on-device and can passively recognize a wide range of music.

Motivation & Objective

  • To enable continuous, passive music recognition on mobile devices without requiring user interaction or internet connectivity.
  • To minimize battery consumption by offloading music detection to a dedicated DSP chip and only waking the main processor when music is detected.
  • To preserve user privacy by ensuring all audio processing and fingerprint matching occur entirely on-device, with no data sent to servers.
  • To achieve high recognition accuracy using a compact, 96-dimensional neural network fingerprinter and efficient on-device fingerprint matching.
  • To balance storage efficiency and recognition performance by optimizing fingerprint size and database compression for mobile constraints.

Proposed method

  • A neural network fingerprinter (NNFP) generates a 96-dimensional embedding per second from short audio segments, trained using triplet loss to ensure discriminative similarity for the same song.
  • A lightweight music detector runs continuously on the DSP chip, analyzing audio streams and triggering the main processor only when confident music is present.
  • The system uses a sliding window average of detector predictions over a few seconds, requiring c consecutive high-confidence detections above a threshold to trigger recognition.
  • Fingerprint matching employs approximate nearest neighbor search followed by fine-grained scoring to efficiently identify songs from an on-device database of tens of thousands of fingerprints.
  • The fingerprint database is compressed using a quantization strategy that reduces storage while maintaining recognition accuracy, with each song occupying less than 3 KB on average.
  • The entire system is trained with quantized activations to simulate deployment on low-precision mobile hardware, ensuring energy efficiency.

Experimental results

Research questions

  • RQ1Can a continuous, low-power music recognition system be implemented entirely on a mobile device without relying on server-side processing?
  • RQ2What is the optimal trade-off between fingerprint size, recognition accuracy, and on-device storage efficiency for mobile deployment?
  • RQ3How can a music detector be designed to minimize false positives while maintaining sufficient recall for real-world audio environments with background noise?
  • RQ4What is the achievable battery consumption of a fully on-device music recognition system under realistic usage conditions?
  • RQ5To what extent can neural network-based fingerprinting and matching be optimized for low-power, real-time performance on mobile DSPs and application processors?

Key findings

  • The system achieves a daily battery usage of 23.5 mAh, or approximately 0.9% of the Pixel 2’s 2700 mAh battery, with only 100 average wakeups per day.
  • The 96-dimensional fingerprint model achieves a precision/recall performance that is only slightly worse than the 128-dimensional model, while reducing storage by 30%.
  • The music detector achieves a recall of 75.5% on a 450-hour test set with diverse background noise, while maintaining a false positive rate of roughly once every 20 minutes on non-silent audio.
  • The neural network fingerprinter generates one 96-dimensional embedding per second, enabling real-time processing with minimal latency.
  • The system successfully recognizes music passively and continuously without requiring user interaction, with all processing and data storage confined to the device.
  • The use of a DSP-based gatekeeper reduces overall power consumption to under 0.4 mA standby increase, with additional power only consumed during brief application processor wakeups.

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.