<!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>How Long to Stay Where? On the Amount of Item Consumption in Travel Recommendation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Linus W. Dietz</string-name>
          <email>linus.dietz@tum.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Wolfgang Wörndl</string-name>
          <email>woerndl@in.tum.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Informatics, Technical University of Munich</institution>
          ,
          <addr-line>Garching</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2019</year>
      </pub-date>
      <abstract>
        <p>Recommender systems could benefit from not only recommending the most fiting items, but also in what quantity the user should consume them. For example, a personalized travel recommender system could indicate not just which city one should travel to, but also how much time to spend there. We present a data-driven solution to this problem based on mining trips from location-based social networks. To determine the recommended duration of stay at a destination, we consider how long travelers typically stay at diferent cities and how much time the current user generally spends visiting cities.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>favorite artists appear repeatedly in a long music playlist. In this case, the assumption is that an item
should be watched, listened to or experienced as a whole, not only parts of it.</p>
      <p>
        In some scenarios, it is important to decide not just which items should be recommend, but how
much of an item should be consumed. For example, a destination recommender should not only
recommend where to go, but also the optimal duration of one’s stay at each location. The duration
can vary depending on the relevance of the item and other domain-related factors, such as the type of
traveler [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Furthermore, items may be recommended multiple times within a travel package [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. For
example, a recommendation regarding the perfect day at an amusement park might call for riding on
the same atraction multiple times.
      </p>
      <p>In this paper, we examine the problem of determining the personalized amount of recommended
item consumption in recommender systems, since previous approaches have not solved this problem
convincingly. We then present a way to derive the duration of stays in the domain of destination
recommendation. Finally, we discuss the generalizability of our method and draw conclusions.</p>
    </sec>
    <sec id="sec-2">
      <title>RELATED WORK</title>
      <p>There is very limited related work with regard to determining the amount of item consumption in
recommender systems for travel and tourism.</p>
      <p>
        Melià-Seguí et al. have investigated the typical duration of stays for tourists visiting diferent
point-of-interest categories using a Foursquare data set; for example, they considered the average
amount of time that users spent in restaurants [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Google Maps also presents information on how
much time visitors spent at selected venues in its search results. However, this information represents
only the duration of visits to individual locations or categories of locations; it cannot be used directly
to construct recommendations on how long to stay in a city or travel region.
      </p>
      <p>
        There are several approaches to recommending travel packages, such as the Tourist-Area-Season
Topic (TAST) Model [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. The idea underlying this model is to analyze features of travel packages with
regard to their item and user representations, which can then be utilized in a recommender system.
In this and similar work, features such as seasonality and item prices are often taken into account,
but the duration of stay is either fixed and predetermined, or not considered at all. A related problem
is to combine several destinations in a single composite trip. Since travelers’ time availability and
budget are usually constrained, this recommendation problem can be modeled as a knapsack problem
with a scoring function that balances the benefit and cost of items within the package. Herzog and
Wörndl have presented an approach to scoring travel regions based on user preferences and then
combining them into a longer trip [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The score of a region is gradually decreased on a weekly basis,
so diferent regions with lower initial scores may be added to the knapsack. However, this adjustment
of the duration of stay is very coarse and not adapted to item or user characteristics in more detail.
      </p>
      <p>
        When recommending a sequence of travel-related items, such as an itinerary for a city visit, the
problem of how much time to spend at individual locations arises as well. For example, De
Choudhury et al. have analyzed Flickr photo streams to reconstruct paths of tourists in a city [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. This
information is useful for creating an interesting itinerary once a tourist has already selected a city to
visit, but it does not tackle the problem of where to go on a trip or for how long. The determination
of the duration of stay is an open research problem [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], which could be resolved through mobility
analysis of traveler data [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. To the best of our knowledge, no existing approach adequately addresses
the problem raised here.
      </p>
      <p>DERIVING THE DURATION OF STAY IN A DESTINATION RECOMMENDER SYSTEM
Having analyzed the related work, we will now sketch our ideas as to how to resolve the problem in
the domain of destination recommendation. Our proposed solution addresses the question of making
personalized recommendations regarding the duration of a tourist’s visit to a city by considering two
factors: the typical time that all tourists spend in that city and the particular user’s average length of
stay at a given destination. Initially, we need to know the distribution of the durations of people’s stay
at a destination, since there can be substantial diferences between destinations as to how long one
needs to explore it. For example, a smaller city can be covered within a day or two, whereas a major
metropolis might require more time. The second aspect is the pace at which the particular traveler
visits destinations. Some tourists want to immerse themselves deeply into a culture and therefore stay
at each location for a longer time, whereas others want to visit as many diferent places as possible
during their holidays. To quantify these behaviors, we need a database of previous trips to establish a
distribution of how long people stay at a specific destination, such as a country or a city.</p>
      <p>
        We employ our previously proposed approach to mine trips from a data set stemming from
Foursquare [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], a location-based social network (LBSN), where people can check in at venues all over
the world. However, the analysis presented in that paper is at a country-level granularity, whereas
we look at the duration of stays at the city level. Using a Foursquare data set of 33,278,683 check-ins
by 266,909 users [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], we mine 223,688 domestic and 10,963 international trips, requiring a minimum
duration of seven days to mitigate the confounding efect of short business trips. These trips are
further segmented into blocks, which are consecutive check-ins at the same municipality with over
15,000 inhabitants. The trips have a mean value of 2.944 blocks, resulting in a total of 690,897 blocks
for further analysis. The bar plot in Figure 1 shows the distribution of the durations of all blocks,
regardless of the city. The logarithmized counts show a bimodal distribution, with most blocks being
one day long and another peak at seven days. This second peak can be atributed our decision to set
the minimum duration of the whole trip at seven days.
      </p>
      <p>The next step is to determine the pace at which our particular user typically travels, i.e., the
distribution of the duration the individual traveler’s past blocks. To obtain this information, we can
either ask the traveler to provide some information about past trips directly, or we can request access
to the individual’s mobility paterns from her profile on a LBSN. Once we have this information about
past trips, we can derive the user’s pace by comparing it to the quantiles of all other travelers who
have visited the same destinations. This essentially establishes a collaborative filtering method to
derive the duration of stays from actual user behavior.
Example. To visualize our approach, we show how the algorithm would calculate the personalized
duration of a sample user’s visit to Washington, D.C. To that end, we calculate the quantiles of the
previously visited cities. In our example, the user made three previous visits, spending 16 days in
Tokyo, 10 days in Jakarta, and 7 days in London. We have visualized the distributions of the durations
of blocks in the three cities in Figures 2, 3, and 4. The durations of these trips reveal that our user
is a relatively slow-paced traveler compared to others, as her lengths of stays are toward the right
side of the distributions. The trip to Tokyo was at 97%, the stay in Jakarta at 81%, and the visit to
London at 96% of the cumulative distribution function. To aggregate the user’s pace over the previous
trips, we can calculate the mean percentile, which is 91%. We can then find that percentile in the
distribution of visits to Washington, D.C., where the 91th percentile of the distribution is at 10 days
(see Figure 5). Therefore, this would be the recommended duration of stay.</p>
    </sec>
    <sec id="sec-3">
      <title>CONCLUSIONS</title>
      <p>In this paper, we have identified and examined the problem of determining the amount of item
consumption in recommender systems. To solve this problem, additional information about the domain
and the user’s preferences is required. We showcased an approach to determining the personalized
duration of a stay in a city, based on the analysis of mobility data from location-based social networks.
The underlying method is, however, generalizable to similar problems, given the availability of
appropriate data. We argue that such data are indeed often available, especially in commercial recommender
systems. In the tourism sector, airlines and hotel portals have a long history of user data and, which
they could easily leverage when making recommendations. After all, the proposed approach can
be used in any recommender systems domain, where the amount of the recommendation maters
and where information about the distribution of the quantity is available for both all users and the
particular user of interest.</p>
      <p>In the future, we plan to extend our analysis using more trips from diferent LBSNs and to assess
our approach by using ofline evaluations that involve cross-validation as well as user studies.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Munmun</given-names>
            <surname>De Choudhury</surname>
          </string-name>
          , Moran Feldman,
          <source>Sihem Amer-Yahia</source>
          , Nadav Golbandi, Ronny Lempel, and
          <string-name>
            <given-names>Cong</given-names>
            <surname>Yu</surname>
          </string-name>
          .
          <year>2010</year>
          .
          <article-title>Automatic Construction of Travel Itineraries Using Social Breadcrumbs</article-title>
          .
          <source>In 21st ACM Conference on Hypertext and Hypermedia (HT '10)</source>
          . ACM, New York, NY, USA,
          <fpage>35</fpage>
          -
          <lpage>44</lpage>
          . htps://doi.org/10.1145/1810617.1810626
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Linus</surname>
            <given-names>W.</given-names>
          </string-name>
          <string-name>
            <surname>Dietz</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Data-Driven Destination Recommender Systems</article-title>
          .
          <source>In 26th Conference on User Modeling, Adaptation and Personalization (UMAP '18)</source>
          . ACM, New York, NY, USA. htps://doi.org/10.1145/3209219.3213591
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Linus</surname>
            <given-names>W.</given-names>
          </string-name>
          <string-name>
            <surname>Dietz</surname>
            , Daniel Herzog, and
            <given-names>Wolfgang</given-names>
          </string-name>
          <string-name>
            <surname>Wörndl</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Deriving Tourist Mobility Paterns from Check-in Data</article-title>
          .
          <source>In WSDM Workshop on Learning from User Interactions</source>
          . Los Angeles, CA, USA.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Linus</surname>
            <given-names>W.</given-names>
          </string-name>
          <string-name>
            <surname>Dietz</surname>
            , Rinita Roy, and
            <given-names>Wolfgang</given-names>
          </string-name>
          <string-name>
            <surname>Wörndl</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>Characterisation of Traveller Types Using Check-in Data from Location-Based Social Networks</article-title>
          .
          <source>In Information and Communication Technologies in Tourism, Juho Pesonen and Julia Neidhardt (Eds.)</source>
          . Springer, Cham,
          <fpage>15</fpage>
          -
          <lpage>26</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Daniel</given-names>
            <surname>Herzog</surname>
          </string-name>
          and
          <string-name>
            <given-names>Wolfgang</given-names>
            <surname>Wörndl</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>A Travel Recommender System for Combining Multiple Travel Regions to a Composite Trip</article-title>
          . In CBRecSys@RecSys. Foster City, CA, USA,
          <fpage>42</fpage>
          -
          <lpage>48</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Qi</given-names>
            <surname>Liu</surname>
          </string-name>
          , Yong Ge,
          <string-name>
            <given-names>Zhongmou</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Enhong</given-names>
            <surname>Chen</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Hui</given-names>
            <surname>Xiong</surname>
          </string-name>
          .
          <year>2011</year>
          .
          <article-title>Personalized Travel Package Recommendation</article-title>
          .
          <source>In IEEE 11th International Conference on Data Mining (ICDM '11)</source>
          . IEEE, Vancouver, BC, Canada,
          <fpage>407</fpage>
          -
          <lpage>416</lpage>
          . htps://doi.org/10.1109/ icdm.
          <year>2011</year>
          .118
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Joan</given-names>
            <surname>Melià-Seguí</surname>
          </string-name>
          , Rui Zhang, Eugene Bart, Bob Price, and
          <string-name>
            <given-names>Oliver</given-names>
            <surname>Brdiczka</surname>
          </string-name>
          .
          <year>2012</year>
          .
          <article-title>Activity Duration Analysis for Contextaware Services Using Foursquare Check-ins</article-title>
          .
          <source>In International Workshop on Self-aware Internet of Things (Self-IoT '12)</source>
          . ACM, New York, NY, USA,
          <fpage>13</fpage>
          -
          <lpage>18</lpage>
          . htps://doi.org/10.1145/2378023.2378027
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Min</given-names>
            <surname>Xie</surname>
          </string-name>
          ,
          <string-name>
            <surname>Laks</surname>
            <given-names>V. S.</given-names>
          </string-name>
          <string-name>
            <surname>Lakshmanan</surname>
          </string-name>
          , and
          <string-name>
            <surname>Peter</surname>
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Wood</surname>
          </string-name>
          .
          <year>2012</year>
          .
          <article-title>Composite recommendations: from items to packages</article-title>
          .
          <source>Frontiers of Computer Science</source>
          <volume>6</volume>
          ,
          <issue>3</issue>
          (
          <year>June 2012</year>
          ),
          <fpage>264</fpage>
          -
          <lpage>277</lpage>
          . htps://doi.org/10.1007/s11704-012-2014-1
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Dingqi</given-names>
            <surname>Yang</surname>
          </string-name>
          , Daqing Zhang, Longbiao Chen, and
          <string-name>
            <given-names>Bingqing</given-names>
            <surname>Qu</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>NationTelescope: Monitoring and visualizing large-scale collective behavior in LBSNs</article-title>
          .
          <source>Journal of Network and Computer Applications</source>
          <volume>55</volume>
          (Sept.
          <year>2015</year>
          ),
          <fpage>170</fpage>
          -
          <lpage>180</lpage>
          . htps: //doi.org/10.1016/j.jnca.
          <year>2015</year>
          .
          <volume>05</volume>
          .010
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>