Lune

ACL Findings2026

Losses that Cook: Topological Optimal Transport for Structured Recipe Generation

Mattia Ottoborgo, Daniele Rege Cambrin, Paolo Garza

Abstract

Cooking recipes are complex procedures that require not only a fluent and factual text, but also accurate timing, temperature, and procedural coherence, as well as the correct composition of ingredients. Standard training procedures are primarily based on cross-entropy and focus solely on fluency. Building on RECIPE-NLG, we investigate the use of several composite objectives and present a new topological loss that represents ingredient lists as point clouds in embedding space, minimizing the divergence between predicted and gold ingredients. Using both standard language generation metrics and recipe-specific metrics, we find that our loss significantly improves ingredient-and actionlevel metrics. Meanwhile, the Dice loss excels in time/temperature precision, and the mixed loss yields competitive trade-offs with synergistic gains in quantity and time. A human preference analysis supports our finding, showing our model is preferred in 62% of the cases.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on3

  1. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
  2. Not All Tokens Are What You Need for PretrainingZhenghao Lin, Zhibin Gou, Yeyun Gong, Xiao Liu et al.NeurIPS 2024 · 99 citations
  3. Beyond Accuracy Optimization: Computer Vision Losses for Large Language Model Fine-TuningDaniele Rege Cambrin, Giuseppe Gallipoli, Irene Benedetto, Luca Cagliero et al.EMNLP Findings 2024

Related papers

  1. Aligning Actions Across Recipe GraphsLucia Donatelli, Theresa Schmidt, Debanjali Biswas, Arne Köhn et al.EMNLP 2021
  2. Routing Enforced Generative Model for Recipe GenerationZhiwei Yu, Hongyu Zang, Xiaojun WanEMNLP 2020 · 9 citations
  3. Recipe2Plan: Evaluating Planning Abilities of LLMs for Efficient and Feasible Multitasking with Time Constraints Between ActionsZirui Wu, Xiao Liu, Jiayi Li, Lingpeng Kong et al.EMNLP Findings 2025
  4. A Highly Clean Recipe Dataset with Ingredient States Annotation for State Probing TaskMashiro Toyooka, Kiyoharu Aizawa, Yoko YamakataACM MM 2025
  5. RECIPTOR: An Effective Pretrained Model for Recipe Representation LearningDiya Li, Mohammed J. ZakiKDD 2020 · 28 citations
Dusk over the sea between two cliffs drawn in fine vertical lines