Abstract
Language models (LMs) such as BERT and GPT have revolutionized natural language processing (NLP). However, the medical field faces challenges in training LMs due to limited data access and privacy constraints imposed by regulations like the Health Insurance Portability and Accountability Act (HIPPA) and the General Data Protection Regulation (GDPR). Federated learning (FL) offers a decentralized solution that enables collaborative learning while ensuring data privacy. In this study, we evaluated FL on 2 biomedical NLP tasks encompassing 8 corpora using 6 LMs. Our results show that: 1) FL models consistently outperformed models trained on individual clients’ data and sometimes performed comparably with models trained with polled data; 2) with the fixed number of total data, FL models training with more clients produced inferior performance but pre-trained transformer-based models exhibited great resilience. 3) FL models significantly outperformed large language models using zero-/one-shot learning and offered lightning inference speed.
Competing Interest Statement
The authors have declared no competing interest.
Funding Statement
This work was in part supported by Cisco Research under award number 1085646 PO USA000EP390223.
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.
Yes
Data Availability
All data produced are available online at: 2018 n2c2: https://portal.dbmi.hms.harvard.edu/projects/n2c2-nlp/ BC2GM:https://biocreative.bioinformatics.udel.edu/tasks/ BC4CHEMD:https://biocreative.bioinformatics.udel.edu/resources/biocreative-iv/chemdner-corpus/JNLPBA:http://www.geniaproject.org/shared-tasks/bionlp-jnlpba-shared-task-2004 NCBI-disease:https://www.ncbi.nlm.nih.gov/CBBresearch/Dogan/DISEASE/ EUADR: https://biosemantics.erasmusmc.nl/index.php/resources/euadr-corpus GAD:https://maayanlab.cloud/Harmonizome/dataset/GAD+Gene-Disease+Associati ons
https://portal.dbmi.hms.harvard.edu/projects/n2c2-nlp/
https://biocreative.bioinformatics.udel.edu/tasks/
https://biocreative.bioinformatics.udel.edu/resources/biocreative-iv/chemdner-corpus/
http://www.geniaproject.org/shared-tasks/bionlp-jnlpba-shared-task-2004
https://www.ncbi.nlm.nih.gov/CBBresearch/Dogan/DISEASE/
https://biosemantics.erasmusmc.nl/index.php/resources/euadr-corpus
https://maayanlab.cloud/Harmonizome/dataset/GAD+Gene-Disease+Associations