29
Outline Introduction Lexicons Learning Features and Modifiers Grammar Induction Evaluation Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories Brett Drury LIAAD-INESC May 25, 2011 Brett Drury Identification of Fine Grained Feature Based Event and Sentim

Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

Identification of Fine Grained Feature BasedEvent and Sentiment Phrases from Business

News Stories

Brett Drury

LIAAD-INESC

May 25, 2011

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 2: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

LIAAD-INESCLaboratory of Artificial Intelligence and Decision Support

Porto Portugal

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 3: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

Introduction

Lexicons

Learning Features and Modifiers

Grammar Induction

Evaluation

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 4: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

News Can Move Markets !!!

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 5: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

And it does not have to be true !!!

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 6: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

News analysis refers to the measurement of the various qualitativeand quantitative attributes of textual (unstructured data) newsstories.

I sentiment

I relevance

I novelty

Expressing information in a numerical manner allows themanipulation of the information contained in news.(Source: Wikipedia)

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 7: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

What type of information moves markets?

I Events - Entering bankruptcy

I Sentiment - A poor review of a company’s future prospects

Differences in market reaction?

I Events - Short term reaction

I Sentiment - Longer term reaction

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 8: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

EventsI DeBont and Thaler (1985)I Market Initially Overreacts and Corrects

Example: Reaction of Markets to Bin Laden’s Death

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 9: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

Sentiment

I Lack of dramatic market change

I Longer period of time

I Changes in writing style in company reports

I More accurate predictor than numeric information in companyreport

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 10: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

Current Approaches

I Supervised Learning

I Large Amounts of Training Data

I Classify News Story

I Assign Relevance to News Story

I Final Score = (Classification Score * Relevance Score)

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 11: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

I Lack of training data

I News stories may make reference >1 economic entity

I Accurately locate economic entity

I Scoring phrases must take into account: negation andsentiment modification

I Identify larger phrases which contain smaller phrases

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 12: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

I GATEI Rules written in JAPEI ”Regular Expressions” for Annotations

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 13: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

I Crawl RSS feeds from free news sites

I Text extracted and sent to Open Calais

I Meta-data appended to each story

News Story Acquisition PipelineCrawl RSS − > Store Information (headline, date etc) − >Extract Text − > Send Text to Open Calais − > Store RDF

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 14: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

I Open Calais Meta-Data

I Business Sectors - From Corpus

I ”Identification, extraction and population of collective namedentities”

I Entity2010 – Workshop on Resources and Evaluation forEntity Resolution and Entity

I Add Entries to Gate Gazetteer

I Company List: 2847 − > 42828 entries

I USwitch, thinkorswim Inc, easyBus, ZyLAB

I telecommunication business, telcoms industry, telco sector

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 15: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

I Identify Event Verbs

I POS TAG Sentences

I Co-occurrence of Verbs with Economic Actors

I Sorted by frequency

I Verbs verified by hand

I Expand with verbs from Levin Categories

I Verb Net bounce: drift, drop, float ...

I word forms JSpell drop: dropped, dropping, drops ...

I 330 verbs

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 16: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

I No existing resources for scoring verbs

I hand scored (+1 = positive, -1 = negative)

I positive = 186, negative = 146

I Sorted by frequency

I Verbs verified by hand

Verb Category Examples

Obtained gain(+), add(+), forge(+), win(+), attract(+)Lost fire(-), cut(-), cancel(-)

Direction climb(+), fall(-), boost(+), down(-)

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 17: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

I Extract adjectives

I Sort by frequency and score with Sentiwordnet

I Check adjectives by hand

I Propagate scores by connectives

I Expand adjectives with Wordnet

I 2520 Adjectives

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 18: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

I Learn Features Associated with Economic Actors andVerbs/Adjectives

I Typically Nouns: Profits, Costs ....

I Learnt by Point Wise Mutual Information

I Capture Words With Statistical Relationship With EconomicActor and Verb / Adjective

Categorization Examples

Success Mea-sures

footfall, sales, profits, demand

Third Parties investors, analysts, investors,economists, regulators, consumers

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 19: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

I Learn Modifiers Associated with Economic Actors and Verbs /Adjectives

I Typically Adverbs: Sharply, Not, Piffling

I Learnt by Point Wise Mutual Information

I Hand Scored

Sentiment modifier categorization Examples

Maximization sharply, super, perfectlyMinimization rickety, piffling, justNegation not, none, never

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 20: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

I Order Independent Triples

I Implemented in JAPE

I Economic Actor, Verb/Adjective, Object

I Microsoft , dropped, profits

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 21: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

I Economic Actor Missing

I Combine Patterns

I Rules: separated by individual token (space, comma etc) orcontinuation

I Target Location

I Complete Pattern: Economic Actor (EA)

I Partial Pattern: Back to nearest EA

I Exclude third parties

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 22: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

I Event Score: determined by verb

I Special Features reverse verb scores

I Rise in Costs (-), Rise in profits (+)

I Sentiment Score: determined by adjective

I AVAC Algorithm: adverbs to modified the sentiment score

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 23: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

I Gold Standard:

I Identification of phrase

I Differentiation of an event from sentiment,

I Correct identification of target

I Direction of sentiment or event.

Evaluation Item Recall Precision

Sentiment phrase extraction and di-rection

0.71 0.94

Event phrase extraction and direction 0.84 0.83Sentiment Target Extraction 0.74 0.74Event target extraction 0.84 0.77

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 24: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

I Accurate Headline Classifier

I Select Stories by Headline

I Induce Classifier from Data

I Rules as trainer (S.T Hybrid)

I Constrained Self-Training

Classifier Headline Story Text Description

Alignment 0.57 ± (0.01) 0.57 ± (0.01) 0.57 ± (0.00)Hybrid 0.66 ± (0.04) 0.57 ± (0.06) 0.58 ± (0.04)Rule Trained 0.77 ± (0.01) 0.60 ± (0.01) 0.65 ± (0.01)S.T. Hybrid 0.84 ± (0.01) 0.71 ± (0.01) 0.77 ± (0.01)

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 25: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

Can we make money? Yes!

Strategy Voting Headline Description Story Text

Alignment -12.2% -24.5% -20.6% -0.1%Hybrid -10.6% -10.6% -10.6% -10.6%Rule Trained 16.5% 16.8% 14.8% -1.2%S.T. Hybrid -10.6% 33.8% -6.5% -12.3%

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 26: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

Not published: Rule only system made highest returns

I Very high confidence selections

I Abdication on ambiguous stories

I Very high returns

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 27: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

Sophisticated trading evaluation

I Event and Sentiment Added As Features

I Predict 1,3,5 and 10 days ahead

I Currently Running

I Results Evaluation in June / July 2011

We expect:

I Event information improves short term prediction

I Sentiment information improves longer term prediction

I Combination of the two improves general prediction

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 28: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

Conclusion:

I Simple technique

I Functions well on business news

I Business news generally simple

I Fails on complex text (e.g. quotations)

I Domain specific

I Business lexicon changes: recalculate lexicon regularly

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories

Page 29: Identification of Fine Grained Feature Based Event and ...wims.vestforsk.no/slides/testbmr_Drury.pdf · Outline Introduction Lexicons Learning Features and Modi ers Grammar Induction

OutlineIntroduction

LexiconsLearning Features and Modifiers

Grammar InductionEvaluation

Questions

Takk / Obrigado / ThanksQuestions Please !!!

Please Send: Requests for materials, suggestions, extended finalwork to [email protected]

Brett Drury Identification of Fine Grained Feature Based Event and Sentiment Phrases from Business News Stories