<!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>When food matters: identifying food-related events on Twitter</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Eleonora Ciceri</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ilio Catallo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Davide Martinenghi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Piero Fraternali?</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dipartimento di Elettronica, Informazione e Bioingegneria, Politecnico di Milano</institution>
          ,
          <addr-line>Milan</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Food communities in Twitter are growing every year, and food-related content permeates everyday conversations. Users meet on Twitter to share recipes, give cooking advices or simply inform others about what they are eating. While some of these food-related conversations are not associated with any special occurrence, many conversations take place instead during speci c events. The detection of food-related events gives interesting insights: people do not talk only about Halloween and Easter, but they also create their own food-related events, such as the promotion of products (e.g., an online petition to propose the production of bacon- avored chips) or themed home-made recipes (e.g., a day of recipes dedicated to chocolate). In this paper, we propose an approach that accurately captures food-related content from the tweet live stream, and analyze the detected conversations to identify food-related events. The proposed technique is general as it can be applied to the identi cation of other thematic events in digital streams.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Recently, Twitter has received much attention from the research community.
It is reported1 that 500 million tweets are published on a daily basis. Tweets
cover a variety of topics, ranging from personal status updates (e.g., \going to
the gym") to local and global news (e.g., \FBI investigating possible corruption
at New York prison"). Tweets may contain hashtags, i.e., words pre xed with
the hash symbol #, which allow tweets with similar topics to be identi ed. Users
interested in speci c topics can search for relevant tweets by hashtags, which
make it particularly easy for users to create conversations about speci c events.
In the following, we denote by event a recognizable happening of limited
duration [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. While some topics are extemporary, news-based, or tied to some speci c
real-world occurrence, others are always discussed, permeating from everyday
conversations and involving large communities. An example is food : food
bloggers, food celebrities, media channels and common users discuss about themes
such as food for holidays, cooking advices for singles, and virtual recipe sharing
? This work is partly funded by the EC's FP7 \Smart H2O" project, and the EU and
      </p>
      <p>
        Regione Lombardia's \Proactive" project
1 https://about.twitter.com/company
parties. Food conversations, as for other topics with a wide coverage in social
media, permeate several events, which originate either within the boundary of
the digital community (e.g., #TacoTuesday) or in the real world (e.g., #easter).
Despite the huge adoption of Twitter as a platform for publishing and talking
about events, their automatic detection still remains an open problem [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
Indeed, given the availability of such a diverse assortment of tweets, it is still not
completely clear how to automatically recognize a given hashtag (and its related
stream of tweets) as being associated with an event.
      </p>
      <p>In this paper, we propose a technique for the automatic detection of
topicrelated events, i.e., events pertaining to a given topic of interest. More precisely,
we devise a two-step detection procedure: we rst identify hashtags related to
a given topic of interest, and then analyze them in order to extract the
associated topic-related events. We show that, when applied to food-related events,
our method is able to successfully identify relevant events among the top-1000
hashtags, attaining 100% Precision@10, and 80% Precision@172. Moreover, in
addition to common food-related celebrations such as #easter, the proposed
technique also manages to identify more Twitter-speci c initiatives, such as
#MeatlessMonday. Nevertheless, note that our technique is applicable to
several other contexts, including disaster management, breaking news and political
events.</p>
      <p>The remainder of this paper is organized as follows. We formally introduce
the topic-related event detection problem in Section 2. In Section 3, we introduce
our process for the retrieval and subsequent identi cation of topic-related tweets.
In Section 4, our approach for the detection of events is presented. In Section
5, we demonstrate the e ectiveness of our method on a real-world scenario. In
Section 6, we discuss about the related works in the literature, just before our
nal conclusions and discussion of future works in Section 7.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Topic-related event detection: problem statement and proposed approach</title>
      <p>Let T = f 1; : : : ; N g denote the tweet set obtained from observing the tweet live
stream for a certain amount of time. Each tweet j = h!j ; Ij ; Hj i is composed
of a textual component !j , a (possibly empty) image component Ij , and a set
of related hashtags Hj . Moreover, let denote a topic of interest. If we indicate
with Y = fY; Ng the set of relevance classes for the topic , we can associate
each tweet j with a label yj 2 Y, such that yj = Y if tweet j is related to
topic , and yj = N otherwise. By considering the set of the sole relevant tweets
T R = f j : yj = Yg T , and de ning HR = Sj: j2T R Hj as the set of hashtags
extracted from T R, we can therefore formulate the topic-related event detection
problem as that of nding a set of topic-related hashtags F HR that are also
associated with an event.</p>
      <p>In order to solve the event detection problem, we devise the following
twostep procedure.
1. Topic-related tweet retrieval. Each tweet entering our system is classi ed
as relevant/non-relevant for the topic . Speci cally, to determine the
releSeed users
Seed terms
Keywords
Hashtags</p>
      <p>Real-time
tweets
crawling</p>
      <p>Filtering
Multimodal classification</p>
      <p>Text Image
classification classification</p>
      <p>Classifier aggregation
Seed
terms
update
topic-related
tweets
temporal
distributions</p>
      <p>Event classification</p>
      <p>non-periodic
Periodic
classification
periodic</p>
      <p>Spike
classification
spike</p>
      <p>
        non-event
V
event
(a) Topic-related tweet retrieval pipeline
(b) Event detection pipeline
vance to topic we adopt a multimodal classi cation approach [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ], which
combines textual and image classi cation.
2. Event classi cation. For each hashtag in HR, we count its daily
occurrences to obtain its temporal distribution (which conveys the change of its
usage over time). Temporal distributions are used to classify the hashtags as
either event-related or event-unrelated.
      </p>
      <p>These two phases are implemented as independent processes, discussed in
Section 3 and Section 4, respectively.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Topic-related tweet retrieval</title>
      <p>The process for the retrieval and classi cation of topic-related tweets is
illustrated in Figure 1(a). The system identi es topic-related tweets from the live
stream in three phases: crawling, ltering and classi cation. Thanks to the
presence of a feedback loop, the system automatically follows the topics users are
currently discussing, thus adapting the crawling step to the emerging trends in
conversations. Let us comment in greater detail on each such step.
3.1</p>
      <sec id="sec-3-1">
        <title>Crawling phase</title>
        <p>Let a seed user denote a user which was identi ed by a domain expert as relevant
to topic . Moreover, let S be a set of tweets manually labeled as
relevant/nonrelevant to topic . A seed term (either keyword or hashtag) is a term that
appears frequently in positively labeled tweets and rarely in negatively labeled
tweets in S. The crawling module monitors the tweet live stream2, and retains
tweets meeting at least one of the following selection criteria: i) authored by a
seed user; or ii) containing at least one relevant seed term.</p>
        <sec id="sec-3-1-1">
          <title>2 Within the limitations of the Twitter's terms of service.</title>
          <p>3.2</p>
        </sec>
      </sec>
      <sec id="sec-3-2">
        <title>Filtering phase</title>
        <p>The collected tweets proceed in input to the ltering module, which discards a
tweet if at least one of the following conditions holds: i) the tweet content is not
written in English, ii) the tweet contains inappropriate words, or iii) the tweet
contains words belonging to a topic-dependent set of stop words (e.g., \apple"
in the case of food).
3.3</p>
      </sec>
      <sec id="sec-3-3">
        <title>Classi cation phase</title>
        <p>This step consists of a classi cation phase, at the end of which each tweet is
labeled as relevant/non-relevant to the topic . We rst disaggregate each tweet
j 2 T in its constituting components !j and Ij , and then use a textual and an
image classi er to obtain two independent opinions on the relevance of !j and
Ij to the topic . Finally, we merge these opinions to obtain a unique relevance
label yj for the tweet j .</p>
        <p>
          Text classi cation. We collected a dataset of tweets T ! (such that T !\T =
;) and manually annotated their textual components !j with a label y!
j 2 Y,
which speci es the relevance of !j w.r.t. topic . Each textual component !j
is subdivided in terms. User mentions (written as @username) and stop words
are deleted from the list of extracted terms, since they are not attributable to
a speci c topic. On the contrary, hashtags (after trimming the # symbol o )
are kept as discriminative features. Finally, terms are normalized by lowercasing
letters and applying Porter stemming [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ], and the feature vector xj! is
computed according to a TF-IDF approach. To train the classi er and assess its
performance, we split T ! in training set Tt!rain (60%), cross-validation set TC!V
!
(20%) and test set Ttest (20%). An SVM classi er with RBF kernel is trained on
the set f(xj!; yj!)gj: j2Ttrain . The combination of the classi er parameters (i.e.,
!
the regularization parameter C and the kernel width ) that guarantees the
!
best performance on the cross validation set TCV is selected, and the classi er
performance is computed on the test set Tt!est.
        </p>
        <p>
          Image classi cation. We collected a dataset of tweets T I (such that T \
T I = ;) and manually annotated their image component Ij with a label yjI 2 Y,
which speci es the relevance of Ij w.r.t. topic . An equal (and small) amount of
positive and negative samples is extracted from fIj gj: j2T I , and their key-points
together with the related SIFT descriptors [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ] are computed. By applying
kmeans clustering, we aggregate the extracted descriptors in K clusters, and use
the centers of the learned clusters as representative terms: they characterize the
visual dictionary W. Each image Ij is then analyzed to extract its feature vector:
i) we extract the key-points of Ij and the related descriptors; ii) for each
keypoint, we select from W the three most similar terms; iii) we build a histogram
of occurrences of the selected terms; iv) we normalize the histogram xjI , which
represents the feature vector for the image Ij . The set of collected visual samples
        </p>
        <p>I I
is subdivided in training set Ttrain (60%), cross validation set TCV (20%) and
test set TtIest (20%). An SVM classi er with RBF kernel is nally trained on the
available training set f(xjI ; yjI )gj: j2TtIrain , and performance is computed on TtIest.</p>
        <p>Classi er aggregation. In case tweet j is made of a single component (i.e.,
either !j or Ij ) the aggregation is not necessary. When both text and image
(a) #NationalCheesecakeDay
]120
ts100
e
tew80
[#60
)k40
(
f 20
00 23 46 69 92 115 138 161</p>
        <p>
          k [day]
(b) #MeatlessMonday
content exist, we aggregate the classi ers opinions, with the method proposed
in [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ], which applies Bayesian formalism and belief functions to estimate the
aggregated label yj .
4
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Event classi cation</title>
      <p>Twitter users track content related to speci c topics using hashtags. Some tags
are just used to describe content, so that it can be easily classi ed and
retrieved in the future. Other hashtags are meant to track real-world events (e.g.,
earthquakes, holidays, elections) and social events (e.g., birthday of a social
community).</p>
      <p>When an event occurs and users start talking about it, the rate of usage of
the related hashtag(s) increases rapidly, and it stays o -the-scale with respect
to other common hashtags until either the event ends or the community loses
interest in it. To study the rate of usage of hashtags, one can analyze their
temporal distributions. A temporal distribution is a K-dimensional histogram
associated with hashtag H, where the k-th component indicates the number
f (k) of tweets produced during day k that contain H. Two examples of temporal
distribution are shown in Figure 2.</p>
      <p>In this paper, we identify topic-related events by tracking temporal variations
in the usage of hashtags. We start from a collection of tweets related to topic
downloaded as described in Section 3. For each hashtag in the collection, we
extract its temporal distribution, and use a supervised approach to decide if the
hashtag is related to an event.
4.1</p>
      <sec id="sec-4-1">
        <title>Tracked events</title>
        <p>Events discussed on Twitter have di erent natures. Some events happen once,
and generate a large interest (although limited in time). For these events, which
we call Spike Events, there is a single (and strong) perturbation in the usage
of related hashtags. An example of spike event is shown in Figure 2(a). Here,
a single activity peak on the hashtag #NationalCheesecakeDay was detected,
as the Twitter food-related community joined the event by massively publishing
cheesecake recipes in a limited amount of time.
14
12
10
)j8
(uFj64
2
0
0
0.1
0.2 0.3
u [1/day]
0.4</p>
        <p>0.5
(a) #MeatlessMonday
0.1</p>
        <p>On the other hand, some events are recurring periodically. For these events,
which we call Periodic Events, there are multiple perturbations in the usage of
related hashtags, such that the interest in the event raises periodically, and is
null (or low) during the other days. An example of periodic event is shown in
Figure 2(b). Here, an activity peak on the hashtag #MeatlessMonday can be
detected on each Monday, since the event is joined by people that meet virtually
every Monday to discuss about meatless recipes.</p>
        <p>Figure 1(b) depicts our event classi cation process. The temporal
distributions associated with the hashtags we want to classify as
event-related/eventunrelated are fed as an input to a chain of two binary classi ers, the rst
dedicated to spike event detection, while the second dedicated to periodic event
detection. A hashtag (or equivalently its temporal distribution) is labeled as
event-related if at least one the classi ers recognizes it.</p>
        <p>Feature set. Spike and periodic events have a peculiar temporal distribution
which is common for all the events of the same class. However, when it comes to
training a classi er for the recognition of event classes, temporal distributions
cannot be used as feature vectors: they su er from temporal dependence of
subsequent components, and consequently events that clearly belong to the same
class but happened in di erent periods of time would have completely di
erent feature vectors and thus would not help the classi er learn the underlying
model. For this reason, we used as feature vector the spectrum of the Fourier
transforms jF (u)j of the normalized temporal distribution, which describe the
frequency components of the signal and are agnostic with respect to the actual
time of the events. As an example, Figure 3 shows the Fourier transforms of two
periodic events, which happen in di erent periods but have similar spectrum.</p>
        <p>
          Event classi ers. When it comes to building an annotated dataset to train
the classi er, we come up with an unbalanced training set, since events are rare
if compared to the total number of produced hashtags. Due to the lack of
positive samples (i.e., temporal distributions corresponding to events), the classi ers
could easily fall into the problem of over tting the data. Thus, we applied the
EasyEnsemble algorithm [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ], which uses undersampling to rebalance the
training set, combined with AdaBoost classi ers [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ], since boosting is often robust
to over tting. Finally, to assess the performance of the classi ers on the training
and test sets, we applied K-fold cross validation, with K = 10.
        </p>
        <p>(a) Topic classi er
sTTae!mxtples PNDTooeicsgttiaatiotilvinvesaearsmysaamspmiplzpeleelsess 11124248292438154882
IsTmaImagpeles PNDTooeicsgttiaatiotilvinvesaearsmysaamspmiplzpeleelsess 1512101370755040965
(b) Spike and periodic event
classier
Samples Positive samples 2030</p>
        <sec id="sec-4-1-1">
          <title>R Negative samples 4870</title>
          <p>in Hs Total samples 6900
Samples Positive samples 5000</p>
        </sec>
        <sec id="sec-4-1-2">
          <title>R Negative samples 5890</title>
          <p>in Hp Total samples 10890
In this section we assess the performance of the proposed topic-related event
detection approach. We rst show how we can correctly identify topic-related
tweets captured from the tweet live stream. Then, we apply event detection to
the resulting tweet set, showing that our approach is capable of attaining good
performance (measured as Precision@K).
In the following, we illustrate the characteristics of the datasets we used to assess
the multimodal classi er performance and report classi cation performance.</p>
          <p>Dataset description. We trained the text and image classi ers on,
respectively, the textual and image datasets T ! and T I , whose cardinalities are
reported in Table 1(a). To test our classi cation approach, we randomly extracted
and manually annotated the following sets of samples: i) T~ !, composed of 1900
tweets containing only text; ii) T~ !+I , composed of 1900 tweets containing both
text and images, where T !, T I , T~ !, T~ !+I are all disjoint. Note that some
tweets are characterized by ambiguous content, and thus annotating them as
relevant or not relevant is di cult for a human annotator too. On our dataset,
the inter-annotator agreement is 93:86%.</p>
          <p>Classi ers performance. Multimodal classi cation improves performance
with respect to text classi cation on T~ ! and T~ !+I . Table 2 shows how accuracy,
precision, recall and F 1-measure increase in this scenario.</p>
          <p>Text classi cation performance is insu cient when images are involved,
because it is not able to interpret visual content and may misinterpret the text
associated with images.
In this section, we assess the performance of the proposed event detection
technique on the food-related tweets.</p>
          <p>
            Dataset description. We ran our topic-related tweet retrieval process from
June 1, 2014 to June 10, 2015. During that period, the system processed more
than 15 million tweets, 9 millions of which were labeled as food-related. The
corresponding number of relevant hashtags was 171451. However, only 21451
were associated with a temporal distribution comprising more than 5 tweets
and were included in the nal set of topic-related hashtags HR. In order to
train the spike classi er, we took a random sample HsR of size 6900 from HR.
Then, we performed a data annotation campaign on the crowdsourcing
platform Champagne [
            <xref ref-type="bibr" rid="ref6">6</xref>
            ], to label them as event-related/unrelated. Crowd workers
were prompted with a sequence of temporal distributions (similar to those in
Figure 2), and asked to identify spike events. A di erent approach was instead
required for training the periodic classi er, due to the fact that periodic events
are quite rare in HR. We compensated for this unfavorable situation as follows.
We rst identi ed 10 periodic events in HR. We then used such events to
synthetically generate 5000 new positive instances by combining each periodic event
with a Gaussian process with mean 0 and variance 0:03, and randomly shifting
the temporal distribution within a period of 7 days. Such procedure is similar to
what is done in the literature (see, e.g., [
            <xref ref-type="bibr" rid="ref18">18</xref>
            ]). Let us denote the resulting dataset
          </p>
          <p>R
as Hp . The cardinalities of the two datasets are reported in Table 1(b).</p>
          <p>Classi ers performance. The performance of the spike and periodic event
classi ers are reported in Table 3. As shown, both classi ers attain high values of
F 1-measure and accuracy, on both the training and test set. In order to further
evaluate the e ectiveness of our approach, we also tested the proposed event
deR
tection technique against a gold standard dataset Hg , which we obtained by rst
ordering hashtags in HR by total number of tweets, and then providing a gold
label for the rst 1000 hashtags. In particular, each hashtag has been assigned
a gold label by analyzing di erent factors, such as the name of the hashtag, its
current use on Twitter, the shape of its temporal distribution, and the content
of tweets collected by the process. Since the total number of tweets might be
intended as a proxy for the success of an event, we believe that testing the proposed
technique against the top-1000 hashtags can provide a meaningful insight on its
e ectiveness in detecting successful events. Since the test was performed against
a top-K ranked list, we measured performance by means of a Precision-Recall
curve, which depicts the attained precision-recall values as K increases. Figure 4
R
reports the performance of our technique on Hg . As shown, our method
correctly identi es the rst 14 food-related events. Overall, our method labels 172
events as food-related, which leads to a nal precision-recall value of (0:80; 0:67).</p>
          <p>Discussion. Table 4 shows the top-10 food-related hashtags retrieved by
our event detection pipeline, together with tweet samples showcasing their
usage. The list reports: i) food-centered social events that are con ned in the
Twittersphere (#foodiechats, #MeatlessMonday, #bandwiches); ii) holidays
(#halloween, #easter) and periodic calendar-based events (#sunday, #tbt [that
is: `Throwback Thursday'], #tgif [that is: `Thank God it's Friday ']) during which
users share themed recipes; iii) media events (#espys), during which people have
dinner in front of the TV and share comments about the show and their food;
iv) food-centered advertising campaign (#TeamWalmartProduce). Finally,
Figure 5 shows a set of images retrieved by our pipeline and related to the periodic
calendar-based events #TacoTuesday and #NationalCheesecakeDay. This
sample shows how our pipeline is able to retrieve high quality multimedia content
(thanks to multimodal classi cation), which could be used, e.g., to summarize
the contents shared by Twitter users during the detected events.
6</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Related work</title>
      <p>
        A number of recent works in the literature cover the problem of event detection
on Twitter. The work in [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ] builds a spatiotemporal model to estimate where
and when events happened, with speci c focus on earthquakes and typhoons.
The work in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] applies a state-of-the-art earthquake detection algorithm to
detect earthquake-related tweets in real-time. The demo in [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] proposes a system
which identi es in real-time real-world events by detecting bursty keywords. The
work in [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] detects unusually crowded regions that can eventually suggest the
occurrence of geo-social events. The work in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] identi es local events by dividing
the timeline of a potential event in time frames, extracting bursty keywords in
each time frame and selecting only the keywords that have local spatial
distribution. The work in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] retrieves tweets that contain drug-related keywords and
identi es drug-related events as spikes in the number of collected tweets. The
work in [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ] classi es social events by clustering temporal series having similar
shapes. The work in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] applies a similar approach, with the strong assumption
that no event can transgress the boundaries of a day. The work in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]
sequentially retrieves tweets from Twitter and transform them in lists of words, which
are then used to cluster keywords according to their density and lter non-local
events. The work in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] manually identi es hashtags related to the Je Suis
Charlie event and analyze how it relates to the raising counter-events (e.g., Je Ne
Suis Pas Charlie ). The work in [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ] performs POS tagging, named entity
extraction and extraction of temporal expressions to create classes of events, using
unsupervised approaches, attaining a Precision@100 of 90%, a Precision@500 of
66% and a Precision@1000 of 52%. The work in [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ] detects composite social
events over streams, by using information deriving from similarity between
messages in the social stream. The work in [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] analyzes the sentiment of produced
tweets to discover real-world events, under the assumption that an event shifts
the sentiment toward a topic (represented by speci c keywords in the content).
Events are thus recognized as bursty keywords that shifted the mood of users.
This approach achieves 60% recall if the objective is to discover the exact date of
an event, and 90% recall if a tolerance of 1 day is allowed. The work in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] uses
several topic detection algorithms and an extension of the tf-idf approach over
time to recognize emerging bursty topics. For this work, the Recall@N varies
between 50% and 90% (depending on the used dataset). Although we rank
favorably with comparable works such as [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] and [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], in many cases we cannot
directly contrast our approach to what is present in the literature. Indeed, while
our technique aims at identifying how hashtags relate to events, a signi cant
percentage of previous works ([
        <xref ref-type="bibr" rid="ref22">22</xref>
        ], [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ]) focus instead on the
problem of spatially localizing such events. A direct comparison is also not
possible for those works that try to identify open-domain events, such as [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ].
      </p>
      <p>
        Several works use supervised classi cation methods to state if content is
related to an event. The work in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] clusters similar messages to perform topic
identi cation, and then classi es content as event-related/event-unrelated, based
on temporal features (e.g., deviations from expected message volume), social
features (e.g., retweets and mentions), topical features (e.g., focus on a topic) and
Twitter-centric features (e.g., hashtag usage). In that work, the F1 measure
achieves 83:7% on test set, while Precision@20 is 65%. The work in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] uses an
SVM classi er to select u-related tweets, to track how u moves over space
and time. The F1-measure achieved by this method is 75:6%. The work in [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]
identi es crime and disaster-related events via binary classi cation, based on
Twitter-speci c features (e.g., hashtags) and on the presence of event-speci c
text features (e.g., presence of happening time). Although on a di erent topic
of interest, our approach is competitive with the afore-mentioned classi
cationbased methods available in the literature. Moreover, note that none of the
previous works deal with the problem of identifying periodic events, which we showed
is an interesting problem in itself and permits unveiling a signi cant percentage
of social events.
7
      </p>
    </sec>
    <sec id="sec-6">
      <title>Conclusions</title>
      <p>In this paper, we investigated the problem of topic-related event detection on
Twitter, which we cast as a supervised learning problem. We focused on the
concrete use case of identifying events that include a food-related component, such
as holidays or commercial initiatives. We rst induced a multimodal classi er
capable of identifying tweets related to the topic of interest, which we used to
isolate relevant tweets from the global tweet stream. Events were therefore
identi ed by applying a chain of two classi ers, one for the identi cation of periodic
events and one for the identi cation of spike events.</p>
      <p>The experimental evaluation showed that our approach attains a Precision@10
value of 100%, and a Precision@172 value of 80%, proving therefore
competitive with other state-of-the-art approaches available in the literature. Future
work will focus on enriching the event classi er feature vector to capture social
components, such as user pro le characteristics (e.g., authority) and network
characteristics (e.g., centrality) and on spatial distribution analysis.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>H.</given-names>
            <surname>Abdelhaq</surname>
          </string-name>
          et al.
          <article-title>Eventweet: Online localized event detection from twitter</article-title>
          .
          <source>VLDB</source>
          ,
          <volume>6</volume>
          (
          <issue>12</issue>
          ),
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>L. M.</given-names>
            <surname>Aiello</surname>
          </string-name>
          et al.
          <article-title>Sensing trending topics in twitter</article-title>
          .
          <source>IEEE Transactions on Multimedia</source>
          ,
          <volume>15</volume>
          (
          <issue>6</issue>
          ),
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>E.</given-names>
            <surname>Aramaki</surname>
          </string-name>
          et al.
          <article-title>Twitter catches the u: detecting in uenza epidemics using twitter</article-title>
          .
          <source>In EMNLP</source>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>F.</given-names>
            <surname>Atefeh</surname>
          </string-name>
          and
          <string-name>
            <given-names>W.</given-names>
            <surname>Khreich</surname>
          </string-name>
          .
          <article-title>A survey of techniques for event detection in twitter</article-title>
          .
          <source>Computational Intelligence</source>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>H.</given-names>
            <surname>Becker</surname>
          </string-name>
          et al.
          <article-title>Beyond trending topics: Real-world event identi cation on twitter</article-title>
          .
          <source>ICWSM</source>
          ,
          <volume>11</volume>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>C.</given-names>
            <surname>Bernaschina</surname>
          </string-name>
          et al.
          <article-title>Champagne: a web tool for the execution of crowdsourcing campaigns</article-title>
          .
          <source>In WWW Companion</source>
          volume,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>A.</given-names>
            <surname>Boettcher</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Lee</surname>
          </string-name>
          .
          <article-title>Eventradar: A real-time local event detection scheme using twitter stream</article-title>
          .
          <source>In GreenCom</source>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>C.</given-names>
            <surname>Buntain</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Golbeck</surname>
          </string-name>
          .
          <article-title>This is your twitter on drugs: Any questions?</article-title>
          <source>In WWW Companion</source>
          , pages
          <volume>777</volume>
          {
          <fpage>782</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>C. De Boom</surname>
          </string-name>
          et al.
          <article-title>Semantics-driven event clustering in twitter feeds</article-title>
          .
          <source>In Making Sense of Microposts (# Microposts2015) (WWW)</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. P. S. Earle et al.
          <article-title>Twitter earthquake detection: earthquake monitoring in a social world</article-title>
          .
          <source>Annals of Geophysics</source>
          ,
          <volume>54</volume>
          (
          <issue>6</issue>
          ),
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>Y.</given-names>
            <surname>Freund</surname>
          </string-name>
          and
          <string-name>
            <given-names>R. E.</given-names>
            <surname>Schapire</surname>
          </string-name>
          .
          <article-title>A decision-theoretic generalization of on-line learning and an application to boosting</article-title>
          .
          <source>JCSS</source>
          ,
          <volume>55</volume>
          (
          <issue>1</issue>
          ),
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>F.</given-names>
            <surname>Giglietto</surname>
          </string-name>
          and
          <string-name>
            <given-names>Y.</given-names>
            <surname>Lee</surname>
          </string-name>
          .
          <article-title>To be or not to be charlie: Twitter hashtags as a discourse and counter-discourse in the aftermath of the 2015 charlie hebdo shooting in france</article-title>
          .
          <source>In Making Sense of Microposts (# Microposts2015) (WWW)</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13. H.
          <string-name>
            <surname>He</surname>
          </string-name>
          et al.
          <article-title>Learning from imbalanced data</article-title>
          .
          <source>TKDE</source>
          ,
          <volume>21</volume>
          (
          <issue>9</issue>
          ),
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <given-names>R.</given-names>
            <surname>Lee</surname>
          </string-name>
          and
          <string-name>
            <given-names>K.</given-names>
            <surname>Sumiya</surname>
          </string-name>
          .
          <article-title>Measuring geographical regularities of crowd behaviors for twitter-based geo-social event detection</article-title>
          .
          <source>In ACM SIGSPATIAL</source>
          ,
          <year>2010</year>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <given-names>R.</given-names>
            <surname>Li</surname>
          </string-name>
          et al.
          <article-title>Tedas: A twitter-based event detection and analysis system</article-title>
          .
          <source>In ICDE</source>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <given-names>D. G.</given-names>
            <surname>Lowe.</surname>
          </string-name>
          <article-title>Object recognition from local scale-invariant features</article-title>
          .
          <source>In Computer vision</source>
          ,
          <year>1999</year>
          , volume
          <volume>2</volume>
          ,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <given-names>M.</given-names>
            <surname>Mathioudakis</surname>
          </string-name>
          and
          <string-name>
            <given-names>N.</given-names>
            <surname>Koudas</surname>
          </string-name>
          .
          <article-title>Twittermonitor: trend detection over the twitter stream</article-title>
          .
          <source>In SIGMOD</source>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <given-names>J.</given-names>
            <surname>Nonnemaker</surname>
          </string-name>
          and
          <string-name>
            <given-names>H. S.</given-names>
            <surname>Baird</surname>
          </string-name>
          .
          <article-title>Using synthetic data safely in classi cation</article-title>
          . In IS&amp;T/SPIE Electronic Imaging, pages
          <fpage>72470G</fpage>
          {
          <fpage>72470G</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19. G. Paltoglou.
          <article-title>Sentiment-based event detection in twitter</article-title>
          .
          <source>Journal of the Association for Information Science and Technology</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <given-names>M. F.</given-names>
            <surname>Porter</surname>
          </string-name>
          .
          <article-title>An algorithm for su x stripping</article-title>
          .
          <source>Program</source>
          ,
          <volume>14</volume>
          (
          <issue>3</issue>
          ),
          <year>1980</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21. A.
          <string-name>
            <surname>Ritter</surname>
          </string-name>
          et al.
          <article-title>Open domain event extraction from twitter</article-title>
          .
          <source>In SIGKDD</source>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>T.</surname>
          </string-name>
          Sakaki et al.
          <article-title>Earthquake shakes twitter users: real-time event detection by social sensors</article-title>
          .
          <source>In WWW</source>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>M. Wozniak</surname>
          </string-name>
          et al.
          <article-title>A survey of multiple classi er systems as hybrid systems</article-title>
          .
          <source>Information Fusion</source>
          ,
          <volume>16</volume>
          :3{
          <fpage>17</fpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24. L.
          <string-name>
            <surname>Xu</surname>
          </string-name>
          et al.
          <article-title>Methods of combining multiple classi ers and their applications to handwriting recognition</article-title>
          .
          <source>IEEE TSMC</source>
          ,
          <volume>22</volume>
          (
          <issue>3</issue>
          ),
          <year>1992</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <given-names>J.</given-names>
            <surname>Yang</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Leskovec</surname>
          </string-name>
          .
          <article-title>Patterns of temporal variation in online media</article-title>
          .
          <source>In WSDM</source>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhou</surname>
          </string-name>
          and
          <string-name>
            <given-names>L.</given-names>
            <surname>Chen</surname>
          </string-name>
          .
          <article-title>Event detection over twitter social media streams</article-title>
          .
          <source>The VLDB Journal</source>
          ,
          <volume>23</volume>
          (
          <issue>3</issue>
          ),
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>