Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
文献紹介: Generalizing Word Embeddings using Bag of Subwords
Search
Yumeto Inaoka
September 26, 2018
Research
0
200
文献紹介: Generalizing Word Embeddings using Bag of Subwords
2018/09/26の文献紹介で発表
Yumeto Inaoka
September 26, 2018
Tweet
Share
More Decks by Yumeto Inaoka
See All by Yumeto Inaoka
文献紹介: Quantity doesn’t buy quality syntax with neural language models
yumeto
1
120
文献紹介: Open Domain Web Keyphrase Extraction Beyond Language Modeling
yumeto
0
160
文献紹介: Self-Supervised_Neural_Machine_Translation
yumeto
0
120
文献紹介: Comparing and Developing Tools to Measure the Readability of Domain-Specific Texts
yumeto
0
120
文献紹介: PAWS: Paraphrase Adversaries from Word Scrambling
yumeto
0
87
文献紹介: Beyond BLEU: Training Neural Machine Translation with Semantic Similarity
yumeto
0
210
文献紹介: EditNTS: An Neural Programmer-Interpreter Model for Sentence Simplification through Explicit Editing
yumeto
0
260
文献紹介: Decomposable Neural Paraphrase Generation
yumeto
0
180
文献紹介: Analyzing the Limitations of Cross-lingual Word Embedding Mappings
yumeto
0
160
Other Decks in Research
See All in Research
"多様な推薦"はユーザーの目にどう映るか
kuri8ive
3
260
HP (Hitto Point: 筆頭ポイント)
tanichu
0
900
[Human-AI Decision Making勉強会] 説明の更新はユーザにどのような影響をもたらすか
okoso
1
310
Harnessing the Power of Vicinity-Informed Analysis for Classification under Covariate Shift
nanofi
3
230
MLtraq: Track your AI experiments at hyperspeed
micheda
1
170
RCEへの近道
kawakatz
1
620
SSII2024 [OS2] 画像、その先へ 〜モーション解析への誘い〜
ssii
PRO
1
1.1k
バスのサービスレベル向上と運賃策による熊本都市圏の渋滞緩和効果推計 ~公共交通への公的投資に向けた感度と集計QVに基づく迅速なシナリオ検討~
trafficbrain
0
180
一人称視点映像解析の基礎と応用(CVIMチュートリアル)
takumayagi
0
800
Minimum Bayes-Risk Decoding における性能変動の理解に向けて(2024年6月5日 第59回 NLPコロキウム)
atsumoto
0
210
AIを前提とした体験の実現に向けて/toward_ai_based_experiences
monochromegane
1
430
SSII2024 [OS3] 基盤モデル(オープニング)
ssii
PRO
0
280
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
784
250k
The Art of Programming - Codeland 2020
erikaheidi
48
13k
Docker and Python
trallard
37
2.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
248
12k
How to Ace a Technical Interview
jacobian
274
23k
The Invisible Side of Design
smashingmag
294
50k
Being A Developer After 40
akosma
72
580k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
149
45k
Ruby is Unlike a Banana
tanoku
96
10k
Teambox: Starting and Learning
jrom
130
8.6k
Design by the Numbers
sachag
277
18k
GitHub's CSS Performance
jonrohan
1026
450k
Transcript
Generalizing Word Embeddings using Bag of Subwords 文献紹介 ( 2018
/ 09 / 26 ) 長岡技術科学大学 自然言語処理研究室 稲岡 夢人
Literature Jinman Zhao and Sidharth Mudgal and Yingyu Liang. Proceedings
of the 2018 Conference on Empirical Methods in Natural Language Processing. https://arxiv.org/abs/1809.04259 2
Abstract • 文脈情報を用いずに語彙を超えて事前学習済みの Word Embeddingを汎化 • 単語をBag-of-Substringsと見做して subwordレベルの単語ベクトル生成モデルを提案 • 英単語類似度タスクでSOTAを達成
3
Word Embeddings in OOV ➔ 従来のWord Embeddingsは高頻度な単語にのみ 単語ベクトルを生成し、低頻度語をOOVとする ➔ 低頻度語には単語ベクトルを生成できない
➔ 下流のタスクで特徴が補足できず困難 4
Word Vectors for OOV words • 単語は語幹, 接辞, 修飾語など形態素に分割できる •
人間は例えば“preEMNLP”の意味を推察できる ➔ 形態素からベクトルを推測できる可能性を示唆 ➔ OOV wordsでも単語以下の単位で解析すれば 単語ベクトルを推測できる可能性がある 5
Related Works • fastText char n-gramを用いてOOVの単語のベクトルを生成 学習には大規模なコーパスが必要 (今回はenwiki) • Mimick
Char-level Bi-LSTMでChar Embeddingから Word Embeddingを推測 6
Proposed Model • 単語をBag-of-Substringsとみなす • 単語ベクトルは全部分文字列のベクトルの平均 • それを事前学習されたベクトルと一致させる学習 ➔ 文脈予測を介さずにsubwordsを学習させる
fastTextと似ているようで異なる 7
Substring Σ is the finite set of characters in the
language. 8
“<s>” = ‘<’ + s + ‘>’ Substring 9 are
hyperparameters.
Substring (example) 10 { <in, <inf, inf, infi, nfi, nfix,
fix, fix>, ix> }
Bag-of-Substring 11
Target vectors Training 12
Experiment (Word Similarity) • 単語ベクトルの類似度と、ラベル付けされた 単語類似度の相関によって評価 • 類似度は単語ベクトル間のコサイン類似度で計算 • 相関はスピアマンの順位相関係数ρで計算
13
Datasets (Word Similarity) • Polyglot, Googleは学習済み単語ベクトル • Stanford RareWord(RW)とWordSim353(WS)で評価 RWは低頻度語が多く、WSは一般的な語が多い
14
Results (Word Similarity) • BoSはEditDist, MIMICKよりも相関が強い • Googleのベクトルを用いたときにfastTextと同等 15
BoS vs. fastText • BoSの方が少ないデータ、訓練で実現 • Intel Core i7-6700 (3.4GHz)
において、 BoSはシングルスレッドのPythonで352秒 fastTextはマルチスレッドのC++で数時間 16
Expt. (syntax, semantics) • POS tags, Morphosyntactic Attributesを予測するタ スクでベクトルを評価 →
構文的、意味的特徴の補足を確認 • データセットはUniversal Dependencies (UD) • Bi-LSTMで予測 17
Result (syntax, semantics) • すべての言語で 安定して有意な 結果 • 膠着語で特に 差が大きい
18
Conclusion • 事前学習済みのWord Embeddingを拡張してOOV単 語のWord Embeddingを推定するモデルを提案 • 単語類似度タスクとPOSタグ付けタスクによって形態 論的知識の補足、より良いOOV単語の単語 ベクトルの生成を確認
19