Leveraging the Power of Social Media

79
Leveraging the Power of Social Media Leon Derczynski Natural Language Processing Group Department of Computer Science Faculty of Engineering University of Sheffield

description

A light intro to natural language processing on social media, presented as an invited talk at the University of Sheffield Engineering Symposium 2014 in the AI session. As well as an introduction to the area, this presentation covers powerful real-world applications of social media, and touches on the work we do in the Sheffield NLP group. Video cast: https://www.youtube.com/watch?v=QUbRmUinhHw&feature=youtu.be

Transcript of Leveraging the Power of Social Media

Page 1: Leveraging the Power of Social Media

Leveraging the Power of Social Media

Leon Derczynski

Natural Language Processing GroupDepartment of Computer Science

Faculty of EngineeringUniversity of Sheffield

Page 2: Leveraging the Power of Social Media

work in the field of “computational linguistics”

focus on turning textinto “understanding”

and “decision support”

Page 3: Leveraging the Power of Social Media

the “AI effect”

Pamela McCorduck

artificial intelligence is less impressive when we know how it works

Page 4: Leveraging the Power of Social Media

the “AI effect”

Pamela McCorduck

artificial intelligence is less impressive when we know how it works

..so this talk won't have deep technical detail

Page 5: Leveraging the Power of Social Media

language

Page 6: Leveraging the Power of Social Media
Page 7: Leveraging the Power of Social Media

(note huge evolutionary advancement)

Page 8: Leveraging the Power of Social Media
Page 9: Leveraging the Power of Social Media
Page 10: Leveraging the Power of Social Media
Page 11: Leveraging the Power of Social Media
Page 12: Leveraging the Power of Social Media
Page 13: Leveraging the Power of Social Media

??

Page 14: Leveraging the Power of Social Media

social media

Page 15: Leveraging the Power of Social Media

social media – a poster child for big data

Page 16: Leveraging the Power of Social Media
Page 17: Leveraging the Power of Social Media

big data:

promises new insights

is (was) a cool buzzword

causes headaches

what is it?

Page 18: Leveraging the Power of Social Media

V: velocity

twitter: 255 000 000 users / month

Facebook: 1 280 000 000 users / month

Page 19: Leveraging the Power of Social Media

VV: volume

reddit:34 000 000 posts / month

twitter:650 000 000 messages / month

Page 20: Leveraging the Power of Social Media

VVV: variety

Page 21: Leveraging the Power of Social Media
Page 22: Leveraging the Power of Social Media
Page 23: Leveraging the Power of Social Media
Page 24: Leveraging the Power of Social Media
Page 25: Leveraging the Power of Social Media
Page 26: Leveraging the Power of Social Media

there are many online social networks

we need one of these

Page 27: Leveraging the Power of Social Media

there are many online social networks

we need one of these

Page 28: Leveraging the Power of Social Media

artificial intelligence

Page 29: Leveraging the Power of Social Media

“Human knowledge is expressed in language. So computational linguistics is very important.”

- Mark Steedman

Page 30: Leveraging the Power of Social Media

Start: sequence of bytes

[naturallanguage

processinggoeshere]

End: actionable knowledge

Page 31: Leveraging the Power of Social Media

why bother programming at all?

Page 32: Leveraging the Power of Social Media

why bother programming at all?

… let the computer program itself!

Page 33: Leveraging the Power of Social Media

machine learning:

make decisions about tasks based on things you've seen before

a little bit like human learning

Page 34: Leveraging the Power of Social Media

give text and examples of what we want done

machine learns to from these examples

Page 35: Leveraging the Power of Social Media
Page 36: Leveraging the Power of Social Media
Page 37: Leveraging the Power of Social Media

understanding language

Page 38: Leveraging the Power of Social Media

social media text is surprisingly formal

Page 39: Leveraging the Power of Social Media

they see me rollin

- a typo?

Page 40: Leveraging the Power of Social Media

they see me rollinthey hatin

- perhaps not. G-dropping mapped from speech

Page 41: Leveraging the Power of Social Media

they see me rollinthey hatinpatrollin

- incidentally,this linguistic phenomenon is a good predictor of

education level

Page 42: Leveraging the Power of Social Media

they see me rollinthey hatinpatrollin

tryna catch me ridin dirty

- a new style! flawless; not a single mistake

Page 43: Leveraging the Power of Social Media

omb x

- surely they mean “omg”?

Page 44: Leveraging the Power of Social Media

omb ✔

- the keys are like, right next to each other

Xreally? this guy?

Page 45: Leveraging the Power of Social Media

Shall we go out for dinner this evening?

Ey yo wen u gon let me tap dat

Page 46: Leveraging the Power of Social Media

spelling ability distribution in net slang users

Page 47: Leveraging the Power of Social Media

with spelling ability distribution in non-slang users

Page 48: Leveraging the Power of Social Media

Do you feel luccy, punk?

Page 49: Leveraging the Power of Social Media

Do you feel luccy, punk?

Page 50: Leveraging the Power of Social Media

challenge 1: what language is this anyway

je bent Jacques cousteau niet die een nieuwe soort heeft ontdekt, het is duidelijk, ze bedekken hun gezicht. Get over it

RT @TomPIngram: VIVA LAS VEGAS 16 - NEWS #constantcontact http://t.co/VrFzZaa7

Page 51: Leveraging the Power of Social Media

challenge 2: pls type better

I wonde rif Tsubasa is okay..

- misplaced space = two new words

no homwork tonight.. suprising??

- maybe there should be!

Page 52: Leveraging the Power of Social Media

challenge 3: finding names

derekx is a person

milesx might be a person

Marie Clairex should not be a person

Exodus Porter x probably an OK person, but actually a beer

Page 53: Leveraging the Power of Social Media

challenge 3: finding names

Spicy Pickle Jr. x apparently actually a person

Page 54: Leveraging the Power of Social Media

challenge 3: finding names

Spicy Pickle Jr. x apparently actually a person

???

Page 55: Leveraging the Power of Social Media

old news

Page 56: Leveraging the Power of Social Media

social media defends against earthquakes2010

Page 57: Leveraging the Power of Social Media

Japanese and US quake response times:

down from ~20s to ~17.5s

Page 58: Leveraging the Power of Social Media

social media predicts epidemics2012

exhibit a: one dead crow

Page 59: Leveraging the Power of Social Media

social media mentions of dead crows predict WNV in humans

''There's a dead crow in my garden''

Page 60: Leveraging the Power of Social Media

social media predicts you getting flu2012

Page 61: Leveraging the Power of Social Media

@mari: i think im sick ugh..

great potential for misuse :)

Page 62: Leveraging the Power of Social Media

this november:

social media dispatches fire engines2014

Page 63: Leveraging the Power of Social Media
Page 64: Leveraging the Power of Social Media

trust

Page 65: Leveraging the Power of Social Media

if hospitals and fire stations act based on tweets,

wrong information is extra-harmful

Page 66: Leveraging the Power of Social Media

rumoursspeculation

misinformationdisinformation

who can you trust online?Imagine a lie detector for politicians / Fox News

Page 67: Leveraging the Power of Social Media

responsibility

Page 68: Leveraging the Power of Social Media

1. Collect tweets2. ????3. Profit!

Page 69: Leveraging the Power of Social Media

how long do we keep them for?

- “15 years is OK, right?” - NSA

what do we store and process?

- “just metadata, it's harmless” - GCHQ

Page 70: Leveraging the Power of Social Media

(from Kurt Opshal's slides at the Chaos Communication Congress, photo by Marion Marschalek)

Page 71: Leveraging the Power of Social Media

bias

Page 72: Leveraging the Power of Social Media

newsstyle

socialmedia

Page 73: Leveraging the Power of Social Media

most of our language AI was trained on news text

the bias is:

- middle class- white

-working age- educated

- male- 1980s/1990s- from the US

- journalist- following AP guidelines

Page 74: Leveraging the Power of Social Media

your phone rewards you if you talk and write like

(ok.. sort of)

Page 75: Leveraging the Power of Social Media

your phone rewards you if you talk and write like

(ok.. sort of)

.. and punishes you when you don't.

(not cool!)

Page 76: Leveraging the Power of Social Media

twitter bias is different

- not German or Nordic- are young(ish)

lower requirements

- you can publish even if you're not a journalist- still operates beyond the 1990s

some new requirements

- you do need access to the internet...- ...and twitter (对不起,中国人 )

Page 77: Leveraging the Power of Social Media

the big picture

Page 78: Leveraging the Power of Social Media

we're racing ahead and improving life quality

there is immense value in “trivia”

understanding social media lets ushelp people better

Page 79: Leveraging the Power of Social Media

understanding social media lets ushelp people better

Thank you!

Leon Derczynski