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
Chainerによる深層学習(2)
Search
youichiro
February 28, 2017
Technology
1
460
Chainerによる深層学習(2)
長岡技術科学大学
自然言語処理研究室
B3ゼミ発表会(第6回)
youichiro
February 28, 2017
Tweet
Share
More Decks by youichiro
See All by youichiro
日本語文法誤り訂正における誤り傾向を考慮した擬似誤り生成
youichiro
0
1.6k
分類モデルを用いた日本語学習者の格助詞誤り訂正
youichiro
0
110
Multi-Agent Dual Learning
youichiro
1
180
Automated Essay Scoring with Discourse-Aware Neural Models
youichiro
0
120
Context is Key- Grammatical Error Detection with Contextual Word Representations
youichiro
1
150
勉強勉強会
youichiro
0
88
Confusionset-guided Pointer Networks for Chinese Spelling Check
youichiro
0
190
A Neural Grammatical Error Correction System Built On Better Pre-training and Sequential Transfer Learning
youichiro
0
170
An Empirical Study of Incorporating Pseudo Data into Grammatical Error Correction
youichiro
0
210
Other Decks in Technology
See All in Technology
SREのキャリアから経営に近づく - Enterprise Risk Managementを基に -
shonansurvivors
1
720
日本のソブリンAIを支えるエヌビディアの生成AIエコシステム
acceleratedmu3n
0
120
ざっくり学ぶ 『エンジニアリングリーダー 技術組織を育てるリーダーシップと セルフマネジメント』 / 50 minute Engineering Leader
iwashi86
8
4.3k
CloudComposerによる大規模ETL 「制御と実行の分離」の実践
leveragestech
0
160
dbtとAIエージェントを組み合わせて見えたデータ調査の新しい形
10xinc
7
1.8k
Databricks Free Editionで始めるMLflow
taka_aki
0
760
ゼロコード計装導入後のカスタム計装でさらに可観測性を高めよう
sansantech
PRO
1
670
CLIPでマルチモーダル画像検索 →とても良い
wm3
2
780
[Journal club] Thinking in Space: How Multimodal Large Language Models See, Remember, and Recall Spaces
keio_smilab
PRO
0
110
AIを使ってテストを楽にする
kworkdev
PRO
0
410
パフォーマンスチューニングのために普段からできること/Performance Tuning: Daily Practices
fujiwara3
2
200
AIがコードを書いてくれるなら、新米エンジニアは何をする? / komekaigi2025
nkzn
24
17k
Featured
See All Featured
Fireside Chat
paigeccino
41
3.7k
Bash Introduction
62gerente
615
210k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
650
Context Engineering - Making Every Token Count
addyosmani
8
330
Building a Modern Day E-commerce SEO Strategy
aleyda
44
8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
YesSQL, Process and Tooling at Scale
rocio
174
15k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.3k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
How to Ace a Technical Interview
jacobian
280
24k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Transcript
Chainerによる深層学習 (2) 平成29年3月1日 長岡技術科学大学 自然言語処理研究室 小川耀一朗
Chainerの使い方 1 /20
計算グラフ !(#) !(%) &% &# &' (% (# ()
*(%) *(#) 2 = $ $ & & + & + $ /20
計算グラフ 3 = , , = − − + −
+ !" !# !$ ℎ# ℎ$ &" &# ℎ" ' /20
計算グラフ 4 = , , = − − + −
+ ℎ& & , $ = & $ + $ $ + 1という関数を考えれば = − − , − ℎ$ & , $ = & − 2$ − 1, ℎ7 & , $ = & $ − 1という 関数を考えれば = ( , , , ) /20
計算グラフ 5 = & , $ , 7 = ℎ&
ℎ$ & , $ , ℎ7 $ , 7 関数がℎ& , ℎ$ , ℎ7 の合成関数になっている !" !# !$ ℎ# ℎ$ &" &# ℎ" ' /20
計算グラフと逆伝搬 6 !" !# !$ ℎ# ℎ$ &" &# ℎ"
' () (*+ () (*, (*+ (-+ (*, (-. (*+ (-, (*, (-, /20
計算グラフと逆伝搬 7 !" !# !$ ℎ# ℎ$ &" &# ℎ"
' () (*+ () (*, (*+ (-+ (*, (-. (*+ (-, (*, (-, = /20
計算グラフと逆伝搬 8 !" !# !$ ℎ# ℎ$ &" &# ℎ"
' () (*+ () (*, (*+ (-+ (*, (-. (*+ (-, (*, (-, = + /20
モジュールのインポート 9 /20
Variable 10 計算グラフの変数ノードに対応するオブジェクトを生成 変数の中身を確認 /20
Variable 11 /20
Variable 12 = 1 − 22 − 1 2 +
2 3 − 1 2 + 1を 各パラメータで偏微分し、 1 , 2 , 3 = (1, 2, 3)を代入 1 = 2 1 − 22 − 1 = −8 2 = −4 1 − 22 − 1 + 23 2 3 − 1 = 46 3 = 22 2 3 − 1 = 20 /20
functions 13 Variableを変数とする関数を提供 /20
links 14 Variableを変数とする関数を提供 links内の関数にはパラメータがある 第層が3個のノード、第 + 1層が4個のノードからなるNNの場合 /20
links 15 2つの3次元ベクトルを関数ℎに与える /20
Chainクラス 16 = $ + & + $ links内の関数Linearや function内の関数sigmoidを
合成して、モデルを定義 !(#) !(%) &% &# &' (% (# (' )(%) )(#) &* /20
Chainクラス 17 /20
optimizers 18 損失関数をパラメータで微分した値から、各パラメータを更新 →かなり面倒 →パラメータを更新する処理をモジュール化 「1つの訓練データ(, )を与えると、パラメータが1回更新される」 /20
プログラムの全体図 19 /20
発表内容 l Chainerの使い方 参考文献: 「Chainerによる実装深層学習」(第3章) 新納浩幸 著 オーム社 20 /20