mlsanityData to 7 Oct 2026

KitchenScale: Learning to predict ingredient quantities from recipe contexts

arXiv 2304.10739 ↗First posted 21 Apr 2023cs.CL cs.AI cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Determining proper quantities for ingredients is an essential part of cooking practice from the perspective of enriching tastiness and promoting healthiness. We introduce KitchenScale, a fine-tuned Pre-trained Language Model (PLM) that predicts a target ingredient's quantity and measurement unit given its recipe context. To effectively train our KitchenScale model, we formulate an ingredient quantity prediction task that consists of three sub-tasks which are ingredient measurement type classification, unit classification, and quantity regression task. Furthermore, we utilized transfer learning of cooking knowledge from recipe texts to PLMs. We adopted the Discrete Latent Exponent (DExp) method to cope with high variance of numerical scales in recipe corpora. Experiments with our newly constructed dataset and recommendation examples demonstrate KitchenScale's understanding of various recipe contexts and generalizability in predicting ingredient quantities. We implemented a web application for KitchenScale to demonstrate its functionality in recommending ingredient quantities expressed in numerals (e.g., 2) with units (e.g., ounce).

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 21 of its 44 references that are in the map. First posted on arXiv 21 Apr 2023.

Builds on

21 of 44 references.

References · 21

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  5. 2020Pretrained Transformers for Text Ranking: BERT and Beyondcited by 266
  6. 2019Do NLP Models Know Numbers? Probing Numeracy in Embeddingscited by 157
  7. 2018Recipe1M+: A Dataset for Learning Cross-Modal Embeddings for Cooking Recipes and Food Imagescited by 118
  8. 2020Birds have four legs?! NumerSense: Probing Numerical Commonsense Knowledge of Pre-trained Language Modelscited by 110
  9. 2021Representing Numbers in NLP: a Survey and a Visioncited by 83
  10. 2020Do Language Embeddings Capture Scales?cited by 63
  11. 2018Numeracy for Language Models: Evaluating and Improving their Ability to Predict Numberscited by 42
  12. 2021It's not Rocket Science : Interpreting Figurative Language in Narrativescited by 39
9 more
  1. 2020RecipeGPT: Generative Pre-training Based Cooking Recipe Generation and Evaluation Systemcited by 34
  2. 2022Standing on the Shoulders of Giant Frozen Language Modelscited by 33
  3. 2019How Large Are Lions? Inducing Distributions over Quantitative Attributescited by 26
  4. 2020An Empirical Investigation of Contextualized Number Predictioncited by 21
  5. 2021Hyperbolic Hypergraphs for Sequential Recommendationcited by 21
  6. 2021SHARE: a System for Hierarchical Assistive Recipe Editingcited by 15
  7. 2021Masked Measurement Prediction: Learning to Jointly Predict Quantities and Units from Textual Contextcited by 5
  8. 2019KitcheNette: Predicting and Recommending Food Ingredient Pairings using Siamese Neural Networkscited by 4
  9. 2022RecipeMind: Guiding Ingredient Choices from Food Pairing to Recipe Completion using Cascaded Set Transformercited by 4

Built on by

Cited by year

Citing papers per year: 2024: 2.

2 papers.