AccLock: Unlocking Identity with Heartbeat Using In-Ear Accelerometers

Lei Wang, Jiangxuan Shen, Xi Zhang, Dalin Zhang, Jingyu Li, Haipeng Dai, Chenren Xu, Daqing Zhang, He HuangarXiv 2026

TL;DR

AccLock is a novel passive, continuous user authentication system that verifies a user's identity using heartbeat-induced mechanical vibrations captured by standard in-ear accelerometers. By leveraging a specialized deep learning architecture (HIDNet) to isolate unique biometric traits from common physiological patterns, it achieves secure, zero-effort authentication without disrupting the user or draining device batteries.

What Problem Does This Paper Address?

Continuous authentication ensures that a wearable device remains in the hands of its legitimate owner after the initial unlock. While earphones are an ideal platform for this—remaining closely coupled with the user throughout the day—existing earphone-based biometrics face steep trade-offs. Behavioral approaches (like tracking tooth clicking or gait) require explicit user actions, while physiological approaches (like acoustic ear canal profiling) require active speaker output that interferes with music or calls.

Passive acoustic methods can capture heart sounds using Active Noise Cancellation (ANC) microphones, but these components are expensive and highly vulnerable to environmental noise. AccLock bypasses these limitations by using ubiquitous, low-cost in-ear accelerometers to passively capture the body's internal mechanical response to heartbeats, completely isolated from ambient acoustic noise.

Fig. 1. Example of an application scenario for AccLock.

Methods

The core of AccLock relies on processing ballistocardiography (BCG) signals—subtle vibrations caused by the heart ejecting blood, which propagate through bones and tissues to the ear canal.

Fig. 2. In-ear BCG signal pattern.

To turn these faint, noisy signals into a reliable biometric key, the authors developed a three-stage pipeline:

  1. Two-Stage Denoising: Raw data is first cleaned using a Stationary Wavelet Transform (SWT) with hyperbolic thresholding to eliminate constant system noise and respiration artifacts. Next, a Recursive Least Squares (RLS) filter with a motion-sensitive forgetting factor dynamically suppresses sporadic interferences like head shaking.
  2. HIDNet for Feature Disentanglement: Human heartbeats share massive structural similarities. To prevent these common patterns from overwhelming the unique identity markers, the authors designed HIDNet. This network uses gradient reversal layers (GRL) and orthogonal regularization to explicitly split the signal into two independent representations: identity-relevant features and shared "nuisance" physiological features.
  3. User-Agnostic Siamese Framework: Instead of training a unique classifier for every single user, the system feeds the isolated identity features into a Siamese network trained with triplet loss. This maps the features into a generalized embedding space where authentication is reduced to a simple distance calculation, allowing instant registration for new users without retraining the model.

Datasets

The authors evaluated AccLock using two distinct setups:

  • Custom Prototype Dataset: Built using a 3D-printed earphone housing a commercial IMU sensor (ICM-42688-P) sampling at 100 Hz. Data was collected from 33 participants (17 males, 16 females, aged 18–75) over a six-month period, yielding 16 minutes of data per participant.
  • Commercial Deployment Dataset: To test real-world viability, they collected data from 21 users wearing off-the-shelf Apple AirPods. Because commercial AirPods restrict raw IMU access and provide heavily downsampled data (25 Hz), this served as a rigorous test for cross-device adaptation.

Key Insights and Ideas

  • The Ear Canal as a Biometric Window: Heartbeats generate distinct mechanical waves (the H-N peak sequence shown in Figure 2) that can be reliably captured inside the ear without any acoustic interference.
  • The Necessity of Disentanglement: Standard deep learning models (like CNNs or Transformers) perform poorly on raw BCG data because they naturally focus on the dominant, shared physiological structures of the human heart. Actively forcing the network to discard these shared traits via adversarial training is the "aha moment" that unlocks high-accuracy matching.
Fig. 3. CWT representations of BCG samples from different users and from the same user across sessions.
  • Cross-Device Feasibility: Even though the underlying hardware and sampling rates differed drastically between the prototype (100 Hz) and commercial AirPods (25 Hz), the core cardiac morphology remained stable enough to allow successful model adaptation using lightweight parameter tuning (LoRA).

Key Results

  • High Accuracy: In static scenarios across 33 users, AccLock achieved an average False Acceptance Rate (FAR) of 3.13% and a False Rejection Rate (FRR) of 2.99%.
  • Posture and Environment Agnostic: The system maintained stable performance across various body postures (sitting, standing, reclining, lying down) and noisy environments (such as restaurants and transit stations).
  • Commercial AirPod Success: When deployed on commercial AirPods at a low 25 Hz sampling rate, AccLock still delivered a highly practical FAR of 7.54% and FRR of 7.1%.
  • Low Overhead: On modern smartphones (e.g., Xiaomi 13), each authentication inference takes less than 30 ms, consuming a mere 2.5% CPU footprint and minimal battery.

Limitations and Future Work

  • Large-Scale Motion: While AccLock handles mild movements like talking or head-shaking well, it struggles significantly during vigorous physical activities like running, where error rates spike past 40%. The authors plan to explore generative AI models to reconstruct corrupted heartbeat waveforms in highly dynamic settings.
  • Ecosystem Restrictions: Third-party developers currently face severe restrictions when trying to access raw, high-frequency IMU data from commercial earphones. Overcoming this will require closer technical collaboration with hardware vendors.
  • Anatomical Variability: A small subset of users experienced higher error rates due to unique ear canal geometry or variations in earphone fit, indicating a need for more robust adaptive thresholding in future iterations.

Summary updated

BibTeX
@misc{wang2026acclock,
  author = {Lei Wang and Jiangxuan Shen and Xi Zhang and Dalin Zhang and Jingyu Li and Haipeng Dai and Chenren Xu and Daqing Zhang and He Huang},
  title = {{AccLock: Unlocking Identity with Heartbeat Using In-Ear Accelerometers}},
  year = {2026},
  eprint = {2605.11901},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.11901},
}
Figure