an empirical approach towards a whom-to-mention twitter appdanisch/w2mpp/slides.pdf · 2015. 9....

28
cnrs - upmc laboratoire d’informatique de paris 6 An empirical approach towards a whom-to-mention Twitter app Soumajit Pramanik 1 , Maximilien Danisch 2 , Qinna Wang 2 Jean-Loup Guillaume 3 , Bivas Mitra 1 1- CNeRG, IIT Kharagpur, India 2- Complex Networks team, LIP6, UPMC-CNRS, Paris, France 3- L3I, University of La Rochelle Supported by: The French National Research Agency - contract CODDDE ANR-13-CORD-0017-01 and ECIS - Cefipra Indo-French Targeted Program May 12, 2015

Upload: others

Post on 21-Jan-2021

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

An empirical approach towards

a whom-to-mention Twitter app

Soumajit Pramanik1, Maximilien Danisch2, Qinna Wang2

Jean-Loup Guillaume3, Bivas Mitra1

1- CNeRG, IIT Kharagpur, India2- Complex Networks team, LIP6, UPMC-CNRS, Paris, France3- L3I, University of La Rochelle

Supported by:The French National Research Agency - contract CODDDEANR-13-CORD-0017-01 and ECIS - Cefipra Indo-French TargetedProgram

May 12, 2015

Page 2: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

This is joint work with:

Soumajit Pramanik (IIT), Maximilien Danisch (LIP6), Dr. Qinna Wang (LIP6)

Prof. Jean-Loup Guillaume (ULR) Prof. Bivas Mitra (IIT)

Pramanik et al. — May 12, 2015

2/28

Page 3: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

What is Twitter?

“Twitter is a social microbloging system which has become one ofthe most important ways for sharing information online.”

What kind of information?

• very local: I’ll have a coffee at our bakery in 10min

• local: IITkgp party on Friday night, all invited

• global: Nicolas Sarkozy is back to politics

• very global: There has been a terrorist attack in Paris

Pramanik et al. — May 12, 2015

3/28

Page 4: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Retweets = propagation

Where do retweets come from?

Someone has to see your tweet:

• One of your followers

• One of the followers of someone that retweeted your tweet

• Someone you mentioned @

• Someone who saw your tweet searching for keywords or #

• Someone who saw it somewhere else on the Internet

Pramanik et al. — May 12, 2015

4/28

Page 5: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Follow network

Pramanik et al. — May 12, 2015

5/28

Page 6: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

You can do something with @

Pramanik et al. — May 12, 2015

6/28

Page 7: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Our goal

How to share an information/opinion with the greatest number ofinterested people?−→ use Twitter + use mention = use our App

We target:

1 (very) global tweets and

2 (very) local tweets

Pramanik et al. — May 12, 2015

7/28

Page 8: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Outline

1 Related work on mention recommendation

2 Data study to get insights

3 Online application

4 Experiments “faky app”

5 Conclusion & perspectives

Pramanik et al. — May 12, 2015

8/28

Page 9: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Three related papers1- Whom to mention: expand the diffusion of tweets by@ recommendation on micro-blogging systems.Wang et al. WWW2013

PROS• First in-depth study of mention in microblogs

• Extract features (interest match, user relationship and userinfluence)

• A ranking function is trained

• Address recommendation overload problem

CONS• No real-time experiments

• No usable app provided

Pramanik et al. — May 12, 2015

9/28

Page 10: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Three related papers

2- Locating targets through mention in Twitter.Tang et al. World Wide Web 2014

PROS• Extract four categories of features

(content, social, location and time)

CONS• The goal is to mention someone interested and trigger

interactions (mentions, replies, retweets, friendship) but notto maximize the spreading

• No real-time experiments

• No usable app provided

Pramanik et al. — May 12, 2015

10/28

Page 11: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Three related papers3- Who will retweet this? Automatically identifying and engagingstrangers on Twitter to spread information. Lee et al. IUI2014

PROS• More features extracted for machine learning methods and

relevance is evaluated

• Waiting-time model

• Real-time experiments

CONS• Goal is to mention someone so that he retweets, not to

maximize the spreading

• Not real users (“Public Safety News” and “Bird Flu News”)

• No usable app provided

Pramanik et al. — May 12, 2015

11/28

Page 12: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

What we suggest

Make a whom-to-mention recommendation system

• to maximize the spread of a tweet,

• working only on real time experiments,

• with a usable app,

• and improve the app every time it is used.

Pramanik et al. — May 12, 2015

12/28

Page 13: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Outline

1 Related work on mention recommendation

2 Data study to get insights

3 Online application

4 Experiments “faky app”

5 Conclusion & perspectives

Pramanik et al. — May 12, 2015

13/28

Page 14: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

World cup datasetThe dataset consists of all tweets made during May, June or July2014 and containing hashtags specific to the 2014 soccer worldcup.

27,916,100 tweets made by 6,020,228 unique users.

• 15,249,762 retweets (55%)

• 937,201 answers (3%)

• 11,729,137 original tweets (42%)

Pramanik et al. — May 12, 2015

14/28

Page 15: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Data study

0 2 4 6 8 10 12 14Number of mentions

0.0

0.2

0.4

0.6

0.8

1.0

1.2

1.4

1.6Av

erag

e nu

mbe

r of r

etw

eets

Pramanik et al. — May 12, 2015

15/28

Page 16: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Data study

100 101102 103 104 105

106 107

Number of followers of the mentioned user

10-5

10-4

10-3

10-2

10-1R

etw

eet

pro

bab

ility

Pramanik et al. — May 12, 2015

16/28

Page 17: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Data study

100 101102 103 104 105

106 107

Number of followers of the mentioned user

10-2

10-1

100

101

102

103

104R

etw

eet

pro

bab

ility

tim

es

# f

ollo

wers

Pramanik et al. — May 12, 2015

17/28

Page 18: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Outline

1 Related work on mention recommendation

2 Data study to get insights

3 Online application

4 Experiments “faky app”

5 Conclusion & perspectives

Pramanik et al. — May 12, 2015

18/28

Page 19: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Online application

Users’ database ?

• (very) global tweets → use a database of “random” users

• (very) local tweets → target non reciprocal followees

Pramanik et al. — May 12, 2015

19/28

Page 20: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Online application

Target users that

• are popular: fP(u)

• are susceptible to retweet the tweet: fRT (u, t)

−→ i.e. have a high S(u, t) = fP(u).fRT (u, t)

Approximation

Neglect overlap (as we mention several users) and maximize thenumber of people that will see the tweet at hop one.

•∑

u S(u, t)

• fP(u) = number of followers of u

• Learn fRT (u, t) using logistic regression

Pramanik et al. — May 12, 2015

20/28

Page 21: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Logistic regression

Principle:

Regression (or binary classification of vectors) by fittingparameters of a logistic function: VΘ(X ) = 1

1+exp(ΘTX )to

optimize a convex quality function.

Advantages:

• Returns the probability for a user to retweet;

• A few parameters to store: convenient for an online app.

Pramanik et al. — May 12, 2015

21/28

Page 22: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Map into the knapsack problem

The goal is to use the remaining place as efficiently as possible:

• Solve the knapsack problem with:

• total budget: 140− Ltweet• user weight: 2 + Lscreenname

• user value: S(u, t)

$4 12 kg

$2 2 kg

$1 1 kg

$2 1 kg

$10 4 kg

?15 kg

Pramanik et al. — May 12, 2015

22/28

Page 23: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Improving the app

Every time the app is used we

1 collect users to increase the database

2 check which mentioned user retweets and improve fRT (u, t)

Pramanik et al. — May 12, 2015

23/28

Page 24: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Live Demo

Pramanik et al. — May 12, 2015

24/28

Page 25: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Outline

1 Related work on mention recommendation

2 Data study to get insights

3 Online application

4 Experiments “faky app”

5 Conclusion & perspectives

Pramanik et al. — May 12, 2015

25/28

Page 26: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Current work: faky app

• Select tweets containing mention(s) made recently on Twitterby random users and retweet them from our fake accountreplacing the mention(s). → Try to have more retweets!

• We chose the tweets based on keywords and a manualselection in order to have only global tweets.

• 50 tweets lead to:• 4 retweets,• 2 followers,• 5 favourites,• 6 mentions,• 1 mentioned user blocked us.

Pramanik et al. — May 12, 2015

26/28

Page 27: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Outline

1 Related work on mention recommendation

2 Data study to get insights

3 Online application

4 Experiments “faky app”

5 Conclusion & perspectives

Pramanik et al. — May 12, 2015

27/28

Page 28: An empirical approach towards a whom-to-mention Twitter appdanisch/W2Mpp/slides.pdf · 2015. 9. 17. · 2- Locating targets through mention in Twitter. Tang et al. World Wide Web

cnr s - upmc laborato i r e d ’ i n format ique de par i s 6

Discussion

Impact of number of mentions

Is knapsack worth it?Tweeting several times the same tweets mentioning different users

Extreme case

Do not use friendship... use mention! → Twitter2.0

Should not target “bad” users

Sybils (users creating many fake accounts)Social capitalists (FMFY/IFYFM) http://www.bit.ly/DDPapp

Pramanik et al. — May 12, 2015

28/28