<!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>Temporal Analysis of Online Social Graph by Home Location</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Shiori Hironaka Mitsuo Yoshida Kyoji Umemura</string-name>
          <email>umemura@tut.jp</email>
          <email>yoshida@cs.tut.ac.jp</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Toyohashi University of Technology Aichi</institution>
          ,
          <country country="JP">Japan</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>An online social graph which represents relationships between users is used for many purposes such as home location estimation. However, the online social graph changes over time because the user's environment changes (e.g., house-moving). We tackle temporal analysis of online social graphs by answering the following question: which social graph of certain periods shows the best performance for network-based home location estimation on Twitter? We obtain that the estimation performance achieves the best using the social graph after about half a year. This result indicates that changes in social graphs due to user's environmental changes converge after about half a year.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Author Keywords
Twitter; social graph; home location estimation
INTRODUCTION
People live constructing relationships and interacting with
each other. An online social graph captures a realistic social
graph constructed from such relationships [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Therefore, an
online social graph is used for many purposes, especially to
estimate user attributes such as home locations [
        <xref ref-type="bibr" rid="ref1 ref4">1, 4</xref>
        ]. The
home location estimation methods using online social graphs
are called network-based home location estimation methods.
The online social graph changes over time because the user’s
environment changes (e.g., house-moving). We have to update
online social graph data [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], and the estimation performance of
network-based home location estimation may change
depending on when we collect the online social graph data. McGee
et al. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] indicated that the geographic distance changes by the
relationship between users, which constitutes an online social
graph. Is a newer online social graph used for home location
estimation better?
©2018. Copyright for the individual papers remains with the authors.
Copying permitted for private and academic purposes.
      </p>
      <p>WII’18, March 11, 2018, Tokyo, Japan
In this paper, we tackle temporal analysis of online social
graphs by answering the following question: which social
graph of certain periods shows the best performance for
network-based home location estimation on Twitter? We
obtain that the estimation performance achieves the best using the
social graph after about half a year. This result indicates that
changes in social graphs due to user’s environmental changes
converge after about half a year.</p>
      <p>NETWORK-BASED HOME LOCATION ESTIMATION
A network-based home location estimation method is the home
location estimation method using a social graph, which is
created with a node as a user and an edge as a relationship
between users. The based assumption is that a user is located
geographically close to friends on the social graph. We use
network-based home location estimation to determine how
well the social graph reflects home locations (whether the
social graph and home location data represent the state at the
same time).</p>
      <p>
        In this paper, we use the method of Davis Jr. et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] as a
popular network-based home location estimation. This method
selects the most frequent location among the locations of the
user’s friends as the estimated location. The method is
represented as follows:
      </p>
      <p>Su = arg max* jfvjv 2 Nu \ L; l = lvgj</p>
      <p>l2flnjn2Nu\Lg
Infer(u) = arg max jfnjn 2 L; l = lngj</p>
      <p>
        l2Su
where L is a set of learning data (nodes), Nu is a set of adjacent
nodes of node u, lu is a correct label (home location) of node u,
and arg max* is defined that returns a set of the equivalent. The
processing that the maximum value of the number of friends’
locations is the equivalent is not clear in the paper [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. In this
paper, we then prepare a set Su of l which takes the maximum
value to select the most frequent area in the learning data set.
DATA
We need home location data and social graph data for home
location estimation. In this section, we describe how to make
the data.
      </p>
      <p>
        We define that a user’s home location is the most frequent
location posted with geo-tagged tweets by the user. Actually,
we decided that a home location is an administrative area like
a city, the same way as Davis Jr. et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. We aggregate the
locations of the geo-tagged tweets for each area, and select the
most frequent city as a user’s home location.
      </p>
      <p>We collected geo-tagged tweets posted in Japan from January
2014 to December 2016 using the Twitter Streaming API.
We used only the tweets which have “place” field and its
“place_type” is “poi” or “city”. We regard a city in Japan
including the centroid of the bounding box of the “place” as a
location of the geo-tagged tweet. We assigned a home location
to a user who posts geo-tagged tweets at least five times each
year in a certain area in Japan. As a result, we assigned a home
location to 634,789 users in 2014, 851,675 users in 2015, and
828,929 users in 2016.</p>
      <p>In this paper, we use a social graph based on a mutual following
relationship on Twitter. Our social graph is a simple undirected
graph. We collected following relationships every month from
July 2015 to July 2017 among users who were assigned a
home location in 2014. We excluded users whose following
relationships could not be collected one or more times due to
account deletion or becoming a private account. We collected
following relationships and created 25 monthly social graphs.
Finally, we use 76,730 users for analysis, who can be assigned
a home location for the three years continuously and whose
following relationships can be collected for those three years.
ANALYSIS
Temporal Analysis of Home Location and Social Graph
In this section, we report that social graphs and home locations
change over time.</p>
      <p>Firstly, we report the changes of the user’s home locations
from 2014 to 2016. In the 76,730 target users, the home
locations of 39,814 users did not change for the three years,
the home locations of 22,477 users changed once, and the
home locations of 14,439 users changed twice. In total, the
home locations of 48% of users changed at least once.
Secondly, we report the changes of the social graph from
July 2015 to July 2017. The changes of the social graph
properties are shown in Figure 1. Figure 1(a) shows that the
number of edges between 76,730 users increases over time.
Figure 1(b) shows the average number of degrees, which is
used as an estimation clue, increases from 9.7 to 10.7 for two
years. Figure 1(c) shows that the number of isolated nodes,
which have no edges, decreases over time. They therefore
show that we can use more relationships (edges) to estimate
home locations in after months and years.</p>
      <p>Comparison of Social Graph Collected Month
The network-based home location estimation method uses the
combination of home locations and a social graph. In this
paper, the home location is created from a certain period of
geo-tagged tweets, and the social graph is a monthly snapshot.
We investigate that the estimation performance combining old
home location data and old social graph data, old home
location data and new social graph data, and new home location
data and new social graph data. We did not use old home
location data to estimate new home location in this analysis. That
is, the home location data for learning and tests are from the</p>
      <p>Jul</p>
      <p>Oct Jan
2016</p>
      <p>Apr</p>
      <p>Jul</p>
      <p>Oct Jan
2017</p>
      <p>Apr</p>
      <p>Jul
same period of data. In this analysis, since it is considered that
the network-based home location estimation is making a good
guess using the social graph and friends’ locations, we find
the most adequate period of the social graph for determining
home locations.</p>
      <p>We conduct a home location estimation combining three-years
of home locations and 25 monthly snapshots of a social graph
for two years. Since we are interested only in whether a user’s
home location can be estimated correctly, the performance
is measured by precision, recall, and F1 with leave-one-out
cross-validation.</p>
      <p>The results of the estimations are shown in Figure 2. When
we use the home locations of 2014, August 2015 achieved the
highest F1. In the home locations of 2015, F1 increases to
June 2016, and decreases after that. In the home locations of
2016, F1 becomes higher to June 2017. These results show
the highest values of precision, recall, and F1 are achieved
after about half a year from the end of the year when home
locations were assigned. This result indicates that changes in
social graphs due to user’s environmental changes converge
after about half a year.</p>
      <p>The results also show poor performance when using the home
locations of 2016. We conjecture that this cause is due to a
change of default function for location acquisition by Twitter
in April 2015. The default function has been changed from the
accurate GPS coordinates to the user’s self-chosen place1. As
a result, the quality of “place” used to assign home location
has declined.</p>
      <p>Analysis of Users Who Have Changed Home Location
We assume that the performance changes shown in Figure 2
are caused by home location changes. We evaluate the
performance of home location estimation by splitting into two
user groups: users who have changed their home location at
least one time within the three years and users who have never
changed their home location within those three years. We
did not distinguish between the home location changes that
occurred once or twice. We show just evaluation result of F1
because precision and recall show the same trend as F1.
Figure 3 shows the evaluation result of F1 by splitting into
the above two user groups. The estimation results of users
who have changed their location have large differences over
time. In contrast, the estimation results of users who have
not changed home location have few differences. When we
consider the reason for location change is house-moving, it
seems home location changes cause social graph changes.
In addition, in contrast to the averages of F1 of users whose
location are stable are 0.241, 0.243, and 0.233 in 2014, 2015,
and 2016 respectively the averages of F1 of users whose
location are changed are respectively, 0.127, 0.127, and 0.126.
This result indicates that users who have changed home
location are hard to estimate using this network-based home
location estimation method.</p>
      <p>Analysis of Users Who Have Changed Friends
It is considered that users whose social graph changes make
new friends actively and we suppose that the change of social
graph converges quickly, specifically before about half a year.
We evaluate the performance of home location estimation by
splitting into two user groups: users who have changed friends
(adjacent nodes) within the three years and users who have not
changed friends.</p>
      <p>To check the change of friends, we compare the number of
friends (degree) of each user on the social graph July 2015 and
July 2017. This metric watches only mutual following friends.
In this case, a user just a followee or follower is not a friend.
1The number of tweets which have “coordinates” field sharply
decreased on April 28, 2015.</p>
      <p>The number of users who have changed the number of friends
is 44,228, and the number of users who have not changed the
number of friends is 32,502.</p>
      <p>The evaluation result is shown in Figure 4. The estimation
results of users who have changed friends have large
differences. In contrast, the estimation results of users who have
not changed friends have few differences. We surmise the
F1 of users making friends actively finish to change before
about half a year, but we cannot observe differences in
convergence speed compared with Figure 2. The average F1 of users
who have changed friends is 0.214, 0.217, and 0.210 in 2014,
2015, and 2016 respectively, and the average F1 of users who
have not changed friends is 0.136, 0.135, and 0.132 in 2014,
2015, and 2016 respectively. The users who have not changed
friends have a lower F1.</p>
      <p>DISCUSSION
Our research question was “Which social graph of certain
periods shows the best performance for network-based home
location estimation on Twitter?”. We obtained the result that it
is after about half a year from the end of the year when home
locations were assigned. Our home location assigned method
uses a year’s worth of geo-tagged tweets. Thus, our result
showing a peak after about half a year means a wide variance
between about half a year to a year. The revealing of more
detailed timing is a future work.</p>
      <p>In the experiment, we reveal that social graph changes for
about half a year to a year after a home location changes.
When a user’s home location changes, the home location data
of a user changes when the majority of tweets during that year
change to a new place. When the social graph data of a user
changes when the majority of friends become new friends,
the estimation result changes. Our results show that social
graph changes are slower than home location changes. It is
considered that the social graph changes significantly when
the home location is changed.</p>
      <p>CONCLUSION
We tackle temporal analysis of online social graphs by
answering the following question: which social graph of certain
periods shows the best performance for network-based home
location estimation on Twitter? We collected monthly
snapshots of a social graph for two years and user’s home locations
for three years. Using the data, we conduct home location
estimation. We have obtained that the F1 achieved the highest
performance after about half a year from the end of the year
when home locations were assigned. In addition, we have
found that these results can be seen in only users who have
changed their home location at least once in three years.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Lars</given-names>
            <surname>Backstrom</surname>
          </string-name>
          , Eric Sun, and
          <string-name>
            <given-names>Cameron</given-names>
            <surname>Marlow</surname>
          </string-name>
          .
          <year>2010</year>
          .
          <article-title>Find Me If You Can: Improving Geographical Prediction with Social and Spatial Proximity</article-title>
          .
          <source>In Proceedings of the 19th International Conference on World Wide Web</source>
          .
          <fpage>61</fpage>
          -
          <lpage>70</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Clodoveu</surname>
            <given-names>A. Davis</given-names>
          </string-name>
          <string-name>
            <surname>Jr</surname>
          </string-name>
          .,
          <string-name>
            <surname>Gisele L. Pappa</surname>
          </string-name>
          , Diogo Rennó Rocha de Oliveira, and
          <string-name>
            <surname>Filipe de L. Arcanjo</surname>
          </string-name>
          .
          <year>2011</year>
          .
          <article-title>Inferring the Location of Twitter Messages Based on User Relationships</article-title>
          .
          <source>Transactions in GIS 15</source>
          ,
          <issue>6</issue>
          (
          <year>2011</year>
          ),
          <fpage>735</fpage>
          -
          <lpage>751</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Ravi</given-names>
            <surname>Kumar</surname>
          </string-name>
          , Jasmine Novak, and
          <string-name>
            <given-names>Andrew</given-names>
            <surname>Tomkins</surname>
          </string-name>
          .
          <year>2010</year>
          .
          <article-title>Structure and Evolution of Online Social Networks</article-title>
          .
          <source>In Link Mining: Models, Algorithms, and Applications</source>
          .
          <volume>337</volume>
          -
          <fpage>357</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Rui</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Shengjie</given-names>
            <surname>Wang</surname>
          </string-name>
          , Hongbo Deng,
          <string-name>
            <given-names>Rui</given-names>
            <surname>Wang</surname>
          </string-name>
          , and
          <string-name>
            <surname>Kevin</surname>
            <given-names>Chen-Chuan</given-names>
          </string-name>
          <string-name>
            <surname>Chang</surname>
          </string-name>
          .
          <year>2012</year>
          .
          <article-title>Towards Social User Profiling: Unified and Discriminative Influence Model for Inferring Home Locations</article-title>
          .
          <source>In Proceedings of the 18th ACM International Conference on Knowledge Discovery and Data Mining</source>
          .
          <fpage>1023</fpage>
          -
          <lpage>1031</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Jeffrey</surname>
            <given-names>McGee</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>James</given-names>
            <surname>Caverlee</surname>
          </string-name>
          , and Zhiyuan Cheng.
          <year>2013</year>
          .
          <article-title>Location Prediction in Social Media Based on Tie Strength</article-title>
          .
          <source>In Proceedings of the 22nd ACM International Conference on Information and Knowledge Management</source>
          .
          <fpage>459</fpage>
          -
          <lpage>468</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Norases</given-names>
            <surname>Vesdapunt</surname>
          </string-name>
          and
          <string-name>
            <given-names>Hector</given-names>
            <surname>Garcia-Molina</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Updating an Existing Social Graph Snapshot via a Limited API</article-title>
          .
          <source>In Proceedings of the 25th ACM International on Conference on Information and Knowledge Management</source>
          .
          <fpage>1693</fpage>
          -
          <lpage>1702</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>