{"title":"Major depressive disorder recognition based on electronic handwriting recorded in psychological tasks.","authors":"Chong Li, Kunxue Zhang, Qunxing Lin, Shan Huang, Wanying Cheng, Yueshiyuan Lei, Xinyu Zhao, Jiubo Zhao","doi":"10.1186/s12916-025-04101-2","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>This study aimed to determine whether handwriting patterns are altered in individuals experiencing depressive episodes. Additionally, we developed a model for the recognition of major depressive disorder (MDD) based on electronic handwriting in psychological tasks.</p><p><strong>Methods: </strong>A total of 130 patients and 117 healthy controls completed 21 psychology-related handwriting tasks. The electronic tablet recorded several handwriting characteristics, including horizontal and vertical coordinates, nib pressure and speed, and inclination angle. The statistical indicators for each handwriting characteristic were calculated. Statistical analyses, including differential analysis, were performed to identify predictors of depression. Furthermore, logistic regression and machine learning models were developed to discriminate MDD.</p><p><strong>Results: </strong>The study included 130 patients with onset depression (mean (standard deviation (SD)) age, 20.42 (5.21)) and 117 healthy controls (mean (SD) age, 20.54 (2.60)). The t-test and logistics analysis results indicated that depressed patients exhibited a higher minimum of handwriting pressure, an elevated median of handwriting speed, and greater pen tip jitter. The LightGBM machine learning model exhibited satisfactory performance, with a cross-validated area under the receiver operating curve of mean 0.90 (SD, 0.01). The analysis of variance revealed that the negative question-answer task model exhibited superior performance compared to the neutral and positive task models.</p><p><strong>Conclusions: </strong>The present study indicates that depressed patients exhibit modal handwriting changes and developed a cost-effective, rapid, and valid model for identifying MDD. This finding established a strong foundation for developing multimodal recognition models in the future.</p>","PeriodicalId":9188,"journal":{"name":"BMC Medicine","volume":"23 1","pages":"282"},"PeriodicalIF":7.0000,"publicationDate":"2025-05-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12077001/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Medicine","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12916-025-04101-2","RegionNum":1,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MEDICINE, GENERAL & INTERNAL","Score":null,"Total":0}
引用次数: 0
Abstract
Background: This study aimed to determine whether handwriting patterns are altered in individuals experiencing depressive episodes. Additionally, we developed a model for the recognition of major depressive disorder (MDD) based on electronic handwriting in psychological tasks.
Methods: A total of 130 patients and 117 healthy controls completed 21 psychology-related handwriting tasks. The electronic tablet recorded several handwriting characteristics, including horizontal and vertical coordinates, nib pressure and speed, and inclination angle. The statistical indicators for each handwriting characteristic were calculated. Statistical analyses, including differential analysis, were performed to identify predictors of depression. Furthermore, logistic regression and machine learning models were developed to discriminate MDD.
Results: The study included 130 patients with onset depression (mean (standard deviation (SD)) age, 20.42 (5.21)) and 117 healthy controls (mean (SD) age, 20.54 (2.60)). The t-test and logistics analysis results indicated that depressed patients exhibited a higher minimum of handwriting pressure, an elevated median of handwriting speed, and greater pen tip jitter. The LightGBM machine learning model exhibited satisfactory performance, with a cross-validated area under the receiver operating curve of mean 0.90 (SD, 0.01). The analysis of variance revealed that the negative question-answer task model exhibited superior performance compared to the neutral and positive task models.
Conclusions: The present study indicates that depressed patients exhibit modal handwriting changes and developed a cost-effective, rapid, and valid model for identifying MDD. This finding established a strong foundation for developing multimodal recognition models in the future.
期刊介绍:
BMC Medicine is an open access, transparent peer-reviewed general medical journal. It is the flagship journal of the BMC series and publishes outstanding and influential research in various areas including clinical practice, translational medicine, medical and health advances, public health, global health, policy, and general topics of interest to the biomedical and sociomedical professional communities. In addition to research articles, the journal also publishes stimulating debates, reviews, unique forum articles, and concise tutorials. All articles published in BMC Medicine are included in various databases such as Biological Abstracts, BIOSIS, CAS, Citebase, Current contents, DOAJ, Embase, MEDLINE, PubMed, Science Citation Index Expanded, OAIster, SCImago, Scopus, SOCOLAR, and Zetoc.