How Alexa Learned to Hear From Across the Room: Rohit Prasad on Far-Field Speech and Intent

Alexa's head scientist recalls the early days of the Echo, when far-field speech recognition seemed unsolvable and there were no customers to collect data from.

RPRohit Prasad嘉宾
频道
Lex Fridman Podcast
视频
17:21
阅读
5 分钟
原文
英语
在 YouTube 打开
往下滚动阅读时,视频会缩到右下角继续播放。字幕跟随阅读语言。
阅读语言共 1 种语言可读
这篇文章还没有简体中文译文,先显示英语原文。
摘要

30 秒看懂

Rohit Prasad, vice president and head scientist of Amazon Alexa, describes how a small team bet on deep learning, scaled training on distributed GPUs and invented ways to gather far-field data before launch. He also explains how multi-domain intent understanding and entity resolution were the second hard problem, and why a missed quality bar would have killed the category.

  1. 1Detecting the wake word is harder than it sounds"Alexa" is a common word whose sounds resemble phrases like "I like you", so the device must pick it up from a distance, through household noise, and only when it is actually addressed.
  2. 2Nine out of ten people on the early team thought far-field recognition could not be donePrasad, who had prior far-field experience, saw it as the long-sought killer app for speech recognition.
  3. 3Betting on deep learning and distributed GPU training came earlyThe team doubled down on deep learning right away and did some of the first work on training with distributed GPUs, with training time scaling linearly with data.
  4. 4Writing the press release first works for scientists tooPrasad says the Amazon habit of working backwards from a press release and FAQ has become ingrained in his researchers, much like a thesis or grant proposal.
  5. 5Without customers, the data had to be inventedCollecting far-field training data before any product existed was the first innovation, and together with deep learning it cut error rates by a factor of five within six months.
  6. 6Statistical understanding beat hand-written grammarsEven in the early days, Alexa used trained entity recognizers and intent classifiers, with deterministic matching kept only as a fallback to fix bugs.
全文

按章节阅读完整文稿

01

Far-field speech and wake-word detection were considered unsolvable

Prasad says the inspiration for Alexa was the Star Trek computer, but any product has to start somewhere. When he joined, the product was already in conception, and the first problem to solve was far-field speech recognition, meaning you can talk to the device from a distance. In those days that was not common practice, and in the research world he came from it was considered an unsolvable problem.

The first piece is the wake word. "Alexa" is a very common word with sound units that overlap with phrases like "I like you" or "Alex", and the device has to catch it with high accuracy amid household noise. The challenge is telling real requests apart from sentences such as "I love my Alexa" or "I hate my Alexa", where the word is mentioned but the speaker is not addressing the device.

Host Lex Fridman jokes that this very podcast may set off listeners' devices, and Prasad agrees it might wake a few times. He says Amazon has worked on telling human speech from other sources and has launched technology to filter out wake words in advertising, but it remains an unsolved problem the team cares about. Fridman calls it the world's best wake-word detector in a far-field setting, with devices working from 20 or even 40 feet away.

02

A startup-style team bet on deep learning and distributed GPUs in 2013

After the wake word comes large-vocabulary recognition, where audio arrives from 20 feet away in a busy house with a child playing music and others talking. Prasad joined in April 2013, when neural networks were only beginning to show promise in speech recognition. The team, working in a startup-like environment, doubled down on deep learning right away because it knew data volumes would grow quickly if the device succeeded.

The key question was how to scale deep learning. The team did some of the first work in training with distributed GPUs, with training time scaling linearly with the amount of data, through a mix of algorithmic and engineering improvements. This let them train on thousands of hours of speech.

Prasad says that by the time Echo launched, the combination of large-scale data, deep learning progress and the near-infinite GPUs available on AWS made far-field recognition useful to customers. He adds that it is still not solved in general, but it works very well in the settings found in homes.

03

Nine of ten teammates thought it was impossible, and press-release thinking kept the project focused

Fridman asks how big the team was and how likely it was to fail. Prasad says the speech recognition team had six people when he joined and about ten soon after, and nine of ten believed the problem could not be done. Some wanted to ask management to switch to something like telephony speech for customer service calls, but he had far-field experience and says his eyes lit up at the problem.

He describes it as the killer use case speech researchers had long been looking for. Asked about the Amazon practice of writing a press release and FAQ first, he says he cannot divulge exact specifications, but one early magical feature was music, which suited him because he does not like earbuds and finds it hard to be a music fan with a phone.

Prasad says the working-backwards process has spread among his scientists, who love it. A press release is the closest equivalent to a thesis or grant proposal: you write what you expect and what it will change, and leave the results section open. Fridman likens it to writing the paper first and then making it happen.

04

With no customers, the team had to create far-field data and define a magical quality bar

The first breakthrough, Prasad says, was getting far-field training data when none existed and there was no customer base to supply it. The team also had to decide what magical would mean, since nobody had built this before, and put a stake in the ground for the accuracy and customer experience needed.

The second step was doubling down on deep learning as the way to learn from that data. Together the two cut error rates by a factor of five within six months of having the data, and that gave him the conviction it would work. The team reached a bar where they felt people would use the product.

That bar mattered because there would be only one chance. Prasad says that if the product had launched in November 2014 below the bar, the category probably would not exist. Fridman notes that voice interaction in cars is so frustrating that his own group has used it to collect data on frustrated faces.

05

Multi-domain understanding and entity resolution were the next hard problems

Even with words recognized, the next problem was multi-domain natural language understanding across music, information, alarms, timers and other household tasks. Prasad says understanding in a single narrow domain was doable, but across domains it was daunting even then, and since there was again no customer base, there was no data. Alexa has since grown the confusion space by about three orders of magnitude.

At that time the industry still leaned on rule-based grammars to find intent. Alexa instead had a statistical approach from the beginning, with an entity recognizer and intent classifier trained on data, and deterministic matching only as a fallback to fix bugs. His point is that data-driven understanding wins in the end, but it depends on first getting the data.

Early dialogue was transactional, one shot at a time. If a user asks to play songs by "the Stones", the system must resolve whether that means the Rolling Stones or Stone Temple Pilots, using signals from other Amazon assets. Prasad says the goal is for the algorithm to handle the high 90 percent of cases without further questions, but asking "I did not understand you" is acceptable, as humans do, and a useful learning signal.

Alexa launched with about 13 big domains, with music the largest, and he notes it now has over 90,000 skills.

同频道的其他文章

3:36:56EN → 简体中文
Lex Fridman· 2026年9月16日播客精神病学至今没有属于自己的青霉素主持 Lex Fridman历史学家 Andrew Scull 与 Lex Fridman 谈到,这门学科对症状有所缓解,但没有哪一种重大精神疾病真正被根治;过度自信的时候,代价要由病人来扛。Mental HealthPublic HealthNeuroscience
5:15:51EN → 简体中文
Lex Fridman· 2026年8月26日播客 · 2 人对谈DHH 没有亲手写一行 Omarchy Quattro 的代码嘉宾 DHH · 主持 Lex Fridman与莱克斯·弗里德曼一次充满怀疑的对话过去十三个月后,Rails 的创造者讲述了 Opus 4.5、一群编码智能体(Agent)和一个一分钟的 Linux 安装器,如何结束了他一凿一凿手写 Ruby 的时代。编程智能体Vibe Coding智能体工程+3
3:12:58EN → 简体中文
Lex Fridman· 2026年8月12日播客 · 2 人对谈一个冷水澡,二十位冠军:Khabib Nurmagomedov 是如何炼成的嘉宾 Khabib Nurmagomedov · 主持 Lex Fridman在马哈奇卡拉的一间学校体育馆里,七十个人共用一个淋浴间,而且只有冷水。Martial ArtsCombat SportsCoaching+3
3:46:18EN → 简体中文
Lex Fridman· 2026年7月28日播客 · 2 人对谈抽掉奴隶制,就没有美国内战嘉宾 Gary Gallagher · 主持 Lex Fridman1860 年,美国奴隶主名下的奴隶价值,超过了全美所有铁路和工厂的总和。Political PhilosophyLeadershipHistory
3:51:47EN → 简体中文
Lex Fridman· 2026年6月30日播客 · 2 人对谈46% 的皇帝被暴力推翻,帝国照样延续下来嘉宾 Anthony Kaldellis · 主持 Lex Fridman历史学家 Anthony Kaldellis 与 Lex Fridman 一起走过 2200 年的罗马史,并主张我们所说的拜占庭,其实就是罗马本身。Political PhilosophyGeopoliticsLeadership
2:53:42EN → 简体中文
Lex Fridman· 2026年5月29日播客 · 2 人对谈月亮一直在下落,却总也落不到地球上嘉宾 Biggest Mysteries in Physics · 主持 Lex Fridman费米实验室(Fermilab)物理学家 Don Lincoln 在与 Lex Fridman 的对谈中说,物理学的历史就是一部统一的历史;反物质(antimatter)、暗能量(dark energy)和万物理论(theory of everything)依然远在我们能做的实验之外。Quantum MechanicsScience CommunicationPhilosophy of Science