فکر بنیانبانک مقالات روان‌شناسی

پوربا بنرجی

۱ مقاله

Purba Banerjee

همه‌ی آثار پوربا بنرجی در فکر بنیان ۱ مقاله مشاهده ←

هم‌نویسندگان: اوتپال رویساندیپ دوتاسومن روی

Acute Stress Detection through Typing Behaviors, Smartphone Sensors and Machine Learning Techniques

تشخیص استرس حاد از طریق رفتار تایپ، سنسور های هوشمند و تکنیک های یادگیری ماشین

پوربا بنرجی; سومن روی; ساندیپ دوتا; اوتپال روی Indian Journal of Science and Technology, 2026, Vol. 19, Issue 38, pp. 2624-2638 https://doi.org/10.17485/ijst/v19i38.1223

چکیده

Objectives: To examine whether acute stress can be recognised from smartphone typing behaviour and device motion without wearable sensors, and to identify the classifier family best suited to such data. Method: A browser-based application recorded keystroke events together with accelerometer and gyroscope readings (2 Hz) while 288 participants typed simple number series (calm condition) and mental-arithmetic sequences (stress condition), yielding 2,016 samples. Five keystroke timing features and the inertial features were combined, and ten supervised classifiers were trained and tested on the same stratified 80:20 split using accuracy, AUC and weighted and macro precision, recall and F1-score. Findings: Ensemble methods outperformed the linear, probabilistic, distance-based and neural models. XGBoost achieved the best result, with 89.30% accuracy and an AUC of 95.42%, and Random Forest was close behind (88.72%, 95.32%); Naïve Bayes was weakest (57.98%). Weighted and macro F1 scores of the leading models differed by less than 0.3 points, indicating balanced detection of both classes. The accuracy exceeds the 87.56% reported by the closest smartphone motion-sensor study on 46 participants, and the ranking of XGBoost ahead of Random Forest agrees with recent wearable-sensor studies. Unlike deep models applied to dense physiological signals, the multilayer perceptron performed poorly on these compact behavioural features, which indicates that tree ensembles suit this type of data better. Novelty: Keystroke dynamics and smartphone inertial sensing are combined in one installation-free, synchronised protocol and benchmarked with ten classifiers on a cohort six times larger than the closest smartphone study. Keywords: Acute Stress Detection, Keystroke Dynamics, Smartphone Sensing, Machine Learning, Behavioural Biometrics

اهداف: بررسی امکان شناسایی استرس حاد از رفتار تایپ روی گوشی هوشمند و حرکت دستگاه بدون استفاده از حسگرهای پوشیدنی و تعیین خانواده بهترین طبقه‌بند برای این داده‌ها. روش: یک برنامه مبتنی بر مرورگر رویدادهای کلیدفشردن را همراه با داده‌های شتاب‌سنج و ژیروسکوپ (۲ هرتز) ضبط کرد، در حالی که ۲۸۸ شرکت‌کننده دنباله‌های عددی ساده (شرایط آرام) و دنباله‌های محاسبات ذهنی (شرایط استرس) را تایپ کردند که در مجموع ۲۰۱۶ نمونه به دست آمد. پنج ویژگی زمان‌بندی کلیدفشردن و ویژگی‌های اینرسی ترکیب شدند و ده طبقه‌بند نظارت‌شده روی همان تقسیم‌بندی ۸۰:۲۰ طبقه‌بندی شده با معیارهای دقت، AUC و دقت، بازیابی و امتیاز F1 وزنی و ماکرو آموزش و آزمون داده شدند. یافته‌ها: روش‌های مجموعه‌ای عملکرد بهتری نسبت به مدل‌های خطی، احتمالاتی، مبتنی بر فاصله و عصبی داشتند. XGBoost بهترین نتیجه را با دقت ۸۹.۳۰٪ و AUC برابر ۹۵.۴۲٪ کسب کرد و Random Forest نزدیک به آن بود (۸۸.۷۲٪، ۹۵.۳۲٪)؛ Naïve Bayes ضعیف‌ترین بود (۵۷.۹۸٪). امتیازهای F1 وزنی و ماکروی مدل‌های برتر کمتر از ۰.۳ امتیاز تفاوت داشتند که نشان‌دهنده تشخیص متعادل هر دو کلاس است. دقت به ۸۷.۵۶٪ گزارش‌شده در نزدیک‌ترین مطالعه حسگر حرکت گوشی هوشمند روی ۴۶ شرکت‌کننده برتری دارد و رتبه‌بندی XGBoost بالاتر از Random Forest با مطالعات اخیر حسگرهای پوشیدنی همخوانی دارد. برخلاف مدل‌های عمیق اعمال‌شده روی سیگنال‌های فیزیولوژیکی متراکم، پرسپترون چندلایه روی این ویژگی‌های رفتاری فشرده عملکرد ضعیفی داشت که نشان می‌دهد مجموعه‌های درختی برای این نوع داده‌ها مناسب‌ترند. نوآوری: دینامیک کلیدفشردن و حسگری اینرسی گوشی هوشمند در یک پروتکل همگام‌سازی‌شده و بدون نیاز به نصب ترکیب شده و با ده طبقه‌بند روی گروهی شش برابر بزرگ‌تر از نزدیک‌ترین مطالعه گوشی هوشمند ارزیابی شده‌اند.

متن کامل دسترسی آزاد