<!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>Bringing the \healthy" into Food Recommenders</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>David Elsweiler</string-name>
          <email>david@elsweiler.co.uk</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Morgan Harvey</string-name>
          <email>morgan.harvey@northumbria.ac.uk</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Bernd Ludwig</string-name>
          <email>bernd.ludwig@ur.de</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alan Said</string-name>
          <email>alansaid@acm.org</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Recorded Future</institution>
          ,
          <country country="SE">Sweden</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>The "Want to Eat - Should Eat" Trade-o</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Northumbria</institution>
          ,
          <country country="UK">UK</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>University of Regensburg</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Lifestyle-related illnesses such as diabetes and obesity are a major problem in the modern world but can be prevented and sometimes even reversed through good nutrition [3]. Food recommender systems have been touted as a potential means to assist people nourish themselves more healthily e.g. [2, 5]. Anecdotally it makes sense to utilise food recommenders as part of a strategy for behavioural change because if you can suggest a change that is less painful then it seems more likely that the user will accept that change and stick with it. If we are interested in recommending meals to provide a balanced diet, however, such systems have a major limitation: the way they work means they learn user preferences for ingredients and food styles, which, of course, leads to users who like and tend to eat fat- and calorie-laden meals being recommended fat- and calorie-laden meals - an outcome not conducive to improving nutritional habits. In this position statement we brie y outline two ways in which the recommendation problem can be reformulated to also encompass nutritional aspects and not just user preferences. Providing the user with the recipes he is most likely to eat is perhaps not the best thing to do if we want to improve nutritional habits. This does not mean, however, that learning what a user likes is not useful. Imagine we were to learn that a user prefers fatty dishes, but especially likes tomatoes. In this case it is perhaps sensible to recommend that user slightly less fatty dishes whilst giving preference to those that contain tomatoes. Similarly, if we can learn that a user values recipes that are quick and easy to prepare, perhaps we can exploit this in recommendations of less fatty meals. This means that from ratings we can determine sets of nutritionally positive and negative characteristics and employ these when recommending recipes in future. One way to formulate the problem is to understand the trade-o between giving the user our best prediction of what he wants and giving him something</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>which is healthy or at least healthier than what he is currently choosing. This
could be investigated by measuring the cost incurred in terms of the rating
and the bene t achieved in terms of the reduction in energy / fat content. We
could operationalise this as one metric consisting of a normalised, weighted
linear combination of the two scores as shown in the equation below. Here i is a
given recipe, r(^i) is the estimated rating for recipe i, Max(r(^i)) is the maximum
estimated rating over all recipes. n(i) is the nutritional \error" incurred when
recommending this recipe (relative to some ideal set of nutritional values). is a
free parameter that we can set to suit our priorities, although =0.5 is probably
preferable initially as it gives equal weighting to rating and nutrition. Note that
all of these estimates are implicitly conditioned on a speci c user u.</p>
      <p>Score(i) =</p>
      <p>r^(i)
M ax(r(^i))
+ (1
)
1</p>
      <p>n(i)
M ax(n(^i))</p>
      <p>This approach could be implemented in the following way. In a rst step, the
best state of the art prediction algorithm available would be used to estimate the
top recipes for each user (i.e. recipes with predicted probability above a certain
percentile). This set of recipes would be treated as a gold standard i.e. we assume
no error. The next step would involve calculating the calories / fat per gram value
for this set, as well as the mean predicted rating. The prediction task would then
be to recommend meals with less fat or calories per gram by minimally reducing
the predicted rating. The e ectiveness of recommender algorithms would be
measured using the linear combination above.
2.1</p>
      <sec id="sec-1-1">
        <title>Potential Algorithm: Idea 1</title>
        <p>Partition the recipe collection based on nutritional (fat and energy) content,
i.e. create a sub-set of low-fat, low-calorie recipes to base predictions on. A
simple approach would be to train a recommender on the full set of ratings, but
only make predictions on the partitions with recipes with lower fat and energy
content. We can try various partitions to see how this in uences trade-o s.
2.2</p>
      </sec>
      <sec id="sec-1-2">
        <title>Potential Algorithm: Idea 2</title>
        <p>Rank recipes in "healthier" partitions based on the similarity to those in the
gold-standard set. Similarity could be measured with various distance metrics.
2.3</p>
      </sec>
      <sec id="sec-1-3">
        <title>Potential Algorithm: Idea 3</title>
        <p>
          Modern recommender algorithms estimate ratings based on a number of biases,
which tailor suggestions to individual users based on their preferences for a
number of factors [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]. A more complicated model in our case may consider
incorporating a number of user biases based on, for example, the preparation time
or the complexity of the recipe (#number of ingredients / length of description
etc.), both of which have been shown to in uence the decisions of di erent users
to di erent degrees [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ].
        </p>
        <p>We are currently setting up experiments to test these algorithms.</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>Building Recipe Plans</title>
      <p>
        A second approach is to use recommendations as a basis to algorithmically derive
balanced meal plans. This means that rather than simply recommending
individual meals, the task is to recommend complete meal combinations that meet
nutritional guidelines for the user. We approach this problem in two stages:
1) we calculate the nutritional requirements of the user based on their
personal pro le (gender, height, weight, level of physical activity etc.) using an
updated version of the HarrisBenedict equation, proposed by Rozal et al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ],
estimates an individual's basal metabolic rate (BMR) and daily kilocalorie
requirements. Other guidelines are used to calculate the proportion of calories that
should be sourced from fats, proteins and carbohydrates etc. 2) combine recipes
we believe users will like (the gold-standard set for each user as described above)
in such a way that they correspond to these nutritional requirements.
      </p>
      <p>
        Initial investigations have shown that it is possible to create plans for a large
percentage of potential users with diverse calorie needs and eating preferences
[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. We took an algorithmically simple approach to generate plans for each user
by taking the top x recommendations for each user pro le and splitting the
list into breakfasts and main meals. We then performed a full search on every
combination of those recipes (breakfast, main meal, main meal) to determine
whether the combination meets the target nutritional requirements as establish
above within a small error bound.
      </p>
      <p>
        We also examined the properties of users for which making plans was more
di cult (few plans were possible, or plans had very low ratings). Challenging
users had high calorie requirements or extremely non-diverse food tastes. To
address such cases, we are developing more complicated algorithms that allow
for adjusting portion sizes or di erent combinations of meals in a day. Further
details can be found in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
4
      </p>
    </sec>
    <sec id="sec-3">
      <title>Discussion</title>
      <p>In this short position paper we have presented two ways of incorporating healthy
nutrition into the food recommendation problem. We see the approaches as
having di ering potential utility in varying real-life use cases. The rst approach
could be utilised in the context of a food portal when users are viewing one
particular recipe, in such cases the system could make healthier suggestions,
perhaps in a sidebar with the header "users who enjoyed this meal also liked ..."
or "lower fat alternatives that you might also like to try are ..."</p>
      <p>The second approach requires more discipline from the user in terms of
adhering to constructed plans. If plans are derived in such a way that they consist
of recipes that the user actually likes and are within their abilities to easily
prepare, then such plans may be a useful means to support dieting i.e. a deliberate
attempt to eat in a way that will result in healthy weight loss.</p>
      <p>Although we believe the approaches have potential future utility, there are
a number of open issues with both. In particular, we wish to highlight that
our planning algorithm currently does not account for a number of potentially
important factors such as the suitability of combining meals, ingredients, cooking
time or food styles. There is no guarantee that just because a user would like
three separate meals individually, that the combination of these three would
make an appealing meal plan. Future users studies are required to establish what
actually makes an appealing plan. Equally, or perhaps even more important, is
that just because the meal plans meet high-level nutritional guidelines in terms
of fat, calories and protein, it does not automatically follow that the plan is
healthy or balanced. We would very much like to work together with nutritional
experts on this issue.
5</p>
    </sec>
    <sec id="sec-4">
      <title>Summary and Conclusions</title>
      <p>In this position statement we have discussed recommender systems in the
context of healthy nutrition. Although recommender systems have previously been
proposed as useful tools for helping people achieve a balanced diet, past work
has focused purely on estimating what dishes people will like. Here we have
outlined two ways in which the recommendation problem can be reformulated to
incorporate aspects of healthy nutrition and demonstrated how these approaches
may be implemented. Additionally, we showed that the recipe ratings data
supplied by users of a recommender system can be used to highlight users who may
bene t most from technical assistance.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>David</given-names>
            <surname>Elsweiler</surname>
          </string-name>
          and
          <string-name>
            <given-names>Morgan</given-names>
            <surname>Harvey</surname>
          </string-name>
          .
          <article-title>Towards automatic meal plan recommendations for balanced nutrition</article-title>
          .
          <source>In Proceedings of the 9th ACM Conference on Recommender Systems</source>
          , pages
          <fpage>313</fpage>
          {
          <fpage>316</fpage>
          . ACM,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>J.</given-names>
            <surname>Freyne</surname>
          </string-name>
          and
          <string-name>
            <given-names>S.</given-names>
            <surname>Berkovsky</surname>
          </string-name>
          .
          <article-title>Intelligent food planning: personalized recipe recommendation</article-title>
          .
          <source>In 15th Int. Conf. on Intelligent User Interfaces</source>
          ,
          <source>IUI '10</source>
          , pages
          <fpage>321</fpage>
          {
          <fpage>324</fpage>
          , New York, NY, USA,
          <year>2010</year>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3. Diabetes Prevention Program Research Group.
          <article-title>Reduction in the incidence of type 2 diabetes with lifestyle intervention or metformin</article-title>
          .
          <source>New England J. of Medicine</source>
          ,
          <volume>346</volume>
          (
          <issue>6</issue>
          ):
          <volume>393</volume>
          {
          <fpage>403</fpage>
          ,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>M.</given-names>
            <surname>Harvey</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. J.</given-names>
            <surname>Carman</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Ruthven</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Crestani</surname>
          </string-name>
          .
          <article-title>Bayesian latent variable models for collaborative item rating prediction</article-title>
          .
          <source>In Proc. CIKM'11</source>
          , pages
          <fpage>699</fpage>
          {
          <fpage>708</fpage>
          . ACM,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5. Morgan Harvey, Bernd Ludwig, and David Elsweiler.
          <article-title>You are what you eat: Learning user tastes for rating prediction</article-title>
          .
          <source>In String Processing and Information Retrieval</source>
          , pages
          <volume>153</volume>
          {
          <fpage>164</fpage>
          . Springer,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Allan</surname>
            <given-names>M</given-names>
          </string-name>
          <string-name>
            <surname>Roza and Harry M Shizgal.</surname>
          </string-name>
          <article-title>The harris benedict equation reevaluated: resting energy requirements and the body cell mass</article-title>
          .
          <source>The American journal of clinical nutrition</source>
          ,
          <volume>40</volume>
          (
          <issue>1</issue>
          ):
          <volume>168</volume>
          {
          <fpage>182</fpage>
          ,
          <year>1984</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>