·Tech·
N2

CPUだけでテレビ放送を高精度に字幕にする「早耳」

"Hayamimi": Generating High-Accuracy Subtitles for Television Broadcasts Using Only a CPU

#音声認識#オープンソース#字幕#CPU
0:00 / 0:00

テレビ放送ほうそうの字幕じまくを利用りようする人ひとにとって、話はなされた言葉ことばがどれほど正確せいかくに画面がめんへ表示ひょうじされるかは大おおきな関心かんしんの対象たいしょうだ。新あたらしく登場とうじょうしたオープンソースのシステム「早耳はやみみ(Hayamimi)」は、画像がぞう処理しょりなどに使つかわれるGPUやクラウドAPIに依存いぞんせず、パソコンのCPUだけで軽快けいかいに動うごく。必要ひつようなメモリも2ギガバイト未満みまんに抑おさえられているが、実際じっさいのテレビ放送ほうそうの日本語にほんご音声おんせいを対象たいしょうにしたテストで「文字もじ誤あやまり率りつ3.8%」という高たかい精度せいどを記録きろくした。

Nにとって= for; from the standpoint of (indicates the person or group from whose perspective a judgment or concern applies)Nに依存せず= without depending on N; without relying on N (a formal negative expression where ず replaces ないで)

これまでCPUだけで音声おんせいを認識にんしきする方式ほうしきは、一ひとつの大おおきなモデルに頼たよることが多おおかった。しかし「早耳はやみみ」は、話はなした言葉ことばごとに言語げんごを判定はんていし、それぞれの専用せんようモデルに振ふり分わける独自どくじの手法しゅほうを採用さいようしている。モデルはINT8量子化りょうしかされたONNX形式けいしきで、sherpa-onnx上じょうで動うごくため、PyTorchやCUDAのような環境かんきょうは必要ひつようない。6コアのデスクトップCPUでは、実際じっさいの時間じかんの10倍ばいから50倍ばいの速度そくどを実現じつげんしている。発話はつわの途中とちゅうでも約やく0.5秒びょうごとにドラフト字幕じまくが更新こうしんされ、話はなし終おえてから約やく100ミリ秒びょうで確定かくていした文章ぶんしょうを出力しゅつりょくする。

N上で= on N; within the platform or system of N (used for software environments)Nごとに= every N; for each N (expresses regular intervals or distribution per unit)

「早耳はやみみ」は、リアルタイムで文字もじを表示ひょうじするだけでなく、配信はいしんや実務じつむに便利べんりな機能きのうも備そなえている。日本語にほんごや英語えいご、中国語ちゅうごくごなど多おおくの言語げんごをカバーし、指定していした言語げんごへのリアルタイム翻訳ほんやくや、話はなしている人ひとを区別くべつする話者わしゃラベル付づけにも対応たいおうする。また、2秒びょうの無音むおんの後あとに直前ちょくぜんの発話はつわをもう一度いちど処理しょりして「清書せいしょ」する二段にだんパス補正ほせいの機能きのうもあり、より正確せいかくな記録きろくを残のこすことができる。さらに、ライブ配信はいしんソフトのOBSに字幕じまくを重かさねて表示ひょうじできるオーバーレイや、ブラウザで状況じょうきょうを確認かくにんできるダッシュボードも備そなわっている。

〜だけでなく= not only... but also (adds another notable feature or fact to the first)

一方いっぽうで、いくつかの制限せいげんも存在そんざいする。1つの文ぶんの中なかに複数ふくすうの言語げんごが混まざる発話はつわには対応たいおうしておらず、2人ふたりが同時どうじに話はなした声こえを分わけることもできない。また、効果音こうかおんやBGMの直後ちょくごにある短みじかい発話はつわでは言語げんごの判定はんていを誤あやまるおそれがあるほか、小型こがたモデルによる翻訳ほんやくでは数値すうちや金額きんがくのミスが起おこる可能性かのうせいもある。それでも、日本語にほんごと英語えいごだけに絞しぼれば約やく1.1ギガバイトの構成こうせいでも動うごくため、特別とくべつなGPUを持もたない個人こじんでも、手元てもとのパソコンでリアルタイムの字幕じまくを手軽てがるに使つかうことができる。

一方で= on the other hand; while (introduces a contrasting or complementary aspect)Vるおそれがある= there is a risk/danger that V (indicates the possibility of an undesirable outcome)

Learning Notes

Grammar Patterns

PatternMeaning
Nにとってfor; from the standpoint of (indicates the person or group from whose perspective a judgment or concern applies)
Nに依存せずwithout depending on N; without relying on N (a formal negative expression where ず replaces ないで)
N上でon N; within the platform or system of N (used for software environments)
Nごとにevery N; for each N (expresses regular intervals or distribution per unit)
〜だけでなくnot only... but also (adds another notable feature or fact to the first)
一方でon the other hand; while (introduces a contrasting or complementary aspect)
Vるおそれがあるthere is a risk/danger that V (indicates the possibility of an undesirable outcome)

Vocabulary

WordReadingLevelMeaning
対象たいしょうN3target;object (of worship, study, etc.);subject (of taxation, etc.);coverage
制限せいげんN3restriction;restraint;limitation;limit
独自どくじN1original;unique;distinctive;characteristic;peculiar
手法しゅほうN1technique;method
対応たいおうN1correspondence (to);equivalence
精度せいどprecision;accuracy

Language Insights

  • •In Japanese speech recognition, transcription accuracy is typically evaluated by 文字誤り率 (Character Error Rate, CER) rather than Word Error Rate (WER), because written Japanese does not separate words with spaces. A CER below 4% on natural broadcast speech indicates practical commercial-grade precision.
  • •The term「清書」(seisho) traditionally refers to producing a clean, final handwritten copy. Here, it is applied metaphorically to a second-pass correction pipeline that revisits and polishes raw draft transcriptions once a pause in speech is detected.
  • •「量子化」(quantization, specifically INT8) compresses neural network weights from 32-bit floating-point numbers into 8-bit integers, drastically cutting memory requirements so models can run in real time on ordinary consumer CPUs without requiring GPUs or CUDA.

Practice

Check what you just learned.

  1. 必要なメモリも2ギガバイト未満に抑えられているが、実際のテレビ放送の日本語音声を対象にしたテストで「文字誤り率3.8%」という高い を記録した。

  2. 「早耳」について、正しいものはどれですか。

Source: Gigazine