A Fine-Tuned Bidirectional Encoder Representations From Transformers Model for Food Named-Entity Recognition: Algorithm Development and Validation
Open accessPublished version of a preprint
Abstract
Background: Recently, food science has been garnering a lot of attention. There are many open research questions on food interactions, as one of the main environmental factors, with other health-related entities such as diseases, treatments, and drugs. In the last 2 decades, a large amount of work has been done in natural language processing and machine learning to enable biomedical information extraction. However, machine learning in food science domains remains inadequately resourced, which brings to attention the problem of developing methods for food information extraction. There are only few food semantic resources and few rule-based methods for food information extraction, which often depend on some external resources. However, an annotated corpus with food entities along with their normalization was published in 2019 by using several food semantic resources. Objective: In this study, we investigated how the recently published bidirectional encoder representations from transformers (BERT) model, which provides state-of-the-art results in information extraction, can be fine-tuned for food information extraction. Methods: We introduce FoodNER, which is a collection of corpus-based food named-entity recognition methods. It consists of 15 different models obtained by fine-tuning 3 pretrained BERT models on 5 groups of semantic resources: food versus nonfood entity, 2 subsets of Hansard food semantic tags, FoodOn semantic tags, and Systematized Nomenclature of Medicine Clinical Terms food semantic tags. Results: All BERT models provided very promising results with 93.30% to 94.31% macro F1 scores in the task of distinguishing food versus nonfood entity, which represents the new state-of-the-art technology in food information extraction. Considering the tasks where semantic tags are predicted, all BERT models obtained very promising results once again, with their macro F1 scores ranging from 73.39% to 78.96%. Conclusions: FoodNER can be used to extract and annotate food entities in 5 different tasks: food versus nonfood entities and distinguishing food entities on the level of food groups by using the closest Hansard semantic tags, the parent Hansard semantic tags, the FoodOn semantic tags, or the Systematized Nomenclature of Medicine Clinical Terms semantic tags.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Transformers, exemplified by the Bidirectional Encoder Representations from Transformers (BERT) model, have exhibited superior performance across a wide range of natural language processing tasks and have been successfully adapted for time series analysis.
“Transformers, exemplified by the Bidirectional Encoder Representations from Transformers (BERT) model, have exhibited superior performance across a wide range of natural language processing tasks and have been successfully adapted for time series analysis [45, 46].”
From Integrating machine learning and artificial intelligence in life-course epidemiology: pathways to innovative public health solutions (2024) · cites this paper as [46]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
The citation lists haven’t been fetched yet
References 48 · Cited by 37
Research works printed but not linked: 9
- [7]Leaman R Wei CH Zou C Lu Z Mining patents with tmChem, GNormPlus and an ensemble of open systems Proceedings of the Fifth Biocreative Challenge Evaluation Workshop 2021-07-05 https://biocreative.bioinformatics.udel.edu/media/store/files/2015/BCV2015_paper_61.pdf
- [9]Lopez MM Kalita J Deep learning applied to NLP Cornell University 2021-06-24 https://arxiv.org/abs/1703.03091 · arXiv
- [10]Devlin J Chang MW Lee K Toutanova K Bert: Pre-training of deep bidirectional transformers for language understanding Cornell University 2021-06-24 https://arxiv.org/abs/1810.04805 · arXiv
- [25]Cohen KB Demner-Fushman D Ananiadou S Tsujii J Biomedical natural language processing in 2017: The view from computational linguistics The Association for Computational Linguistics 2021-06-24 https://aclanthology.org/W17-23.pdf
- [33]Jonquet C Shah N Youn C Callendar C Storey MA Musen M NCBO annotator: semantic annotation of biomedical data International Semantic Web Conference 2021-06-24 http://www.lirmm.fr/~jonquet/publications/documents/Demo-ISWC09-Jonquet.pdf
- [46]Rayson P Archer D Piao S McEnery AM The UCREL semantic analysis system 2004 Proceedings of the beyond named entity recognition semantic labelling for NLP tasks workshop January 2004 Lisbon, Portugal 7 12
- [51]Hung Z Xu W Yu K Bidirectional LSTM-CRF models for sequence tagging Cornell University 2015 2021-07-05 https://arxiv.org/abs/1508.01991 · arXiv
- [53]Mikolov T Chen K Corrado G Dean J Efficient estimation of word representations in vector space Cornell University 2021-07-05 https://arxiv.org/abs/1301.3781 · arXiv
- [57]Stojanov R Popovski G Cenikj G Koroušić Seljak B Eftimov T FoodNER GitHub 2021-05-19 https://github.com/ds4food/FoodNer/tree/master/data PMC8415558 34383671
- Authors
- Stojanov, R., Popovski, G., Cenikj, G., Koroušić Seljak, B., & Eftimov, T.
- Affiliations
- Ss. Cyril and Methodius University in Skopje (MK)
- Jožef Stefan Institute (SI)
- Corresponding author
- Eftimov, Tome
- Venue
- Journal of Medical Internet Research
- Publisher
- JMIR Publications Inc.
- Published
- 2021-08-09
- Volume
- 23
- Issue
- 8
- Pages
- e28229
- ISSN
- 1438-8871 (ISSN-L)
- PMC
- PMC8415558
- OpenAlex
- W3187709454
- Cited by
- 37
- References
- 48
- Citations by year
- 2026: 8 · 2025: 7 · 2024: 5 · 2023: 9 · 2022: 7 · 2021: 1
- FWCI
- 1.94
- Type
- journal article
- Language
- en
- Open access
- gold
- doi.org
- Licence
- cc-by
- Locations
- Journal of Medical Internet Research (publishedVersion, cc-by)
- Europe PMC (PubMed Central) (publishedVersion, other-oa)
- PubMed Central (publishedVersion, cc-by)
- PubMed (publishedVersion)
- DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion)
- Funders
- European Commission (HORIZON2020, 863059)
- Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung
- Javna Agencija za Raziskovalno Dejavnost RS (P2-0098)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Life Sciences › Biochemistry, Genetics and Molecular Biology › Molecular Biology › Biomedical Text Mining and Ontologies
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Keywords
- BERT fine-tuning, biomedical text annotation
- MeSH terms
- Machine Learning, Algorithms, Humans, Natural Language Processing, Semantics, Information Storage and Retrieval
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review