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

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

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

10章より賢く、より良く、より速く、より強く:LLMとAIエージェントの最適化

本書全体を通じて見てきたように、Transformerは汎用的なモデルです。テキストを生成し、音楽を作曲し、コードを書き、画像を生成したり分類したりできます。また、エンドツーエンドの強化学習と思考の連鎖を組み合わせることで、内部的な推論を促し、より複雑な問題を解けるようになることも学びました。さらに、問題を部分問題に分割し、マルチエージェントシステムの中で複数の言語モデルを協調させることで、困難なタスクにも対応できる堅牢なツールへと発展させられることを見てきました。

しかし、タスクが複雑になるにつれて、これらの能力だけでは不十分になります。長い推論、複数ステップの意思決定、本番環境レベルの信頼性が求められる場面では、モデルやシステムの弱点が表面化します。最適化がなければ、最大規模のモデルや最先端のエージェント型システムであっても、難しい推論の連鎖に失敗したり、単純な問題に計算資源を浪費しすぎたり、本番環境でうまく適応できなかったりする可能性があります。

そこで重要になるのが最適化です。世界レベルのアスリートは、才能や通常の練習だけに頼っているわけではありません。目的に応じたトレーニング、回復、栄養、精神面の準備を含むエコシステムに支えられています。同じように、Transformerも事前学習や教師ありファインチューニングだけでは十分ではありません。強化信号、適応的な推論戦略、効率的な推論時スケーリング、そして強力なシステムレベルのインフラストラクチャが必要です。

具体的には、方策と報酬を洗練する事後学習フレームワークによってベースラインを超えること、モデルにいつ考え、いつ行動するかを学ばせること、推論時に計算資源をスケールさせて効果的に探索すること、そして本番環境で重みを迅速に更新し、実際のワークロードを処理しながら方策を改善し続けることを意味します。この最適化エコシステムの概要を ...

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