SlideShare une entreprise Scribd logo
1  sur  15
Télécharger pour lire hors ligne
Komachi Lab
M1 Ryosuke Miyazaki
2015/10/02
Learning Tag Embeddings and Tag-specific
Composition Functions in Recursive Neural Network
ACL-IJCNLP 2015

Qiao Qian, Bo Tian, Minlie Huang, Yang Liu, Xuan Zhu and Xiaoyan Zhu
ACL 2015 reading group
※このスライド内の図は論文内のものです
Komachi Lab
RNN
✤ 2つの子ベクトルから親ベクトルを構成!
✤ 木構造に従って再帰的に文全体のベクトルを構成
2
Komachi Lab
Abstract
✤ VPを構成するcomposition functionと

NPを構成するcomposition functionは 本当に一緒?

タグごとに違うのでは?!
✤ 句構造タグも構成に利用しよう!
✤ Tag Guided RNNとTag Embedded RNN/RNTNを提案
3
Komachi Lab
Tag Guided RNN
✤ 親ノードのタグ毎にcomposition functionを変える!
✤ すべてのタグを区別すると

頻度の低いタグに関するパラメータが学習しきれない
4
➡Top k 個とその他で

k+1 の composition function
Komachi Lab
Tag Embedded RNN
✤ 親のタグが同じでも子のタグが違う場合

(VP→V NP と VP→V Advは同じcomposition?)!
✤ 子ノードのタグ情報も使いたいけど

Tag Guidedでやるとcomposition functionがk × k個も

パラメータが多すぎる!
➡ タグをベクトルに埋め込んでスパースネス解消

(1000回未満の出現頻度のタグは無視)
5
Komachi Lab
Tag Embedded RNN
6
Komachi Lab
Tag Embedded RNTN
7
✤ RNTN(Recursive Neural Tensor Network)と同様!
✤ テンソルTを使って, 子ベクトルの相互作用を考慮する
Komachi Lab
Learning
✤ 今回はSentiment Analysis (分類問題)のタスクで学習
8
✤ 誤差関数はCross Entropy Error
Komachi Lab
Experiments Settings
✤ Sentiment Tree Bankを使用

すべての部分木に極性ラベルがついている (5値)

(train: 8544, dev: 1101, test:2210)!
✤ Stanford Parserを使って句構造タグを付与

(Sentiment Tree BankもStanford Parserを使ってるが

ver違いによる木構造の違いでtrain:74, dev:11,test11 の文を無視)
9
Komachi Lab
Experiments Settings
✤ 単語ベクトルはword2vecでpre-train(100,000 movie reviews) 

RNN:d=25, RNTN: d=20!
✤ その他のベクトルは[-0.01, 0.01]の一様分布からサンプル!
✤ 構成されたフレーズベクトルにはベクトルの正規化を施す
10
Komachi Lab
Experiments Settings
✤ ハイパーパラメータ

batch size 30, momentum 0.9, L2 reg 0.0001, Learning rate 0.005
11
TG-RNNのタグの数k: 6 TE-RNNのタグの次元数 de: 8, TE-RNTN : 6
Komachi Lab
Results
12
✤ Fine-grainedではDRNN
の次によい!
✤ RNN → TG-RNN 

(+3.8)!
✤ RNN → TE-RNN 

(+4.8)!
✤ RNTN → TE-RNTN

(+3.2)
Komachi Lab
Model Size
13
✤ DRNNよりも少ない!
✤ RNN, RNTNより少ないのは、次元dの設定が小さいから
Komachi Lab
Tag Vectors Analysis
✤ 目的関数にはタグの分類の気持ちは入っていないのに

似たタグは似たベクトルになってる!
✤ 恐らく似たタグは似た役割を担うから
14
Komachi Lab
Conclusion
✤ 句構造タグを利用した

新しいモデルTG-RNN, TE-RNN/RNTNを考案!
✤ 有用であるだけでなく便利である

(比較的良いパフォーマンスと少ないパラメータ)
15

Contenu connexe

Dernier

Dernier (10)

Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
 
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Learning Tag Embeddings and Tag-specific Composition Functions in Recursive Neural Network

  • 1. Komachi Lab M1 Ryosuke Miyazaki 2015/10/02 Learning Tag Embeddings and Tag-specific Composition Functions in Recursive Neural Network ACL-IJCNLP 2015
 Qiao Qian, Bo Tian, Minlie Huang, Yang Liu, Xuan Zhu and Xiaoyan Zhu ACL 2015 reading group ※このスライド内の図は論文内のものです
  • 2. Komachi Lab RNN ✤ 2つの子ベクトルから親ベクトルを構成! ✤ 木構造に従って再帰的に文全体のベクトルを構成 2
  • 3. Komachi Lab Abstract ✤ VPを構成するcomposition functionと
 NPを構成するcomposition functionは 本当に一緒?
 タグごとに違うのでは?! ✤ 句構造タグも構成に利用しよう! ✤ Tag Guided RNNとTag Embedded RNN/RNTNを提案 3
  • 4. Komachi Lab Tag Guided RNN ✤ 親ノードのタグ毎にcomposition functionを変える! ✤ すべてのタグを区別すると
 頻度の低いタグに関するパラメータが学習しきれない 4 ➡Top k 個とその他で
 k+1 の composition function
  • 5. Komachi Lab Tag Embedded RNN ✤ 親のタグが同じでも子のタグが違う場合
 (VP→V NP と VP→V Advは同じcomposition?)! ✤ 子ノードのタグ情報も使いたいけど
 Tag Guidedでやるとcomposition functionがk × k個も
 パラメータが多すぎる! ➡ タグをベクトルに埋め込んでスパースネス解消
 (1000回未満の出現頻度のタグは無視) 5
  • 7. Komachi Lab Tag Embedded RNTN 7 ✤ RNTN(Recursive Neural Tensor Network)と同様! ✤ テンソルTを使って, 子ベクトルの相互作用を考慮する
  • 8. Komachi Lab Learning ✤ 今回はSentiment Analysis (分類問題)のタスクで学習 8 ✤ 誤差関数はCross Entropy Error
  • 9. Komachi Lab Experiments Settings ✤ Sentiment Tree Bankを使用
 すべての部分木に極性ラベルがついている (5値)
 (train: 8544, dev: 1101, test:2210)! ✤ Stanford Parserを使って句構造タグを付与
 (Sentiment Tree BankもStanford Parserを使ってるが
 ver違いによる木構造の違いでtrain:74, dev:11,test11 の文を無視) 9
  • 10. Komachi Lab Experiments Settings ✤ 単語ベクトルはword2vecでpre-train(100,000 movie reviews) 
 RNN:d=25, RNTN: d=20! ✤ その他のベクトルは[-0.01, 0.01]の一様分布からサンプル! ✤ 構成されたフレーズベクトルにはベクトルの正規化を施す 10
  • 11. Komachi Lab Experiments Settings ✤ ハイパーパラメータ
 batch size 30, momentum 0.9, L2 reg 0.0001, Learning rate 0.005 11 TG-RNNのタグの数k: 6 TE-RNNのタグの次元数 de: 8, TE-RNTN : 6
  • 12. Komachi Lab Results 12 ✤ Fine-grainedではDRNN の次によい! ✤ RNN → TG-RNN 
 (+3.8)! ✤ RNN → TE-RNN 
 (+4.8)! ✤ RNTN → TE-RNTN
 (+3.2)
  • 13. Komachi Lab Model Size 13 ✤ DRNNよりも少ない! ✤ RNN, RNTNより少ないのは、次元dの設定が小さいから
  • 14. Komachi Lab Tag Vectors Analysis ✤ 目的関数にはタグの分類の気持ちは入っていないのに
 似たタグは似たベクトルになってる! ✤ 恐らく似たタグは似た役割を担うから 14
  • 15. Komachi Lab Conclusion ✤ 句構造タグを利用した
 新しいモデルTG-RNN, TE-RNN/RNTNを考案! ✤ 有用であるだけでなく便利である
 (比較的良いパフォーマンスと少ないパラメータ) 15