<!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>An Adaptive Electronic Menu System for Restaurants</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Paulo Henrique Azevedo Filho</string-name>
          <email>paulo.azevedo@aberklar.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Wolfgang Wörndl</string-name>
          <email>woerndl@informatik.tu-muenchen.de</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Aberklar GbR</institution>
          ,
          <addr-line>Helene-Mayer-Ring 7, 80809, Munich</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Technische Universität München</institution>
          ,
          <addr-line>Boltzmannstraße 3, 85748, Garching bei München</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2015</year>
      </pub-date>
      <abstract>
        <p>This work shows the early stages of the development of a collaborative- ltering-inspired adaptive system to streamline the ordering process at restaurants that use electronic menu systems. Among other results, the proposed system achieved a reduction of the session duration, while increasing feedback given by restaurant guests.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Recommender Systems</kwd>
        <kwd>Adaptive</kwd>
        <kwd>Collaborative-Filtering</kwd>
        <kwd>Electronic Menu</kwd>
        <kwd>Target Variable</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Those meaningful suggestions may stem from collaborative
ltering. Well-established algorithms for collaborative
ltering exist, as well as several hybridization techniques
blending this with other approaches. However, since users of
electronic menus are mostly anonymous (no log-in
necessary), and the o er of dishes and drinks varies greatly from
restaurant to restaurant, the choice for a recommendation
technique has to be further tweaked to address these issues.
The present work is an attempt to embrace this
opportunity, building an adaptive recommender system for
electronic restaurant menus, to aid guests in their ordering
process, based on MenuMate.</p>
      <p>MenuMate, developed by the German startup Aberklar1,
is an electronic menu that o ers users a picture-centric
approach for use at restaurants. Through MenuMate users can
place orders, request the bill and provide feedback about
their experience. This is the system that was extended with
the adaptive system described in this paper. Figure 1 gives
an idea of the general structure of the dish overview screen,
and the arrows suggest the repositioning of dishes of the
proposed method, that will be described soon.</p>
      <p>
        The dish overview screen shows a title bar for each category,
followed by thumbnails of each dish in that category. From
that screen, the user can go to the dish details screen, with a
full screen picture and detailed description, from where the
dish can be ordered. After orders have been placed and the
tab asked for, the user is invited to provide feedback about
a few di erent variables, such as food, drinks, service and
electronic menu system, using a star-based rating.
The rest of this document is organized as follows: Section 2
will put this work in perspective in terms of the electronic
menu used for its implementation, as well as of the related
work. Section 3 will describe in general terms the proposed
algorithm and how it ts in. Section 4 describes some of the
performed experiments and displays their results. Finally,
section 5 o ers a brief summary as well as points some
possibilities of further work to be explored.
2. BACKGROUND AND RELATED WORK
To achieve the aforementioned goal, once the current state
of MenuMate is known, it is necessary to know what the
current state of the art for this speci c niche is.
Wasinger et al. have proposed an electronic menu with an
embedded recommender system, called Menu Mentor [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
The authors come from a perspective of highly personalized
explicit recommendations, processed on the user's phone,
and that must be scrutable, that is, allow the users to know
why a given recommendation (be it positive or negative) was
given, and give them the chance to override it. It does,
however, assume explicit user pro les, acquired through usage of
the system on the user's smartphone. In order to minimize
user setup, restaurants should be able to o er the system
and the hardware.
      </p>
      <p>
        There are psychological studies about how to organize a
restaurant menu, with techniques such as placing items with
high prices rst to "smoothen" the e ect of the lower-priced
items following, even if they are not actually cheap [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. There
are also studies evaluating guests' gaze and how it
correlates to which dishes get ordered, placing dishes
restaurateurs want to have ordered in those positions, such as shown
at [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. There are as well other possibilities that go in a
similar direction, such as [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] and [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. Going for this sort of
psychological study, however, would require extensive trials
after every change to the menu, as well as the usage of the
same menu in a di erent place where cultural background
changes. This type of approach is also sensitive to the
direction of reading of the mother tongue of the restaurant guest,
such as right to left in case of Arabic speakers.
      </p>
      <p>The goal of this work was to develop an electronic menu
system that adapts itself according to a certain target variable,
such as session duration, but while avoiding the need both
for the setup of a user pro le and extensive trials after each
change. This is what will be presented in the next section.
3. ALGORITHM AND ARCHITECTURE
The proposed idea is rather simple. It consists in reordering
the menu items to optimize a quanti able target variable,
that can be either maximized or minimized. For this work,
four target variables were studied: tab value, session
duration, revenue rate (cents per minute) and feedback rating.
Once this de nition is set, as di erent menu sequences are
used the value of each target variable is recorded for each
session, as well as the position of each dish in the menu.
The optimal menu sequence is computed by calculating the
correlation coe cient between each dish's position and the
performance, and sorting ascending or descending,
depending on whether the action is to maximize or minimize,
respectively.</p>
      <p>
        Four correlation coe cients were tested: Spearman's [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ],
Pearson's [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], Goodman and Kruskal's [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and Kendall's [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
In fact, the experiments tried all of them in di erent sessions
and made a comparison between them. More coe cients
could be used, the only requirement is that they must yield
values between -1 and 1, which could imply a normalization
step for coe cients that do not yield results in this range.
In order to vary the position of dishes, there is what we
called pre-optimization randomization, which will shu e the
dishes before sorting them, giving the chance to dishes that
have the same coe cient (within a small delta) to change
places, changing not only absolute but also relative order.
A bias could, otherwise, arise from the fact that stable
sorting algorithms were used, thus keeping items with a
similar correlation coe cient always in the same relative order,
preventing them from switching places and moving far away
from each other. Also, dishes for which there is no previous
information always start with coe cient 0.
      </p>
      <p>The basic principle is as follows: after each session, the
tablets send the raw data gathered to the system that
generates the sequence (there is one such system per
restaurant). This system, based on the chosen coe cient and
target variable, calculates the value for that variable and the
coe cients, generates the menu sequence, and at the
beginning of each session the tablets poll this system for the
latest sequence to be employed. This system, called Menu
Optimizer, is con gurable in respect to the target variable,
action (maximize or minimize) and correlation coe cient,
together with other parameters relevant for the A/B testing
performed, that will be explained in the next section.
4. PRELIMINARY USER STUDIES
Since the method proposed does not explicitly recommend
a single item or try to predict ratings, some methods
usually employed to evaluate recommender systems cannot be
employed, such as cross-validation, recall and precision and
accuracy.</p>
      <p>
        There are, however, other methods that can be employed
directly: the test was a double-blind A/B test, in which
neither the user nor the waiter knew which the target variable
at the time was, nor the correlation coe cient used. It was
also online (in the sense that real users were using the
system, generally spending real money through it [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], as was
the case in our tests), and measured a few variables.
Since there is no way to directly measure accuracy for this
system, there is employment of e ciency. In traditional
recommender systems, the goal is to try to predict what the
user would like to nd and show it to them, shortening the
search. Assuming that users nd more easily the
information they are looking for, they will more promptly take
decisions based on that information, namely order the dish they
intend to. Assuming this to be true, it would derive that
a reduction of session duration would imply increased
accuracy in a way. To assess whether this is true, it should
be coupled with an increase of the feedback ratings, which
would show that the items found satis ed the user. This
metric, that as mentioned before, is called e ciency, and
was used to assess the system.
      </p>
      <p>Another adaptation made was with regards to serendipity.
Instead of measuring it, there was the measurement of
catalog coverage: the measurement of how much users tend
to order varied dishes, compared to users of plain paper
menu. For that, observations were made of tables whose
guests did not use MenuMate, and which dishes they
ordered, and those were compared to the orders of MenuMate
users.</p>
      <p>There were two classes of tests performed, the stress tests
and the user tests. The stress tests, which will not be
displayed in detail here, were used to assess the scalability of
the system, which was developed to be run on a Raspberry
Pi computer, with an embedded 900MHz ARM processor. It
su ces to say that the system could serve between 100 and
160 tablets with unnoticeable performance losses, and that
the limits reached were due to the test rig employed, rather
than the system itself. Another interesting result on this
front is that, on the employed hardware, menu optimization
time is increased on average by 3ms for each session stored,
which allows prediction of the optimization time based on
the size of the history of observations.</p>
      <p>The preliminary user studies were performed at two di
erent restaurants in Munich, for about a week in each, time
during which the system would gather session data and
automatically adapt itself, switching the target variable at
regular intervals. The number of observations was rather small
due to the reduced number of days allowed for observations.
There were 13 sessions observed in one restaurant, called El
Patio, and 35 in the other, called Wendlinger. The
restaurants had, respectively, 201 and 290 menu items, split in 24
and 34 categories. The original menu sequence was devised
by their respective owners.</p>
      <p>Figure 2 shows the evolution over time of the e ciency at
Wendlinger (the number of sessions to which users gave
feedback at El Patio was too low to assume it was meaningful).
It suggests that indeed over time, independent of those
being the target variables, feedback tends to rise and session
duration to reduce, indicating good e ciency.</p>
      <p>Table 1 shows how the choice of a target variable in uences
the performance of that variable, as well as of other
variables. In this table only sessions optimized with Spearman's
correlation coe cient are used, because it was the only
coe cient with a high enough number of observations from
which to derive conclusions (21 sessions in total). The "none"
line, represents results for a non-optimized menu. The
system did well in optimizing for the target variable, with the
best results for both feedback and session duration, a close
second for tab value, while not delivering good results for
revenue rate, because the higher tab value was not enough
to compensate for the roughly halved session duration time
achieved when the target variable was the duration. It is
also worth noticing that indeed, revenue rate is a direct
consequence of both tab value and session duration, but the
average revenue rate is not necessarily the same as the revenue
rate of the averaged tab values and durations. For clarity,
the best results for each variable are displayed in boldface.
Figure 3 shows another facet of the inner workings of the
system: although the number of observed sessions was low,
it is very fast to converge the internal coe cients, suggesting
some stability after approximately 10 sessions. Another
interesting e ect is that the absolute values of the coe cients
tend to be higher for dishes that ended up being ordered,
which means the system can in fact predict which dishes
will be ordered, by checking the dishes with highest
absolute value of the coe cients.</p>
      <p>Due to operational constraints, catalog coverage was only
measured at El Patio. There, 12 of the 13 sessions were
with menu optimization enabled, that will be considered for
this measurement. 50 sessions with paper menus were also</p>
    </sec>
    <sec id="sec-2">
      <title>Value (e)</title>
    </sec>
    <sec id="sec-3">
      <title>Duration Rev. Rate</title>
      <p>None
Feedback</p>
      <p>Tab Value
Session Duration</p>
      <p>Revenue Rate
2,0
5,0
4,4
4,3
5,0
25,17
13,25
38,00
36,85
40,10
12.865,6
15.779,9
7.499,5
2.406,9
4.400,6
20,9
33,8
59,1
154,9
56,6
observed. In total, 97 di erent dishes and drinks were
ordered, in di erent quantities. From those 97, 19 were
ordered both with and without MenuMate, 63 only by users
of the paper menu and 15 only by users of MenuMate with
menu optimization.</p>
      <p>It is not easy to extrapolate how those proportions would be
in case an equal number of observations was available, and
discarding paper menu-based sessions could arbitrarily lead
to any results. Assuming, however, that for both systems at
each session there is an equal probability of adding not
previously ordered items, and that this probability is inherent
to either MenuMate or the paper menu, a proportion rule
may be followed.</p>
      <p>In the case of the paper menu, 19 + 63 = 82 di erent items
were ordered in 50 sessions, which yields an average of 1,64
new items per session. With MenuMate in use, there were
19 + 15 = 34 di erent items ordered in 12 sessions, resulting
in 2,83 new items per session. That may indicate that thus,
the menu optimizations led to guests ordering a bigger
variety of items. Alternatively, it could be that as more sessions
would be measured, these sessions would progressively get
less "innovative", in terms of the ordered dishes, which could
revert this balance. An extended evaluation, with a similar
number of sessions in both conditions would help settle this
matter.
5. CONCLUSIONS AND FUTURE WORK
The proposed menu optimizer harnesses principles of
recommender systems to improve restaurant menus according
to an arbitrary interest variable. In fact, it can be used
to facilitate user interaction for any system to which access
is anonymous and the number of items not overwhelming.
Another use that comes to mind is the choice of which
presentations to attend at a conference, or main sights to visit
in a city.</p>
      <p>One of the main contributions is the strong suggestion that
this purely statistical method may improve the menu even if
the underlying mechanism that drives the change is not
understood by the system (i.e. the psychological implications).
The developed system comprises the algorithm for menu
optimization, coupled with a robust and scalable
implementation of it. It was followed by qualitative and
quantitative tests, with real paying users, of which only very few
results were presented this time due to page number
constraints, but that nevertheless suggest e cacy of the
proposed method.</p>
      <p>There are, however, some promising improvements to the
method. Among which, the highlights are:
Feature extraction, to allow dishes of di erent
restaurants to be matched and correlation information
exchange, possibly improving results;
Extra variable isolation, that would allow control over
in uential external variables such as weather, time of
the day or season;
If individual user pro ling is done, further
personalization, such as ltering out dishes based on allergies or
taste preferences, could be done;
Stochastic exploration of dishes, which could allow for
recommendation of the next course based on
previously ordered dishes in a session.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J.-G.</given-names>
            <surname>Choi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.-W.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <surname>and J.-w. Mok.</surname>
          </string-name>
          <article-title>An experiment on psychological gaze motion: a re-examination of item selection behavior of restaurant customers</article-title>
          .
          <source>Journal of Global Business and Technology</source>
          ,
          <volume>6</volume>
          (
          <issue>1</issue>
          ):
          <fpage>68</fpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>L. A.</given-names>
            <surname>Goodman</surname>
          </string-name>
          and
          <string-name>
            <given-names>W. H.</given-names>
            <surname>Kruskal</surname>
          </string-name>
          .
          <article-title>Measures of association for cross classi cations iii: Approximate sampling theory</article-title>
          .
          <source>Journal of the American Statistical Association</source>
          ,
          <volume>58</volume>
          (
          <issue>302</issue>
          ):
          <volume>310</volume>
          {
          <fpage>364</fpage>
          ,
          <year>1963</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M. G.</given-names>
            <surname>Kendall</surname>
          </string-name>
          .
          <article-title>A new measure of rank correlation</article-title>
          .
          <source>Biometrika</source>
          , pages
          <volume>81</volume>
          {
          <fpage>93</fpage>
          ,
          <year>1938</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>J. L.</given-names>
            <surname>Myers</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Well</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R. F.</given-names>
            <surname>Lorch</surname>
          </string-name>
          .
          <article-title>Research design and statistical analysis</article-title>
          .
          <source>Routledge</source>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>K.</given-names>
            <surname>Pearson</surname>
          </string-name>
          .
          <article-title>Notes on regression and inheritance in the case of two parents</article-title>
          .
          <source>In Proceedings of the Royal Society of London</source>
          , volume
          <volume>58</volume>
          , pages
          <fpage>240</fpage>
          {
          <fpage>242</fpage>
          ,
          <year>1895</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>W.</given-names>
            <surname>Poundstone</surname>
          </string-name>
          . Priceless:
          <article-title>The myth of fair value (and how to take advantage of it)</article-title>
          .
          <source>Macmillan</source>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>G.</given-names>
            <surname>Shani</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Gunawardana</surname>
          </string-name>
          .
          <article-title>Evaluating recommendation systems</article-title>
          .
          <source>In Recommender systems handbook</source>
          , pages
          <volume>257</volume>
          {
          <fpage>297</fpage>
          . Springer,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>B.</given-names>
            <surname>Wansink</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Painter</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K. Van</given-names>
            <surname>Ittersum</surname>
          </string-name>
          .
          <article-title>Descriptive menu labels' e ect on sales</article-title>
          .
          <source>The Cornell Hotel and Restaurant Administration Quarterly</source>
          ,
          <volume>42</volume>
          (
          <issue>6</issue>
          ):
          <volume>68</volume>
          {
          <fpage>72</fpage>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>R.</given-names>
            <surname>Wasinger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Wallbank</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Pizzato</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Kay</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Kummerfeld</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Bohmer, and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Kru</surname>
          </string-name>
          <article-title>ger. Scrutable user models and personalised item recommendation in mobile lifestyle applications</article-title>
          .
          <source>In User Modeling, Adaptation, and Personalization</source>
          , pages
          <volume>77</volume>
          {
          <fpage>88</fpage>
          . Springer,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>S. S.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. M. Sessarego</surname>
          </string-name>
          , et al. $
          <article-title>or dollars: E ects of menu-price formats on restaurant checks</article-title>
          .
          <source>Cornell Hospitality Reports</source>
          , pages
          <volume>6</volume>
          {
          <fpage>11</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>