Skip to Content
Transformer実践ガイド ―画像・音声・時系列からエージェントまで
book

Transformer実践ガイド ―画像・音声・時系列からエージェントまで

by Nicole Koenigstein, 中山 光樹
October 2026
384 pages
6h 14m
Japanese
O'Reilly Japan, Inc.
Content preview from Transformer実践ガイド ―画像・音声・時系列からエージェントまで

4章画像生成のためのTransformer

DALL·E、Imagen、Midjourney、Stable Diffusion などの、テキストに基づいて画像を生成する(Text-to-Image:T2I)モデルの登場により、写実的な画像を生成する新たな時代が始まりました。これらのモデルは、テキスト入力から高精細で文脈に即した画像やアートワークを生成できます。そのため、アーティストやデザイナーだけでなく、創作経験のない人でも、これまでになく容易にアイデアを具現化できるようになりました。

2020年代前半には、拡散モデルを利用する手法がテキストに基づいて画像を生成するモデルの中心的なアプローチとなりました。物理学における拡散(diffusion)とは、分子が高濃度の領域から低濃度の領域へ移動する現象を指します。画像生成の文脈では、拡散モデルはこの原理から着想を得て、ランダムノイズを反復的に洗練します。これにより、ノイズを整合性のある詳細な画像へと段階的に変換します。

この拡散に基づくアプローチは、現在の画像生成モデルの基盤となっています。また、かつて画像生成で主流であった生成的敵対ネットワーク(generative adversarial network:GAN)†1に取って代わりました。この変化は、拡散モデルがより高品質で多様な出力を生成できることが示されたために起こりました。特に、初期の DALL·E は自己回帰型モデルでしたが、DALL·E 2 および DALL·E 3 では拡散ベースの手法が採用されています。

[†1] Ian J. Goodfellow et al. "Generative Adversarial Nets"(https://arxiv.org/pdf/1406.2661 ...

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

Python Crash Course, 3rd Edition

Python Crash Course, 3rd Edition

Eric Matthes
The Hidden Cost of AI-Assisted Creativity

The Hidden Cost of AI-Assisted Creativity

Léonard Boussioux, Anil Doshi, Oliver Hauser, Kartik Hosanagar
Fundamentals of Data Engineering

Fundamentals of Data Engineering

Joe Reis, Matt Housley

Publisher Resources

ISBN: 9784814401833Publisher Website