alexaguardimage.jpeg
Jonathan and Kathy, an Orlando-based couple, were able to save their French bulldog, Cooper, and prevent fire damage to their house thanks to a smart mobile alert from Alexa Guard.

The science behind an Amazon Echo feature that helped save a puppy

How acoustic event detection helps Alexa Guard understand what might warrant an alert — and what just might be a microwave beeping.

Jonathan and Kathy, an Orlando-based couple, were out visiting a neighbor a few days before Christmas 2020 when Jonathan got an unusual alert from their Amazon Echo. Using the Alexa App, they dropped in on their Echo device, which allowed them to hear what was happening in their home in real time.

"You could hear things crackling and popping, and the smoke alarm was going off like crazy," Jonathan told About Amazon. He then rushed home. "Upon rolling into the neighborhood, it was very smoky," Jonathan said. "I pulled up into the driveway, opened the garage, and smoke just started billowing out. I went into our house, and more black smoke poured out. It was so thick you couldn't see six inches in front of your face. The only thing I could think of was Cooper."

How an Amazon Echo alert helped save Cooper the dog

Jonathan managed to get Cooper, the couple's French bulldog, from his pen as smoke billowed from the house. The fire department was also able to extinguish the fire and minimize damage. However, neither outcome may have occurred if it weren’t for a Smart Alert mobile notification from Alexa.

The feature that alerted Jonathan is called Alexa Guard, a smart-home capability that relies on acoustic event detection (AED). AED is an emerging field that focuses on training models to detect and process sounds.

“The technology behind Alexa Guard was developed in an effort to augment the utility of Echo devices,” said Angel Calvo, director of software for Alexa Smart Home team.

How Guard works

When set to away mode, Guard is trained to identify sounds related to home security and safety events, like a smoke alarm sounding, and to distinguish those sounds from something more prosaic, like a microwave beeping.

The detection service relies on two models applied in a two-step system, one on the device, another in the cloud.

The first step utilizes a recurrent neural network — a type of deep learning model that uses sequential data or time series data to learn — on the Echo device itself. The on-device detection works by converting the audio input into features that feed into a recurrent neural network (RNN).

The device uses long short-term memory (LSTM) — a type of recurrent neural network that has shown a significant improvement in speech recognition and has high accuracy, “particularly when it’s applied to sequential data,” said Ming Sun, applied science manager for AED. This is particularly important for determining when a specific sound occurred.

The Echo must also occasionally be able to distinguish between multiple sounds at once. Layered over the RNN is a multi-task learning framework that is trained to detect multiple events. These multiple output layers work like branches off the base neural network, each trained to recognize a different event in the captured audio.

This helps Echo devices detect multiple concurrent incidents (those which customers have selected for detection) such as footsteps and glass breaking, for example.

Layering multiple output layers over a single neural network also makes the detection system in Echo devices very scalable; the device can be trained to recognize new sounds with minimal additions.

“Without this design, we would need to update the whole model every time we update one existing sound event or add a new sound event,” Sun said. “Now, we only have to update the output layer for a target existing event, or add a new output layer for a new event.”

When one of the sounds a customer has selected for detection triggers Guard on the Echo device, that audio is then sent to the cloud for the second verification step to confirm the on-device detection. The cloud runs a much more powerful recognition system to filter out false triggers that might be linked to ambient noise around the home, Sun said.

If the validation process confirms the sound is the one that the device is actively monitoring for, the customer gets a notification in their Alexa app along with an audio clip of the detection.

Getting creative to teach Guard sounds

Because home security events are relatively rare — and the data sets for these audio events are quite meager — semi-supervised learning and self-supervised learning have been critical as Sun’s team expands and refines Guard’s capabilities.

“Semi-supervised learning relies on small sets of annotated training data to leverage larger sets of unannotated data,” Sun said. “While self-supervised learning utilizes larger sets of unannotated data with training targets derived from data itself in an unsupervised way — no human annotations.

“Another technique is to detect for a longer time and aggregate events to be more accurate,” Sun said. To improve the accuracy of sounds with repeating patterns, the detectors look for shorter repeating patterns, such as an appliance beeping. This allows Guard to distinguish between that type of repetitive beeping and an alarm, which can run for 30 seconds or longer. Guard can also detect the difference between a smoke alarm and a carbon monoxide alarm, and notify customers of a specific risk.

Since the very beginning, it’s been critical to build accurate models that consume less resources. We apply lots of optimization so that this system can be as small and efficient as possible.
Ming Sun

Guard Plus, a subscription service launched in January, detects sounds that could be an intruder — like footsteps, a door closing, or glass breaking — and can send a Smart Alert mobile notification or plays a siren on the Echo device. Alexa can also notify customers about the sound of smoke alarms or carbon monoxide alarms. Because the ambient sounds in places like dense urban environments or apartment complexes can make this tricky, the team added a feature allowing customers to adjust the sensitivity to accommodate the noise in their home environments.

The limited annotated data the Guard team had access to has also required them to get creative. Glass breaking, for example, is a rare sound, it’s over in two to three seconds, and it varies based on the type of glass. To bolster their data set, the Guard team rented a warehouse and contracted a construction crew to break hundreds of windows: single pane, double pane, different compositions. This allowed the team to build an authentic data set to build the initial model — also called a seed model — before deploying Guard to beta testers.     

All of the strategies Sun’s team employed to optimize the recognition system on Echo devices have minimized the error rate.

This is where the powerful AED models in the cloud — Guard’s second validation step — are so essential. The chances of false alarm are much smaller when audio is processed through both local and cloud systems, Sun said. And, he emphasized, audio is sent to the cloud only after running it through a device-side model to protect privacy.

“Since the very beginning, it’s been critical to build accurate models that consume less resources,” Sun said. “We apply lots of optimization so that this system can be as small and efficient as possible.”

Edge devices like Echo only send data to the cloud when it’s essential. In the case of Guard, that means the majority of the audio data is processed and discarded by the neural network on the device. Only potential triggers make it to the cloud. For those events, customers are able to view, listen, and delete the audio that Guard detects directly from their Guard History in the Alexa app, or from the Alexa Privacy Settings page.

How a team of designers, scientists, developers, and engineers worked together to create a truly unique device in Echo Show 10.

Research areas

Related content

US, CA, Santa Clara
AWS Utility Computing (UC) provides product innovations — from foundational services such as Amazon’s Simple Storage Service (S3) and Amazon Elastic Compute Cloud (EC2), to consistently released new product innovations that continue to set AWS’s services and features apart in the industry. As a member of the UC organization, you’ll support the development and management of Compute, Database, Storage, Internet of Things (Iot), Platform, and Productivity Apps services in AWS. Within AWS UC, Amazon Dedicated Cloud (ADC) roles engage with AWS customers who require specialized security solutions for their cloud services. Amazon AI is looking for world class scientists and engineers to join its AWS AI Labs to develop groundbreaking generative AI technologies like Amazon Q and CodeWhisperer. Our scientists push boundaries in large language models, Retrieval-Augmented Generation, code generation, conversational AI, and beyond to invent creative solutions. You will invent, implement, and deploy state-of-the-art machine learning solutions at Amazon scale, having a direct impact on revolutionary products used by millions. You will make breakthroughs that challenge the limits of AI and machine learning while collaborating with leading academics and interacting directly with customers to bring new research rapidly to production. A day in the life Diverse Experiences AWS values diverse experiences. Even if you do not meet all of the 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. 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 & 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. 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. Hybrid Work We value innovation and recognize this sometimes requires uninterrupted time to focus on a build. We also value in-person collaboration and time spent face-to-face. Our team affords employees options to work in the office every day or in a flexible, hybrid work model near one of our U.S. Amazon offices. About the team The Amazon Web Services (AWS) Next Gen DevX (NGDE) team uses generative AI and foundation models to reimagine the experience of all builders on AWS. From the IDE to web-based tools and services, AI will help engineers work on large and small applications. We explore new technologies and find creative solutions. Curiosity and an explorative mindset can find a place here to impact the life of engineers around the world. If you are excited about this space and want to enlighten your peers with new capabilities, this is the team for you. We are open to hiring candidates to work out of one of the following locations: New York, NY, USA | Santa Clara, CA, USA | Seattle, WA, USA
US, WA, Seattle
Innovators wanted! Are you an entrepreneur? A builder? A dreamer? This role is part of an Amazon Special Projects team that takes the company’s Think Big leadership principle to the extreme. We focus on creating entirely new products and services with a goal of positively impacting the lives of our customers. No industries or subject areas are out of bounds. If you’re interested in innovating at scale to address big challenges in the world, this is the team for you. Here at Amazon, we embrace our differences. We are committed to furthering our culture of inclusion. We have thirteen employee-led affinity groups, reaching 40,000 employees in over 190 chapters globally. We are constantly learning through programs that are local, regional, and global. Amazon’s culture of inclusion is reinforced within our 16 Leadership Principles, which remind team members to seek diverse perspectives, learn and be curious, and earn trust. Our team highly values work-life balance, mentorship and career growth. We believe striking the right balance between your personal and professional life is critical to life-long happiness and fulfillment. We care about your career growth and strive to assign projects and offer training that will challenge you to become your best. We are open to hiring candidates to work out of one of the following locations: Seattle, WA, USA
US, WA, Bellevue
Are you an innovative leader that wants to engineer the next generation of world-class fulfillment centers and logistics systems across the globe? Do you want a high level of ownership in solving complex problems? Does the challenge of designing and implementing ground breaking solutions for automated equipment, packaging technologies, and systems including robotics and high-speed appeal to you? We’re working on the future. If you are seeking an iterative fast-paced environment where you can drive innovation, apply state-of-the-art technologies to solve extreme-scale real world challenges, and provide visible benefit to end-users, this is your opportunity. Come work on the Amazon WW Fulfillment Design & Engineering Team! We're looking for an outstanding Senior Acoustics Noise/Vibration/Harness (NVH) Scientist, someone who innovates and loves solving hard problems. You will work hard, have fun, and of course, make history! The primary role of the WW Fulfillment Design & Engineering team is to drive strategic solutions designed to improve the acoustic environments of our fulfillment network buildings throughout the world. Key job responsibilities •Lead R&D efforts to develop low noise products and solutions •Perform predictive modeling use the results to drive data driven low noise solution development •Collaborate and design work processes and workspaces that adhere to acoustics standards worldwide. •Help drive long-term Noise and Acoustics solution for Amazon that meet our growing product profile, network operations, and future goals. •Cross-pollinate best practices between engineering and operations teams. •Work closely with External Laboratories, Universities, MHE vendors and Integrators and leverage the data and resources available at their end to support NVH based solutions. •Support the design teams through participation in Design Reviews •Perform site visits to review previous designs, help drive standardized solutions, and capture lessons learned for future design improvements •Simultaneously manage multiple assignments and tasks while effectively influencing, negotiating, and communicating with internal and external business partners, contractors and vendors. •Provide technical leadership for large-scale engineering projects We are open to hiring candidates to work out of one of the following locations: Bellevue, WA, USA
US, CA, Sunnyvale
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 multimodal systems. Key job responsibilities As an Applied Scientist with the AGI team, you will work with talented peers to support the development of novel Generative Artificial Intelligence (GenAI) 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 language technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances with LLMs and multimodal systems. 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. We are open to hiring candidates to work out of one of the following locations: Bellevue, WA, USA | Cambridge, MA, USA | New York, NY, USA | Sunnyvale, CA, USA
US, NY, New York
Amazon continues to invest heavily in building our world class advertising business. 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, breaking fresh ground to create world-class products. We are highly motivated, collaborative and fun-loving with an entrepreneurial spirit and strong 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 Sponsored Products Detail Page Experience and Marketplace Intelligence team is responsible for the ads experience, as well as ad ranking, allocation and pricing of ads on Amazon product pages. As a Principal Scientist on our team, you will be responsible for defining the science and technical strategy for one of our most impactful marketplace controls, creating lasting value for Amazon and our advertising customers. Key job responsibilities • Lead business, science and engineering strategy and roadmap for Sponsored Products Detail Page ad allocation, ranking, pricing, and whole page optimization when combing Ads and organic content on detail pages • Drive alignment across organizations for science, engineering and product strategy to achieve business goals • Lead/guide scientists and engineers across teams to develop, test, launch and improve of science models designed to optimize the shopper experience and deliver long term value for Amazon and advertisers • Develop state of the art experimental approaches and ML models. About the team Sponsored Products (SP) is Amazon's largest and fastest growing business. Over the last few years we grown to a multi-billion dollar business. SP ads are shown prominently throughout search and detail pages, allowing shoppers to seamlessly discover products sold on Amazon. Ad experience and market place is one of the highest impact decisions we make. This role has unparalleled opportunity to grow our marketplace and deliver value for advertisers and shoppers. We are open to hiring candidates to work out of one of the following locations: Arlington, VA, USA | Los Angeles, CA, USA | New York, NY, USA
US, WA, Seattle
The Amazon Devices and Services organization designs, builds and markets Kindle e-readers, Fire Tablets, Fire TV Streaming Media Players and Echo devices. The Device Economics team is looking for an Economist to join our fast paced, start-up environment to help invent the future of product economics. We solve significant business problems in the devices and retail spaces by understanding customer behavior and developing business decision-making frameworks. You will build econometric and machine learning models for causal inference and prediction, using our world class data systems, and apply economic theory to solve business problems in a fast-moving environment. This involves analyzing Amazon Devices and Services customer behavior, and measuring and predicting the lifetime value of existing and future products. We build scalable systems to ensure that our models have broad applicability and large impact. You will work with Scientists, Economists, Product Managers, and Software Developers to provide meaningful feedback about stakeholder problems to inform business solutions and increase the velocity, quality, and scope behind our recommendations. Key job responsibilities Applies expertise in causal modeling to develop econometric/machine learning models to measure the economic value of devices and the business Reviews models and results for other scientists, mentors junior scientists Generates economic insights for the Devices and Services business and work with stakeholders to run the business for effectively Describes strategic importance of vision inside and outside of team. Identifies business opportunities, defines the problem and how to solve it. Engages with scientists, business leadership outside Devices and Services to understand interplay between different business units We are open to hiring candidates to work out of one of the following locations: Arlington, VA, USA | Seattle, WA, USA
US, CA, Culver City
Prime Video is an industry leading, high-growth business and a critical driver of Amazon Prime subscriptions, which contributes to customer loyalty and lifetime value. Prime Video is a digital video streaming and download service that offers Amazon customers the ability to rent, purchase or subscribe to a huge catalog of videos. In addition, Prime Video offers a variety of live sport streaming services in multiple locales. The Prime Video Economist team is looking for an Economist to support strategic projects in PV Sports. As an economist focusing on Prime Video, you will be responsible for understanding the value that the business creates for our customers and to develop new, disruptive innovations to grow global Prime Video usage and customer value. This role requires an individual with strong quantitative modeling skills and the ability to apply statistical/machine learning, structural models, and experimental design methods to large amount of individual level data. The candidate should have strong communication skills, be able to work closely with stakeholders and translate data-driven findings into actionable insights. The successful candidate will be a self-starter comfortable with ambiguity, with strong attention to detail and ability to work in a fast-paced and ever-changing environment. Key job responsibilities The candidate's responsibilities will include: - Build scalable analytic solutions using state of the art tools based on large datasets - Build structural models, conduct statistical/machine learning analyses, or design experiments to measure the value of the business and its many features - Partner closely with Business, Finance, Science, and Tech partners to build prototypes and implement production solutions - Independently identify new opportunities for leveraging economic insights and models in the Video business - Develop and execute product workplans from concept, prototype to production incorporating feedback from customers, scientists and business leaders - Write both technical white papers and business-facing documents to clearly explain complex technical concepts to audiences with diverse business/scientific backgrounds We are open to hiring candidates to work out of one of the following locations: Culver City, CA, USA
US, WA, Bellevue
We are seeking a passionate, talented, and inventive individual to join the Applied AI team and help build industry-leading technologies that customers will love. This team offers a unique opportunity to make a significant impact on the customer experience and contribute to the design, architecture, and implementation of a cutting-edge product. The mission of the Applied AI team is to enable organizations within Worldwide Amazon.com Stores to accelerate the adoption of AI technologies across various parts of our business. We are looking for an Applied Scientist to join our Applied AI team to work on LLM-based solutions. Key job responsibilities You will be responsible for developing and maintaining the systems and tools that enable us to accelerate knowledge operations and work in the intersection of Science and Engineering. You will push the boundaries of ML and Generative AI techniques to scale the inputs for hundreds of billions of dollars of annual revenue for our eCommerce business. If you have a passion for AI technologies, a drive to innovate and a desire to make a meaningful impact, we invite you to become a valued member of our team. A day in the life We are seeking an experienced Scientist who combines superb technical, research, analytical and leadership capabilities with a demonstrated ability to get the right things done quickly and effectively. This person must be comfortable working with a team of top-notch developers and collaborating with our research teams. We’re looking for someone who innovates, and loves solving hard problems. You will be expected to have an established background in building highly scalable systems and system design, excellent project management skills, great communication skills, and a motivation to achieve results in a fast-paced environment. You should be somebody who enjoys working on complex problems, is customer-centric, and feels strongly about building good software as well as making that software achieve its operational goals. About the team On our team you will push the boundaries of ML and Generative AI techniques to scale the inputs for hundreds of billions of dollars of annual revenue for our eCommerce business. If you have a passion for AI technologies, a drive to innovate and a desire to make a meaningful impact, we invite you to become a valued member of our team. We are open to hiring candidates to work out of one of the following locations: Bellevue, WA, USA
US, WA, Seattle
Amazon Advertising's Publisher Technologies team is looking for an experienced Applied Scientist with proven research experience in control theory, online machine learning, and/or mechanism design to drive innovative algorithms for ad-delivery at scale. Your work will directly shape pacing, yield optimization, and ad-selection for Amazon's publishers and impact experiences for hundreds of millions of users and devices. About the team Amazon Advertising operates at the intersection of eCommerce, streaming, and advertising, offering a rich array of digital advertising solutions with the goal of helping our customers find and discover anything they want to buy. We help advertisers reach customers across Amazon's owned and operated sites (publishers) across the web and on millions of devices such as Amazon.com, Prime Video, FreeVee, Kindles, Fire tablets, Fire TV, Alexa, Mobile, Twitch, and more. Within Ads, Publisher Technologies is building the next generation of ad-serving products to allow our publishers to monetize their on-demand, streaming, and static content across Amazon’s ad network in a few clicks. Publishers interact directly with our technology, through programmatic APIs to optimize billions of impression opportunities per day. About the role Publisher Technologies is looking to build out our Publisher Ad Server Science + Simulation and Experimentation team to drive innovation across ad-server delivery algorithms for budget pacing, ad-selection, and yield optimization. We seek to ensure the highest quality experiences for Amazon's customers by matching them with most relevant ads while ensuring optimal yield for publishers. As a Senior Applied Scientist, you will research, invent, and apply cutting edge designs and methodologies in control theory, online optimization, and machine learning to improve publisher yield and customer experience. You will work closely with our engineering and product team to design and implement algorithms in production. In addition, you will contribute to the end state vision of AI enhanced ad-delivery. You will be a foundational member of the team that builds a world-class, green-field ad-delivery service for Amazon's video, audio, and display advertising. To be successful in this role, you must be customer obsessed, have a deep technical background in both online algorithms and distributed systems, comfort dealing with ambiguity, an eye for detail, and a passion to identify and solve for practical considerations that occur when complex control-loops have to operate autonomously and reliably to make millisecond level decisions at scale. You are a technical leader with track record of building control theoretic and/or machine learning models in production to drive business KPIs such as budget delivery. If you are interested working on challenging and practical problems that impact hundreds of millions of users and devices and span cutting edge areas of optimization and AI while having fun on a rapidly expanding team, come join us! Key job responsibilities * Developing new statistical, causal, machine learning, and simulation techniques and develop solution prototypes to drive innovation * Developing an understanding of key business metrics / KPIs and providing clear, compelling analysis that shapes the direction of our business * Working with technical and non-technical customers to design experiments, simulations, and communicate results * Collaborating with our dedicated software team to create production implementations for large-scale data analysis * Staying up-to-date with and contributing to the state-of-the-art research and methodologies in the area of advertising algorithms * Presenting research results to our internal research community * Leading training and informational sessions on our science and capabilities * Your contributions will be seen and recognized broadly within Amazon, contributing to the Amazon research corpus and patent portfolio. We are open to hiring candidates to work out of one of the following locations: Seattle, WA, USA
US, WA, Seattle
The Alexa Economics team is looking for a Senior Economics Manager who is able to provide structure around complex business problems, hone those complex problems into specific, scientific questions, and test those questions to generate insights. The candidate will work with various product, analytics, science, and engineering teams to develop models and algorithms on large scale data, design pilots and measure their impact, and transform successful prototypes into data products at scale. They will lead teams of researchers to produce robust, objective research results and insights which can be communicated to a broad audience inside and outside of Alexa. Key job responsibilities Ideal candidates will work closely with business partners to develop science that solves the most important business challenges. They will work well in a team setting with individuals from diverse disciplines and backgrounds. They will serve as an ambassador for science for business teams, so that leaders are equipped with the right data and mental model to make important business decisions. Ideal candidates will own the development of scientific models and manage the data analysis, modeling, and experimentation that is necessary for estimating and validating models. They will be customer centric – clearly communicating scientific approaches and findings to business leaders, listening to and incorporate their feedback, and delivering successful scientific solutions. A day in the life - Review new technical approaches to understand Engagement and associated benefits to Alexa. - Partner with Engineering and Product teams to inject econometric insights and models into customer-facing products. - Help business teams understand the key causal inputs that drive business outcome objectives. About the team The Alexa Engagement and Economics and Team uses data, analytics, economics, statistics, and machine learning to measure, report, and track business outputs and growth. We are a team that is obsessed with understanding customer behaviors, and leveraging all aspects from customers behaviors with Alexa and Amazon to develop and deliver solutions that can drive Alexa growth and long-term business success. We use causal inference to identify business optimization and product opportunities. We are open to hiring candidates to work out of one of the following locations: Bellevue, WA, USA | Seattle, WA, USA