BehavePassDB: Public Database for Mobile Behavioral Biometrics and Benchmark Evaluation

Giuseppe Stragapede, Ruben Vera-Rodriguez, Ruben Tolosana, Aythami MoralesarXiv 2022

TL;DR

BehavePassDB is a new public database designed to stress-test mobile behavioral biometrics against "device bias"—the tendency of models to recognize the phone's hardware signature rather than the person's behavior. By introducing a "skilled impostor" scenario where different users operate the same physical device, the authors reveal a significant performance gap that suggests current state-of-the-art systems may be over-reliant on hardware quirks.

What Problem Does This Paper Address?

Traditional mobile biometrics like fingerprints or facial recognition are "entry-point" solutions; once you're in, the security stops. Continuous Authentication (CA) aims to solve this by passively monitoring behavioral traits—how you swipe, type, or move your phone—to ensure the legitimate user is still the one holding the device.

However, a major hurdle in CA research is device bias. Most existing datasets involve users providing data on their own personal devices. Because mobile sensors (accelerometers, gyroscopes, etc.) have unique manufacturing imperfections and calibration offsets, a machine learning model might inadvertently learn to recognize the device's sensor fingerprint rather than the user's behavioral patterns. This paper introduces a framework to decouple these two factors, asking: Can our models tell two people apart if they are using the exact same phone?

Methods

The authors propose a benchmark system based on Long Short-Term Memory (LSTM) Recurrent Neural Networks, which are well-suited for the temporal, sequence-based nature of sensor data.

Key technical components include:

  • Triplet Loss Function: Instead of simple classification, the model is trained to minimize the distance between "embeddings" (mathematical representations) of the same user while maximizing the distance from different users.
  • Modality Fusion: The system evaluates 15 different sensor sources. The authors implement score-level fusion, combining results from touchscreen data and background sensors (like the magnetometer and linear accelerometer) to improve overall accuracy.
  • Data Preprocessing: To combat noise, they utilize Fast Fourier Transforms (FFT) and first/second-order derivatives of sensor signals, creating a 12-dimensional feature vector for each timestamp.

Datasets

The core contribution is BehavePassDB, a multimodal database involving 81 users performing 8 common tasks (e.g., texting, swiping through a gallery, picking up the phone) across four sessions.

Fig. 1: In BehavePassDB, each of the 4 acquisition sessions contains 8 tasks. During each task, data are acquired from 15 different sources (modalities), including touchscreen information and background sensors. Two impostor scenarios are allowed for user verification: (i) random impostor forgeries, in which every user data are acquired from their own mobile device, and the user data cross comparisons entail different devices; (ii) skilled impostor forgeries, in which the last two acquisition sessions are performed also by a different user on the same device imitating the legitimate one, allowing user data cross comparisons from the same device.

What sets BehavePassDB apart from the 20+ datasets summarized in the paper (see Table I) is its dual-scenario evaluation:

  1. Random Impostor: The "impostor" uses a different device than the "genuine" user. This is the standard in most literature.
  2. Skilled Impostor: The impostor uses the same device as the owner and is instructed to imitate their behavior. This specifically targets the device bias problem.

Key Insights and Ideas

  • The "Hardware Cheat": The research confirms that sensors like the magnetometer and linear accelerometer are highly susceptible to device bias. In the "Random Impostor" case, these sensors performed well, but their effectiveness plummeted in the "Skilled Impostor" scenario.
  • Task Discriminability: Not all tasks are created equal. Text reading (which involves vertical scrolling) proved to be the most discriminative touch-based task, outperforming simple tapping or pattern unlocking.
  • The Performance Gap: There is a massive drop in performance—roughly 20% in terms of Area Under the Curve (AUC)—when moving from random to skilled impostors. This suggests that many existing behavioral biometric results in the literature might be overly optimistic because they are inadvertently "fingerprinting" the hardware.

Key Results

The authors used the Area Under the Curve (AUC) of the Receiver Operating Characteristic (ROC) as their primary metric (where 100% is a perfect system and 50% is random guessing).

  • Random Impostor Scenario: The best fusion model (combining keystroke, gyroscope, linear accelerometer, and magnetometer) achieved an AUC of 87.20%.
  • Skilled Impostor Scenario: Using the same model on the same device, the performance dropped to 68.72%.
ROC curves comparing performance across different tasks and impostor scenarios

As seen in Figure 3, the "skilled" curves (dotted lines) consistently sit lower than the "random" curves (solid lines), highlighting the increased difficulty of authenticating users on shared hardware.

Limitations and Future Work

The authors acknowledge that while fusion helps, the performance in the skilled impostor scenario is not yet high enough for standalone security. They suggest several paths forward:

  • Training for the Challenge: The models in this study were trained only on random impostor data. Future work should include skilled impostor examples during the training phase to help the network learn to ignore device-specific signatures.
  • Scaling Up: Increasing the number of subjects and sessions to better capture intra-subject variability over longer periods.
  • Synthetic Data: Exploring the generation of synthetic behavioral data to augment training sets, which has shown promise in other biometric fields.

Summary updated

BibTeX
@misc{stragapede2022behavepassdb,
  author = {Giuseppe Stragapede and Ruben Vera-Rodriguez and Ruben Tolosana and Aythami Morales},
  title = {{BehavePassDB: Public Database for Mobile Behavioral Biometrics and Benchmark Evaluation}},
  year = {2022},
  eprint = {2206.02502},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.02502},
}
Figure