{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,27]],"date-time":"2026-10-27T07:14:09Z","timestamp":1793085249232,"version":"4.5.0"},"reference-count":88,"publisher":"Oxford University Press (OUP)","issue":"9","license":[{"start":{"date-parts":[[2024,3,15]],"date-time":"2024-03-15T00:00:00Z","timestamp":1710460800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/academic.oup.com\/pages\/standard-publication-reuse-rights"}],"funder":[{"name":"Instituto de Ingenier\u00eda del Conocimiento and R&D&i"},{"name":"ACCESS2MEET","award":["PID2020-116527RB-I0"],"award-info":[{"award-number":["PID2020-116527RB-I0"]}]},{"name":"ACCESS2MEET","award":["MCIN AEI\/10.13039\/501100011033\/"],"award-info":[{"award-number":["MCIN AEI\/10.13039\/501100011033\/"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2024,9,1]]},"abstract":"<jats:title>Abstract<\/jats:title>\n               <jats:sec>\n                  <jats:title>Objectives<\/jats:title>\n                  <jats:p>This comparative analysis aims to assess the efficacy of encoder Language Models for clinical tasks in the Spanish language. The primary goal is to identify the most effective resources within this context<\/jats:p>\n               <\/jats:sec>\n               <jats:sec>\n                  <jats:title>Importance<\/jats:title>\n                  <jats:p>This study highlights a critical gap in NLP resources for the Spanish language, particularly in the clinical sector. Given the vast number of Spanish speakers globally and the increasing reliance on electronic health records, developing effective Spanish language models is crucial for both clinical research and healthcare delivery. Our work underscores the urgent need for specialized encoder models in Spanish that can handle clinical data with high accuracy, thus paving the way for advancements in healthcare services and biomedical research for Spanish-speaking populations.<\/jats:p>\n               <\/jats:sec>\n               <jats:sec>\n                  <jats:title>Materials and Methods<\/jats:title>\n                  <jats:p>We examined 17 distinct corpora with a focus on clinical tasks. Our evaluation centered on Spanish Language Models and Spanish Clinical Language models (both encoder-based). To ascertain performance, we meticulously benchmarked these models across a curated subset of the corpora. This extensive study involved fine-tuning over 3000 models.<\/jats:p>\n               <\/jats:sec>\n               <jats:sec>\n                  <jats:title>Results<\/jats:title>\n                  <jats:p>Our analysis revealed that the best models are not clinical models, but general-purpose models. Also, the biggest models are not always the best ones. The best-performing model, RigoBERTa 2, obtained an average F1 score of 0.880 across all tasks.<\/jats:p>\n               <\/jats:sec>\n               <jats:sec>\n                  <jats:title>Discussion<\/jats:title>\n                  <jats:p>Our study demonstrates the advantages of dedicated encoder-based Spanish Clinical Language models over generative models. However, the scarcity of diverse corpora, mostly focused on NER tasks, underscores the need for further research. The limited availability of high-performing models emphasizes the urgency for development in this area.<\/jats:p>\n               <\/jats:sec>\n               <jats:sec>\n                  <jats:title>Conclusion<\/jats:title>\n                  <jats:p>Through systematic evaluation, we identified the current landscape of encoder Language Models for clinical tasks in the Spanish language. While challenges remain, the availability of curated corpora and models offers a foundation for advancing Spanish Clinical Language models. Future efforts in refining these models are essential to elevate their effectiveness in clinical NLP.<\/jats:p>\n               <\/jats:sec>","DOI":"10.1093\/jamia\/ocae054","type":"journal-article","created":{"date-parts":[[2024,3,15]],"date-time":"2024-03-15T19:51:04Z","timestamp":1710532264000},"page":"2137-2146","source":"Crossref","is-referenced-by-count":11,"title":["A comparative analysis of Spanish Clinical encoder-based models on NER and classification tasks"],"prefix":"10.1093","volume":"31","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-0731-4726","authenticated-orcid":false,"given":"Guillem","family":"Garc\u00eda Subies","sequence":"first","affiliation":[{"name":"Computer Science Department, Universidad Carlos III de Madrid , Legan\u00e9s, Spain"},{"name":"AI Department, Instituto de Ingenier\u00eda del Conocimiento , Madrid, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"\u00c1lvaro","family":"Barbero Jim\u00e9nez","sequence":"additional","affiliation":[{"name":"AI Department, Instituto de Ingenier\u00eda del Conocimiento , Madrid, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Paloma","family":"Mart\u00ednez Fern\u00e1ndez","sequence":"additional","affiliation":[{"name":"Computer Science Department, Universidad Carlos III de Madrid , Legan\u00e9s, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"286","published-online":{"date-parts":[[2024,3,15]]},"reference":[{"key":"2024082207511873700_ocae054-B1","volume-title":"Ethnologue: Languages of the World","author":"Eberhard","year":"2023","edition":"26th ed"},{"key":"2024082207511873700_ocae054-B2","first-page":"175","author":"Lhoest","year":"2021"},{"key":"2024082207511873700_ocae054-B3","author":"Devlin","year":"2019"},{"key":"2024082207511873700_ocae054-B4","author":"Brown","year":"2020"},{"key":"2024082207511873700_ocae054-B5","year":"2023"},{"key":"2024082207511873700_ocae054-B6","author":"Liu","year":"2023"},{"issue":"4","key":"2024082207511873700_ocae054-B7","doi-asserted-by":"crossref","first-page":"1234","DOI":"10.1093\/bioinformatics\/btz682","article-title":"BioBERT: a pre-trained biomedical language representation model for biomedical text mining","volume":"36","author":"Lee","year":"2019","journal-title":"Bioinformatics"},{"key":"2024082207511873700_ocae054-B8","author":"Gu","year":"2020"},{"issue":"6","key":"2024082207511873700_ocae054-B9","doi-asserted-by":"crossref","DOI":"10.1093\/bib\/bbac409","article-title":"BioGPT: generative pre-trained transformer for biomedical text generation and mining","volume":"23","author":"Luo","journal-title":"Brief Bioinform"},{"key":"2024082207511873700_ocae054-B10","author":"Wang","year":"2023"},{"key":"2024082207511873700_ocae054-B11"},{"key":"2024082207511873700_ocae054-B12","first-page":"323","volume-title":"18e Conf\u00e9rence en Recherche D\u2019Information et Applications 16e Rencontres Jeunes Chercheurs en RI 30e Conf\u00e9rence Sur le Traitement Automatique Des Langues Naturelles 25e Rencontre Des \u00c9tudiants Chercheurs en Informatique Pour le Traitement Automatique Des Langues","author":"Touchent","year":"2023"},{"key":"2024082207511873700_ocae054-B13","author":"Mikolov","year":"2013"},{"key":"2024082207511873700_ocae054-B14","first-page":"1532","author":"Pennington","year":"2014"},{"key":"2024082207511873700_ocae054-B15","first-page":"1","author":"Won Chung","year":"2023"},{"key":"2024082207511873700_ocae054-B16","author":"NVIDIA Corporation","year":"2023"},{"key":"2024082207511873700_ocae054-B17","first-page":"1","author":"Jouppi","year":"2017"},{"key":"2024082207511873700_ocae054-B18","author":"Amazon Web Services","year":"2023"},{"issue":"8","key":"2024082207511873700_ocae054-B19","doi-asserted-by":"crossref","first-page":"2554","DOI":"10.1073\/pnas.79.8.2554","article-title":"Neural networks and physical systems with emergent collective computational abilities","volume":"79","author":"Hopfield","year":"1982","journal-title":"Proc Natl Acad Sci USA"},{"issue":"6088","key":"2024082207511873700_ocae054-B20","doi-asserted-by":"crossref","first-page":"533","DOI":"10.1038\/323533a0","article-title":"Learning representations by back-propagating errors","volume":"323","author":"Rumelhart","year":"1986","journal-title":"Nature"},{"issue":"11","key":"2024082207511873700_ocae054-B21","doi-asserted-by":"crossref","first-page":"2673","DOI":"10.1109\/78.650093","article-title":"Bidirectional recurrent neural networks","volume":"45","author":"Schuster","year":"1997","journal-title":"IEEE Trans Signal Process"},{"issue":"8","key":"2024082207511873700_ocae054-B22","doi-asserted-by":"crossref","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","article-title":"Long short-term memory","volume":"9","author":"Hochreiter","year":"1997","journal-title":"Neural Comput"},{"key":"2024082207511873700_ocae054-B23","first-page":"1724","author":"Cho","year":"2014"},{"key":"2024082207511873700_ocae054-B24","first-page":"135","author":"Bojanowski","year":"2017"},{"key":"2024082207511873700_ocae054-B25","author":"Vaswani","year":"2017"},{"key":"2024082207511873700_ocae054-B26","first-page":"2227","author":"Peters","year":"2018"},{"key":"2024082207511873700_ocae054-B27","first-page":"54","author":"Akbik","year":"2019"},{"key":"2024082207511873700_ocae054-B28","author":"Liu","year":"2019"},{"key":"2024082207511873700_ocae054-B29","author":"He","year":"2021"},{"key":"2024082207511873700_ocae054-B30","author":"Zhou","year":"2023"},{"key":"2024082207511873700_ocae054-B31","first-page":"38","author":"Wolf","year":"2020"},{"key":"2024082207511873700_ocae054-B32","first-page":"175","author":"Lhoest","year":"2021"},{"key":"2024082207511873700_ocae054-B33","author":"Huggingface","year":"2023"},{"key":"2024082207511873700_ocae054-B34","author":"Radford","year":"2018"},{"issue":"8","key":"2024082207511873700_ocae054-B35","first-page":"9","article-title":"Language models are unsupervised multitask learners","volume":"1","author":"Radford","year":"2019","journal-title":"OpenAI Blog"},{"key":"2024082207511873700_ocae054-B36","first-page":"99","author":"Sakaguchi","year":"2021"},{"key":"2024082207511873700_ocae054-B37","first-page":"27730","author":"Ouyang","year":"2022"},{"key":"2024082207511873700_ocae054-B38","author":"Touvron","year":"2023"},{"key":"2024082207511873700_ocae054-B39","first-page":"1","author":"Gonzalo","year":"2021"},{"key":"2024082207511873700_ocae054-B40","first-page":"1","author":"Gonzalo","year":"2022"},{"key":"2024082207511873700_ocae054-B41","doi-asserted-by":"crossref","first-page":"164717","DOI":"10.1109\/ACCESS.2020.3018688","article-title":"Testing contextualized word embeddings to improve ner in Spanish clinical case narratives","volume":"8","author":"Akhtyamova","year":"2020","journal-title":"IEEE Access"},{"key":"2024082207511873700_ocae054-B42","doi-asserted-by":"crossref","first-page":"601","DOI":"10.1186\/s12859-021-04247-9","article-title":"Analyzing transfer learning impact in biomedical cross-lingual named entity recognition and normalization","volume":"22","author":"Rivera-Zavala","year":"2021","journal-title":"BMC Bioinformatics"},{"key":"2024082207511873700_ocae054-B43","author":"Hoffmann","year":"2022"},{"key":"2024082207511873700_ocae054-B44","first-page":"4344","author":"Abadji"},{"key":"2024082207511873700_ocae054-B45","author":"Pio Carrino","year":"2021"},{"key":"2024082207511873700_ocae054-B46","unstructured":"Intxaurrondo A. \u00a0SPACCC [Data set]. Zenodo, 2018. https:\/\/doi.org\/10.5281\/zenodo.2560316"},{"key":"2024082207511873700_ocae054-B47","first-page":"17","author":"Minard","year":"2021"},{"key":"2024082207511873700_ocae054-B48","first-page":"280","article-title":"Finding mentions of abbreviations and their definitions in Spanish clinical cases: the barr2 shared task evaluation results","volume":"2150","author":"Intxaurrondo","year":"2018","journal-title":"IberEval@ SEPLN"},{"key":"2024082207511873700_ocae054-B49","first-page":"303","author":"Miranda-Escalada","year":"2020"},{"key":"2024082207511873700_ocae054-B50","doi-asserted-by":"crossref","first-page":"106581","DOI":"10.1016\/j.compbiomed.2023.106581","article-title":"Cares: a corpus for classification of Spanish radiological reports","volume":"154","author":"Chizhikova","year":"2023","journal-title":"Comput Biol Med"},{"key":"2024082207511873700_ocae054-B51","first-page":"291","author":"B\u00e1ez","year":"2020"},{"key":"2024082207511873700_ocae054-B52","author":"Miranda-Escalada","year":"2020"},{"issue":"1","key":"2024082207511873700_ocae054-B53","doi-asserted-by":"crossref","first-page":"69","DOI":"10.1186\/s12911-021-01395-z","article-title":"A clinical trials corpus annotated with umls\u00a9 entities to enhance the access to evidence-based medicine","volume":"21","author":"Campillos-Llanos","year":"2021","journal-title":"BMC Med Inform Decis Mak"},{"key":"2024082207511873700_ocae054-B54","first-page":"179","author":"Miranda-Escalada","year":"2022"},{"issue":"00","key":"2024082207511873700_ocae054-B55","first-page":"233","article-title":"Overview of the ehealth knowledge discovery challenge at iberlef 2021","volume":"67","author":"Piad-Morfis","year":"2021","journal-title":"Procesamiento Del Lenguaje Natural"},{"key":"2024082207511873700_ocae054-B56","first-page":"43","author":"Marimon","year":"2017"},{"key":"2024082207511873700_ocae054-B57","doi-asserted-by":"crossref","first-page":"318","DOI":"10.1016\/j.jbi.2015.06.016","article-title":"On the creation of a clinical gold standard corpus in Spanish: mining adverse drug reactions","volume":"56","author":"Oronoz","year":"2015","journal-title":"J Biomed Inform"},{"key":"2024082207511873700_ocae054-B58","first-page":"241","author":"Miranda-Escalada","year":"2022"},{"key":"2024082207511873700_ocae054-B59","first-page":"618","author":"Marimon","year":"2019"},{"key":"2024082207511873700_ocae054-B60","author":"Lima"},{"key":"2024082207511873700_ocae054-B61","first-page":"1","author":"Gonzalez-Agirre","year":"2019"},{"key":"2024082207511873700_ocae054-B62","first-page":"182","volume-title":"Proceedings of the Seventh Workshop on Social Media Mining for Health Applications, Workshop & Shared Task","author":"S\u00e1nchez","year":"2022"},{"key":"2024082207511873700_ocae054-B63","unstructured":"Almagro M, Mart\u00ednez R, Fresno V, et al \u00a0Spanish clinical embeddings (SCE) [Data set]. Zenodo, 2021. https:\/\/doi.org\/10.5281\/zenodo.5149010"},{"key":"2024082207511873700_ocae054-B64","unstructured":"Chiu C, Villena F, Martin K, et al \u00a0Word embeddings for the Spanish clinical language [Data set]. Zenodo, 2022. https:\/\/doi.org\/10.5281\/zenodo.6647060"},{"key":"2024082207511873700_ocae054-B65","first-page":"87","author":"Rojas","year":"2022"},{"key":"2024082207511873700_ocae054-B66","first-page":"2014","author":"Muennighoff","year":"2023"},{"key":"2024082207511873700_ocae054-B67","author":"Ca\u00f1ete","year":"2020"},{"key":"2024082207511873700_ocae054-B68","unstructured":"Ca\u00f1ete J. \u00a0Compilation of large Spanish unannotated corpora [Data set]. Zenodo, 2019. https:\/\/doi.org\/10.5281\/zenodo.3247731"},{"key":"2024082207511873700_ocae054-B69","first-page":"39","article-title":"Maria: Spanish language models","author":"Fandi\u00f1o","year":"2022","journal-title":"Procesamiento Del Lenguaje Natural"},{"key":"2024082207511873700_ocae054-B70","author":"Serrano","year":"2022"},{"key":"2024082207511873700_ocae054-B71","first-page":"483","author":"Xue","year":"2021"},{"key":"2024082207511873700_ocae054-B72","author":"Agerri","year":"2022"},{"key":"2024082207511873700_ocae054-B73","first-page":"8440","author":"Conneau","year":"2020"},{"key":"2024082207511873700_ocae054-B74","author":"He","year":"2021"},{"key":"2024082207511873700_ocae054-B75","author":"Reuters","year":"2023"},{"key":"2024082207511873700_ocae054-B76","author":"Nori","year":"2023"},{"key":"2024082207511873700_ocae054-B77","doi-asserted-by":"crossref","first-page":"72387","DOI":"10.1109\/ACCESS.2021.3080085","article-title":"Transformers for clinical coding in Spanish","volume":"9","author":"L\u00f3pez-Garc\u00eda","year":"2021","journal-title":"IEEE Access"},{"key":"2024082207511873700_ocae054-B78","first-page":"8342","author":"Gururangan","year":"2020"},{"issue":"21","key":"2024082207511873700_ocae054-B79","first-page":"1","article-title":"Gal\u00e9n: Sistema de informaci\u00f3n para la gesti\u00f3n y coordinaci\u00f3n de procesos en un servicio de oncolog\u00eda","volume":"6","author":"Ribelles","year":"2010","journal-title":"RevistaeSalud"},{"key":"2024082207511873700_ocae054-B80","first-page":"193","author":"Carrino","year":"2022"},{"key":"2024082207511873700_ocae054-B81","author":"Touvron","year":"2023"},{"key":"2024082207511873700_ocae054-B82","first-page":"10755","author":"Almazrouei","year":"2023"},{"key":"2024082207511873700_ocae054-B83","author":"Zheng","year":"2023"},{"key":"2024082207511873700_ocae054-B84","first-page":"2022","author":"Le Scao T, Fan A, Akiki C, et al."},{"key":"2024082207511873700_ocae054-B85","author":"Mosbach","year":"2020"},{"key":"2024082207511873700_ocae054-B86","author":"Dodge","year":"2020"},{"key":"2024082207511873700_ocae054-B87","first-page":"675","author":"Bang","year":"2023"},{"key":"2024082207511873700_ocae054-B88","author":"Chen","year":"2023"}],"container-title":["Journal of the American Medical Informatics Association"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/academic.oup.com\/jamia\/article-pdf\/31\/9\/2137\/58868058\/ocae054.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/academic.oup.com\/jamia\/article-pdf\/31\/9\/2137\/58868058\/ocae054.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,8,22]],"date-time":"2024-08-22T10:53:03Z","timestamp":1724323983000},"score":1,"resource":{"primary":{"URL":"https:\/\/academic.oup.com\/jamia\/article\/31\/9\/2137\/7630016"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,3,15]]},"references-count":88,"journal-issue":{"issue":"9","published-online":{"date-parts":[[2024,3,15]]},"published-print":{"date-parts":[[2024,9,1]]}},"URL":"https:\/\/doi.org\/10.1093\/jamia\/ocae054","relation":{},"ISSN":["1067-5027","1527-974X"],"issn-type":[{"value":"1067-5027","type":"print"},{"value":"1527-974X","type":"electronic"}],"subject":[],"published-other":{"date-parts":[[2024,9]]},"published":{"date-parts":[[2024,3,15]]}}}