We introduce SHARE: a System for Hierarchical Assistive Recipe Editing to assist home cooks with dietary restrictions -- a population under-served by existing cooking resources. Our hierarchical recipe editor makes necessary substitutions to a recipe's ingredients list and re-writes the directions to make use of the new ingredients. We introduce the novel RecipePairs dataset of 84K pairs of similar recipes in which one recipe satisfies one of seven dietary constraints, allowing for supervised training of such recipe editing models. Experiments on this dataset demonstrate that our system produces convincing, coherent recipes that are appropriate for a target dietary constraint (contain no prohibited ingredients). We show that this is a challenging task that cannot be adequately solved with human-written ingredient substitution rules or straightforward adaptation of state-of-the-art models for recipe generation. We further demonstrate through human evaluations and real-world cooking trials that recipes edited by our system can be easily followed by home cooks to create delicious and satisfactory dishes.
翻译:我们引入了一个等级辅助食谱编辑系统,帮助家庭厨师饮食上的限制 -- -- 即现有烹饪资源不足的人口。我们的分级食谱编辑对食谱成分列表做了必要的替换,并重写了使用新成分的方向。我们引入了84K对类似食谱的新型食谱配方数据集,其中一种配方满足了七种饮食限制中的一种,允许对食谱编辑模式进行有监督的培训。这一数据集的实验表明,我们的系统产生了令人信服的、一致的配方,适合目标饮食限制(不含违禁成分)。我们表明,这是一项艰巨的任务,不能通过人造成分替代规则或直接调整最先进的食谱制作模式来充分解决。我们通过人类评估和现实世界烹饪试验进一步证明,我们系统编辑的食谱很容易被家厨师跟踪,以创造美味和满意的菜盘。