SlideShare una empresa de Scribd logo
1 de 34
Descargar para leer sin conexión
文献紹介 2014/09/09 
長岡技術科学大学 
自然言語処理研究室 
岡田正平
文献情報 
XiaodanZhu, HongyuGuo, SaifMohammad and Svetlana Kiritchenko 
An Empirical Study on the Effect of Negation Words on Sentiment 
In Proceedings of the 52nd ACL, pp 304-313. 
2014. 
2014/9/9 文献紹介 2
概要 
• 
感情解析における否定語の振舞いに関する定量的な調査 
– 
否定語:no, not 等 
• 
これまで用いられてきたヒューリスティクス 
– 
否定語の効果は修飾する句の極性のみに依存する 
 
否定語の振舞いを充分に扱えていない 
• 
否定語や修飾する句に依存させることで性能改善 
2014/9/9 文献紹介 3
背景
背景 
• 
感情解析において否定語が与える影響の理解は不可欠 
• 
単純な仮説 
– 
否定語は修飾するテキストの極性を反転させる 
(Polanyi and Zaenen, 2004; Kennedy and Inkpen, 2006) 
– 
sentiment value を一定値シフトさせる 
shifting hypothesis (Taboadaet al., 2011) 
2014/9/9 文献紹介 5
背景 
• 
Stanford Sentiment Treebank (Socheret al., 2013) 
– 
構文木中の全phrase にsentiment score を 人手でアノテーション 
– 
感情解析における初の完全なラベル付き構文木 
– 
11,855文,215,154 unique phrases 
– 
http://nlp.stanford.edu/sentiment 
2014/9/9 文献紹介 6
背景 
Stanford Sentiment Treebank における否定語の振舞い 
横軸:被修飾句(argument)の sentiment value 
縦軸:否定語+被修飾句 (negated phrase) の sentiment value 
2014/9/9 文献紹介 7
背景 
• 
極性の反転は,振舞いの一部のみしか捉えていない 
– 
reversing hypothesisは不十分 
• 
被修飾句自体は同じsentiment value をとっても 否定語を伴うことで異なるsentiment value 
– 
shifting hypothesis でも不十分 
2014/9/9 文献紹介 8
背景 
• 
この論文では... 
– 
既存のヒューリスティクスの性能評価 
– 
既存のヒューリスティクスの拡張・評価 
– 
state-of-the-artな手法の性能評価 
– 
state-of-the-artな手法の拡張・評価 
2014/9/9 文献紹介 9
Negation models
Negation models 
• 
푤: argument 
• 
푤푛: negator 
• 
푠(푤): argument のsentiment score 
• 
푠(푤푛,푤): negated phrase のsentiment score
Models based on heuristics 
• 
Non-lexicalized assumptions and modeling 
– 
Reversing hypothesis 
– 
Shifting hypothesis 
• 
Basic shifting 
• 
Polarity-based shifting 
• 
Simple lexicalized assumption 
– 
Negator-based shifting 
– 
Combined shifting 
2014/9/9 文献紹介 12
Models based on heuristics 
• 
Non-lexicalized assumptions 
– 
Reversing hypothesis 
– 
Shifting hypothesis 
• 
Basic shifting 
• 
Polarity-based shifting 
• 
Simple lexicalized assumption 
– 
Negator-based shifting 
– 
Combined shifting 
2014/9/9 文献紹介 13
Non-lexicalized assumption 
• 
既存の手法のモデル 
푠푤푛,푤≝푓(푠푤) 
• 
argument のsentiment score のみに依存するモデル 
2014/9/9 文献紹介 14
Non-lexicalized assumption 
• 
Reversing hypothesis 
푓푠푤=−푠(푤) 
• 
Shifting hypothesis 
– 
Basic shifting 
푓푠푤=푠푤−푠푠푠푠푠푤∗퐶 
– 
Polarity-based shifting 
푓푠푤=푠푤−푠푠푠푠푠푤∗퐶(푠푠푠푠푠푤) 
2014/9/9 文献紹介 15
Non-lexicalized assumption 
• 
Reversing hypothesis 
푓푠푤=−푠(푤) 
• 
Shifting hypothesis 
– 
Basic shifting 
푓푠푤=푠푤−푠푠푠푠푠푤∗퐶 
– 
Polarity-based shifting 
푓푠푤=푠푤−푠푠푠푠푠푤∗퐶(푠푠푠푠푠푤) 
2014/9/9 文献紹介 16
Models based on heuristics 
• 
Non-lexicalized assumptions and modeling 
– 
Reversing hypothesis 
– 
Shifting hypothesis 
• 
Basic shifting 
• 
Polarity-based shifting 
• 
Simple lexicalized assumption 
– 
Negator-based shifting 
– 
Combined shifting 
2014/9/9 文献紹介 17
Simple lexicalized assumption 
• 
non-lexicalized model を拡張 
푠푤푛,푤≝푓(푤푛,푠푤) 
• 
nagatorにも依存するモデル 
2014/9/9 文献紹介 18
Simple lexicalized assumption 
• 
Nagator-based shifting 
푓푤푛,푠푤=푠푤−푠푠푠푠푠푤∗퐶(푤푛) 
• 
Combined shifting 
푓푤푛,푠푤=푠푤−푠푠푠푠푠푤∗퐶(푤푛,푠푠푠푠푠푤) 
• 
パラメータ数は増加するが過学習を起こさずに性能向上 
2014/9/9 文献紹介 19
Semantics-enriched modeling 
• 
argument 自身に依存するモデル 
푠푤푛,푤≝푓푤푛,푠푤,푟푤 
• 
푟(푤): argument 푤の何かしらの表現 
2014/9/9 文献紹介 20
Semantics-enriched modeling 
• 
푟(푤)をどう実装するか? 
– 
recursive neural tensor network (RNTN) 
• 
Socheret al. (2013), state-of-the-artな性能を達成 
• 
푤푛と푟(푤)のみを利用 
– 
prior sentiment-enriched tensor network (PSTN) 
• 
提案手法 
• 
푤푛,푠푤,푟(푤)を利用 
2014/9/9 文献紹介 21
Semantics-enriched modeling 
2014/9/9 文献紹介 22
Semantics-enriched modeling 
• 
RNTN 
– 
各ノードは푑次ベクトル 
– 
各ベクトルは2つの子ノードから非線形関数によって 求められる 푝2=tanh ( 푎 푝1 푇 푉1:푑푎 푝1+푊 푎 푝1) 
2014/9/9 文献紹介 23
Semantics-enriched modeling 
• 
PSTN 
– 
各ベクトルは2つの子ノードと, 右側の子ノード(=argument) の感情から求められる 푝2=tanh ( 푎 푝1 푇 푉1:푑푎 푝1+푊 푎 푝1 + 푎 푝1 푠푠푠 푇 푉푠푠푛1:푑푎 푝1 푠푠푠+푊푠푠푠푎 푝1 푠푠푠) 
2014/9/9 文献紹介 24
Semantics-enriched modeling 
• 
푝1 푠푠푠には様々な形で感情の値をとることができる 
– 
PSTNの面白いところ 
• 
本論文の目的は否定語の振舞いを調査すること 
– 
푝1 푠푠푠には人手で付けられたタグを用いる 
2014/9/9 文献紹介 25
実験
実験| set-up 
• 
Stanford Sentiment Treebank中の 否定語+被修飾句全2,261 組がデータ点 
• 
頻出する否定語と,助動詞+否定語の組み合わせが対象 
– 
同じ否定語は正規化するe.g.) isn’t, is not → is_not 
• 
評価には平均絶対値誤差 
푀푀푀= 1 푁 ෍푠̂푤푛,푤−푠(푤푛,푤) 푤푛,푤 
2014/9/9 文献紹介 27
実験| 結果 
2014/9/9 文献紹介 28
考察
考察 
• 
各否定語のsentiment value の遷移量 (boxは95%信頼区間) 
• 
nagator-based shifting の有効性 
• 
否定語とdinimisher(図中の白いboxのもの) の境界は曖昧 
2014/9/9 文献紹介 30
考察 
• 
argument の極性による 否定語の振舞いの違い 
• 
polarity-based shifting の有効性 
2014/9/9 文献紹介 31
References
References 
• 
Livia Polanyi and Annie Zaenen.Contextual valence shifters. In Exploring Attitude and Affect in Text: Theories and Applications (AAAI Spring Symposium Series).2004. 
• 
Alistair Kennedy and Diana Inkpen.Sentiment classification of movie reviews using contextual valence shifters. Computational Intelligence, 22(2):110-125. 2006.
References 
• 
MaiteTaboada, Julian Brooke, Milan Tofiloski, Kimberly Vol, and Manfred Stede. Lexicon-based methods for sentiment analysis. Computational Linguistics, 37(2):267- 307. 2011. 
• 
Richard Socher, Alex Perelygin, Jean Y. Wu, Jason Chuang, Christopher D. Manning, Andrew Y. Ng, and Christopher Potts. Recursive deep modwlsfor semantic compositionality over a sentiment treebank. In Proc. of EMNLP’13. 2013. 
2014/9/9 文献紹介 34

Más contenido relacionado

Destacado

Enhancement of the Neutrality in Recommendation
Enhancement of the Neutrality in RecommendationEnhancement of the Neutrality in Recommendation
Enhancement of the Neutrality in RecommendationToshihiro Kamishima
 
Absolute and Relative Clustering
Absolute and Relative ClusteringAbsolute and Relative Clustering
Absolute and Relative ClusteringToshihiro Kamishima
 
Fairness-aware Learning through Regularization Approach
Fairness-aware Learning through Regularization ApproachFairness-aware Learning through Regularization Approach
Fairness-aware Learning through Regularization ApproachToshihiro Kamishima
 
文献紹介:Mine the Easy, Classify the Hard: A Semi-Supervised Approach to Automati...
文献紹介:Mine the Easy, Classify the Hard: A Semi-Supervised Approach to Automati...文献紹介:Mine the Easy, Classify the Hard: A Semi-Supervised Approach to Automati...
文献紹介:Mine the Easy, Classify the Hard: A Semi-Supervised Approach to Automati...Shohei Okada
 
The Independence of Fairness-aware Classifiers
The Independence of Fairness-aware ClassifiersThe Independence of Fairness-aware Classifiers
The Independence of Fairness-aware ClassifiersToshihiro Kamishima
 
Consideration on Fairness-aware Data Mining
Consideration on Fairness-aware Data MiningConsideration on Fairness-aware Data Mining
Consideration on Fairness-aware Data MiningToshihiro Kamishima
 
文献紹介:A Joint Segmentation and Classification Framework for Sentiment Analysis
文献紹介:A Joint Segmentation and Classification Framework for Sentiment Analysis文献紹介:A Joint Segmentation and Classification Framework for Sentiment Analysis
文献紹介:A Joint Segmentation and Classification Framework for Sentiment AnalysisShohei Okada
 
文献紹介:Opinion Mining in Newspaper Articles by Entropy-based Word Connections
文献紹介:Opinion Mining in Newspaper Articles by Entropy-based Word Connections文献紹介:Opinion Mining in Newspaper Articles by Entropy-based Word Connections
文献紹介:Opinion Mining in Newspaper Articles by Entropy-based Word ConnectionsShohei Okada
 
Fairness-aware Classifier with Prejudice Remover Regularizer
Fairness-aware Classifier with Prejudice Remover RegularizerFairness-aware Classifier with Prejudice Remover Regularizer
Fairness-aware Classifier with Prejudice Remover RegularizerToshihiro Kamishima
 
文献紹介:Fine-Grained Contextual Predictions for Hard Sentiment Words
文献紹介:Fine-Grained Contextual Predictions for Hard Sentiment Words文献紹介:Fine-Grained Contextual Predictions for Hard Sentiment Words
文献紹介:Fine-Grained Contextual Predictions for Hard Sentiment WordsShohei Okada
 
文献紹介:Bidirectional Inter-dependencies of Subjective Expressions and Targets a...
文献紹介:Bidirectional Inter-dependencies of Subjective Expressions and Targets a...文献紹介:Bidirectional Inter-dependencies of Subjective Expressions and Targets a...
文献紹介:Bidirectional Inter-dependencies of Subjective Expressions and Targets a...Shohei Okada
 
Correcting Popularity Bias by Enhancing Recommendation Neutrality
Correcting Popularity Bias by Enhancing Recommendation NeutralityCorrecting Popularity Bias by Enhancing Recommendation Neutrality
Correcting Popularity Bias by Enhancing Recommendation NeutralityToshihiro Kamishima
 
文献紹介:An Iterative 'Sudoku Style' Approach to Subgraph-based Word Sense DIsamb...
文献紹介:An Iterative 'Sudoku Style' Approach to Subgraph-based Word Sense DIsamb...文献紹介:An Iterative 'Sudoku Style' Approach to Subgraph-based Word Sense DIsamb...
文献紹介:An Iterative 'Sudoku Style' Approach to Subgraph-based Word Sense DIsamb...Shohei Okada
 
Future Directions of Fairness-Aware Data Mining: Recommendation, Causality, a...
Future Directions of Fairness-Aware Data Mining: Recommendation, Causality, a...Future Directions of Fairness-Aware Data Mining: Recommendation, Causality, a...
Future Directions of Fairness-Aware Data Mining: Recommendation, Causality, a...Toshihiro Kamishima
 
Efficiency Improvement of Neutrality-Enhanced Recommendation
Efficiency Improvement of Neutrality-Enhanced RecommendationEfficiency Improvement of Neutrality-Enhanced Recommendation
Efficiency Improvement of Neutrality-Enhanced RecommendationToshihiro Kamishima
 
文献紹介:SemEval(SENSEVAL)におけるWSDタスクについて
文献紹介:SemEval(SENSEVAL)におけるWSDタスクについて文献紹介:SemEval(SENSEVAL)におけるWSDタスクについて
文献紹介:SemEval(SENSEVAL)におけるWSDタスクについてShohei Okada
 
文献紹介:Recursive Deep Models for Semantic Compositionality Over a Sentiment Tre...
文献紹介:Recursive Deep Models for Semantic Compositionality Over a Sentiment Tre...文献紹介:Recursive Deep Models for Semantic Compositionality Over a Sentiment Tre...
文献紹介:Recursive Deep Models for Semantic Compositionality Over a Sentiment Tre...Shohei Okada
 
OpenOpt の線形計画で圧縮センシング
OpenOpt の線形計画で圧縮センシングOpenOpt の線形計画で圧縮センシング
OpenOpt の線形計画で圧縮センシングToshihiro Kamishima
 
Model-based Approaches for Independence-Enhanced Recommendation
Model-based Approaches for Independence-Enhanced RecommendationModel-based Approaches for Independence-Enhanced Recommendation
Model-based Approaches for Independence-Enhanced RecommendationToshihiro Kamishima
 

Destacado (20)

Enhancement of the Neutrality in Recommendation
Enhancement of the Neutrality in RecommendationEnhancement of the Neutrality in Recommendation
Enhancement of the Neutrality in Recommendation
 
Absolute and Relative Clustering
Absolute and Relative ClusteringAbsolute and Relative Clustering
Absolute and Relative Clustering
 
Fairness-aware Learning through Regularization Approach
Fairness-aware Learning through Regularization ApproachFairness-aware Learning through Regularization Approach
Fairness-aware Learning through Regularization Approach
 
文献紹介:Mine the Easy, Classify the Hard: A Semi-Supervised Approach to Automati...
文献紹介:Mine the Easy, Classify the Hard: A Semi-Supervised Approach to Automati...文献紹介:Mine the Easy, Classify the Hard: A Semi-Supervised Approach to Automati...
文献紹介:Mine the Easy, Classify the Hard: A Semi-Supervised Approach to Automati...
 
The Independence of Fairness-aware Classifiers
The Independence of Fairness-aware ClassifiersThe Independence of Fairness-aware Classifiers
The Independence of Fairness-aware Classifiers
 
Consideration on Fairness-aware Data Mining
Consideration on Fairness-aware Data MiningConsideration on Fairness-aware Data Mining
Consideration on Fairness-aware Data Mining
 
文献紹介:A Joint Segmentation and Classification Framework for Sentiment Analysis
文献紹介:A Joint Segmentation and Classification Framework for Sentiment Analysis文献紹介:A Joint Segmentation and Classification Framework for Sentiment Analysis
文献紹介:A Joint Segmentation and Classification Framework for Sentiment Analysis
 
文献紹介:Opinion Mining in Newspaper Articles by Entropy-based Word Connections
文献紹介:Opinion Mining in Newspaper Articles by Entropy-based Word Connections文献紹介:Opinion Mining in Newspaper Articles by Entropy-based Word Connections
文献紹介:Opinion Mining in Newspaper Articles by Entropy-based Word Connections
 
Fairness-aware Classifier with Prejudice Remover Regularizer
Fairness-aware Classifier with Prejudice Remover RegularizerFairness-aware Classifier with Prejudice Remover Regularizer
Fairness-aware Classifier with Prejudice Remover Regularizer
 
文献紹介:Fine-Grained Contextual Predictions for Hard Sentiment Words
文献紹介:Fine-Grained Contextual Predictions for Hard Sentiment Words文献紹介:Fine-Grained Contextual Predictions for Hard Sentiment Words
文献紹介:Fine-Grained Contextual Predictions for Hard Sentiment Words
 
文献紹介:Bidirectional Inter-dependencies of Subjective Expressions and Targets a...
文献紹介:Bidirectional Inter-dependencies of Subjective Expressions and Targets a...文献紹介:Bidirectional Inter-dependencies of Subjective Expressions and Targets a...
文献紹介:Bidirectional Inter-dependencies of Subjective Expressions and Targets a...
 
Correcting Popularity Bias by Enhancing Recommendation Neutrality
Correcting Popularity Bias by Enhancing Recommendation NeutralityCorrecting Popularity Bias by Enhancing Recommendation Neutrality
Correcting Popularity Bias by Enhancing Recommendation Neutrality
 
文献紹介:An Iterative 'Sudoku Style' Approach to Subgraph-based Word Sense DIsamb...
文献紹介:An Iterative 'Sudoku Style' Approach to Subgraph-based Word Sense DIsamb...文献紹介:An Iterative 'Sudoku Style' Approach to Subgraph-based Word Sense DIsamb...
文献紹介:An Iterative 'Sudoku Style' Approach to Subgraph-based Word Sense DIsamb...
 
Future Directions of Fairness-Aware Data Mining: Recommendation, Causality, a...
Future Directions of Fairness-Aware Data Mining: Recommendation, Causality, a...Future Directions of Fairness-Aware Data Mining: Recommendation, Causality, a...
Future Directions of Fairness-Aware Data Mining: Recommendation, Causality, a...
 
Efficiency Improvement of Neutrality-Enhanced Recommendation
Efficiency Improvement of Neutrality-Enhanced RecommendationEfficiency Improvement of Neutrality-Enhanced Recommendation
Efficiency Improvement of Neutrality-Enhanced Recommendation
 
文献紹介:SemEval(SENSEVAL)におけるWSDタスクについて
文献紹介:SemEval(SENSEVAL)におけるWSDタスクについて文献紹介:SemEval(SENSEVAL)におけるWSDタスクについて
文献紹介:SemEval(SENSEVAL)におけるWSDタスクについて
 
文献紹介:Recursive Deep Models for Semantic Compositionality Over a Sentiment Tre...
文献紹介:Recursive Deep Models for Semantic Compositionality Over a Sentiment Tre...文献紹介:Recursive Deep Models for Semantic Compositionality Over a Sentiment Tre...
文献紹介:Recursive Deep Models for Semantic Compositionality Over a Sentiment Tre...
 
OpenOpt の線形計画で圧縮センシング
OpenOpt の線形計画で圧縮センシングOpenOpt の線形計画で圧縮センシング
OpenOpt の線形計画で圧縮センシング
 
Model-based Approaches for Independence-Enhanced Recommendation
Model-based Approaches for Independence-Enhanced RecommendationModel-based Approaches for Independence-Enhanced Recommendation
Model-based Approaches for Independence-Enhanced Recommendation
 
WSDM2016勉強会 資料
WSDM2016勉強会 資料WSDM2016勉強会 資料
WSDM2016勉強会 資料
 

Más de Shohei Okada

「登壇しているひとは偉い」という話
「登壇しているひとは偉い」という話「登壇しているひとは偉い」という話
「登壇しているひとは偉い」という話Shohei Okada
 
PHP-FPM の子プロセス制御方法と設定をおさらいしよう
PHP-FPM の子プロセス制御方法と設定をおさらいしようPHP-FPM の子プロセス制御方法と設定をおさらいしよう
PHP-FPM の子プロセス制御方法と設定をおさらいしようShohei Okada
 
PHP 8.0 の新記法を試してみよう!
PHP 8.0 の新記法を試してみよう!PHP 8.0 の新記法を試してみよう!
PHP 8.0 の新記法を試してみよう!Shohei Okada
 
自分たちのコードを Composer パッケージに分割して開発する
自分たちのコードを Composer パッケージに分割して開発する自分たちのコードを Composer パッケージに分割して開発する
自分たちのコードを Composer パッケージに分割して開発するShohei Okada
 
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #shuuumai
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #shuuumaiクリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #shuuumai
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #shuuumaiShohei Okada
 
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpconokinawa
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpconokinawaクリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpconokinawa
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpconokinawaShohei Okada
 
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpcondo
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpcondoクリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpcondo
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpcondoShohei Okada
 
Laravel でやってみるクリーンアーキテクチャ #phpconfuk
Laravel でやってみるクリーンアーキテクチャ #phpconfukLaravel でやってみるクリーンアーキテクチャ #phpconfuk
Laravel でやってみるクリーンアーキテクチャ #phpconfukShohei Okada
 
エラー時にログに出力する情報と画面に表示する情報を分ける #LaravelTokyo
エラー時にログに出力する情報と画面に表示する情報を分ける #LaravelTokyoエラー時にログに出力する情報と画面に表示する情報を分ける #LaravelTokyo
エラー時にログに出力する情報と画面に表示する情報を分ける #LaravelTokyoShohei Okada
 
スペシャリストとして組織をつくる、というキャリア
スペシャリストとして組織をつくる、というキャリアスペシャリストとして組織をつくる、というキャリア
スペシャリストとして組織をつくる、というキャリアShohei Okada
 
PHP でも活用できる Makefile
PHP でも活用できる MakefilePHP でも活用できる Makefile
PHP でも活用できる MakefileShohei Okada
 
はじめての Go 言語のプロジェクトを AWS Lambda + API Gateway でやったのでパッケージ構成を晒すよ
はじめての Go 言語のプロジェクトを AWS Lambda + API Gateway でやったのでパッケージ構成を晒すよはじめての Go 言語のプロジェクトを AWS Lambda + API Gateway でやったのでパッケージ構成を晒すよ
はじめての Go 言語のプロジェクトを AWS Lambda + API Gateway でやったのでパッケージ構成を晒すよShohei Okada
 
Laravel × レイヤードアーキテクチャを実践して得られた知見と反省 / Practice of Laravel with layered archi...
Laravel × レイヤードアーキテクチャを実践して得られた知見と反省 / Practice of Laravel with layered archi...Laravel × レイヤードアーキテクチャを実践して得られた知見と反省 / Practice of Laravel with layered archi...
Laravel × レイヤードアーキテクチャを実践して得られた知見と反省 / Practice of Laravel with layered archi...Shohei Okada
 
働き方が大きく変わった 入社3年目のときのとあるエピソード
働き方が大きく変わった 入社3年目のときのとあるエピソード働き方が大きく変わった 入社3年目のときのとあるエピソード
働き方が大きく変わった 入社3年目のときのとあるエピソードShohei Okada
 
Laravel で API バージョニングを実装するなら
Laravel で API バージョニングを実装するならLaravel で API バージョニングを実装するなら
Laravel で API バージョニングを実装するならShohei Okada
 
Laravel における Blade 拡張のツラミ
Laravel における Blade 拡張のツラミLaravel における Blade 拡張のツラミ
Laravel における Blade 拡張のツラミShohei Okada
 
Laravel の paginate は一体何をやっているのか
Laravel の paginate は一体何をやっているのかLaravel の paginate は一体何をやっているのか
Laravel の paginate は一体何をやっているのかShohei Okada
 
2017 年度を振り返って ~アウトプット編~
2017 年度を振り返って ~アウトプット編~2017 年度を振り返って ~アウトプット編~
2017 年度を振り返って ~アウトプット編~Shohei Okada
 
Laravel × レイヤードアーキテクチャをやってみている話
Laravel × レイヤードアーキテクチャをやってみている話Laravel × レイヤードアーキテクチャをやってみている話
Laravel × レイヤードアーキテクチャをやってみている話Shohei Okada
 
Laravel 5.6 デフォルトの例外ハンドリング処理をまとめてみた
Laravel 5.6 デフォルトの例外ハンドリング処理をまとめてみたLaravel 5.6 デフォルトの例外ハンドリング処理をまとめてみた
Laravel 5.6 デフォルトの例外ハンドリング処理をまとめてみたShohei Okada
 

Más de Shohei Okada (20)

「登壇しているひとは偉い」という話
「登壇しているひとは偉い」という話「登壇しているひとは偉い」という話
「登壇しているひとは偉い」という話
 
PHP-FPM の子プロセス制御方法と設定をおさらいしよう
PHP-FPM の子プロセス制御方法と設定をおさらいしようPHP-FPM の子プロセス制御方法と設定をおさらいしよう
PHP-FPM の子プロセス制御方法と設定をおさらいしよう
 
PHP 8.0 の新記法を試してみよう!
PHP 8.0 の新記法を試してみよう!PHP 8.0 の新記法を試してみよう!
PHP 8.0 の新記法を試してみよう!
 
自分たちのコードを Composer パッケージに分割して開発する
自分たちのコードを Composer パッケージに分割して開発する自分たちのコードを Composer パッケージに分割して開発する
自分たちのコードを Composer パッケージに分割して開発する
 
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #shuuumai
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #shuuumaiクリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #shuuumai
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #shuuumai
 
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpconokinawa
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpconokinawaクリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpconokinawa
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpconokinawa
 
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpcondo
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpcondoクリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpcondo
クリーンアーキテクチャの考え方にもとづく Laravel との付き合い方 #phpcondo
 
Laravel でやってみるクリーンアーキテクチャ #phpconfuk
Laravel でやってみるクリーンアーキテクチャ #phpconfukLaravel でやってみるクリーンアーキテクチャ #phpconfuk
Laravel でやってみるクリーンアーキテクチャ #phpconfuk
 
エラー時にログに出力する情報と画面に表示する情報を分ける #LaravelTokyo
エラー時にログに出力する情報と画面に表示する情報を分ける #LaravelTokyoエラー時にログに出力する情報と画面に表示する情報を分ける #LaravelTokyo
エラー時にログに出力する情報と画面に表示する情報を分ける #LaravelTokyo
 
スペシャリストとして組織をつくる、というキャリア
スペシャリストとして組織をつくる、というキャリアスペシャリストとして組織をつくる、というキャリア
スペシャリストとして組織をつくる、というキャリア
 
PHP でも活用できる Makefile
PHP でも活用できる MakefilePHP でも活用できる Makefile
PHP でも活用できる Makefile
 
はじめての Go 言語のプロジェクトを AWS Lambda + API Gateway でやったのでパッケージ構成を晒すよ
はじめての Go 言語のプロジェクトを AWS Lambda + API Gateway でやったのでパッケージ構成を晒すよはじめての Go 言語のプロジェクトを AWS Lambda + API Gateway でやったのでパッケージ構成を晒すよ
はじめての Go 言語のプロジェクトを AWS Lambda + API Gateway でやったのでパッケージ構成を晒すよ
 
Laravel × レイヤードアーキテクチャを実践して得られた知見と反省 / Practice of Laravel with layered archi...
Laravel × レイヤードアーキテクチャを実践して得られた知見と反省 / Practice of Laravel with layered archi...Laravel × レイヤードアーキテクチャを実践して得られた知見と反省 / Practice of Laravel with layered archi...
Laravel × レイヤードアーキテクチャを実践して得られた知見と反省 / Practice of Laravel with layered archi...
 
働き方が大きく変わった 入社3年目のときのとあるエピソード
働き方が大きく変わった 入社3年目のときのとあるエピソード働き方が大きく変わった 入社3年目のときのとあるエピソード
働き方が大きく変わった 入社3年目のときのとあるエピソード
 
Laravel で API バージョニングを実装するなら
Laravel で API バージョニングを実装するならLaravel で API バージョニングを実装するなら
Laravel で API バージョニングを実装するなら
 
Laravel における Blade 拡張のツラミ
Laravel における Blade 拡張のツラミLaravel における Blade 拡張のツラミ
Laravel における Blade 拡張のツラミ
 
Laravel の paginate は一体何をやっているのか
Laravel の paginate は一体何をやっているのかLaravel の paginate は一体何をやっているのか
Laravel の paginate は一体何をやっているのか
 
2017 年度を振り返って ~アウトプット編~
2017 年度を振り返って ~アウトプット編~2017 年度を振り返って ~アウトプット編~
2017 年度を振り返って ~アウトプット編~
 
Laravel × レイヤードアーキテクチャをやってみている話
Laravel × レイヤードアーキテクチャをやってみている話Laravel × レイヤードアーキテクチャをやってみている話
Laravel × レイヤードアーキテクチャをやってみている話
 
Laravel 5.6 デフォルトの例外ハンドリング処理をまとめてみた
Laravel 5.6 デフォルトの例外ハンドリング処理をまとめてみたLaravel 5.6 デフォルトの例外ハンドリング処理をまとめてみた
Laravel 5.6 デフォルトの例外ハンドリング処理をまとめてみた
 

文献紹介:An Empirical Study on the Effect of Negation words on Sentiment

  • 1. 文献紹介 2014/09/09 長岡技術科学大学 自然言語処理研究室 岡田正平
  • 2. 文献情報 XiaodanZhu, HongyuGuo, SaifMohammad and Svetlana Kiritchenko An Empirical Study on the Effect of Negation Words on Sentiment In Proceedings of the 52nd ACL, pp 304-313. 2014. 2014/9/9 文献紹介 2
  • 3. 概要 • 感情解析における否定語の振舞いに関する定量的な調査 – 否定語:no, not 等 • これまで用いられてきたヒューリスティクス – 否定語の効果は修飾する句の極性のみに依存する  否定語の振舞いを充分に扱えていない • 否定語や修飾する句に依存させることで性能改善 2014/9/9 文献紹介 3
  • 5. 背景 • 感情解析において否定語が与える影響の理解は不可欠 • 単純な仮説 – 否定語は修飾するテキストの極性を反転させる (Polanyi and Zaenen, 2004; Kennedy and Inkpen, 2006) – sentiment value を一定値シフトさせる shifting hypothesis (Taboadaet al., 2011) 2014/9/9 文献紹介 5
  • 6. 背景 • Stanford Sentiment Treebank (Socheret al., 2013) – 構文木中の全phrase にsentiment score を 人手でアノテーション – 感情解析における初の完全なラベル付き構文木 – 11,855文,215,154 unique phrases – http://nlp.stanford.edu/sentiment 2014/9/9 文献紹介 6
  • 7. 背景 Stanford Sentiment Treebank における否定語の振舞い 横軸:被修飾句(argument)の sentiment value 縦軸:否定語+被修飾句 (negated phrase) の sentiment value 2014/9/9 文献紹介 7
  • 8. 背景 • 極性の反転は,振舞いの一部のみしか捉えていない – reversing hypothesisは不十分 • 被修飾句自体は同じsentiment value をとっても 否定語を伴うことで異なるsentiment value – shifting hypothesis でも不十分 2014/9/9 文献紹介 8
  • 9. 背景 • この論文では... – 既存のヒューリスティクスの性能評価 – 既存のヒューリスティクスの拡張・評価 – state-of-the-artな手法の性能評価 – state-of-the-artな手法の拡張・評価 2014/9/9 文献紹介 9
  • 11. Negation models • 푤: argument • 푤푛: negator • 푠(푤): argument のsentiment score • 푠(푤푛,푤): negated phrase のsentiment score
  • 12. Models based on heuristics • Non-lexicalized assumptions and modeling – Reversing hypothesis – Shifting hypothesis • Basic shifting • Polarity-based shifting • Simple lexicalized assumption – Negator-based shifting – Combined shifting 2014/9/9 文献紹介 12
  • 13. Models based on heuristics • Non-lexicalized assumptions – Reversing hypothesis – Shifting hypothesis • Basic shifting • Polarity-based shifting • Simple lexicalized assumption – Negator-based shifting – Combined shifting 2014/9/9 文献紹介 13
  • 14. Non-lexicalized assumption • 既存の手法のモデル 푠푤푛,푤≝푓(푠푤) • argument のsentiment score のみに依存するモデル 2014/9/9 文献紹介 14
  • 15. Non-lexicalized assumption • Reversing hypothesis 푓푠푤=−푠(푤) • Shifting hypothesis – Basic shifting 푓푠푤=푠푤−푠푠푠푠푠푤∗퐶 – Polarity-based shifting 푓푠푤=푠푤−푠푠푠푠푠푤∗퐶(푠푠푠푠푠푤) 2014/9/9 文献紹介 15
  • 16. Non-lexicalized assumption • Reversing hypothesis 푓푠푤=−푠(푤) • Shifting hypothesis – Basic shifting 푓푠푤=푠푤−푠푠푠푠푠푤∗퐶 – Polarity-based shifting 푓푠푤=푠푤−푠푠푠푠푠푤∗퐶(푠푠푠푠푠푤) 2014/9/9 文献紹介 16
  • 17. Models based on heuristics • Non-lexicalized assumptions and modeling – Reversing hypothesis – Shifting hypothesis • Basic shifting • Polarity-based shifting • Simple lexicalized assumption – Negator-based shifting – Combined shifting 2014/9/9 文献紹介 17
  • 18. Simple lexicalized assumption • non-lexicalized model を拡張 푠푤푛,푤≝푓(푤푛,푠푤) • nagatorにも依存するモデル 2014/9/9 文献紹介 18
  • 19. Simple lexicalized assumption • Nagator-based shifting 푓푤푛,푠푤=푠푤−푠푠푠푠푠푤∗퐶(푤푛) • Combined shifting 푓푤푛,푠푤=푠푤−푠푠푠푠푠푤∗퐶(푤푛,푠푠푠푠푠푤) • パラメータ数は増加するが過学習を起こさずに性能向上 2014/9/9 文献紹介 19
  • 20. Semantics-enriched modeling • argument 自身に依存するモデル 푠푤푛,푤≝푓푤푛,푠푤,푟푤 • 푟(푤): argument 푤の何かしらの表現 2014/9/9 文献紹介 20
  • 21. Semantics-enriched modeling • 푟(푤)をどう実装するか? – recursive neural tensor network (RNTN) • Socheret al. (2013), state-of-the-artな性能を達成 • 푤푛と푟(푤)のみを利用 – prior sentiment-enriched tensor network (PSTN) • 提案手法 • 푤푛,푠푤,푟(푤)を利用 2014/9/9 文献紹介 21
  • 23. Semantics-enriched modeling • RNTN – 各ノードは푑次ベクトル – 各ベクトルは2つの子ノードから非線形関数によって 求められる 푝2=tanh ( 푎 푝1 푇 푉1:푑푎 푝1+푊 푎 푝1) 2014/9/9 文献紹介 23
  • 24. Semantics-enriched modeling • PSTN – 各ベクトルは2つの子ノードと, 右側の子ノード(=argument) の感情から求められる 푝2=tanh ( 푎 푝1 푇 푉1:푑푎 푝1+푊 푎 푝1 + 푎 푝1 푠푠푠 푇 푉푠푠푛1:푑푎 푝1 푠푠푠+푊푠푠푠푎 푝1 푠푠푠) 2014/9/9 文献紹介 24
  • 25. Semantics-enriched modeling • 푝1 푠푠푠には様々な形で感情の値をとることができる – PSTNの面白いところ • 本論文の目的は否定語の振舞いを調査すること – 푝1 푠푠푠には人手で付けられたタグを用いる 2014/9/9 文献紹介 25
  • 27. 実験| set-up • Stanford Sentiment Treebank中の 否定語+被修飾句全2,261 組がデータ点 • 頻出する否定語と,助動詞+否定語の組み合わせが対象 – 同じ否定語は正規化するe.g.) isn’t, is not → is_not • 評価には平均絶対値誤差 푀푀푀= 1 푁 ෍푠̂푤푛,푤−푠(푤푛,푤) 푤푛,푤 2014/9/9 文献紹介 27
  • 28. 実験| 結果 2014/9/9 文献紹介 28
  • 30. 考察 • 各否定語のsentiment value の遷移量 (boxは95%信頼区間) • nagator-based shifting の有効性 • 否定語とdinimisher(図中の白いboxのもの) の境界は曖昧 2014/9/9 文献紹介 30
  • 31. 考察 • argument の極性による 否定語の振舞いの違い • polarity-based shifting の有効性 2014/9/9 文献紹介 31
  • 33. References • Livia Polanyi and Annie Zaenen.Contextual valence shifters. In Exploring Attitude and Affect in Text: Theories and Applications (AAAI Spring Symposium Series).2004. • Alistair Kennedy and Diana Inkpen.Sentiment classification of movie reviews using contextual valence shifters. Computational Intelligence, 22(2):110-125. 2006.
  • 34. References • MaiteTaboada, Julian Brooke, Milan Tofiloski, Kimberly Vol, and Manfred Stede. Lexicon-based methods for sentiment analysis. Computational Linguistics, 37(2):267- 307. 2011. • Richard Socher, Alex Perelygin, Jean Y. Wu, Jason Chuang, Christopher D. Manning, Andrew Y. Ng, and Christopher Potts. Recursive deep modwlsfor semantic compositionality over a sentiment treebank. In Proc. of EMNLP’13. 2013. 2014/9/9 文献紹介 34