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

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

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

6章音声領域におけるTransformer

本章では、Transformerが音声領域にも適用できることを学びます。これまで、元のTransformerが扱った言語から始まり、時系列、画像、動画へと対象を広げてきました。本章ではさらに音声領域へ進みます。音声でも、Transformerの基本的な考え方は変わりません。離散トークン、画像パッチ、スペクトログラムフレームのいずれを扱う場合でも、中心となる仕組みは共通しています。

Transformerの重要な特徴は、対象となるデータの形式が変わっても、基本的なアーキテクチャを維持できる点にあります。言語、画像、動画、音声では入力の形式は異なりますが、Transformerはそれらを抽象化して扱えます。この意味で、Transformerは単なるモデルではなく、領域をまたいでモデル化を一般化し、統一するためのフレームワークだといえます。

音声が特に興味深いのは、時間構造とスペクトル表現の交点に位置しているためです。一見すると、音声は時間に沿った波形であり、古典的な時系列データのように見えます。しかし、音声の豊かな情報は周波数領域にも含まれています。そのため、多くの音声モデルでは、生の波形をトークン化する前に、スペクトログラムやメル周波数特徴量へ変換します。

スペクトログラム(spectrogram)は、信号に含まれる周波数成分の強さが時間とともにどのように変化するかを表す表現です。これにより、音を時間周波数の視点から捉えられます。一方、メル周波数(mel frequency)表現は、周波数を人間の聴覚により近い知覚尺度へ変換したものです。特に、人間が敏感に聞き取る低周波数域を強調します。

図6-1は、エレクトロニック・ダンス・ミュージック(electronic ...

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