<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Applying Learning and Semantics for Personalized Food Recommendations?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ruisi Ji</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>n Goul</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>ng Zhou</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>IBM T. J. Watson Research Center</institution>
          ,
          <addr-line>Yorktown Heights, NY, USA 10598</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Rensselaer Polytechnic Institute</institution>
          ,
          <addr-line>Troy, NY, USA 12180</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2002</year>
      </pub-date>
      <abstract>
        <p>We demonstrate the use of a health coach platform that recommends personalized selections of food recipes to diabetic patients. On our platform, we implement a question-answering service that allows questions such as \suggest a good breakfast" to be queried; a response with a list of recipes that is applicable to the patient vis-a-vis their health condition and food preferences is generated. Our research is intended to support the personalization and explainability of recommended food options using a novel application of guideline recommendations encoded in a semantic format. Our platform includes a repository of over half a million recipes and their nutritional content, where each recipe is also represented as a vector-based embedding that has been derived from the recipe's ingredient list and preparation instructions [4]. Demo Link - https://foodkg.github.io/demo.html</p>
      </abstract>
      <kwd-group>
        <kwd>Food Recommendation Diabetes</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        We have previously demonstrated the use of FoodKG [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], which leverages a
knowledge graph by a question-answering system that is capable of handling
queries related to recipes and nutrition. Queries fall into one of the three
categories - gathering nutritional information by asking simple queries, comparing
nutrients between two foods, and performing constraint-based queries to nd
recipes matching certain criteria. In this demonstration paper, we advance the
previous work [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] by including personalization and explainability of food
recommendations for diabetic patients trying to achieve a speci c health goals such as
? Copyright c 2020 for this paper by its authors. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0).
maintaining a consistent carbohydrate intake throughout each day. Our health
coach platform was developed as part of the Health Empowerment by Analytics,
Learning and Semantics1 (HEALS) project [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Currently, we use the platform
to encourage healthy eating by recommending food choices that concurrently
consider criteria such as health goals, medical guidelines and food preferences.
This work uses a curated version of the recipe dataset, Recipe1M+ [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>
        Recent research in food recommender systems has been mainly on suggesting
user variations to food options [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Recommendation systems draw similarities
between food recipes by comparing them in terms of attributes such as
ingredients, preparation, and meal-type and compute how much alike two food options
are. Ranking of suggested food choices based on these attributes [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] has been
implemented to analyze the healthiness of a recipe or a meal plan. Those that
consider user feedback in re-ranking food options tend to stick to popular choices
without o ering healthier alternatives [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. The glaring issue with most of these
approaches is that the recommended food options are typically not personalized.
Personalized food recommender systems can assist users in selecting daily food
options based on nutrition guidelines and user food choices. Another gap we have
identi ed is that food options are not presented in a way that can convince users
to change their current eating habits. Explaining food options creates
transparency between the user and the recommendation system concerning aspects
that allow users to customize recommendations to t their food preferences.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Background</title>
      <p>The HEALS healthcoach is fundamentally rooted in personalization and
explainability of food recommendations to the user.</p>
      <p>Personalization - For food recommendations to be relevant and useful to
individual users, it is important that they be personalized. A simple query such
as "Suggest a good breakfast with eggs" should yield di erent results for users
with di erent preferences and health concerns; what is \good" for one may not
be appropriate for another. Our health coach platform supports personalization
across a number of factors including: explicitly stated food preferences (likes,
dislikes and foods that must be avoided), historical eating patterns, the user's
dietary goals and constraints based on their health condition and the speci c
ADA guidelines that apply to them.</p>
      <p>Explainability - A guiding principle for health coach is the ability to explain
its recommendations and the rationales behind them. Explanations play an
important educational role with health coach and its intended use, especially with
newly diagnosed patients. By explicitly surfacing the guidelines that apply to a
speci c user, explanations remind the user of their dietary goals and help them
1 This work is supported by IBM Research AI through the AI Horizons Network.
understand how they apply to speci c food choices. By referencing patterns seen
in their eating history, the system helps users re ect on their eating behavior
and understand speci c areas on which to focus. Explanations in health coach
are surfaced in several ways. The system shows the guidelines it takes into
consideration, and indicates why each speci c guideline apply to the user. It reveals
graphically the speci c historical information on which a summary status
judgment is based. And it can support other explanations as well, for example to
show why a speci c food was selected or which foods in the patient's history it
resembles and could replace with a healthier choice.</p>
      <p>Exemplar Usage - We illustrate the use of the HEALS health coach platform
by two di erent diabetic patient personas. Jen is a 55-year-old female, weighs
155 lbs, and is 5'5" tall. She has Type 2 diabetes and recently started on a
regular insulin regimen. Bob is a 58-year-old male, weighs 285 lbs, and is 5'10"
tall. He is pre-diabetic.</p>
      <p>We describe here a typical use of the health coach by Jen. Glancing at the
HEALS health coach one morning, she notices that there is an advisory message
for her - "Be sure to have breakfast today". Curious to learn more, she checks
further details, which leads her to the analysis screen. Here, she sees the
carbohydrate intake chart from the past 7 days and that she has sometimes skipped
breakfast. The system reminds her that ADA guidelines indicate that, as a
diabetic on constant insulin therapy, she should maintain a consistent level of
carbohydrate intake during the day. Jen queries the HEALS health coach
platform for breakfast suggestions. The Q&amp;A based chat bot answers questions such
that they meet the health requirements of individual persona as well as it's food
preferences. As an example, for the query - \Suggest a good breakfast with eggs",
the corresponding result can be seen in Table 1. For comparison purposes, results
have been shared for the same query when asked by the other persona (Bob).
Response generated for a given query for each persona re ects the integrated
outcome of various health coach services, which are described in the following
section.</p>
      <p>Persona
Jen
Bob</p>
      <p>Response
Crockpot Creme Brulee French Toast
Fried Eggs in Tomatoes
Schnitzel Eierkuchen - Bacon and Ham Omelet
Greek Chips With Egg and Tomato
Pumpkin Spice Mu ns (Like Dunkin Donuts)
Beautiful Egg Blossoms
Cheese Omelette (Omelette Au Fromage)
Hash Browns Ham Quiche
Eggs Benedict Pumpkin Mu ns with Walnuts</p>
      <p>Kentucky Farmhouse Scramble (Throwdown)</p>
      <p>
        Health Coach Components
1. Lifestyle Guideline Representation using Semantics - The \Lifestyle
Management" position statement of the American Diabetes Association (ADA)2
de nes a set of guidelines for supporting medical nutrition treatment for
diabetic patients. These guidelines are categorized by topics (such as \Dietary
fat"), and each provides an \Evidence Rating" stating how strongly various
existing studies support them. As an example, one of the lifestyle guidelines
reads:
\For individuals whose daily insulin dosing is xed, a consistent
pattern of carbohydrate intake with respect to time and amount may
be recommended to improve glycemic control and reduce the risk of
hypoglycemia."
We modeled a high-level guideline ontology3 consisting of concepts such as
LifestyleGuideline, PharmacologicGuideline, DietaryGuideline and
ActivityGuideline. As a proof of concept, we analyzed ve exemplary
lifestyle guidelines that can be represented in a computable manner using
OWL with property restrictions. The other ADA dietary guidelines will be
converted into the corresponding computable formats to expand our
application scope.
2. Summarization - In order to provide personalized suggestions to diabetic
patients, we have selected six of the aforementioned lifestyle guidelines2 for
patient evaluation. Subsets of these guidelines are assigned to each persona
based on their health condition and their dietary goals. Once these guidelines
are given, we automatically generate guideline evaluation summaries in
natural language using an existing time-series summarization (TSS) framework
[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. An example summary reads as:
\This past full week, you have done slightly well at keeping your
carbohydrate intake relatively xed."
We make these evaluations using a patient's daily food log data and rely on
rules we created to re ect the standards stated within the selected guidelines.
3. Question Answering - KBQA [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] obtains answers from a knowledge graph
that provides a natural and intuitive way to access vast knowledge resources.
A natural language question is the input to this service, which is
augmented by the persona's dietary preferences, and applicable health
guidelines. Through deep learning, KBQA retrieves a set of recipes from the
FoodKG [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] to satisfy these requirements. This is an enhancement to the
previous demo [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ](presented at ISWC 2019). Another KG augmentation module
can handle numerical comparisons (e.g., \Breakfast with carbohydrates in
the range of 5g to 30g"), and nally, a constraint modeling module can handle
negations (e.g., \Breakfast that does not have peanuts").
4. Similarity Ranking - After obtaining the candidate results from KBQA
(recommendation list), the candidate list is re-sorted according to the relevance
2 https://doi.org/10.2337/dc20-S005
3 https://foodkg.github.io/dgo
of its corresponding persona's food-log. The relevance is quanti ed by
calculating the average cosine similarity score between each recommended recipe
and every recipe in personal food-log. To get the average cosine similarity
score, all recipes are represented as high dimensional vectors which are
pretrained on half million recipe data through a set transformer model with two
inputs - recipe ingredients and cooking steps [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
5
      </p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion</title>
      <p>The HEALS health coach platform recommends healthy food choices to diabetic
patients to help them follow a healthier lifestyle. Using a Q&amp;A style chatbot,
health coach demonstrates personalization and explainability when making these
recommendations, which are based on the patient's health condition, food
preferences, and food log.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zaki</surname>
            ,
            <given-names>M.J.:</given-names>
          </string-name>
          <article-title>Bidirectional attentive memory networks for question answering over knowledge bases</article-title>
          .
          <source>In: Annual Conference of the North American Chapter of the Association for Computational Linguistics</source>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Harris</surname>
            ,
            <given-names>J.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>C.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zaki</surname>
            ,
            <given-names>M.J.:</given-names>
          </string-name>
          <article-title>A framework for generating explanations from temporal personal health data (</article-title>
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Haussmann</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Seneviratne</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rastogi</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Codella</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>C.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McGuinness</surname>
            ,
            <given-names>D.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zaki</surname>
            ,
            <given-names>M.J.:</given-names>
          </string-name>
          <article-title>Foodkg enabled q&amp;a application</article-title>
          .
          <source>In: ISWC Satellites</source>
          . pp.
          <volume>273</volume>
          {
          <issue>276</issue>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zaki</surname>
            ,
            <given-names>M.J.:</given-names>
          </string-name>
          <article-title>Reciptor: An e ective pretrained model for recipe representation learning</article-title>
          .
          <source>In: Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery &amp; Data Mining</source>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Marin</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Biswas</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            O i,
            <given-names>F.</given-names>
            ,
            <surname>Hynes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            ,
            <surname>Salvador</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Aytar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            ,
            <surname>Weber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            ,
            <surname>Torralba</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          :
          <article-title>Recipe1m+: A dataset for learning cross-modal embeddings for cooking recipes and food images</article-title>
          .
          <source>IEEE Trans. Pattern Anal. Mach</source>
          . Intell. (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Musto</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Trattner</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Starke</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Semeraro</surname>
          </string-name>
          , G.:
          <article-title>Towards a knowledge-aware food recommender system exploiting holistic user models</article-title>
          .
          <source>In: Proceedings of the 28th ACM Conference on User Modeling, Adaptation and Personalization</source>
          . pp.
          <volume>333</volume>
          {
          <issue>337</issue>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>Rensselaer</given-names>
            <surname>Polytechnic</surname>
          </string-name>
          <article-title>Institute: HEALS: Health Empowerment by Analytics, Learning and Semantics (accessed August 17,</article-title>
          <year>2020</year>
          ), https://idea.rpi.edu/research/projects/heals
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Starke</surname>
            ,
            <given-names>A.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Willemsen</surname>
            ,
            <given-names>M.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Snijders</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>With a little help from my peers: Depicting social norms in a recommender interface to promote energy conservation</article-title>
          .
          <source>In: Proceedings of the 25th International Conference on Intelligent User Interfaces</source>
          . pp.
          <volume>568</volume>
          {
          <issue>578</issue>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Trattner</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Elsweiler</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Investigating the healthiness of internet-sourced recipes: implications for meal planning and recommender systems</article-title>
          .
          <source>In: Proceedings of the 26th international conference on world wide web</source>
          . pp.
          <volume>489</volume>
          {
          <issue>498</issue>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>