Flavor Pairing in Medieval European Cuisine: A Study in Cooking with Dirty Data

Kush R. Varshney, Lav R. Varshney, Jun Wang, Daniel MyersarXiv 2013

Abstract

This study investigates the "flavor pairing hypothesis"—the theory that ingredients sharing chemical flavor compounds are more likely to be used together—within the context of Medieval European cuisine. By analyzing a newly compiled corpus of over 4,000 historical recipes and comparing results across two chemical databases of varying completeness, the authors demonstrate a significant "data quality flip." While sparse datasets suggest a preference for flavor pairing, more comprehensive data reveals a preference for contrasting flavors. This research highlights the critical impact of data "dirtiness" on computational creativity and historical culinary analysis.

Introduction

In the field of computational creativity, algorithms often rely on the flavor pairing hypothesis to generate novel recipes. Previous studies have suggested that modern Western cuisines follow this principle, while East Asian cuisines tend to avoid it. However, applying this logic to historical data presents a unique challenge: "Dirty Data." Historical texts are often incomplete, filled with archaic synonyms, and difficult to map to modern chemical databases. This paper explores whether Medieval European cooks—operating before the Columbian Exchange introduced staples like tomatoes and chilies—actually followed the flavor pairing rule, or if our understanding is simply a byproduct of messy data.

Methodology and Datasets

The researchers employed a three-step statistical framework to test the hypothesis:

  1. Corpus Creation: Digitizing and standardizing 4,133 recipes from 25 source texts (1300–1615) across England, France, Germany, and Italy.
  2. Ingredient Mapping: Translating medieval terms (e.g., "eyren" for eggs) into modern chemical identifiers.
  3. Statistical Testing: Comparing the average number of shared compounds ($N_s$) in real recipes against randomly generated "null hypothesis" recipes. A positive $\Delta N_s$ indicates flavor pairing, while a negative value indicates flavor contrast.
The frequency-rank distribution of ingredients in the medieval corpus follows a typical power-law, with a few common staples and a long tail of rare ingredients.

The study utilized two distinct chemical databases for comparison: Fenaroli’s Handbook (a sparser dataset with 1,107 compounds) and the Volatile Compounds in Food (VCF) database (a comprehensive set with 7,647 unique compounds).

Key Results: The Data Quality Flip

The most striking finding of the paper is the "aha moment" regarding data quality. When using the sparser Fenaroli dataset, the results showed a strong positive correlation ($\Delta N_s = +6.72$), suggesting Medieval Europeans loved flavor pairing. However, when the more detailed VCF dataset was applied, the result flipped to a negative correlation ($\Delta N_s = -2.75$), indicating a preference for contrasting flavors.

This discrepancy was largely attributed to the treatment of fish. Medieval recipes relied heavily on various fish species, which are much better documented in the VCF database. The more complete chemical profiles revealed that the ingredients typically paired with fish in the Middle Ages did not actually share many compounds with them.

Probability density of the number of ingredients per recipe, showing a peak around 7-8 ingredients, with some complex recipes containing over 40.

In terms of recipe complexity, the average Medieval dish contained 7.74 ingredients. While most recipes were relatively simple, the distribution shows a significant tail of high-complexity dishes containing up to 42 ingredients.

Discussion and Limitations

The findings suggest that Medieval cooks may have worked harder to achieve culinary balance through contrast, given the more limited palette of ingredients available before the global exchange of crops. However, the authors acknowledge several limitations, including an "elite bias" (as the recipes come from wealthy households) and the fact that the study analyzes raw ingredients rather than the chemical changes induced by cooking processes.

Ultimately, this study serves as a cautionary tale for data scientists: the completeness of a dataset can entirely reverse the scientific conclusions drawn from it. Future work may involve re-evaluating modern culinary trends using more comprehensive chemical databases to see if our current understanding of flavor pairing holds up under cleaner data.

Summary updated

BibTeX
@misc{varshney2013flavor,
  author = {Kush R. Varshney and Lav R. Varshney and Jun Wang and Daniel Myers},
  title = {{Flavor Pairing in Medieval European Cuisine: A Study in Cooking with Dirty Data}},
  year = {2013},
  eprint = {1307.7982},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1307.7982},
}
Figure