Towards automated recipe genre classification using semi-supervised learning
Open Access
- 28 January 2025
- journal article
- research article
- Published by Public Library of Science (PLoS) in PLOS ONE
- Vol. 20 (1) , e0317697
Abstract
Sharing cooking recipes is a great way to exchange culinary ideas and provide instructions for food preparation. However, categorizing raw recipes found online into appropriate food genres can be challenging due to a lack of adequate labeled data. In this study, we present a dataset named the “Assorted, Archetypal, and Annotated Two Million Extended (3A2M+) Cooking Recipe Dataset” that contains two million culinary recipes labeled in respective categories with extended named entities extracted from recipe descriptions. This collection of data includes various features such as title, NER, directions, and extended NER, as well as nine different labels representing genres including bakery, drinks, non-veg, vegetables, fast food, cereals, meals, sides, and fusions. The proposed pipeline named 3A2M+ extends the size of the Named Entity Recognition (NER) list to address missing named entities like heat, time or process from the recipe directions using two NER extraction tools. 3A2M+ dataset provides a comprehensive solution to the various challenging recipe-related tasks, including classification, named entity recognition, and recipe generation. Furthermore, we have demonstrated traditional machine learning, deep learning and pre-trained language models to classify the recipes into their corresponding genre and achieved an overall accuracy of 98.6%. Our investigation indicates that the title feature played a more significant role in classifying the genre.Keywords
This publication has 23 references indexed in Scilit:
- Assorted, Archetypal and Annotated Two Million (3A2M) Cooking Recipes Dataset Based on Active Learning2023
- MARPPI: boosting prediction of protein–protein interactions with multi-scale architecture residual networkBriefings in Bioinformatics, 2022
- Recipe1M+: A Dataset for Learning Cross-Modal Embeddings for Cooking Recipes and Food ImagesIEEE Transactions on Pattern Analysis and Machine Intelligence, 2019
- Analysis of classification models based on cuisine prediction using machine learning2017
- Learning Cross-Modal Embeddings for Cooking Recipes and Food Images2017
- What is an ROC curve?Emergency Medicine Journal, 2017
- Cooking Recipe Recommendation Method Focusing on the Relationship Between User Preference and Ingredient Quantity2014
- Exploring Folksonomy and Cooking Procedures to Boost Cooking Recipe Recommendation2011
- CLASSIFICATION OF IMBALANCED DATA: A REVIEWInternational Journal of Pattern Recognition and Artificial Intelligence, 2009
- Support-vector networksMachine Learning, 1995