Deep Learning Based Named Entity Recognition Models for Recipes

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Goel, Mansi, Agarwal, Ayush, Agrawal, Shubham, Kapuriya, Janak, Konam, Akhil Vamshi, Gupta, Rishabh, Rastogi, Shrey, Niharika, Bagler, Ganesh
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909218000338944
author Goel, Mansi
Agarwal, Ayush
Agrawal, Shubham
Kapuriya, Janak
Konam, Akhil Vamshi
Gupta, Rishabh
Rastogi, Shrey
Niharika
Bagler, Ganesh
author_facet Goel, Mansi
Agarwal, Ayush
Agrawal, Shubham
Kapuriya, Janak
Konam, Akhil Vamshi
Gupta, Rishabh
Rastogi, Shrey
Niharika
Bagler, Ganesh
contents Food touches our lives through various endeavors, including flavor, nourishment, health, and sustainability. Recipes are cultural capsules transmitted across generations via unstructured text. Automated protocols for recognizing named entities, the building blocks of recipe text, are of immense value for various applications ranging from information extraction to novel recipe generation. Named entity recognition is a technique for extracting information from unstructured or semi-structured data with known labels. Starting with manually-annotated data of 6,611 ingredient phrases, we created an augmented dataset of 26,445 phrases cumulatively. Simultaneously, we systematically cleaned and analyzed ingredient phrases from RecipeDB, the gold-standard recipe data repository, and annotated them using the Stanford NER. Based on the analysis, we sampled a subset of 88,526 phrases using a clustering-based approach while preserving the diversity to create the machine-annotated dataset. A thorough investigation of NER approaches on these three datasets involving statistical, fine-tuning of deep learning-based language models and few-shot prompting on large language models (LLMs) provides deep insights. We conclude that few-shot prompting on LLMs has abysmal performance, whereas the fine-tuned spaCy-transformer emerges as the best model with macro-F1 scores of 95.9%, 96.04%, and 95.71% for the manually-annotated, augmented, and machine-annotated datasets, respectively.
format Preprint
id arxiv_https___arxiv_org_abs_2402_17447
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Deep Learning Based Named Entity Recognition Models for Recipes
Goel, Mansi
Agarwal, Ayush
Agrawal, Shubham
Kapuriya, Janak
Konam, Akhil Vamshi
Gupta, Rishabh
Rastogi, Shrey
Niharika
Bagler, Ganesh
Computation and Language
Artificial Intelligence
Information Retrieval
Food touches our lives through various endeavors, including flavor, nourishment, health, and sustainability. Recipes are cultural capsules transmitted across generations via unstructured text. Automated protocols for recognizing named entities, the building blocks of recipe text, are of immense value for various applications ranging from information extraction to novel recipe generation. Named entity recognition is a technique for extracting information from unstructured or semi-structured data with known labels. Starting with manually-annotated data of 6,611 ingredient phrases, we created an augmented dataset of 26,445 phrases cumulatively. Simultaneously, we systematically cleaned and analyzed ingredient phrases from RecipeDB, the gold-standard recipe data repository, and annotated them using the Stanford NER. Based on the analysis, we sampled a subset of 88,526 phrases using a clustering-based approach while preserving the diversity to create the machine-annotated dataset. A thorough investigation of NER approaches on these three datasets involving statistical, fine-tuning of deep learning-based language models and few-shot prompting on large language models (LLMs) provides deep insights. We conclude that few-shot prompting on LLMs has abysmal performance, whereas the fine-tuned spaCy-transformer emerges as the best model with macro-F1 scores of 95.9%, 96.04%, and 95.71% for the manually-annotated, augmented, and machine-annotated datasets, respectively.
title Deep Learning Based Named Entity Recognition Models for Recipes
topic Computation and Language
Artificial Intelligence
Information Retrieval
url https://arxiv.org/abs/2402.17447