coling 2012 extracting and normalizing entity-actions from users’ comments swapna gottipati, jing...

43
COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management University, Singapore

Upload: eustacia-preston

Post on 04-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Extracting and Normalizing Entity-Actions from Users’ comments

Swapna Gottipati, Jing JiangSchool of Information Systems,

Singapore Management University, Singapore

Page 2: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

► IntroductionIntroduction►Task Definition►Nature of actionable comments

Sentence level study Phrase level study

►Solution Method Entity-action extraction Entity-action normalization

►Dataset►Experiments►Conclusion

Page 3: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Introduction

►Defining an actionable comment as an expression with an entity such as person or organization and a suggestion that can be acted upon.

Page 4: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

► Following comments are in response to the news about a car accident. [C1]The government should lift diplomatic immunity of the

ambassador. [C2]Govt must inform the romanian government of what

happened immediately. [C3]SG government needs to cooperate closely with

romania in persecuting this case. [C4]Hope the government help the victims by at least

paying the legal fees. [C5]I believe that goverment will help the victims for legal

expenses.► All sentences consist of an action and the

corresponding entity who should take the action.

Page 5: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

►Observing entities in all the above sentences refer to the same entity, Government, but expressed in various forms.Entity Action

government lift diplomatic immunity of the ambassador and get him to face..

government inform the romanian government of what happened immediately..

government cooperate closely with romania in persecuting..

government help victims by at least paying the legal fees

Page 6: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

► Introduction► Task DefinitionTask Definition►Nature of actionable comments

Sentence level study Phrase level study

►Solution Method Entity-action extraction Entity-action normalization

►Dataset►Experiments►Conclusion

Page 7: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Task Definition

►Goal: Extract and normalize actionable comments from user generated content in response to a news article.

Page 8: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

►The actionable comments will be represented as an entity-action pair.

►Giving a news article A and corresponding candidate comments C = {c1, c2, . . . , cn} extracted using the keywords, our goal is to detect pairs of {nei , nai} where nei is a normalized entity and nai is a normalized action.

Page 9: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

► Introduction► Task Definition►Nature of actionable commentsNature of actionable comments

Sentence level studySentence level study Phrase level study

► Solution Method Entity-action extraction Entity-action normalization

► Dataset► Experiments► Conclusion

Page 10: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Sentence level study

►To understand how frequently a user writes an actionable comment, we randomly selected 500 sentences from AsiaOne.com

►13.6% of the sentences are actionable comments.

Page 11: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

►88.3% of the actionable comments use the keywords listed in the right Table

Keyword

Frequency

Shouldhope believemay be have to oughtto besuggest suppose toneed to must adviseneeds to request

54.24%8.47%3.39%5.08%5.08%1.69%3.39%3.39%1.69%3.39%3.39%3.39%1.69%1.69%

Page 12: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

► Introduction►Task Definition►Nature of actionable commentsNature of actionable comments

Sentence level study Phrase level studyPhrase level study

►Solution Method Entity-action extraction Entity-action normalization

►Dataset►Experiments►Conclusion

Page 13: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Phrase level study

►Entity extraction: Identify the correct entity in the actionable comment.

►Normalization: Normalize the entity mentions to their canonical form.

►Redundancy: Normalize similar actions to aid in redundancy elimination.

Page 14: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

► Introduction►Task Definition►Nature of actionable comments

Sentence level study Phrase level study

► Solution MethodSolution Method Entity-action extractionEntity-action extraction Entity-action normalization

►Dataset►Experiments►Conclusion

Page 15: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Solution Method

►Entity-action extraction Based on CRF model

►Normalization model Based on the clustering techniques for

entity and action normalization.

Page 16: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Entity-action extraction

►A comment sentence x = (x1, x2, . . . , xn) where each xi is a single token. We need to assign a sequence of labels or tags y = ( y1, y2, . . . , yn) to x. We define our tag set as {BE, IE, BA, IA,O}

Page 17: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Features

►POS features►Positional features►Dependency tree features

Page 18: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

POS features

►POS tags using the Stanford POS tagger, combine POS features of neighboring words in [-2, +2] window.

Page 19: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Positional features

►Finding the position of each word, xi

with respect to the keyword in the given sentence.

►Positive numbers for words preceding the keyword and negative numbers for words succeeding the keyword in the sentence. We do the same for neighboring words in [-2, +2] window.

Page 20: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Dependency tree features

►For each word xi , we check if it is nominal subject in the sentence and represent it by nsubj. The dependency tree features can be extracted using Stanford dependencies tool.

►The output is S = {ei , ai}, a set of entity-action pairs.

Page 21: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

► Introduction►Task Definition►Nature of actionable comments

Sentence level study Phrase level study

► Solution MethodSolution Method Entity-action extraction Entity-action normalizationEntity-action normalization

►Dataset►Experiments►Conclusion

Page 22: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Entity-action normalization

►Given S = {ei , ai}, a set of entity-action pairs, the goal is to generate NS = {nei , nai}, a set of normalized entity-action pairs.

Page 23: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Entity normalization

►Using agglomerative clustering which is a hierarchical clustering method which works bottom-up (Olson, 1995).

►Expanding the entity with the features from Google and Semantic-Similarity Sieves adopted from Stanford coreference algorithm (Raghunathan et al.2010).

Page 24: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Features

►Alias features►Semantic-similarity features

Page 25: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Alias features

►Giving an entity mention, it is first expanded with the title of the news article and this query is fed to the Google API. Google outputs the ranked matching outputs. EX: Alias features for “Ionescu + title” are

Dr.Ionescu, Silvia Ionescu, Romanian Diplomat Ionescu etc.

Page 26: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Semantic-similarity features

►Following steps from Stanford coreference resolution tool for both named and unnamed entities: (a) Remove the text following the mention

head word. (b) Select the lowest noun phrase (NP) in

the parse tree that includes the mention head word.

(c) Using the longest proper noun (NNP*) sequence that ends with the head word.

(d) Select the head word.

Page 27: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Action normalization

►To remove the redundant actions. We choose clustering same as above to normalize the actions associated with same normalized entity.

►The feature set for this task is simply bag-of-words with stop word removal. The representative action is also chosen similar to the above.

Page 28: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

► Introduction►Task Definition►Nature of actionable comments

Sentence level study Phrase level study

►Solution Method Entity-action extraction Entity-action normalization

►DatasetDataset►Experiments►Conclusion

Page 29: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Dataset

►Dataset consists of 5 contentious news articles and comments from Asiaone.com.

►Using the keywords listed to extract the candidate sentences from all the comments (each comment has 1 or more sentences) in 5 news articles.

►We use randomly 110 candidate sentences from each article and in total 550 candidates for experiments.

►Agreement level using Cohen’s kappa is 0.7679

Page 30: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

► Introduction►Task Definition►Nature of actionable comments

Sentence level study Phrase level study

►Solution Method Entity-action extraction Entity-action normalization

►Dataset► ExperimentsExperiments►Conclusion

Page 31: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Experiments

► To prepare the ground truth, we engaged two annotators to label 550 candidate sentences.

► Label the entity with BE (beginning of an entity) IE (inside an entity).

► Label the action with: BA (beginning of an action) IA (inside an action) The others are labeled as O (other).

► If both entity and action are found, sentence is a valid suggestion. Label it as 1. Otherwise, label it as 0.

Page 32: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

Baseline

►Performing 10-fold cross validation for Performing 10-fold cross validation for all our experiments, and use this all our experiments, and use this pattern matching technique as a pattern matching technique as a baseline.baseline.

COLING 2012

Page 33: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Actionable knowledge detection results

►Precision of 88.26%, recall of 93.12% and F-score of 90.63% in classifying actionable comments.

►failed in detecting the actionable comments when the sentences have poor grammatical structure. “Don’t need to call the helpline..”

Page 34: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Entity extraction results

Exact Match Overlap Match

Metrics Baseline

CRF Baseline

CRF

Recall 0.8799 0.8352 0.9032 0.9306

Precision

0.5866 0.6849 0.9597 0.8578

F-score 0.7039 0.7509 0.9306 0.8927

Page 35: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Action extraction results

Exact Match Overlap Match

Metrics Baseline

CRF Baseline

CRF

Recall 0.8947 0.8944 0.9200 0.9169

Precision

0.5519 0.6741 0.7468 0.7544

F-score 0.6827 0.7643 0.8244 0.8270

Page 36: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Experiments on entity-action normalization

►Single Link and complete link, which technique is more suitable for this problem?

►How does the clustering-based solution perform in normalizing the entity-action pairs?

Page 37: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Single Link Vs Complete Link

Single Link Complete Link

Article Pre Recall F Pre Recall F

A1A1 0.51610.5161 0.50390.5039 0.5100.51000

0.8460.84622

0.6920.69299

0.7610.76199

A2A2 1.0001.00000

0.33330.3333 0.5000.50000

0.71430.7143 0.5230.52388

0.6040.60444

A3A3 0.7360.73688

0.32180.3218 0.4480.44800

0.56640.5664 0.7350.73566

0.6400.64000

A4A4 0.6250.62588

0.45670.4567 0.5280.52800

0.53280.5328 0.6680.66899

0.5930.59311

A5A5 0.9660.96611

0.45600.4560 0.6190.61966

0.72820.7282 0.6000.60000

0.6570.65799

Page 38: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Entity-Action Normalization Results

►We asked a human judge to validate the normalized entity-action pairs.

►Only if both entity and action are normalized, the pair is labeled as valid.

Page 39: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

► Introduction►Task Definition►Nature of actionable comments

Sentence level study Phrase level study

►Solution Method Entity-action extraction Entity-action normalization

►Dataset►Experiments► ConclusionConclusion

Page 40: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Related Work

►Actionable content: More focussed towards manufacturing

applications in which the problems are identified to aid the designers in the product design improvements.

►To the best of our knowledge, our problem of extracting and normalizing entity-action pairs from users’ comments is not studied.

Page 41: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

COLING 2012

Conclusion

►EX: Obama’s state union address►Apart from political and news forums,

the public was asked to express opinions on Twitter using specific hashtags. This triggers the need for gathering actionable content in micro blogs. In the same line, diagnostic opinion detection that talks about what could have happened, who should be blamed, etc., is also an interesting problem.

Page 42: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

THE ENDTHE END

COLING 2012

Page 43: COLING 2012 Extracting and Normalizing Entity-Actions from Users’ comments Swapna Gottipati, Jing Jiang School of Information Systems, Singapore Management

F-scoreF-score

►Precision = tp / (tp + fp)Precision = tp / (tp + fp)►Recall = tp / (tp + fn)Recall = tp / (tp + fn)►F-score=2 * (pre * recall) / (pre =2 * (pre * recall) / (pre

+recall)+recall)

COLING 2012