Skip to Content
生成AIのプロンプトエンジニアリング ―信頼できる生成AIの出力を得るための普遍的な入力の原則
book

生成AIのプロンプトエンジニアリング ―信頼できる生成AIの出力を得るための普遍的な入力の原則

by James Phoenix, Mike Taylor, 田村 広平, 大野 真一朗, 砂長谷 健, 土井 健, 大貫 峻平, 石山 将成
July 2025
Intermediate to advanced
484 pages
8h 8m
Japanese
O'Reilly Japan, Inc.
Content preview from 生成AIのプロンプトエンジニアリング ―信頼できる生成AIの出力を得るための普遍的な入力の原則

7章画像生成のための拡散モデル入門

 この章では、AIによる画像生成において非常に人気のある拡散モデル(Diffusion Model)をいくつか紹介します。それらのモデルの利点と制限事項を学ぶことで、タスクに応じて適切なものを、自信を持って選択できるようになります。

 2015年に導入された拡散モデルは、テキストから画像を生成するための生成モデルの一種であり、驚異的な結果を示しています。2022年にリリースされたDALL-E 2は、拡散モデルから生成される画像の品質に大きな飛躍をもたらし、オープンソースのStable Diffusionやコミュニティーで人気のMidjourneyがそれに続き、競争の激しい分野となりました。DALL-E 3がChatGPTに統合されたことで、テキスト生成と画像生成の境界がますます曖昧になっていくことが予想されます。しかし、高度な生成画像を求めるユーザーは、最良の結果を得るために画像生成に特化したモデルの利用を引き続き必要とするでしょう。

 拡散モデルは、画像へのランダムなノイズの段階的な追加(拡散過程)と除去(逆拡散過程)により学習されたモデルで、ノイズが除去されたクリアな画像を予測(生成)することができます。このアプローチは物理学に由来し、粒子が媒体を通じて拡散する様子をシミュレートするために使用されてきました。

 特に、拡散モデルに対してテキストで指示が可能なよう拡張された画像生成モデルは、テキストに対応した画像を生成するように、ランダムなノイズが追加された画像に加え、画像の説明を併用して訓練されます。そのため、モデルが生成した画像が入力されたテキストの意図するものではない場合、モデルのニューラルネットワークの重みが調整され、意図する画像を生成する能力が向上します。 ...

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

スクラム実践者が知るべき97のこと

スクラム実践者が知るべき97のこと

Gunther Verheyen, 吉羽 龍太郎, 原田 騎郎, 永瀬 美穂

Publisher Resources

ISBN: 9784814401246Publisher Website