Salvato in:
Dettagli Bibliografici
Autori principali: Ortega, Fernando, Lara-Cabrera, Raúl, Dueñas-Lerín, Jorge, de la Torre-Luque, Alejandro, Robert, Mercé Salvador, Baca-García, Enrique
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:https://arxiv.org/abs/2605.21154
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911702146088960
author Ortega, Fernando
Lara-Cabrera, Raúl
Dueñas-Lerín, Jorge
de la Torre-Luque, Alejandro
Robert, Mercé Salvador
Baca-García, Enrique
author_facet Ortega, Fernando
Lara-Cabrera, Raúl
Dueñas-Lerín, Jorge
de la Torre-Luque, Alejandro
Robert, Mercé Salvador
Baca-García, Enrique
contents Mental health has become a global priority, leading to a massive administrative burden in the coding of clinical diagnoses. This study proposes the automation of psychiatric diagnostic analysis by mapping free-text descriptions to the International Classification of Diseases (ICD) using Natural Language Processing (NLP) and Machine Learning (ML) techniques. Utilizing a specialized dataset of 145,513 Spanish psychiatric descriptions, various text representation paradigms were evaluated, ranging from classical frequency-based models (BoW, TF-IDF) to state-of-the-art Large Language Models (LLMs) such as e5\_large, BioLORD, and Llama-3-8B. Results indicate that transformer-based embeddings consistently outperform traditional methods by capturing implicit semantic cues and nuanced medical terminology. The e5\_large model, through end-to-end fine-tuning, achieved the highest performance with a $F1_{micro}$ score of 0.866. This research demonstrates that adapting LLMs to specific clinical nomenclature is essential for overcoming the challenges of ``long-tail'' label distributions and the inherent ambiguity of psychiatric discourse.
format Preprint
id arxiv_https___arxiv_org_abs_2605_21154
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Automated ICD Classification of Psychiatric Diagnoses: From Classical NLP to Large Language Models
Ortega, Fernando
Lara-Cabrera, Raúl
Dueñas-Lerín, Jorge
de la Torre-Luque, Alejandro
Robert, Mercé Salvador
Baca-García, Enrique
Computation and Language
Artificial Intelligence
Machine Learning
Mental health has become a global priority, leading to a massive administrative burden in the coding of clinical diagnoses. This study proposes the automation of psychiatric diagnostic analysis by mapping free-text descriptions to the International Classification of Diseases (ICD) using Natural Language Processing (NLP) and Machine Learning (ML) techniques. Utilizing a specialized dataset of 145,513 Spanish psychiatric descriptions, various text representation paradigms were evaluated, ranging from classical frequency-based models (BoW, TF-IDF) to state-of-the-art Large Language Models (LLMs) such as e5\_large, BioLORD, and Llama-3-8B. Results indicate that transformer-based embeddings consistently outperform traditional methods by capturing implicit semantic cues and nuanced medical terminology. The e5\_large model, through end-to-end fine-tuning, achieved the highest performance with a $F1_{micro}$ score of 0.866. This research demonstrates that adapting LLMs to specific clinical nomenclature is essential for overcoming the challenges of ``long-tail'' label distributions and the inherent ambiguity of psychiatric discourse.
title Automated ICD Classification of Psychiatric Diagnoses: From Classical NLP to Large Language Models
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2605.21154