Score: 1

Losses that Cook: Topological Optimal Transport for Structured Recipe Generation

Published: January 5, 2026 | arXiv ID: 2601.02531v1

By: Mattia Ottoborgo, Daniele Rege Cambrin, Paolo Garza

Potential Business Impact:

Makes recipes more accurate and easier to follow.

Business Areas:
Recipes Food and Beverage

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 NLG metrics and recipe-specific metrics, we find that our loss significantly improves ingredient- and action-level 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.

Country of Origin
🇮🇹 Italy

Repos / Data Links

Page Count
11 pages

Category
Computer Science:
Computation and Language