<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. ICT</journal-id>
<journal-title>Frontiers in ICT</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. ICT</abbrev-journal-title>
<issn pub-type="epub">2297-198X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fict.2017.00014</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>ICT</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Food-Bridging: A New Network Construction to Unveil the Principles of Cooking</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Simas</surname> <given-names>Tiago</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="corresp" rid="cor1">&#x0002A;</xref>
<uri xlink:href="http://frontiersin.org/people/u/232842"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Ficek</surname> <given-names>Michal</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Diaz-Guilera</surname> <given-names>Albert</given-names></name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<uri xlink:href="http://frontiersin.org/people/u/97172"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Obrador</surname> <given-names>Pere</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Rodriguez</surname> <given-names>Pablo R.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Telefonica Research, Edificio Telefonica</institution>, <addr-line>Barcelona</addr-line>, <country>Spain</country></aff>
<aff id="aff2"><sup>2</sup><institution>Department of Psychiatry, University of Cambridge</institution>, <addr-line>Cambridge</addr-line>, <country>United Kingdom</country></aff>
<aff id="aff3"><sup>3</sup><institution>Departament de Fisica de la Materia Condensada, Universitat de Barcelona</institution>, <addr-line>Barcelona</addr-line>, <country>Spain</country></aff>
<aff id="aff4"><sup>4</sup><institution>Universitat de Barcelona Institute of Complex Systems (UBICS), Universitat de Barcelona</institution>, <addr-line>Barcelona</addr-line>, <country>Spain</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Lav R. Varshney, University of Illinois at Urbana&#x02013;Champaign, United States</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Michael S. Vitevitch, University of Kansas, United States; Yong Yeol Ahn, Indiana University System, United States</p></fn>
<corresp content-type="corresp" id="cor1">&#x0002A;Correspondence: Tiago Simas, <email>tiago.simas&#x00040;telefonica.com</email></corresp>
<fn fn-type="other" id="fn001"><p>Specialty section: This article was submitted to Big Data, a section of the journal Frontiers in ICT</p></fn>
</author-notes>
<pub-date pub-type="epub">
<day>02</day>
<month>06</month>
<year>2017</year>
</pub-date>
<pub-date pub-type="collection">
<year>2017</year>
</pub-date>
<volume>4</volume>
<elocation-id>14</elocation-id>
<history>
<date date-type="received">
<day>01</day>
<month>02</month>
<year>2017</year>
</date>
<date date-type="accepted">
<day>03</day>
<month>05</month>
<year>2017</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2017 Simas, Ficek, Diaz-Guilera, Obrador and Rodriguez.</copyright-statement>
<copyright-year>2017</copyright-year>
<copyright-holder>Simas, Ficek, Diaz-Guilera, Obrador and Rodriguez</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license>
</permissions>
<abstract>
<p>In this manuscript, we propose, analyze, and discuss a possible new principle behind traditional cuisine: the Food-bridging hypothesis and its comparison with the food-pairing hypothesis using the same dataset and graphical models employed in the food-pairing study by Ahn et al. (<xref ref-type="bibr" rid="B2">2011</xref>). The Food-bridging hypothesis assumes that if two ingredients do not share a strong molecular or empirical affinity, they may become affine through a chain of pairwise affinities. That is, in a graphical model as employed by Ahn et al., a chain represents a path that joints the two ingredients, the shortest path represents the strongest pairwise chain of affinities between the two ingredients. Food-pairing and Food-bridging are different hypotheses that may describe possible mechanisms behind the recipes of traditional cuisines. Food-pairing intensifies flavor by mixing ingredients in a recipe with similar chemical compounds, and food-bridging smoothes contrast between ingredients. Both food-pairing and food-bridging are observed in traditional cuisines, as shown in this work. We observed four classes of cuisines according to food-pairing and food-bridging: (1) East Asian cuisines, at one extreme, tend to avoid food-pairing as well as food-bridging; and (4) Latin American cuisines, at the other extreme, follow both principles. For the two middle classes: (2) Southeastern Asian cuisines, avoid food-pairing and follow food-bridging; and (3) Western cuisines, follow food-pairing and avoid food-bridging.</p>
</abstract>
<kwd-group>
<kwd>food-pairing</kwd>
<kwd>food-bridging</kwd>
<kwd>semi-metricity</kwd>
<kwd>complex network theory</kwd>
<kwd>graph theory</kwd>
<kwd>metric backbone</kwd>
<kwd>semi-metric backbone</kwd>
</kwd-group>
<counts>
<fig-count count="5"/>
<table-count count="0"/>
<equation-count count="5"/>
<ref-count count="17"/>
<page-count count="9"/>
<word-count count="4760"/>
</counts>
</article-meta>
</front>
<body>
<sec id="S1" sec-type="introduction">
<label>1</label> <title>Introduction</title>
<p>Since the introduction by Francois Benzi and Heston Blumenthal of the Food-pairing hypothesis, a debate on this hypothesis has been risen in gastronomy science and cuisine. Originally it states that, if two ingredients share important flavor compounds,<xref ref-type="fn" rid="fn1"><sup>1</sup></xref> there is a good chance that they will result in a tasty combination (Ahn et al., <xref ref-type="bibr" rid="B2">2011</xref>; Ahn and Ahnert, <xref ref-type="bibr" rid="B1">2013</xref>). In the last few years, this hypothesis attracted foodies, many chefs, and scientists. If food-pairing is one of the main principles behind our taste preferences, scientifically this would allow us to predict and build many successful new ingredient affinities based on which flavors they are composed.</p>
<p>Ahn et al. (<xref ref-type="bibr" rid="B2">2011</xref>) present a study of the food-pairing hypothesis across several regional cuisines, employing a set of tools, which derive from a new scientific field: complex networks, a sub-field of complex systems (Boccaletti et al., <xref ref-type="bibr" rid="B3">2006</xref>). These mathematical techniques were applied to several regional cuisines, to encode a relation between ingredients and flavors as a network, where nodes and edges represent ingredients and flavors sharing, respectively. This network is called flavor network from now on. The authors have observed that Western cuisines show a tendency toward the food-pairing hypothesis, i.e., their flavor network contains many pairs of ingredients that share many flavor compounds, and that Eastern Asian cuisines tend to avoid compound sharing between ingredients. The study of food-pairing has lately been applied to other specific regional cuisines (Varshney et al., <xref ref-type="bibr" rid="B16">2013</xref>; Jain et al., <xref ref-type="bibr" rid="B6">2015</xref>; Kim et al., <xref ref-type="bibr" rid="B9">2015</xref>).</p>
<p>The hypothesis of food-bridging stems from the combination of the theory of complex networks and gastronomy (Burdock, <xref ref-type="bibr" rid="B4">2004</xref>; Ahn et al., <xref ref-type="bibr" rid="B2">2011</xref>; Simas, <xref ref-type="bibr" rid="B15">2012</xref>; Simas and Rocha, <xref ref-type="bibr" rid="B12">2012</xref>, <xref ref-type="bibr" rid="B13">2015</xref>; Vega et al., <xref ref-type="bibr" rid="B17">2012</xref>; Ahn and Ahnert, <xref ref-type="bibr" rid="B1">2013</xref>; Jain et al., <xref ref-type="bibr" rid="B6">2015</xref>). It assumes that if two ingredients do not share a strong molecular or empirical affinity, they may become affine through a chain of pairwise affinities. That is, apricot and whiskey gum may not be affine, but if we join (or bridge) them with tomato they may become affine&#x02014;assuming that tomato is affine with apricot and whiskey gum, thus creating a chain of affinities. In a graphical model of a flavor network, this corresponds to a path that joints the two ingredients, but not necessarily the shortest path. However, the shortest path represents the strongest pairwise chain of affinities between the two ingredients.</p>
<p>In this manuscript, we analyze and discuss the food-bridging hypothesis with a restriction to the optimal case, which corresponds to the shortest path in the graphical model. We use the same dataset and graphical models employed in the study of Ahn et al. (<xref ref-type="bibr" rid="B2">2011</xref>). This allows us to perform a direct comparative study between food-pairing and food-bridging.</p>
</sec>
<sec id="S2" sec-type="materials|methods">
<label>2</label> <title>Materials and Methods</title>
<sec id="S2-1">
<label>2.1</label> <title>Data and Ingredient Networks</title>
<p>The data used in this work as well as the methods employed to build ingredient networks are based on the work of Ahn et al. (<xref ref-type="bibr" rid="B2">2011</xref>). In short, the flavor network is a weighted graph obtained from a bipartite graph that relates 1,530 ingredients with 1,106 flavor compounds (Ahn et al., <xref ref-type="bibr" rid="B2">2011</xref>). Nodes in the flavor network represent the ingredients, edge weights are the number of flavors compounds shared between pairs of ingredients (Ahn et al., <xref ref-type="bibr" rid="B2">2011</xref>).</p>
<p>We removed some regional cuisines from the original work (Ahn et al., <xref ref-type="bibr" rid="B2">2011</xref>). The reason behind is that we employed the null-model frequency-conserving described in the Ahn et al. (<xref ref-type="bibr" rid="B2">2011</xref>) supplementary materials, and after a permutation test and multi-comparison correction (False Discovery Rate), they show evidence of no statistical difference when compared with the null-model on the variables: food-pairing and food-bridging.</p>
<p>In general, the weights of a weighted network lie in a non-normalized interval <italic>Z<sub>ij</sub></italic>&#x02009;&#x02208;&#x02009;[<italic>a</italic>, <italic>b</italic>]&#x02009;&#x02282;&#x02009;&#x0211D;. Normalizing the network weights to the unit interval <italic>I</italic>&#x02009;&#x0003D;&#x02009;[0, 1] does not affect network properties, if the normalization is performed by a linear function. As shown in Simas and Rocha (<xref ref-type="bibr" rid="B13">2015</xref>), there is only one unique linear function that performs such normalization.</p>
<disp-formula id="E1"><label>(1)</label><mml:math id="M2"><mml:msub><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="italic">ij</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">&#x0003D;</mml:mo><mml:mfrac><mml:mrow><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo class="MathClass-bin">&#x02212;</mml:mo><mml:mn>2&#x003F5;</mml:mn></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="italic">ij</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-bin">&#x0002B;</mml:mo><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:mn>2&#x003F5;</mml:mn><mml:mo class="MathClass-bin">&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow><mml:mo class="MathClass-bin">&#x022C5;</mml:mo><mml:mi mathvariant="italic">MIN</mml:mi><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="italic">ij</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi mathvariant="italic">MAX</mml:mi><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="italic">ij</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow><mml:mo class="MathClass-bin">&#x02212;</mml:mo><mml:mi mathvariant="italic">MIN</mml:mi><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="italic">ij</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:mrow></mml:mfrac><mml:mo class="MathClass-bin">&#x0002B;</mml:mo><mml:mn>&#x003F5;</mml:mn></mml:math></disp-formula>
<p>We have parameterized this function with &#x003F5; in order to avoid merging and/or isolating vertices with weights at the boundaries of <italic>Z<sub>ij</sub></italic>&#x02009;&#x02208;&#x02009;[<italic>a</italic>, <italic>b</italic>]. In general, &#x003F5; is set to 0.01.</p>
<p>This normalization allows us to apply the framework described in Simas and Rocha (<xref ref-type="bibr" rid="B13">2015</xref>), i.e., allows us to treat weighted graphs as mathematical objects defined in a specific algebra (Simas and Rocha, <xref ref-type="bibr" rid="B13">2015</xref>; Simas et al., <xref ref-type="bibr" rid="B10">2015a</xref>), similar to the way in which we use algebras to deal with numbers.</p>
</sec>
<sec id="S2-2">
<label>2.2</label> <title>Food-Pairing, Food-Bridging, and Flavor Network Semi-Metricity</title>
<sec id="S2-2-1">
<label>2.2.1</label> <title>Food-Pairing</title>
<p>As defined in Ahn et al. (<xref ref-type="bibr" rid="B2">2011</xref>), food-pairing is measured by the number of flavors a pair of ingredients share. The food-pairing value of a recipe is the average number of shared flavors in the recipe, as defined in Ahn et al. (<xref ref-type="bibr" rid="B2">2011</xref>) and is calculated from the following equation:
<disp-formula id="E2"><label>(2)</label><mml:math id="M3"><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow><mml:mo class="MathClass-rel">&#x0003D;</mml:mo><mml:mfrac><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-bin">&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:mrow></mml:mfrac><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi><mml:mo class="MathClass-rel">&#x02208;</mml:mo><mml:mi>R</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi><mml:mo class="MathClass-rel">&#x02260;</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:munder></mml:mstyle><mml:mn>&#x0007C;</mml:mn><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-bin">&#x02229;</mml:mo><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mn>&#x0007C;</mml:mn></mml:math></disp-formula>
where <italic>C<sub>k</sub></italic> corresponds to the edge weight between the pair of ingredients in the flavor network, and <italic>n<sub>R</sub></italic> is the number of ingredients in the recipe <italic>R</italic>. Each recipe defines a sub-graph in the flavor network and <italic>N<sub>s</sub></italic>(<italic>R</italic>) corresponds to the average of all edges in such sub-graph.</p>
</sec>
<sec id="S2-2-2">
<label>2.2.2</label> <title>Metric and Semi-Metric Edges and Paths</title>
<p>As defined in Simas (<xref ref-type="bibr" rid="B15">2012</xref>), Simas and Rocha (<xref ref-type="bibr" rid="B12">2012</xref>, <xref ref-type="bibr" rid="B13">2015</xref>), Simas et al. (<xref ref-type="bibr" rid="B10">2015a</xref>,<xref ref-type="bibr" rid="B11">b</xref>), Kalavri et al. (<xref ref-type="bibr" rid="B8">2016</xref>), and Simas and Suckling (<xref ref-type="bibr" rid="B14">2016</xref>), an edge in a weighted graph is metric if the shortest path is equal to the edge by itself (direct connection). Otherwise, the edge is considered semi-metric, which means that there is at least one alternative path that involves other nodes. See Figure <xref ref-type="fig" rid="F1">1</xref> for an example.</p>
<fig position="float" id="F1">
<label>Figure 1</label>
<caption><p><bold>Semi-metric edge and paths example from the flavor network</bold>. The white edge that links &#x0201C;garlic&#x02009;&#x0002B;&#x02009;strawberry&#x0201D; shares 5 flavors. Therefore, it is semi-metric, because there are two alternative paths, the yellow and orange paths, that better overlap flavors or food-pairs based in a chain of other ingredients, smoothing the initial flavor contrast between these ingredients. The two semi-metric paths that connect &#x0201C;garlic-strawberry&#x0201D; are: (1) yellow path, with &#x0201C;garlic&#x02009;&#x0002B;&#x02009;roasted onion&#x02009;&#x0002B;&#x02009;bantu beer&#x02009;&#x0002B;&#x02009;strawberry,&#x0201D; which shares 16&#x02009;&#x0002B;&#x02009;32&#x02009;&#x0002B;&#x02009;88&#x02009;&#x0003D;&#x02009;136 flavors; and (2) orange path, with &#x0201C;garlic&#x02009;&#x0002B;&#x02009;roasted beef&#x02009;&#x0002B;&#x02009;strawberry,&#x0201D; which shares 11&#x02009;&#x0002B;&#x02009;63&#x02009;&#x0003D;&#x02009;74 flavors. The first semi-metric path may inspire a &#x0201C;garlic-strawberry&#x0201D; sauce, based on &#x0201C;garlic&#x02009;&#x0002B;&#x02009;roasted onion&#x02009;&#x0002B;&#x02009;bantu beer&#x02009;&#x0002B;&#x02009;strawberry,&#x0201D; and with the second semi-metric path may inspire the dish composed of &#x0201C;roasted beef&#x0201D; with garlic-strawberry sauce. This figure is an adapted print screen of the application developed by Telefonica I&#x02009;&#x0002B;&#x02009;D Appetit Team and available online at <uri xlink:href="http://appetit.lab.tid.es">http://appetit.lab.tid.es</uri>&#x02014;with Telefonica I&#x02009;&#x0002B;&#x02009;D printing permission.</p></caption>
<graphic xlink:href="fict-04-00014-g001.tif"/>
</fig>
<p>We may observe in a network of ingredients that two nodes are more strongly connected by other paths (semi-metric paths), whether or not there is a direct edge between them. Figure <xref ref-type="fig" rid="F1">1</xref> shows an example of the combination of &#x0201C;garlic&#x0201D; and &#x0201C;strawberry&#x0201D; from the flavor network, which share 5 flavors when mixed together. In this figure, we show how we may increase the poor affinity between these two ingredients by adding additional ingredients that play in the semi-metric paths of the flavor network. From the flavor network, at least two semi-metric paths are stronger than the edge that connects them. In this case, among the possible stronger paths, the optimal semi-metric path is the path that indirectly connects the two ingredients in this network; that is, the path &#x0201C;garlic&#x02009;&#x0002B;&#x02009;roasted onion&#x02009;&#x0002B;&#x02009;bantu beer&#x02009;&#x0002B;&#x02009;strawberry.&#x0201D; These intermediate ingredients potentiate the affinity between &#x0201C;garlic&#x02014;strawberry.&#x0201D; Other semi-metric paths may exist as we show in this example: &#x0201C;garlic&#x02009;&#x0002B;&#x02009;roast beef&#x02009;&#x0002B;&#x02009;strawberry.&#x0201D;</p>
<p>Food-pairing is a particular case for which we only consider direct connections, if they exist. In another words, <italic>k</italic>&#x02009;&#x0003D;&#x02009;0 <italic>hops</italic> (0 nodes in between). However, with semi-metric paths, we allow two ingredients to be strongly connected with <italic>k</italic>&#x02009;&#x0003E;&#x02009;0 <italic>hops</italic>, whether the edge between the ingredients exists or not.</p>
<p>There are many ways to calculate such alternative paths between any two nodes in a weighted graph. Refer to the Figure <xref ref-type="fig" rid="F1">1</xref> in Simas and Suckling (<xref ref-type="bibr" rid="B14">2016</xref>) for a summary of this calculation and, see further details in Johnson (<xref ref-type="bibr" rid="B7">1977</xref>), Simas and Rocha (<xref ref-type="bibr" rid="B13">2015</xref>), Simas et al. (<xref ref-type="bibr" rid="B11">2015b</xref>), Kalavri et al. (<xref ref-type="bibr" rid="B8">2016</xref>), and Simas and Suckling (<xref ref-type="bibr" rid="B14">2016</xref>).</p>
</sec>
<sec id="S2-2-3">
<label>2.2.3</label> <title>Food-Bridging</title>
<p>Food-bridging is a hypothesis, which assumes that if two ingredients do not share a strong molecular or empirical affinity, they may become affine through a chain of pairwise affinities. That is, apricot and whiskey gum may not be affine, but if we join (or bridge) them with tomato they may become affine&#x02014;assuming that tomato is affine with both apricot and whiskey gum, thus creating a chain of affinities.</p>
<p>Food-bridging is the ability to connect a pair of ingredients, which may or may not have a direct connection, through a path of non-repeating ingredients within a network of ingredient affinities; in the specific case of this work, the flavor network. Several paths may exist, or none. In the case that no path exists, we say that no bridge exists, otherwise, a bridge exists and all possible bridges are ranked by the strength of the path.</p>
<p>The notion of food-bridging is directly related to semi-metric connections between ingredients in a network of ingredients as briefly mentioned above. Semi-metricity in weighted graphs is a mathematical property of distance that measures all levels of triangle inequality violations. That is, all <italic>k&#x02009;&#x02212;&#x02009;hop</italic> inequalities violations between two ingredients, where <italic>k</italic>&#x02009;&#x02265;&#x02009;1 means that we have <italic>k</italic> intermediate ingredients, see Figures <xref ref-type="fig" rid="F1">1</xref> and <xref ref-type="fig" rid="F3">3</xref>B for an example. The degree of food-bridging in a recipe is defined as an average of all semi-metric edges in a recipe, or by the average strength of all optimal semi-metric paths, respectively.</p>
<p>More specifically, we define the recipe optimal food-bridging strength <inline-formula><mml:math id="M5"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="italic">sm</mml:mi></mml:mrow><mml:mrow><mml:mo class="MathClass-bin">&#x02217;</mml:mo></mml:mrow></mml:msubsup><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:math></inline-formula> as an average of the strengths of all the optimal paths between any pair of ingredients in the defined recipe sub-graph:
<disp-formula id="E3"><label>(3)</label><mml:math id="M6"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="italic">sm</mml:mi></mml:mrow><mml:mrow><mml:mo class="MathClass-bin">&#x02217;</mml:mo></mml:mrow></mml:msubsup><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow><mml:mo class="MathClass-rel">&#x0003D;</mml:mo><mml:mfrac><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-bin">&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:mrow></mml:mfrac><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi><mml:mo class="MathClass-rel">&#x02208;</mml:mo><mml:mi>R</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>i</mml:mi><mml:mo class="MathClass-rel">&#x02260;</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:munder></mml:mstyle><mml:mfrac><mml:mrow><mml:mn>&#x003B4;</mml:mn><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">&#x0003E;</mml:mo><mml:mn>1</mml:mn><mml:mo class="MathClass-bin">&#x02227;</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">&#x0003C;</mml:mo><mml:mo class="MathClass-bin">&#x0002B;</mml:mo><mml:mo class="MathClass-rel">&#x0221E;</mml:mo></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-bin">&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfrac></mml:math></disp-formula>
where
<disp-formula id="E4"><mml:math id="M7"><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">&#x0003D;</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mrow><mml:mi>c</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:math></disp-formula>
is the semi-metric ratio in the weighted sub-graph defined by the recipe <italic>R</italic> in the flavor network (Simas and Rocha, <xref ref-type="bibr" rid="B13">2015</xref>; Simas et al., <xref ref-type="bibr" rid="B11">2015b</xref>; Kalavri et al., <xref ref-type="bibr" rid="B8">2016</xref>; Simas and Suckling, <xref ref-type="bibr" rid="B14">2016</xref>): <italic>d<sub>i,j</sub></italic> is the direct distance and <italic>dc<sub>i,j</sub></italic> denotes the shortest path between ingredients <italic>i</italic> and <italic>j</italic>, respectively. &#x003B4; is the <italic>discrete-Kronecker</italic> function, i.e., &#x003B4;(<italic>condition</italic>)&#x02009;&#x0003D;&#x02009;1, if the logical condition <italic>True</italic>, otherwise &#x003B4;(<italic>condition</italic>)&#x02009;&#x0003D;&#x02009;0&#x02014;for logical condition equals False. That is, the equation numerator; <inline-formula><mml:math id="M8"><mml:msub><mml:mrow><mml:mo class="MathClass-op">&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mn>&#x003B4;</mml:mn><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">&#x0003E;</mml:mo><mml:mn>1</mml:mn><mml:mo class="MathClass-bin">&#x02227;</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">&#x0003C;</mml:mo><mml:mo class="MathClass-bin">&#x0002B;</mml:mo><mml:mo class="MathClass-rel">&#x0221E;</mml:mo></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:math></inline-formula>, counts only the semi-metric edges.</p>
<p>Although we define the recipe optimal food-bridging strength <inline-formula><mml:math id="M9"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="italic">sm</mml:mi></mml:mrow><mml:mrow><mml:mo class="MathClass-bin">&#x02217;</mml:mo></mml:mrow></mml:msubsup><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:math></inline-formula>, in this work we measure the degree of food-bridging in a recipe as the average of all semi-metric edges in a recipe, which represents a simpler version.</p>
</sec>
<sec id="S2-2-4">
<label>2.2.4</label> <title>Network Semi-Metric Percentage</title>
<p>As defined in Simas and Rocha (<xref ref-type="bibr" rid="B13">2015</xref>), Simas et al. (<xref ref-type="bibr" rid="B11">2015b</xref>), Kalavri et al. (<xref ref-type="bibr" rid="B8">2016</xref>), and Simas and Suckling (<xref ref-type="bibr" rid="B14">2016</xref>), the network semi-metric percentage is given by the following equation:
<disp-formula id="E5"><label>(4)</label><mml:math id="M10"><mml:mi mathvariant="italic">SMP</mml:mi><mml:mo class="MathClass-rel">&#x0003D;</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mo class="MathClass-op">&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mn>&#x003B4;</mml:mn><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">&#x0003E;</mml:mo><mml:mn>1</mml:mn><mml:mo class="MathClass-bin">&#x02227;</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">&#x0003C;</mml:mo><mml:mo class="MathClass-bin">&#x0002B;</mml:mo><mml:mo class="MathClass-rel">&#x0221E;</mml:mo></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mo class="MathClass-op">&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mn>&#x003B4;</mml:mn><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">&#x02265;</mml:mo><mml:mn>1</mml:mn><mml:mo class="MathClass-bin">&#x02227;</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">&#x0003C;</mml:mo><mml:mo class="MathClass-bin">&#x0002B;</mml:mo><mml:mo class="MathClass-rel">&#x0221E;</mml:mo></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:mrow></mml:mfrac></mml:math></disp-formula>
where <italic>s<sub>i</sub></italic><sub>,</sub><italic><sub>j</sub></italic> is the semi-metric ratio between ingredients <italic>i</italic> and <italic>j</italic> in the flavor network. The dominator of this equation; <inline-formula><mml:math id="M11"><mml:msub><mml:mrow><mml:mo class="MathClass-op">&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mn>&#x003B4;</mml:mn><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">&#x02265;</mml:mo><mml:mn>1</mml:mn><mml:mo class="MathClass-bin">&#x02227;</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">&#x0003C;</mml:mo><mml:mo class="MathClass-bin">&#x0002B;</mml:mo><mml:mo class="MathClass-rel">&#x0221E;</mml:mo></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:math></inline-formula> counts all edges in the network and the numerator; <inline-formula><mml:math id="M12"><mml:msub><mml:mrow><mml:mo class="MathClass-op">&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mn>&#x003B4;</mml:mn><mml:mrow><mml:mo class="MathClass-open">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">&#x0003E;</mml:mo><mml:mn>1</mml:mn><mml:mo class="MathClass-bin">&#x02227;</mml:mo><mml:msub><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo class="MathClass-punc">,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo class="MathClass-rel">&#x0003C;</mml:mo><mml:mo class="MathClass-bin">&#x0002B;</mml:mo><mml:mo class="MathClass-rel">&#x0221E;</mml:mo></mml:mrow><mml:mo class="MathClass-close">)</mml:mo></mml:mrow></mml:math></inline-formula>, counts only the semi-metric edges.</p>
</sec>
<sec id="S2-2-5">
<label>2.2.5</label> <title>Recipe Food-Bridging Percentage</title>
<p>Semi-metric percentage of the sub-graph representing a recipe in the ingredient network is called recipe food-bridging percentage. In other words, equation (<xref ref-type="disp-formula" rid="E4">4</xref>) above is applied to the sub-graph defined by the recipe.</p>
</sec>
<sec id="S2-2-6">
<label>2.2.6</label> <title>Network Metric Backbone</title>
<p>As defined in Simas (<xref ref-type="bibr" rid="B15">2012</xref>), Simas and Rocha (<xref ref-type="bibr" rid="B13">2015</xref>), Simas et al. (<xref ref-type="bibr" rid="B11">2015b</xref>), Kalavri et al. (<xref ref-type="bibr" rid="B8">2016</xref>), and Simas and Suckling (<xref ref-type="bibr" rid="B14">2016</xref>), the metric backbone is the smallest weighted sub-graph of a weighed graph that preserves the shortest paths: sub-graph with all metric edges.</p>
</sec>
<sec id="S2-2-7">
<label>2.2.7</label> <title>Network Semi-Metric Backbone</title>
<p>The semi-metric backbone is a sub-graph of a weighted graph with only semi-metric edges, i.e., all metric edges removed from the network (Simas et al., <xref ref-type="bibr" rid="B11">2015b</xref>; Simas and Suckling, <xref ref-type="bibr" rid="B14">2016</xref>).</p>
</sec>
</sec>
</sec>
<sec id="S3">
<label>3</label> <title>Results</title>
<p>In Figure <xref ref-type="fig" rid="F2">2</xref>, we analyzed food-pairing and optimal food-bridging (semi-metric percentage) according to equations (<xref ref-type="disp-formula" rid="E2">2</xref>) and (<xref ref-type="disp-formula" rid="E4">4</xref>), respectively. We plotted the averages of these variables for each of the seven distinct world regions, against how they rank (Figures <xref ref-type="fig" rid="F2">2</xref>A,C), and against the number of ingredients (Figures <xref ref-type="fig" rid="F2">2</xref>B,D).</p>
<fig position="float" id="F2">
<label>Figure 2</label>
<caption><p><bold>&#x0003C;<italic>N</italic>(<italic>R</italic>) &#x0003E; is the average over all recipes of the recipe food-pairing, &#x0003C;<italic>SMP</italic>(<italic>R</italic>) &#x0003E; is the average over all recipes of the recipe food-bridging, Rank is the sorted cuisine type by &#x0003C;<italic>N</italic>(<italic>R</italic>) &#x0003E; or &#x0003C;<italic>SMP</italic>(<italic>R</italic>) &#x0003E;, and &#x0003C;<italic>n</italic> &#x0003E; the average number of ingredients per recipe for a given cuisine type</bold>. <bold>(A)</bold> Average recipe Food-pairing (&#x0003C;<italic>N</italic>(<italic>R</italic>) &#x0003E;) vs. cuisine type Rank. <bold>(B)</bold> Average recipe Food-pairing (&#x0003C;<italic>N</italic>(<italic>R</italic>) &#x0003E;) vs. average number of ingredients per recipe (&#x0003C;<italic>n</italic> &#x0003E;). <bold>(C)</bold> Average recipe Food-bridging (&#x0003C;<italic>SMP</italic>(<italic>R</italic>) &#x0003E;) vs. cuisine type Rank. <bold>(D)</bold> Average Food-bridging (&#x0003C;<italic>SMP</italic>(<italic>R</italic>) &#x0003E;) vs. average number of ingredients per recipe (&#x0003C;<italic>n</italic> &#x0003E;).</p></caption>
<graphic xlink:href="fict-04-00014-g002.tif"/>
</fig>
<sec id="S3-3">
<label>3.1</label> <title>Food-Pairing</title>
<p>In Figures <xref ref-type="fig" rid="F2">2</xref>A,B, we observe that there are clearly two distinct groups with respect to food-pairing: Western-based cuisines; and Eastern Asian cuisines. It corroborates with the observations in Ahn et al. (<xref ref-type="bibr" rid="B2">2011</xref>), Ahn and Ahnert (<xref ref-type="bibr" rid="B1">2013</xref>), and Jain et al. (<xref ref-type="bibr" rid="B6">2015</xref>) that Eastern Asian cuisines avoid food-pairing more than the Western based cuisines. Moreover, from Figure <xref ref-type="fig" rid="F2">2</xref>B, we observe that there is a negative trend of food-pairing against the average number of ingredients used in a recipe. Note that, in this case, East Asian and Southeast Asian cuisines differ mainly in the average number of ingredients used in a recipe. East Asian cuisine is a complete outlier in this trend&#x02014;flagging that Southeast Asian cuisine may differ from East Asian cuisine in some other dimension. We also observe that Eastern European as well as Southeast Asian cuisines show higher variability, suggesting a richer cuisine. In fact, the source of the variability may stem from a size effect, since these two cuisines present lower volume of recipes when compared to the others, a collection of 381 and 457 recipes, respectively, with the others containing over 2,000 recipes each.</p>
</sec>
<sec id="S3-4">
<label>3.2</label> <title>Food-Bridging</title>
<p>In Figures <xref ref-type="fig" rid="F2">2</xref>C,D, we observe that food-bridging ranks non-linear and depends positively and linearly on the average number of the ingredients used in recipes. From the rank, we observe that, in this case, food-bridging: East and Southeast Asian cuisines differ significantly from each other; Western cuisines cluster together at the bottom extreme; and Southeast Asian at the other extreme.</p>
<p>In this case, we note that food-bridging (semi-metric percentage) depends on the number of ingredients used in a recipe. This was an expected result since there are more possibilities to bridge ingredients, i.e., more degrees of freedom.</p>
</sec>
<sec id="S3-5">
<label>3.3</label> <title>Food-Pairing and Food-Bridging</title>
<p>In Figure <xref ref-type="fig" rid="F3">3</xref>A, we observe the relation between food-pairing and food-bridging. We divided the group into four non-overlapping regions, which represent the following four classes.</p>
<list list-type="order">
<list-item><p>Low food-pairing&#x02009;&#x0002B;&#x02009;low food-bridging.</p></list-item>
<list-item><p>Low food-pairing&#x02009;&#x0002B;&#x02009;high food-bridging.</p></list-item>
<list-item><p>High food-pairing&#x02009;&#x0002B;&#x02009;low food-bridging.</p></list-item>
<list-item><p>High food-pairing&#x02009;&#x0002B;&#x02009;high food-bridging.</p></list-item>
</list>
<fig position="float" id="F3">
<label>Figure 3</label>
<caption><p><bold>&#x0003C;<italic>N</italic>(<italic>R</italic>) &#x0003E; is the average over all recipes of the recipe food-pairing, and &#x0003C;<italic>SMP</italic>(<italic>R</italic>) &#x0003E; is the average over all recipes of the recipe food-bridging</bold>. <bold>(A)</bold> Classes of cooking based on average recipe Food-pairing (&#x0003C;<italic>N</italic>(<italic>R</italic>) &#x0003E;) versus average recipe Food-bridging (&#x0003C;<italic>SMP</italic>(<italic>R</italic>) &#x0003E;). We divided the space into four distinct regions or classes, as follows: (1) Low food-pairing&#x02009;&#x0002B;&#x02009;low food-bridging, (2) low food-pairing&#x02009;&#x0002B;&#x02009;high food-bridging, (3) high food-pairing&#x02009;&#x0002B;&#x02009;low food-bridging, (4) high food-pairing&#x02009;&#x0002B;&#x02009;high food-bridging. <bold>(B)</bold> An example of semi-metric analysis of a Southeast Asian cuisine with six ingredients. The semi-metric percentage of this recipe is <inline-formula><mml:math id="M4"><mml:mi mathvariant="italic">SMP</mml:mi><mml:mo class="MathClass-rel">&#x0003D;</mml:mo><mml:mfrac><mml:mrow><mml:mn>5</mml:mn></mml:mrow><mml:mrow><mml:mn>5&#x0002B;6</mml:mn></mml:mrow></mml:mfrac><mml:mo class="MathClass-bin">&#x000D7;</mml:mo><mml:mn>100</mml:mn><mml:mi>%</mml:mi><mml:mo class="MathClass-rel">&#x0003D;</mml:mo><mml:mn>45</mml:mn><mml:mi>%</mml:mi></mml:math></inline-formula>. It shares in average 11 flavor compounds between pairs of ingredients, falling into class (2) according to <bold>(A)</bold>. Moreover, this recipe has nine possible semi-metric paths or bridges, of which some are shown above.</p></caption>
<graphic xlink:href="fict-04-00014-g003.tif"/>
</fig>
<p>We observe that East Asian falls into class (1), Southeast Asian into class (2), Southern, Eastern, Western European, and North American into class (3) and Latin American into class (4).</p>
<p>In class (1), with low food-pairing and low food-bridging, the recipe ingredients depend less on the co-occurrence of their flavor compounds, directly or indirectly (chains of pairings). Class (2) pairs flavor compounds mainly indirectly by chains or bridges between ingredients. In class (3), the ingredients mainly pair their flavor compounds without that many indirect chains or bridges. In class (4), the ingredients strongly pair and bridge their flavor compounds.</p>
<p>In Figure <xref ref-type="fig" rid="F3">3</xref>B, we have an example of a Southeast Asian recipe with six ingredients.<xref ref-type="fn" rid="fn2"><sup>2</sup></xref> We can observe five semi-metric edges (red) and six metric edges (blue). The semi-metric percentage of this recipe is <inline-formula><mml:math id="M13"><mml:mi mathvariant="italic">SMP</mml:mi><mml:mo class="MathClass-rel">&#x0003D;</mml:mo><mml:mfrac><mml:mrow><mml:mn>5</mml:mn></mml:mrow><mml:mrow><mml:mn>5</mml:mn><mml:mo class="MathClass-bin">&#x0002B;</mml:mo><mml:mn>6</mml:mn></mml:mrow></mml:mfrac><mml:mo class="MathClass-bin">&#x000D7;</mml:mo><mml:mn>100</mml:mn><mml:mi>%</mml:mi><mml:mo class="MathClass-rel">&#x0003D;</mml:mo><mml:mn>45</mml:mn><mml:mi>%</mml:mi></mml:math></inline-formula>. It shares in average 11 flavor compounds between pairs of ingredients, falling into class (2) according to Figure <xref ref-type="fig" rid="F3">3</xref>A. Moreover, this recipe has nine possible semi-metric paths or bridges, where some of them are shown in the Figure <xref ref-type="fig" rid="F3">3</xref>B.</p>
<p>In Figures <xref ref-type="fig" rid="F4">4</xref> and <xref ref-type="fig" rid="F5">5</xref>, we show a sub-graph of the flavor network with the top 100 ingredients that have stronger connections or pairings (node strength). Figure <xref ref-type="fig" rid="F4">4</xref> edges represent only metric connections (metric backbone) and Figure <xref ref-type="fig" rid="F5">5</xref> edges show only semi-metric connections (semi-metric backbone). Node colors represent network clusters after applying a community detection algorithm, e.g., Louvain algorithm (Fortunato, <xref ref-type="bibr" rid="B5">2010</xref>), and node size proportional to the node metric or semi-metric strength, respectively. The metric percentage is 27.4% of the edges from the flavor network and the semi-metric percentage is 72.6% from the flavor network, which demonstrates that there are a high number of bridge possibilities between pairs of ingredients.</p>
<fig position="float" id="F4">
<label>Figure 4</label>
<caption><p><bold>Metric backbone</bold>. Top 100 ingredients of flavor network with higher node strength. Edges represent metric connections and edge color the target community color (target node). Node colors represent network clusters after applying a community detection algorithm, e.g., Louvain algorithm, and size proportional to the node metric strength.</p></caption>
<graphic xlink:href="fict-04-00014-g004.tif"/>
</fig>
<fig position="float" id="F5">
<label>Figure 5</label>
<caption><p><bold>Semi-metric backbone</bold>. Top 100 ingredients of flavor network with higher node strength. Edges represent semi-metric connections and edge color the target community color (target node). Node colors represent network clusters after applying a community detection algorithm, e.g., Louvain algorithm, and size proportional to the node semi-metric strength.</p></caption>
<graphic xlink:href="fict-04-00014-g005.tif"/>
</fig>
<p>Highly metric ingredients (node size) tend to food-pair in pairs, and highly semi-metric ingredients (node size) tend to food-pair with the addition of intermediate ingredients. For example, from Figure <xref ref-type="fig" rid="F4">4</xref>, the ingredients &#x0201C;beer,&#x0201D; &#x0201C;black tea,&#x0201D; &#x0201C;gruyere cheese,&#x0201D; etc., are good food-pairing ingredients. Figure <xref ref-type="fig" rid="F5">5</xref> shows that &#x0201C;port wine,&#x0201D; &#x0201C;rose wine,&#x0201D; &#x0201C;tea,&#x0201D; and &#x0201C;tomato&#x0201D; are better mixed with intermediate ingredients, according to food-bridging hypothesis.</p>
<p>In general, we may observe from Figures <xref ref-type="fig" rid="F4">4</xref> and <xref ref-type="fig" rid="F5">5</xref> that there is a dichotomy; with ingredients that are less suited to food-pairing tending to use the food-bridging mechanism, and vice-versa.</p>
</sec>
</sec>
<sec id="S4" sec-type="discussion">
<label>4</label> <title>Discussion</title>
<p>We have shown that the flavor network is 72.6% semi-metric, which allows food-bridging to work extensively, i.e., the number of possible semi-metric paths between ingredients is large. Food-bridging or semi-metricity, by hypothesis, may increase affinities between ingredients with or without a strong direct affinity based on chain of intermediate ingredient pairings, in this case, a chain of flavor compound affinities.</p>
<p>Food-pairing and food-bridging are different hypothesis that may represent possible mechanisms behind traditional cuisines. Food-pairing intensifies flavor with similar flavored ingredients and food-bridging smooths contrasted flavored ingredients in a recipe, respectively. Both hypotheses food-pairing and food-bridging are jointly observed in traditional cuisines, as shown in this work.</p>
<p>Regional cuisines cluster in four distinct classes defined by the possible relationship between these two mechanisms. Where East Asian cuisine is at one extreme class (1) and tends to avoid food-pairing as well as food-bridging; and Latin American cuisine is at the other extreme class (4), following both principles. Southeastern Asian and Western cuisines are in middle classes (2) and (3): class (2) avoids food-pairing and follows food-bridging; class (3) follows food-pairing and avoids food-bridging.</p>
<p>It is worthwhile noting from Figure <xref ref-type="fig" rid="F3">3</xref>A that the represented cuisine classes follow in some way their geopolitical distribution.</p>
<p>East Asia cuisine, represented by Korean, Chinese, and Japanese cuisines, tends to use contrasted ingredients with respect to flavor. This results in a cuisine that contrasts several flavors.</p>
<p>At the other extreme is Latin American cuisine, represented by Caribbean, Central America, South American, and Mexican cuisines. These tend to reinforce the intensity of flavor using both mechanisms, food-pairing, and food-bridging. That is, direct and indirect intensification of flavors in a recipe, reinforcing common flavors and smoothing contrasts between flavored contrasted ingredients.</p>
<p>In class (2), we found Southeast Asian cuisine, represented by Indonesian, Malaysian, Filipino, Thai, and Vietnamese. These cuisines are similar to East Asian cuisines with respect to food-pairing, using contrasted ingredients, but at the same time, they smooth these contrasts with other ingredients that bridge the contrast.</p>
<p>The other intermediate class is class (3), where we found Eastern, Southern, Western European, and North American cuisines. Eastern European cuisines are represented by Eastern Europe, in general, and Russian cuisines. Southern European cuisine is represented by Greek, Italian, Mediterranean, Spanish, and Portuguese. Western European cuisine is represented by French, Austrian, Belgian, English, Scottish, Dutch, Swiss, German, and Irish. And North American is represented by American in general, Canada, Cajun, Southern soul food, and Southwestern U.S. These cuisines tend to follow the food pairing with the direct intensification of flavors in a recipe, avoiding contrasted ingredients. Therefore, these cuisines are characterized by avoiding flavor contrasted ingredients. Moreover, in this class, at one extreme, we have Southern European, and at the other North American. The latter sub-clusters better with Western and Eastern European cuisines.</p>
<p>We may suggest several explanations for why, in this analysis, traditional cuisines cluster in this way across these two dimensions: food-pairing and food-bridging. The clustering aligns well with a geopolitical distribution. These cuisines may be driven by particular geographical weather and resource constrains as well as political trade in goods, which may influence the different styles of cuisine analyzed in this work.</p>
<p>Food-bridging, as shown, opens the possibility of better understanding possible mechanisms behind mixing ingredients in a recipe. This is a new mechanism or hypothesis, different from food-pairing, and both mechanisms are observed in traditional cuisines, in particular, in this dataset (Ahn et al., <xref ref-type="bibr" rid="B2">2011</xref>).</p>
<p>We recognize a number of limitations in this work. We have not included, in this analysis, important features such as texture, ingredient concentrations, processes used during the recipes, such as cooking method among others (Vega et al., <xref ref-type="bibr" rid="B17">2012</xref>). We restricted our analysis to the number of shared chemical flavor compounds between ingredients as in the works of Ahn et al. (Ahn et al., <xref ref-type="bibr" rid="B2">2011</xref>; Ahn and Ahnert, <xref ref-type="bibr" rid="B1">2013</xref>). However, for food-bridging, a contra-part of its mathematical representation&#x02014;semi-metricity&#x02014;is not restricted to the flavor space or more specifically to the flavor network. In general, it may be employed to other modalities: texture, color, among other empirical, or scientifically affinities.</p>
<p>Besides this work, semi-metricity as a topological property of weighted graphs has been shown to be a topological analysis, sensitive and specific in identifying how the flow of information propagates in the human brain (Simas et al., <xref ref-type="bibr" rid="B11">2015b</xref>; Simas and Suckling, <xref ref-type="bibr" rid="B14">2016</xref>), provide better recommendations in social networks (Simas and Rocha, <xref ref-type="bibr" rid="B12">2012</xref>, <xref ref-type="bibr" rid="B13">2015</xref>), and a better optimization of large scale graphical algorithms (Kalavri et al., <xref ref-type="bibr" rid="B8">2016</xref>).</p>
<p>This work brings a new perspective on food-pairing and introduces food-bridging as a new principle or vector behind cooking.</p>
</sec>
<sec id="S5">
<title>Author Contributions</title>
<p>All authors made significant contributions to the drafting of the article.</p>
</sec>
<sec id="S6">
<title>Conflict of Interest Statement</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
</body>
<back>
<ack>
<p>The authors would like to acknowledge Telefonica I&#x0002B;D for all support done in the Appetit project that have turned possible the present work. We also thank all of our colleagues involved in the Appetit project. We would like to acknowledge Oliver Smith and Emily Stott for their persistence on editing this manuscript.</p>
</ack>
<ref-list>
<title>References</title>
<ref id="B1"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ahn</surname> <given-names>Y.-Y.</given-names></name> <name><surname>Ahnert</surname> <given-names>S. E.</given-names></name></person-group> (<year>2013</year>). <article-title>The flavor network</article-title>. <source>Leonardo</source> <volume>46</volume>, <fpage>272</fpage>&#x02013;<lpage>273</lpage>.<pub-id pub-id-type="doi">10.1162/LEON.a.00569</pub-id></citation></ref>
<ref id="B2"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ahn</surname> <given-names>Y.-Y.</given-names></name> <name><surname>Ahnert</surname> <given-names>S. E.</given-names></name> <name><surname>Bagrow</surname> <given-names>J. P.</given-names></name> <name><surname>Barabasi</surname> <given-names>A.-L.</given-names></name></person-group> (<year>2011</year>). <article-title>Flavor network and the principles of food pairing</article-title>. <source>Sci. Rep.</source> <volume>1</volume>, <fpage>196</fpage>.<pub-id pub-id-type="doi">10.1038/srep00196</pub-id><pub-id pub-id-type="pmid">22355711</pub-id></citation></ref>
<ref id="B3"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Boccaletti</surname> <given-names>S.</given-names></name> <name><surname>Latora</surname> <given-names>V.</given-names></name> <name><surname>Moreno</surname> <given-names>Y.</given-names></name> <name><surname>Chavez</surname> <given-names>M.</given-names></name> <name><surname>Hwang</surname> <given-names>D.-U.</given-names></name></person-group> (<year>2006</year>). <article-title>Complex networks: structure and dynamics</article-title>. <source>Phys. Rep.</source> <volume>424</volume>, <fpage>175</fpage>&#x02013;<lpage>308</lpage>.<pub-id pub-id-type="doi">10.1016/j.physrep.2005.10.009</pub-id></citation></ref>
<ref id="B4"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Burdock</surname> <given-names>G. A.</given-names></name></person-group> (<year>2004</year>). <source>Fenaroli&#x02019;s Handbook of Flavor Ingredients</source>, <edition>5th Edn</edition>. <publisher-loc>Boca Raton, FL</publisher-loc>: <publisher-name>CRC Press</publisher-name>.</citation></ref>
<ref id="B5"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fortunato</surname> <given-names>S.</given-names></name></person-group> (<year>2010</year>). <article-title>Community detection in graphs</article-title>. <source>Phys. Rep.</source> <volume>486</volume>, <fpage>75</fpage>&#x02013;<lpage>174</lpage>.<pub-id pub-id-type="doi">10.1016/j.physrep.2009.11.002</pub-id></citation></ref>
<ref id="B6"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jain</surname> <given-names>A.</given-names></name> <name><surname>Rakhi</surname> <given-names>N. K.</given-names></name> <name><surname>Bagler</surname> <given-names>G.</given-names></name></person-group> (<year>2015</year>). <article-title>Analysis of food pairing in regional cuisines of India</article-title>. <source>PLoS ONE</source> <volume>10</volume>:<fpage>e0139539</fpage>.<pub-id pub-id-type="doi">10.1371/journal.pone.0139539</pub-id><pub-id pub-id-type="pmid">26430895</pub-id></citation></ref>
<ref id="B7"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Johnson</surname> <given-names>D. B.</given-names></name></person-group> (<year>1977</year>). <article-title>Efficient algorithms for shortest paths in sparse networks</article-title>. <source>J. ACM</source> <volume>24</volume>, <fpage>1</fpage>&#x02013;<lpage>13</lpage>.<pub-id pub-id-type="doi">10.1145/321992.321993</pub-id></citation></ref>
<ref id="B8"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kalavri</surname> <given-names>V.</given-names></name> <name><surname>Simas</surname> <given-names>T.</given-names></name> <name><surname>Logothetis</surname> <given-names>D.</given-names></name></person-group> (<year>2016</year>). <article-title>The shortest path is not always a straight line: leveraging semi-metricity in graph analysis</article-title>. <source>Proc. VLDB Endowment</source> <volume>9</volume>, <fpage>672</fpage>&#x02013;<lpage>683</lpage>.<pub-id pub-id-type="doi">10.14778/2947618.2947623</pub-id></citation></ref>
<ref id="B9"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kim</surname> <given-names>S.</given-names></name> <name><surname>Sung</surname> <given-names>J.</given-names></name> <name><surname>Foo</surname> <given-names>M.</given-names></name> <name><surname>Jin</surname> <given-names>Y.-S.</given-names></name> <name><surname>Kim</surname> <given-names>P.-J.</given-names></name></person-group> (<year>2015</year>). <article-title>Uncovering the nutritional landscape of food</article-title>. <source>PLoS ONE</source> <volume>10</volume>:<fpage>e0118697</fpage>.<pub-id pub-id-type="doi">10.1371/journal.pone.0118697</pub-id><pub-id pub-id-type="pmid">25768022</pub-id></citation></ref>
<ref id="B10"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Simas</surname> <given-names>T.</given-names></name> <name><surname>Chavez</surname> <given-names>M.</given-names></name> <name><surname>Rodriguez</surname> <given-names>P. R.</given-names></name> <name><surname>Diaz-Guilera</surname> <given-names>A.</given-names></name></person-group> (<year>2015a</year>). <article-title>An algebraic topological method for multimodal brain networks comparisons</article-title>. <source>Front. Psychol.</source> <volume>6</volume>:<fpage>904</fpage>.<pub-id pub-id-type="doi">10.3389/fpsyg.2015.00904</pub-id><pub-id pub-id-type="pmid">26217258</pub-id></citation></ref>
<ref id="B11"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Simas</surname> <given-names>T.</given-names></name> <name><surname>Chattopadhyay</surname> <given-names>S.</given-names></name> <name><surname>Hagan</surname> <given-names>C.</given-names></name> <name><surname>Kundu</surname> <given-names>P.</given-names></name> <name><surname>Patel</surname> <given-names>A.</given-names></name> <name><surname>Holt</surname> <given-names>R.</given-names></name> <etal/></person-group> (<year>2015b</year>). <article-title>Semi-metric topology of the human connectome: sensitivity and specificity to autism and major depressive disorder</article-title>. <source>PLoS ONE</source> <volume>10</volume>:<fpage>e0136388</fpage>.<pub-id pub-id-type="doi">10.1371/journal.pone.0136388</pub-id><pub-id pub-id-type="pmid">26308854</pub-id></citation></ref>
<ref id="B12"><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Simas</surname> <given-names>T.</given-names></name> <name><surname>Rocha</surname> <given-names>L. M.</given-names></name></person-group> (<year>2012</year>). <article-title>&#x0201C;Semi-metric networks for recommender systems,&#x0201D;</article-title> in <conf-name>Proceedings of the 2012 IEEE/WIC/ACM International Joint Conferences on Web Intelligence and Intelligent Agent Technology, 4&#x02013;7 December 2012</conf-name>, Vol. <volume>3</volume>. <conf-loc>Macau</conf-loc>, <fpage>175</fpage>&#x02013;<lpage>179</lpage>.</citation></ref>
<ref id="B13"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Simas</surname> <given-names>T.</given-names></name> <name><surname>Rocha</surname> <given-names>L. M.</given-names></name></person-group> (<year>2015</year>). <article-title>Distance closures on complex networks</article-title>. <source>Netw. Sci.</source> <volume>2</volume>, <fpage>227</fpage>&#x02013;<lpage>268</lpage>.<pub-id pub-id-type="doi">10.1017/nws.2015.11</pub-id></citation></ref>
<ref id="B14"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Simas</surname> <given-names>T.</given-names></name> <name><surname>Suckling</surname> <given-names>J.</given-names></name></person-group> (<year>2016</year>). <article-title>Commentary: semi-metric topology of the human connectome: sensitivity and specificity to autism and major depressive disorder</article-title>. <source>Front. Neurosci.</source> <volume>10</volume>:<fpage>353</fpage>.<pub-id pub-id-type="doi">10.3389/fnins.2016.00353</pub-id></citation></ref>
<ref id="B15"><citation citation-type="thesis"><person-group person-group-type="author"><name><surname>Simas</surname> <given-names>T. M. L. M.</given-names></name></person-group> (<year>2012</year>). <source>Stochastic Models and Transitivity in Complex Networks</source>. Ph.D. thesis. <publisher-name>Indiana University</publisher-name>.</citation></ref>
<ref id="B16"><citation citation-type="web"><person-group person-group-type="author"><name><surname>Varshney</surname> <given-names>K. R.</given-names></name> <name><surname>Varshney</surname> <given-names>L. R.</given-names></name> <name><surname>Wang</surname> <given-names>J.</given-names></name> <name><surname>Myers</surname> <given-names>D.</given-names></name></person-group> (<year>2013</year>). <article-title>Flavor pairing in medieval European cuisine: a study in cooking with dirty data</article-title>. arXiv:1307.7982 [physics.soc-ph]. Available at: <uri xlink:href="https://arxiv.org/abs/1307.7982">https://arxiv.org/abs/1307.7982</uri></citation></ref>
<ref id="B17"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Vega</surname> <given-names>C.</given-names></name> <name><surname>Ubbink</surname> <given-names>J.</given-names></name> <name><surname>Van der Linden</surname> <given-names>E.</given-names></name></person-group> (<year>2012</year>). <source>The Kitchen as Laboratory: Reflexions on the Science of Food and Cooking</source>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>Columbia University Press</publisher-name>.</citation></ref>
</ref-list>
<fn-group>
<fn id="fn1"><p><sup>1</sup>By flavor compounds, we mean molecular chemical compounds and from now on, will describe these as flavor compounds or, in short, flavors.</p></fn>
<fn id="fn2"><p><sup>2</sup>The meaning of general ingredients products from Fenaroli&#x02019;s book of Burdock (<xref ref-type="bibr" rid="B4">2004</xref>) is for example: fish: sweet fish, fatty fish, raw fatty fish, etc., seed: lovage seed, toasted sesame seed, angelica seed, etc.</p></fn>
</fn-group>
</back>
</article>