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

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

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

7章強化学習におけるTransformer

強化学習(reinforcement learning:RL)は、環境からのフィードバックをもとに、逐次的な意思決定の方法を学習する枠組みです。やり取りを通じて学ぶという考え方自体は、決して新しいものではありません。私たちも日常生活の中で、周囲の反応を観察しながら行動を調整しています。

たとえば、子どもの頃に、物に触れたり、口に入れたりして、周囲がどのように反応するかを確かめた経験があるかもしれません。あるいは、猫のしっぽを引っ張って引っかかれた経験から、次は同じことをしないように学ぶこともあります。このような経験を重ねることで、「猫のしっぽは引っ張らない」といった将来の行動に対する方針を身につけていきます。

この学習過程は、強化学習エージェントの動作とよく似ています。そこで本章では、環境とのやり取りを通じて学習するという直感的な理解を出発点として、強化学習の主要な概念を解説します。まず、オンライン学習とオフライン学習、モデルベース手法とモデルフリー手法、方策オン型強化学習と方策オフ型強化学習の違いを取り上げ、従来の強化学習アルゴリズムを理解するための基礎を整理します。

そのうえで、強化学習におけるTransformerアーキテクチャの発展を見ていきます。具体的には、Decision Transformer、Online Decision Transformer、Efficient Stochastic Transformer-Based World Modelsなどを取り上げ、Transformerが強化学習の問題設定にどのように適用されているのかを学びます。

7.1 強化学習の基本要素

強化学習では、エージェントと環境のやり取りを、通常、 ...

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