The science behind the improved Fire TV voice search

How phonetically blended results (PBR) help ensure customers find the content they were actually asking for.

Put your hand up if you enjoy using your TV remote to type in the name of the show you want to watch next. Who doesn’t love shuffling the highlighted box across the screen, painstakingly selecting each letter in turn? And let’s not forget the joy of accidentally selecting a wrong letter.

Such text-based search works, but it can feel like a chore. It’s much easier and faster to just ask for what you want. With Amazon’s Fire TV, you can ask the Alexa voice assistant to find your favorite shows, movies, movie genres, actors … you name it.

But voice-based search can come with its own frustrations. What if Alexa misheard a request for the TV show Hunted as “haunted” and as a result presented a spooky screenful of incorrect suggestions?

Related content
The phrase launches a feature built to help customers navigate an increasingly complex and diverse world of content.

This is a story of how two groups at Amazon — the Fire TV Search team and the Alexa Entertainment Spoken Language Understanding team — collaborated to launch an improved Fire TV voice search experience in the U.S. in November 2022.

The new search system gives customers a greater chance of finding what they are looking for, on their first attempt, by casting the search net a little wider — and a little smarter. It works by harnessing a suite of Alexa machine learning (ML) models to generate additional, similar-sounding words to inject into Fire TV’s search function to broaden the scope of the results presented to the customer. Hence its name: phonetically blended results (PBR). Today, about 80% of the 20 million or so unique search terms that Fire TV deals with are augmented by PBR.

To better understand PBR and why it was needed, let’s look at one reason the previous version of Fire TV voice search could get things wrong. A customer, in a noisy room full of excited children, holds down the microphone button on the Alexa Voice Remote and simply says “Find Encanto”.

Image is a screengrab of a Fire TV screen which includes Encanto and several similar sounding results
Phonetically blended results give customers a greater chance of finding what they are looking for, on the first attempt, by harnessing a suite of machine learning models to generate additional, similar-sounding words to inject into Fire TV’s search function.

This piece of audio first goes to Alexa’s automatic-speech-recognition (ASR) system to be converted to text. But in this case, the system mishears the customer utterance and converts it to “Find Encounter”.

Fire TV’s search algorithm, known as ReRanker, faithfully performs the erroneous search and presents the customer with a selection of content with the word “encounter” in the title or description, prominently featuring, for example the Amazon original movie Encounter or popular TV shows that include that word. Encanto is nowhere to be seen. The customer sighs, asks the kids to pipe down, presses the microphone button and tries again. Or they resort to the very method they were trying to avoid in the first place: typing with the remote.

One challenge here is that because Alexa supports myriad applications, its ASR system is necessarily generalized.

“Previously, Alexa was not tuned into individual Fire TV customers’ preferences,” says Kanna Shimizu, senior manager of research science in Alexa AI’s Natural Understanding (NU) group, who led the PBR project. “That's the layer my team is adding. We are connecting Alexa machine learning with Fire TV search algorithms to build toward an end-to-end algorithm to help customers find what they’re looking for.”

Related content
A behind-the-scenes look at the unique challenges the engineering teams faced, and how they used scientific research to drive fundamental innovation to overcome those challenges.

The reason the voice search for Encanto failed is that the search process decided early on that “encounter” was the customer’s intended search query, so “Encanto” wasn’t even searched for.

“The big change that PBR introduced was to say, ‘Actually, the customer might have said or meant this other thing, but we’re not sure, so let’s search for both,’” says Shimizu. “Let’s keep the door open to different interpretations of what the customer may have said, so they can decide for themselves on the search results screen.”

How would our customer example look now? The search results page will now show Encanto as an option in addition to Encounter.

Building this keep-your-options-open approach into Fire TV voice search was complex for several reasons. One challenge is generating appropriate additional search candidates that are phonetically similar to the customer’s utterance. The next was changing Fire TV’s ReRanker algorithm, already a high-performing recommender system, to utilize the PBR system’s suggested search candidates when delivering results to the customer.

It's really a two-way communication. We use Alexa models to improve the performance of Fire TV and we use Fire TV customer signals to improve the performance of Alexa models. It’s a very cool learning loop.
Mingxian Wang

The PBR system addresses the first challenge in multiple ways. Most of the additional search candidates come from corrective actions taken by customers themselves. That’s because when a customer’s voice search fails to deliver what they are looking for, about 40% of the time they will try voice search again or type what they are looking for, leading to a successful viewing. Knowing the initial mistaken search term and the final successful one allows the PBR system to, for example, map the search candidate “Encounter” onto the additional search candidate “Encanto”.

That self-correction process is how PBR learned that the search term “hunted” sometimes represents a search for the 2018 Netflix reality series Haunted.

The PBR system can make these useful connections in part because it contains knowledge of the wider world via the Alexa Teacher Model, a large language model trained on enormous amounts of Internet data and subsequently fine-tuned with data including Fire TV voice traffic and customer self-corrections.

“It's really a two-way communication,” says Mingxian Wang, senior applied scientist at Alexa AI-NU. “We use Alexa models to improve the performance of Fire TV and we use Fire TV customer signals to improve the performance of Alexa models. It’s a very cool learning loop.”

Besides the Alexa Teacher Model and the model that learns from customers’ on-screen search behavior, the PBR system also uses an Alexa model that identifies phonetic variations for popular titles, to further enrich its search results.

Related content
New approach speeds graph-based search by 20% to 60%, regardless of graph construction method.

Using a mixture of these three models, by the time it launched in late 2022, the PBR system had already generated millions of search-query mappings, such as “Encounter” to “Encanto” — and that number continues to grow. Here’s another example. To avoid Alexa mishearing “Zatima”, a popular new show and a novel word unknown to ASR, as “Fatima”, which is a movie and also a city in Portugal, PBR’s models suggests that Zatima also be presented along with Fatima.

“In this way, we serve the customer who wanted the new show and also don’t break the customer experience for those searching for the movie,” says Wang.

“It’s a subtle balance”

It's one thing to suggest additional results to ReRanker. It’s another to change the algorithm to take PBR’s suggestions and present these results to customers. And if it does, how should it rank them on the results screen?

The teams solved this problem by inventing the PBR confidence score. With every search-query mapping, the PBR system provides ReRanker with a prediction of how likely the customer is to click on that result.

“We want customers to see our alternatives but don’t want to boost them higher than might be warranted, because we want to avoid overwhelming customers with irrelevant search results,” says Shimizu. “It’s a subtle balance, and that scoring mechanism was the key to making this whole thing succeed.”

Related content
Dataset that requires question-answering models to look up multiple facts and perform comparisons bridges a significant gap in the field.

To illustrate this subtlety, consider the search term “Enchanted” (a fairy-tale movie). The PBR system estimates that search results based on this term will deliver a customer clickthrough rate (i.e., a successful search) of 60%. So this should be the most prominently displayed result.

But the search term “enchanted” also triggers several PBR candidates — “Encanto” (with an anticipated clickthrough rate of 20%) and “Disenchanted” (5%). You can see that by blending these similar-sounding shows into its results, ReRanker is more likely to strike gold for the customer.

“In testing, we saw the ReRanker model picking up on the PBR confidence score and boosting those search results higher. It learned that this feature was worth paying attention to,” says Aleksandr Kulikov, a principal software engineer at Fire TV.

“The Fire TV voice search is already successful for most customer voice searches — it’s easy to deliver popular searches like ‘Jack Ryan’ correctly — but for some customers, PBR is significantly improving their voice search experience,” says Kulikov. Where it makes the biggest difference is, of course, in ambiguous searches, where it can boost customer clickthroughs by 10% or more. “A gain of 10% is like, wow, that’s significant,” Kulikov adds.

And it will only get better with time. The Alexa and Fire TV teams are working toward a feedback learning system that will allow PBR’s models to automatically generate new search candidates, prune ineffective ones, and home in on increasingly accurate confidence scores.

Ultimately, bringing the power of multiple Alexa machine learning models to bear on Fire TV voice search is helping to give Amazon customers what they want the first time, more of the time, through a greater understanding of diverse voices and of the world itself. Hands up if you like the sound of that.

Related content

IN, HR, Gurugram
Our customers have immense faith in our ability to deliver packages timely and as expected. A well planned network seamlessly scales to handle millions of package movements a day. It has monitoring mechanisms that detect failures before they even happen (such as predicting network congestion, operations breakdown), and perform proactive corrective actions. When failures do happen, it has inbuilt redundancies to mitigate impact (such as determine other routes or service providers that can handle the extra load), and avoids relying on single points of failure (service provider, node, or arc). Finally, it is cost optimal, so that customers can be passed the benefit from an efficiently set up network. Amazon Shipping is hiring Applied Scientists to help improve our ability to plan and execute package movements. As an Applied Scientist in Amazon Shipping, you will work on multiple challenging machine learning problems spread across a wide spectrum of business problems. You will build ML models to help our transportation cost auditing platforms effectively audit off-manifest (discrepancies between planned and actual shipping cost). You will build models to improve the quality of financial and planning data by accurately predicting ship cost at a package level. Your models will help forecast the packages required to be pick from shipper warehouses to reduce First Mile shipping cost. Using signals from within the transportation network (such as network load, and velocity of movements derived from package scan events) and outside (such as weather signals), you will build models that predict delivery delay for every package. These models will help improve buyer experience by triggering early corrective actions, and generating proactive customer notifications. Your role will require you to demonstrate Think Big and Invent and Simplify, by refining and translating Transportation domain-related business problems into one or more Machine Learning problems. You will use techniques from a wide array of machine learning paradigms, such as supervised, unsupervised, semi-supervised and reinforcement learning. Your model choices will include, but not be limited to, linear/logistic models, tree based models, deep learning models, ensemble models, and Q-learning models. You will use techniques such as LIME and SHAP to make your models interpretable for your customers. You will employ a family of reusable modelling solutions to ensure that your ML solution scales across multiple regions (such as North America, Europe, Asia) and package movement types (such as small parcel movements and truck movements). You will partner with Applied Scientists and Research Scientists from other teams in US and India working on related business domains. Your models are expected to be of production quality, and will be directly used in production services. You will work as part of a diverse data science and engineering team comprising of other Applied Scientists, Software Development Engineers and Business Intelligence Engineers. You will participate in the Amazon ML community by authoring scientific papers and submitting them to Machine Learning conferences. You will mentor Applied Scientists and Software Development Engineers having a strong interest in ML. You will also be called upon to provide ML consultation outside your team for other problem statements. If you are excited by this charter, come join us!
US, WA, Seattle
Do you want to re-invent how millions of people consume video content on their TVs, Tablets and Alexa? We are building a free to watch streaming service called Fire TV Channels (https://techcrunch.com/2023/08/21/amazon-launches-fire-tv-channels-app-400-fast-channels/). Our goal is to provide customers with a delightful and personalized experience for consuming content across News, Sports, Cooking, Gaming, Entertainment, Lifestyle and more. You will work closely with engineering and product stakeholders to realize our ambitious product vision. You will get to work with Generative AI and other state of the art technologies to help build personalization and recommendation solutions from the ground up. You will be in the driver's seat to present customers with content they will love. Using Amazon’s large-scale computing resources, you will ask research questions about customer behavior, build state-of-the-art models to generate recommendations and run these models to enhance the customer experience. You will participate in the Amazon ML community and mentor Applied Scientists and Software Engineers with a strong interest in and knowledge of ML. Your work will directly benefit customers and you will measure the impact using scientific tools.
US, MA, Boston
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Applied Scientist with a strong deep learning background, to build industry-leading technology with Large Language Models (LLMs) and multi-modal systems. You will support projects that work on technologies including multi-modal model alignment, moderation systems and evaluation. Key job responsibilities As an Applied Scientist with the AGI team, you will support the development of novel algorithms and modeling techniques, to advance the state of the art with LLMs. Your work will directly impact our customers in the form of products and services that make use of speech and language technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in generative artificial intelligence (GenAI). You are also expected to publish in top tier conferences. About the team The AGI team has a mission to push the envelope in LLMs and multimodal systems. Specifically, we focus on model alignment with an aim to maintain safety while not denting utility, in order to provide the best-possible experience for our customers.
US, MA, Boston
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Senior Applied Scientist with a strong deep learning background, to build industry-leading technology with Large Language Models (LLMs) and multimodal systems. Key job responsibilities As a Senior Applied Scientist with the AGI team, you will work with talented peers to lead the development of novel algorithms and modeling techniques, to advance the state of the art with LLMs. Your work will directly impact our customers in the form of products and services that make use of speech and language technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in generative artificial intelligence (GenAI). About the team The AGI team has a mission to push the envelope in LLMs and multimodal systems, in order to provide the best-possible experience for our customers.
IN, KA, Bengaluru
The Amazon Alexa AI team in India is seeking a talented, self-driven Applied Scientist to work on prototyping, optimizing, and deploying ML algorithms within the realm of Generative AI. Key responsibilities include: - Research, experiment and build Proof Of Concepts advancing the state of the art in AI & ML for GenAI. - Collaborate with cross-functional teams to architect and execute technically rigorous AI projects. - Thrive in dynamic environments, adapting quickly to evolving technical requirements and deadlines. - Engage in effective technical communication (written & spoken) with coordination across teams. - Conduct thorough documentation of algorithms, methodologies, and findings for transparency and reproducibility. - Publish research papers in internal and external venues of repute - Support on-call activities for critical issues Basic Qualifications: - Master’s or PhD in computer science, statistics or a related field - 2-7 years experience in deep learning, machine learning, and data science. - Proficiency in coding and software development, with a strong focus on machine learning frameworks. - Experience in Python, or another language; command line usage; familiarity with Linux and AWS ecosystems. - Understanding of relevant statistical measures such as confidence intervals, significance of error measurements, development and evaluation data sets, etc. - Excellent communication skills (written & spoken) and ability to collaborate effectively in a distributed, cross-functional team setting. - Papers published in AI/ML venues of repute Preferred Qualifications: - Track record of diving into data to discover hidden patterns and conducting error/deviation analysis - Ability to develop experimental and analytic plans for data modeling processes, use of strong baselines, ability to accurately determine cause and effect relations - The motivation to achieve results in a fast-paced environment. - Exceptional level of organization and strong attention to detail - Comfortable working in a fast paced, highly collaborative, dynamic work environment
IN, KA, Bengaluru
Amazon is investing heavily in building a world class advertising business and we are responsible for defining and delivering a collection of self-service performance advertising products that drive discovery and sales. Our products are strategically important to our Retail and Marketplace businesses driving long term growth. We deliver billions of ad impressions and millions of clicks daily and are breaking fresh ground to create world-class products. We are highly motivated, collaborative and fun-loving with an entrepreneurial spirit and bias for action. With a broad mandate to experiment and innovate, we are growing at an unprecedented rate with a seemingly endless range of new opportunities. The ATT team, based in Bangalore, is responsible for ensuring that ads are relevant and is of good quality, leading to higher conversion for the sellers and providing a great experience for the customers. We deal with one of the world’s largest product catalog, handle billions of requests a day with plans to grow it by order of magnitude and use automated systems to validate tens of millions of offers submitted by thousands of merchants in multiple countries and languages. In this role, you will build and develop ML models to address content understanding problems in Ads. These models will rely on a variety of visual and textual features requiring expertise in both domains. These models need to scale to multiple languages and countries. You will collaborate with engineers and other scientists to build, train and deploy these models. As part of these activities, you will develop production level code that enables moderation of millions of ads submitted each day.
US, WA, Seattle
The Search Supply & Experiences team, within Sponsored Products, is seeking an Applied Scientist to solve challenging problems in natural language understanding, personalization, and other areas using the latest techniques in machine learning. In our team, you will have the opportunity to create new ads experiences that elevate the shopping experience for our hundreds of millions customers worldwide. As an Applied Scientist, you will partner with other talented scientists and engineers to design, train, test, and deploy machine learning models. You will be responsible for translating business and engineering requirements into deliverables, and performing detailed experiment analysis to determine how shoppers and advertisers are responding to your changes. We are looking for candidates who thrive in an exciting, fast-paced environment and who have a strong personal interest in learning, researching, and creating new technologies with high customer impact. Key job responsibilities As an Applied Scientist on the Search Supply & Experiences team you will: - Perform hands-on analysis and modeling of enormous datasets to develop insights that increase traffic monetization and merchandise sales, without compromising the shopper experience. - Drive end-to-end machine learning projects that have a high degree of ambiguity, scale, and complexity. - Build machine learning models, perform proof-of-concept, experiment, optimize, and deploy your models into production; work closely with software engineers to assist in productionizing your ML models. - Design and run experiments, gather data, and perform statistical analysis. - Establish scalable, efficient, automated processes for large-scale data analysis, machine-learning model development, model validation and serving. - Stay up to date on the latest advances in machine learning. About the team We are a customer-obsessed team of engineers, technologists, product leaders, and scientists. We are focused on continuous exploration of contexts and creatives where advertising delivers value to shoppers and advertisers. We specifically work on new ads experiences globally with the goal of helping shoppers make the most informed purchase decision. We obsess about our customers and we are continuously innovating on their behalf to enrich their shopping experience on Amazon
US, WA, Seattle
Have you ever wondered how Amazon launches and maintains a consistent customer experience across hundreds of countries and languages it serves its customers? Are you passionate about data and mathematics, and hope to impact the experience of millions of customers? Are you obsessed with designing simple algorithmic solutions to very challenging problems? If so, we look forward to hearing from you! At Amazon, we strive to be Earth's most customer-centric company, where both internal and external customers can find and discover anything they want in their own language of preference. Our Translations Services (TS) team plays a pivotal role in expanding the reach of our marketplace worldwide and enables thousands of developers and other stakeholders (Product Managers, Program Managers, Linguists) in developing locale specific solutions. Amazon Translations Services (TS) is seeking an Applied Scientist to be based in our Seattle office. As a key member of the Science and Engineering team of TS, this person will be responsible for designing algorithmic solutions based on data and mathematics for translating billions of words annually across 130+ and expanding set of locales. The successful applicant will ensure that there is minimal human touch involved in any language translation and accurate translated text is available to our worldwide customers in a streamlined and optimized manner. With access to vast amounts of data, cutting-edge technology, and a diverse community of talented individuals, you will have the opportunity to make a meaningful impact on the way customers and stakeholders engage with Amazon and our platform worldwide. Together, we will drive innovation, solve complex problems, and shape the future of e-commerce. Key job responsibilities * Apply your expertise in LLM models to design, develop, and implement scalable machine learning solutions that address complex language translation-related challenges in the eCommerce space. * Collaborate with cross-functional teams, including software engineers, data scientists, and product managers, to define project requirements, establish success metrics, and deliver high-quality solutions. * Conduct thorough data analysis to gain insights, identify patterns, and drive actionable recommendations that enhance seller performance and customer experiences across various international marketplaces. * Continuously explore and evaluate state-of-the-art modeling techniques and methodologies to improve the accuracy and efficiency of language translation-related systems. * Communicate complex technical concepts effectively to both technical and non-technical stakeholders, providing clear explanations and guidance on proposed solutions and their potential impact. About the team We are a start-up mindset team. As the long-term technical strategy is still taking shape, there is a lot of opportunity for this fresh Science team to innovate by leveraging Gen AI technoligies to build scalable solutions from scratch. Our Vision: Language will not stand in the way of anyone on earth using Amazon products and services. Our Mission: We are the enablers and guardians of translation for Amazon's customers. We do this by offering hands-off-the-wheel service to all Amazon teams, optimizing translation quality and speed at the lowest cost possible.
US, WA, Seattle
Amazon.com strives to be Earth's most customer-centric company where customers can shop in our stores to find and discover anything they want to buy. We hire the world's brightest minds, offering them a fast paced, technologically sophisticated and friendly work environment. Economists at Amazon partner closely with senior management, business stakeholders, scientist and engineers, and economist leadership to solve key business problems ranging from Amazon Web Services, Kindle, Prime, inventory planning, international retail, third party merchants, search, pricing, labor and employment planning, effective benefits (health, retirement, etc.) and beyond. Amazon Economists build econometric models using our world class data systems and apply approaches from a variety of skillsets – applied macro/time series, applied micro, econometric theory, empirical IO, empirical health, labor, public economics and related fields are all highly valued skillsets at Amazon. You will work in a fast moving environment to solve business problems as a member of either a cross-functional team embedded within a business unit or a central science and economics organization. You will be expected to develop techniques that apply econometrics to large data sets, address quantitative problems, and contribute to the design of automated systems around the company. About the team The International Seller Services (ISS) Economics team is a dynamic group at the forefront of shaping Amazon's global seller ecosystem. As part of ISS, we drive innovation and growth through sophisticated economic analysis and data-driven insights. Our mission is critical: we're transforming how Amazon empowers millions of international sellers to succeed in the digital marketplace. Our team stands at the intersection of innovative technology and practical business solutions. We're leading Amazon's transformation in seller services through work with Large Language Models (LLMs) and generative AI, while tackling fundamental questions about seller growth, marketplace dynamics, and operational efficiency. What sets us apart is our unique blend of rigorous economic methodology and practical business impact. We're not just analyzing data – we're building the frameworks and measurement systems that will define the future of Amazon's seller services. Whether we're optimizing the seller journey, evaluating new technologies, or designing innovative service models, our team transforms complex economic challenges into actionable insights that drive real-world results. Join us in shaping how millions of businesses worldwide succeed on Amazon's marketplace, while working on problems that combine economic theory, advanced analytics, and innovative technology.
GB, London
Are you looking to work at the forefront of Machine Learning and AI? Would you be excited to apply cutting edge Generative AI algorithms to solve real world problems with significant impact? The AWS Industries Team at AWS helps AWS customers implement Generative AI solutions and realize transformational business opportunities for AWS customers in the most strategic industry verticals. This is a team of data scientists, engineers, and architects working step-by-step with customers to build bespoke solutions that harness the power of generative AI. The team helps customers imagine and scope the use cases that will create the greatest value for their businesses, select and train and fine tune the right models, define paths to navigate technical or business challenges, develop proof-of-concepts, and build applications to launch these solutions at scale. The AWS Industries team provides guidance and implements best practices for applying generative AI responsibly and cost efficiently. You will work directly with customers and innovate in a fast-paced organization that contributes to game-changing projects and technologies. You will design and run experiments, research new algorithms, and find new ways of optimizing risk, profitability, and customer experience. In this Data Scientist role you will be capable of using GenAI and other techniques to design, evangelize, and implement and scale cutting-edge solutions for never-before-solved problems. Key job responsibilities - Collaborate with AI/ML scientists, engineers, and architects to research, design, develop, and evaluate cutting-edge generative AI algorithms and build ML systems to address real-world challenges - Interact with customers directly to understand the business problem, help and aid them in implementation of generative AI solutions, deliver briefing and deep dive sessions to customers and guide customer on adoption patterns and paths to production - Create and deliver best practice recommendations, tutorials, blog posts, publications, sample code, and presentations adapted to technical, business, and executive stakeholder - Provide customer and market feedback to Product and Engineering teams to help define product direction About the team Diverse Experiences Amazon values diverse experiences. Even if you do not meet all of the preferred qualifications and skills listed in the job description, we encourage candidates to apply. If your career is just starting, hasn’t followed a traditional path, or includes alternative experiences, don’t let it stop you from applying. Why AWS Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform. We pioneered cloud computing and never stopped innovating — that’s why customers from the most successful startups to Global 500 companies trust our robust suite of products and services to power their businesses. Work/Life Balance We value work-life harmony. Achieving success at work should never come at the expense of sacrifices at home, which is why we strive for flexibility as part of our working culture. When we feel supported in the workplace and at home, there’s nothing we can’t achieve in the cloud. Inclusive Team Culture Here at AWS, it’s in our nature to learn and be curious. Our employee-led affinity groups foster a culture of inclusion that empower us to be proud of our differences. Ongoing events and learning experiences, including our Conversations on Race and Ethnicity (CORE) and AmazeCon (gender diversity) conferences, inspire us to never stop embracing our uniqueness. Mentorship and Career Growth We’re continuously raising our performance bar as we strive to become Earth’s Best Employer. That’s why you’ll find endless knowledge-sharing, mentorship and other career-advancing resources here to help you develop into a better-rounded professional.