Automatic detection of mental health disorders in social media
| dc.audience.educationlevel | Investigadores/Researchers | |
| dc.audience.educationlevel | Estudiantes/Students | |
| dc.audience.educationlevel | Maestros/Teachers | |
| dc.contributor.advisor | Trejo Rodríguez, Luis Ángel | |
| dc.contributor.author | Villa Pérez, Miryam Elizabeth | |
| dc.contributor.cataloger | emipsanchez | |
| dc.contributor.committeemember | González Mendoza, Miguel | |
| dc.contributor.committeemember | Brena Pinero, Ramón Felipe | |
| dc.contributor.committeemember | Moctezuma Ochoa, Daniela | |
| dc.contributor.committeemember | Villaseñor Pineda, Luis | |
| dc.contributor.department | School of Engineering and Sciences | es_MX |
| dc.contributor.institution | Campus Estado de México | es_MX |
| dc.date.accessioned | 2025-09-26T16:32:29Z | |
| dc.date.issued | 2024-06-12 | |
| dc.description.abstract | With the rise of social media, these platforms have emerged as a crucial source of information for studying people's thoughts and behaviors. By using natural language processing and machine learning techniques, prior studies have explored the language of users living with different mental health conditions. However, these efforts have focused on analyzing conditions in isolation, particularly depression, and have relied on English-language data. The goal of this study is to examine the communications of English- and Spanish-speaking Twitter users through traditional and deep learning algorithms to automatically recognize whether they live with one of nine mental health conditions. To achieve that, we created two datasets in English and Spanish. The “diagnosed” set comprises the timeline of 1,500 users who explicitly reported in one or more of their posts having been diagnosed with one of the following: ADHD, Anxiety, Autism, Bipolar, Depression, Eating disorders, OCD, PTSD, and Schizophrenia. The “control” set comprises the timeline of 1,700 randomly selected users who had not disclosed a diagnosis. We extracted a variety of text features from the collected data, such as n-grams, q-grams, Part-of-speech (POS) tags, topic modeling, Linguistic Inquiry and Word Count (LIWC), and word embeddings, and trained traditional machine learning and deep learning classifiers for two tasks: binary classification, to distinguish between diagnosed and non-diagnosed users, and multiclass classification, to identify the specific diagnosis. The performance of the models was analyzed using 5-fold cross-validation, four different classification metrics (AUC, F1-score, Precision, and Recall), and the Friedman non-parametric test with the Finner post-hoc procedure. Overall, XGBoost and CNN performed the best in the two classification tasks. Employing our collected datasets, in binary classification, we achieved an AUC of 0.835 on the Spanish Twitter dataset using n-grams of words from one to three (UBT) and 0.846 on the English Twitter dataset with a 5-gram characters (C5) model. In multiclass classification, we obtained an AUC of 0.747 and 0.697 in the Spanish and English Twitter datasets, respectively. In the second phase of our research, we introduced a model named BiLEMD for the multiclass classification of mental disorders. Our approach adopts a hierarchical detection strategy, where each base model within our framework leverages diverse textual features. We aim to emulate, to some extent, the step-by-step approach employed in human clinical diagnostics. In clinical practice, professionals first determine the presence or absence of a condition before proceeding to specify its type. Although BiLEMD achieved the highest ranking in both the Spanish and English Twitter datasets, statistical significance differences were not observed. Nevertheless, additional analysis revealed that ensembles, including BiLEMD and Stacking, reduce misclassification within the control class. Moreover, BiLEMD exhibits slightly superior performance in terms of AUC and Recall compared to other classifiers. The development of computer-based methods for recognizing and classifying social media user profiles related to different mental health conditions could enhance the performance of applications aimed at early diagnosis and timely treatment. | es_MX |
| dc.description.degree | Doctor of Philosophy in Computer Science | |
| dc.format.medium | Texto | |
| dc.identificator | 120304||320105 | |
| dc.identifier.citation | Villa-Pérez, M. E. (2014) Automatic Detection of Mental Health Disorders in Social Media [Tesis de doctorado]. Tecnologico de Monterrey | es_MX |
| dc.identifier.cvu | 637273 | es_MX |
| dc.identifier.orcid | https://orcid.org/0000-0003-0236-4919 | |
| dc.identifier.scopusid | 57215653581 | es_MX |
| dc.identifier.uri | https://hdl.handle.net/11285/704176 | |
| dc.language.iso | eng | |
| dc.publisher | Instituto Tecnológico y de Estudios Superiores de Monterrey | es_MX |
| dc.relation.isFormatOf | acceptedVersion | |
| dc.rights | openAccess | es_MX |
| dc.rights.uri | http://creativecommons.org/licenses/by-nc-sa/4.0 | es_MX |
| dc.subject.classification | INGENIERÍA Y TECNOLOGÍA::CIENCIAS TECNOLÓGICAS::TECNOLOGÍA DE LOS ORDENADORES::INTELIGENCIA ARTIFICIAL | |
| dc.subject.classification | MEDICINA Y CIENCIAS DE LA SALUD::CIENCIAS MÉDICAS::PSIQUIATRÍA::PSICOLOGÍA CLÍNICA | |
| dc.subject.keyword | Mental health | |
| dc.subject.keyword | Multiclass classification | |
| dc.subject.keyword | Social media | |
| dc.subject.keyword | ||
| dc.subject.keyword | Machine learning | |
| dc.subject.lcsh | Science | |
| dc.subject.lcsh | Technology | |
| dc.title | Automatic detection of mental health disorders in social media | es_MX |
| dc.type | Tesis Doctorado / doctoral Thesis | es_MX |
Files
Original bundle
1 - 4 of 4
Loading...
- Name:
- VillaPerez_TesisDoctorado.pdf
- Size:
- 9.02 MB
- Format:
- Adobe Portable Document Format
- Description:
- Tesis Doctorado
Loading...
- Name:
- VillaPerezMiryam Elizabeth_TesisOriginal_pdf
- Size:
- 9.37 MB
- Format:
- Adobe Portable Document Format
- Description:
- Tesis Original
Loading...
- Name:
- VillaPerez_ActaGradoDeclaracionAutoria.pdf
- Size:
- 442.91 KB
- Format:
- Adobe Portable Document Format
- Description:
- Acta de Grado y Declaración de Autoría
Loading...
- Name:
- VillaPerez_CartaAutorizacion_pdf
- Size:
- 46.77 KB
- Format:
- Microsoft Word XML
- Description:
- Carta Autorización
License bundle
1 - 1 of 1
Loading...
- Name:
- license.txt
- Size:
- 1.3 KB
- Format:
- Item-specific license agreed upon to submission
- Description:

