BERT Pre-training for Cooking Time Prediction from Cooking Recipes
Recently, websites that allow ordinary users to share and search for recipes have become popular. Typically, each recipe contains various information such as a title, a list of ingredients, and descriptions of the cooking process through text and photos. The estimated cooking time is another valuable piece of information when selecting a recipe. However, it can be difficult to accurately describe cooking time because it depends on the cooking environment and conditions, such as heat level and quantity. Therefore, some recipes do not include cooking time information. In this study, we consider the prediction of cooking time in general cases from the list of ingredients and the textual description of the cooking process of each recipe by BERT, a natural language processing model. For this purpose, we propose an additional pre-training method that weights words related to cooking time from a cooking ontology. Our experimental results show that our methods outperform a fine-tuned BERT model with additional pre-training by a standard method.
Authors
- Sayaka Kamei (ORCID: https://orcid.org/0000-0003-1716-3028)
- Yasuhiko Morimoto (ORCID: https://orcid.org/0000-0002-1736-8800)
- K. Sugioka
Institutions
- Hiroshima University (JP)
Publication Details
- Published
- 2024-11-26
- DOI
- https://doi.org/10.1109/candarw64572.2024.00032
- Primary Topic
- Time Series Analysis and Forecasting
- Type
- article
- Field-Weighted Citation Impact
- 0.00