Skip to Content
ゼロから作るDeep Learning ❺ ―生成モデル編
book

ゼロから作るDeep Learning ❺ ―生成モデル編

by 斎藤 康毅
April 2024
Intermediate to advanced
336 pages
3h 27m
Japanese
O'Reilly Japan, Inc.
Content preview from ゼロから作るDeep Learning ❺ ―生成モデル編

ステップ8拡散モデルの理論

ここまで私たちはVAEについて学びました。もちろん、それで満足するわけにはいきません。私たちはVAEを発展させ、さらに先へと進みます。具体的には、VAEの潜在変数を階層化した「階層型VAE」を導出します。そして、階層型VAEをさらに発展させる形で「拡散モデル」へと進みます。この流れが興味深く、美しくもあります。数式はやや込み入ったものになりますが、まずは全体の流れを把握することを目標にしましょう。その後で、時間をかけて数式に挑むことをおすすめします。

8.1 VAEから拡散モデルへ

本ステップで導出する「拡散モデル」は、正確には「Denoising Diffusion Probabilistic Models(DDPM)[11]」というモデルです。DDPMやそれに似たモデルは数多く提案されており、それらを総称して「拡散モデル」と呼びます。本書ではDDPMを指して、単に「拡散モデル」と呼ぶことにします。なお、Denoising Diffusion Probabilistic Modelsの各単語は次の意味があります。

  • Denoising(デノイジング):ノイズの除去
  • Diffusion(拡散):物質が均一に広がる現象
  • Probabilistic(確率的):確率を用いた手法

この言葉の意味は本節を読み進めていくと理解できるでしょう。それではVAEの復習から始めます。

8.1.1 VAEの復習

もう一度、VAEについて振り返ります。VAEは潜在変数のあるモデルでした。データ生成は、潜在変数を固定の正規分布よりサンプリングし、潜在変数から観測変数への変換をニューラルネットワークで行います。そして、VAEではもうひとつ別のニューラルネットワークを使い、観測変数から潜在変数への変換を行います。このVAEの構成を図で表すと、 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

ゼロから作るDeep Learning ❻ ―LLM編

ゼロから作るDeep Learning ❻ ―LLM編

斎藤 康毅

Publisher Resources

ISBN: 9784814400591Publisher Website