This repository contains the source code of the experiments reported in [1]. It is possible to train, validate and test the models considering the evaluation protocol of the Mobile Behavioral Biometrics Competition (MobileB2C) that was held at the International Joint Conference on Biometrics (IJCB) 2022 [2].
A graphical visualization of the mobile behavioral tasks in the competition is available below.
The models provided in this repo achieve first place on the benchmark, based on the novel BehavePassDB, collected by the BiDA-Lab at the Universidad Autónoma de Madrid (UAM).
In this repository, we provide the source code for all aspects of the paper, including:
- The
preprocess.pyscript converts the raw BehavePassDB data (available here for download) in a format ready to be processed by the models. - The scripts to train and validate the models (
train_background_sensors.pyfor accelerometer, lin. accelerometer, gyroscope, magnetometer, gravity sensor;train_touch.pyis for touch gestures during text reading, gallery swiping, and tapping tasks,train_keystroke.pyis for the keystroke task). First it is necessary to configure the training inutils/config.py. - The
read_logs.pyscript plots the EER, AUC, and loss for the training and validation sets along the epochs. - The
test.pyscript creates the data in a format ready to be submitted to CodaLab for scoring. - Pretrained models (LSTM RNN trained with triplet loss).
- Website: https://sites.google.com/view/mobileb2c/
- CodaLab: https://codalab.lisn.upsaclay.fr/competitions/3564
[1] Stragapede, G., Vera-Rodriguez, R., Tolosana, R., & Morales, A. (2023). BehavePassDB: public database for mobile behavioral biometrics and benchmark evaluation. Pattern Recognition, 134, 109089. [arXiv]
[2] Stragapede, G., Vera-Rodriguez, R., Tolosana, R., Morales, A., Fierrez, J., Ortega-Garcia, J., ... & Jabin, S. (2022, October). IJCB 2022 mobile behavioral biometrics competition (MobileB2C). In 2022 IEEE International Joint Conference on Biometrics (IJCB) (pp. 1-7). IEEE. [arXiv]
If you use any of the parts of this repo, please cite:
@article{stragapede2023behavepassdb,
title={BehavePassDB: public database for mobile behavioral biometrics and benchmark evaluation},
author={Stragapede, Giuseppe and Vera-Rodriguez, Ruben and Tolosana, Ruben and Morales, Aythami},
journal={Pattern Recognition},
volume={134},
pages={109089},
year={2023},
publisher={Elsevier}
}
@inproceedings{stragapede2022ijcb,
title={IJCB 2022 mobile behavioral biometrics competition (MobileB2C)},
author={Stragapede, Giuseppe and Vera-Rodriguez, Ruben and Tolosana, Ruben and Morales, Aythami and Fierrez, Julian and Ortega-Garcia, Javier and Rasnayaka, Sanka and Seneviratne, Sachith and Dissanayake, Vipula and Liebers, Jonathan and others},
booktitle={2022 IEEE International Joint Conference on Biometrics (IJCB)},
pages={1--7},
year={2022},
organization={IEEE}
}
This work is the outcome of a research project with Orange Labs (France) called "BehavePass: Behavioral Biometrics for Continuous Authentication".




