Alexa enters the “age of self”

More-autonomous machine learning systems will make Alexa more self-aware, self-learning, and self-service.

Alexa launched in 2014, and in the more than six years since, we’ve been making good on our promise to make Alexa smarter every day. In addition to foundational improvements in Alexa’s core AI technologies, such as speech recognition and natural-language-understanding systems, Alexa scientists have developed technologies that continue to delight our customers, such as whispered speech and Alexa’s new live translation service.

Prem Natarajan, Alexa AI vice president of natural understanding, giving a presentation
Prem Natarajan, Alexa AI vice president of natural understanding, at a conference in 2018.

But some of the technologies we’ve begun to introduce, together with others we’re now investigating, are harbingers of a step change in Alexa’s development — and in the field of AI itself. Collectively, these technologies will bring a new level of generalizability and autonomy to both the Alexa voice service and the tools available to Alexa developers, ushering in what I like to think of as a new “age of self” in artificial intelligence, an age in which AI systems such as Alexa become more self-aware and more self-learning, and in which they lend themselves to self-service by experienced developers and even end users.

By self-awareness, I mean the ability to maintain an awareness of ambient state (e.g., time of day, thermostat readings, and recent actions) and to employ commonsense reasoning to make inferences that reflect that awareness and prior/world knowledge. Alexa hunches can already recognize anomalies in customers’ daily routines and suggest corrections — noticing that a light was left on at night and offering to turn it off, for instance. Powered by commonsense reasoning, self-awareness goes further: for instance, if a customer turns on the television five minutes before the kids’ soccer practice is scheduled to end, an AI of the future might infer that the customer needs a reminder about pickup.

Smart home.png
In the "age of self", AIs will be able to infer customers’ implicit intentions from observable temporal patterns, such as interactions with smart-home devices like thermostats, door locks, and lights.

Self-learning is Alexa’s ability to improve and expand its capabilities without human intervention. And like self-awareness, self-learning employs reasoning: for example, does the customer’s response to an action indicate dissatisfaction with that action? Similarly, when a customer issues an unfamiliar command, a truly self-learning Alexa would be able to infer what it might mean — perhaps by searching the web or exploring a knowledge base — and suggest possibilities.

Self-service means, essentially, the democratization of AI. Alexa customers with no programming experience should be able to customize Alexa’s services and even create new Alexa capabilities, and skill developers without machine learning experience should be able to build complex yet robust conversational skills. Colloquially, these are the conversational-AI equivalents of no-code and low-code development environments.

To be clear, the age of self is not yet upon us, and its dawning will require the maturation of technologies still under development, at Amazon and elsewhere. But some of Alexa’s recently launched capabilities herald a lightening in the Eastern sky.

Self-awareness

In 2018, we launched Alexa hunches for the smart home, with Alexa suggesting actions to take in response to anomalous sensor data. By early 2021, the science has advanced adequately for us to launch an opt-in service in which Alexa can take action immediately and automatically. In the meantime, we’ve also been working to expand hunches to Alexa services other than the smart home.

Technologies will bring a new level of generalizability and autonomy to both the Alexa voice service and the tools available to Alexa developers, ushering in what I like to think of as a new 'age of self' in artificial intelligence.
Prem Natarajan

But commonsense reasoning requires something more — the ability to infer customers’ implicit intentions from observable temporal patterns. For instance, what does it mean if the customer turns down the thermostat, turns out the lights, locks the front door, and opens the garage? What if the customer initiates an interaction with a query like “Alexa, what’s playing at Rolling Hills Cine Plaza?”

In 2020, we took steps toward commonsense reasoning with a new Alexa function that can infer a customer’s latent goal— the ultimate aim that lies behind a sequence of requests. When a customer asks for the weather at the beach, for instance, Alexa might use that query, in combination with other contextual information, to infer that the customer may be interested in a trip to the beach. Alexa could then offer the current driving time to the beach.

To retrieve that information, Alexa has to know to map the location of the weather request to the destination variable in the route-planning function. This illustrates another aspect of self-awareness: the ability to track information across contexts.

That ability is at the core of the night-out experience we’ve developed, which engages the customer in a multiturn conversation to plan a complete night out, from buying movie tickets to making restaurant and ride-share reservations. The night-out experience tracks times and locations across skills, revising them on the fly as customers evaluate different options. To build the experience, we leveraged the machinery of Alexa Conversations, a service that enables developers to quickly and easily create dialogue-driven skills, and we drew on our growing body of research on dialogue state tracking.

Slot_tracking.png._CB436837753_.png
Dialogue states at several successive dialogue turns

Self-awareness, however, includes an understanding not only of the conversational context but also of the customer’s physical context. In 2020, we demonstrated natural turn-taking on Alexa-enabled devices with cameras. When multiple speakers are engaging with Alexa, Alexa can use visual cues to distinguish between speech the customers are directing at each other and speech they’re directing at Alexa. In ongoing work, we’re working to expand this functionality to devices without cameras, by relying solely on acoustic and linguistic signals.

Finally, self-awareness also entails the capacity for self-explanation. Today, most machine learning models are black boxes; even their creators have no idea how they’re doing what they do. That uncertainty has turned explainable or interpretable AI into a popular research topic.

Amazon actively publishes on explainable-AI topics. In addition, the Alexa Fund, an Amazon venture capital investment program, invested in fiddler.ai, a startup that uses techniques based on the game-theoretical concept of Shapley values to do explainable AI.

Self-learning

Historically, the AI development cycle has involved collection of data, annotation of that data, and retraining of models on the newly annotated data — all of which add up to a laborious process.

In 2019, we launched Alexa’s self-learning system, which automatically learns to correct errors — both customer errors and errors in Alexa’s language-understanding models — without human involvement. The system relies on implicit signals that a request was improperly handled, as when a customer interrupts a response and rephrases the same request.

Absorbing-Markov-chain models for three different sequences of utterances
Alexa's self-learning system models customer interactions with Alexa as sequences of states; different customer utterances (u0, u1, u2) can correspond to the same state (h0). The final state of a sequence, known as the "absorbing state", indicates the success (checkmark) or failure (X) of a transaction.
Stacy Reilly

Currently, that fully automatic system is correcting 15% of defects. But those are defects that occur across a spectrum of users; only when enough people implicitly identify the same flaw does the system address it. We are working to adapt the same machinery to individual customers’ preferences — so that, for instance, Alexa can learn that when a particular customer asks for the song “Wow”, she means not the Post Malone hit from 2019 but the 1978 Kate Bush song.

Customers today also have the option of explicitly teaching Alexa their preferences. In the fall of 2020, we launched interactive teaching by customers, a capability that enables customers to instruct Alexa how they want certain requests to be handled. For instance, the customer can teach Alexa that the command “reading mode” means lights turned all the way up, while “movie mode” means only twenty percent up.

Self-service

Interactive teaching is also an early example of how Alexa is enabling more self-service. It extends prior Alexa features, like blueprints, which let customers build their own simple skills from preexisting templates, and routines, which let customers chain together sequences of actions under individual commands.

In March 2021, we announced the public release of Alexa Conversations, which allows developers to create dialogue-driven skills by uploading sample dialogues. Alexa Conversations’ sophisticated machine learning models use those dialogues as templates for generating larger corpora of synthetic training data. From that data, Alexa Conversations automatically trains a machine learning model.

Alexa Conversations does, however, require the developer to specify the set of entities that the new model should act upon and an application programming interface for the skill. So while it requires little familiarity with machine learning, it assumes some programming experience. 

ambiguous_slots.gif._CB438712971_.gif
An Alexa feature known as catalogue value suggestions suggests entity names to skill developers on the basis of their "embeddings", or locations in a representational space. If the embeddings of values (such as bird, dog, or cat) for a particular entity type are close enough (dotted circles) to their averages (solid circle and square), the system suggests new entity names; otherwise, it concludes that suggestions would be unproductive.
Animation by Nick Little

We are steadily chipping away at even that requirement, by making development for Alexa easier and more intuitive. As Alexa’s repertory of skills grows, for instance, entities are frequently reused, and we already have systems that can inform developers about entity types that they might not have thought to add to their skills. This is a step toward a self-service model in which developers no longer have to provide exhaustive lists of entities — or, in some cases, any entities at all.

Another technique that makes it easier to build machine learning models is few-shot learning, in which an existing model is generalized to a related task using only a handful of new training examples. This is an active area of research at Alexa: earlier this year, for example, we presented a paper at the Spoken Language Technologies conference that described a new approach to few-shot learning for natural-language-understanding tasks. Compared to its predecessors, our approach reduced the error rate on certain natural-language-understanding tasks by up to 12.4%, when each model was trained on only 10 examples.

These advances, along with the others reported on Amazon Science, demonstrate that the Alexa AI team continues to accelerate its pace of invention. More exciting announcements lie just over the horizon. I’ll be stopping back here every once in a while to update you on Alexa’s journey into the age of self.

Research areas

Related content

US, WA, Seattle
Are you a brilliant mind seeking to push the boundaries of what's possible with intelligent robotics? Join our elite team of researchers and engineers - led by Pieter Abeel, Rocky Duan, and Peter Chen - at the forefront of applied science, where we're harnessing the latest advancements in large language models (LLMs) and generative AI to reshape the world of robotics and unlock new realms of innovation. As an Applied Science Intern, you'll have the unique opportunity to work alongside world-renowned experts, gaining invaluable hands-on experience with cutting-edge robotics technologies. You'll dive deep into exciting research projects at the intersection of AI and robotics. This internship is not just about executing tasks – it's about being a driving force behind groundbreaking discoveries. You'll collaborate with cross-functional teams, leveraging your expertise in areas such as deep learning, reinforcement learning, computer vision, and motion planning to tackle real-world problems and deliver impactful solutions. Throughout your journey, you'll have access to unparalleled resources, including state-of-the-art computing infrastructure, cutting-edge research papers, and mentorship from industry luminaries. This immersive experience will not only sharpen your technical skills but also cultivate your ability to think critically, communicate effectively, and thrive in a fast-paced, innovative environment where bold ideas are celebrated. Join us at the forefront of applied robotics and AI, where your contributions will shape the future of intelligent systems and propel humanity forward. Seize this extraordinary opportunity to learn, grow, and leave an indelible mark on the world of technology. Amazon has positions available in San Francisco, CA and Seattle, WA. The ideal candidate should possess: - Strong background in machine learning, deep learning, and/or robotics - Publication record at science conferences such as NeurIPS, CVPR, ICRA, RSS, CoRL, and ICLR. - Experience in areas such as multimodal LLMs, world models, image/video tokenization, real2Sim/Sim2real transfer, bimanual manipulation, open-vocabulary panoptic scene understanding, scaling up multi-modal LLMs, and end-to-end vision-language-action models. - Proficiency in Python, Experience with PyTorch or JAX - Excellent problem-solving skills, attention to detail, and the ability to work collaboratively in a team Join us at the forefront of applied robotics and AI, and be a part of the team that's reshaping the future of intelligent systems. Apply now and embark on an extraordinary journey of discovery and innovation! Key job responsibilities - Develop novel, scalable algorithms and modeling techniques that advance the state-of-the-art in areas at the intersection of LLMs and generative AI for robotics - Tackle challenging, groundbreaking research problems on production-scale data, with a focus on robotic perception, manipulation, and control - Collaborate with cross-functional teams to solve complex business problems, leveraging your expertise in areas such as deep learning, reinforcement learning, computer vision, and motion planning - Demonstrate the ability to work independently, thrive in a fast-paced, ever-changing environment, and communicate effectively with diverse stakeholders
US, WA, Seattle
Join the next revolution in robotics at Amazon's Frontier AI & Robotics team, where you'll work alongside world-renowned AI pioneers like Pieter Abbeel, Rocky Duan, and Peter Chen to lead key initiatives in robotic intelligence. As a Senior Applied Scientist, you'll spearhead the development of breakthrough foundation models that enable robots to perceive, understand, and interact with the world in unprecedented ways. You'll drive technical excellence in areas such as perception, manipulation, scence understanding, sim2real transfer, multi-modal foundation models, and multi-task learning, designing novel algorithms that bridge the gap between cutting-edge research and real-world deployment at Amazon scale. In this role, you'll combine hands-on technical work with scientific leadership, ensuring your team delivers robust solutions for dynamic real-world environments. You'll leverage Amazon's vast computational resources to tackle ambitious problems in areas like very large multi-modal robotic foundation models and efficient, promptable model architectures that can scale across diverse robotic applications. Key job responsibilities - Lead technical initiatives in robotics foundation models, driving breakthrough approaches through hands-on research and development in areas like open-vocabulary panoptic scene understanding, scaling up multi-modal LLMs, sim2real/real2sim techniques, end-to-end vision-language-action models, efficient model inference, video tokenization - Design and implement novel deep learning architectures that push the boundaries of what robots can understand and accomplish - Guide technical direction for specific research initiatives, ensuring robust performance in production environments - Mentor fellow scientists while maintaining strong individual technical contributions - Collaborate with engineering teams to optimize and scale models for real-world applications - Influence technical decisions and implementation strategies within your area of focus A day in the life - Develop and implement novel foundation model architectures, working hands-on with our extensive compute infrastructure - Guide fellow scientists in solving complex technical challenges, from sim2real transfer to efficient multi-task learning - Lead focused technical initiatives from conception through deployment, ensuring successful integration with production systems - Drive technical discussions within your team and with key stakeholders - Conduct experiments and prototype new ideas using our massive compute cluster - Mentor team members while maintaining significant hands-on contribution to technical solutions Amazon offers a full range of benefits that support you and eligible family members, including domestic partners and their children. Benefits can vary by location, the number of regularly scheduled hours you work, length of employment, and job status such as seasonal or temporary employment. The benefits that generally apply to regular, full-time employees include: 1. Medical, Dental, and Vision Coverage 2. Maternity and Parental Leave Options 3. Paid Time Off (PTO) 4. 401(k) Plan If you are not sure that every qualification on the list above describes you exactly, we'd still love to hear from you! At Amazon, we value people with unique backgrounds, experiences, and skillsets. If you’re passionate about this role and want to make an impact on a global scale, please apply! About the team At Frontier AI & Robotics, we're not just advancing robotics – we're reimagining it from the ground up. Our team, led by pioneering AI researchers Pieter Abbeel, Rocky Duan, and Peter Chen, is building the future of intelligent robotics through groundbreaking foundation models and end-to-end learned systems. We tackle some of the most challenging problems in AI and robotics, from developing sophisticated perception systems to creating adaptive manipulation strategies that work in complex, real-world scenarios. What sets us apart is our unique combination of ambitious research vision and practical impact. We leverage Amazon's massive computational infrastructure and rich real-world datasets to train and deploy state-of-the-art foundation models. Our work spans the full spectrum of robotics intelligence – from multimodal perception using images, videos, and sensor data, to sophisticated manipulation strategies that can handle diverse real-world scenarios. We're building systems that don't just work in the lab, but scale to meet the demands of Amazon's global operations. Join us if you're excited about pushing the boundaries of what's possible in robotics, working with world-class researchers, and seeing your innovations deployed at unprecedented scale.
IL, Haifa
We’re looking for a Principal Applied Scientist in the Personalization team with experience in generative AI and large models. You will be responsible for developing and disseminating customer-facing personalized recommendation models. This is a hands-on role with global impact working with a team of world-class engineers and scientists across the wider organization. You will lead the design of machine learning models that scale to very large quantities of data, and serve high-scale low-latency recommendations to all customers worldwide. You will embody scientific rigor, designing and executing experiments to demonstrate the technical efficacy and business value of your methods. You will work alongside a science team to delight customers by aiding in recommendations relevancy, and raise the profile of Amazon as a global leader in machine learning and personalization. Successful candidates will have strong technical ability, focus on customers by applying a customer-first approach, excellent teamwork and communication skills, and a motivation to achieve results in a fast-paced environment. Our position offers exceptional opportunities for every candidate to grow their technical and non-technical skills. If you are selected, you have the opportunity to make a difference to our business by designing and building state of the art machine learning systems on big data, leveraging Amazon’s vast computing resources (AWS), working on exciting and challenging projects, and delivering meaningful results to customers world-wide. Key job responsibilities Develop machine learning algorithms for high-scale recommendations problem Rapidly design, prototype and test many possible hypotheses in a high-ambiguity environment, making use of both quantitative analysis and business judgement. Collaborate with software engineers to integrate successful experimental results into large-scale, highly complex Amazon production systems capable of handling 100,000s of transactions per second at low latency. Report results in a manner which is both statistically rigorous and compellingly relevant, exemplifying good scientific practice in a business environment.
US, WA, Seattle
The Private Brands Discovery team designs innovative machine learning solutions to drive customer awareness for Amazon’s own brands and help customers discover products they love. Private Brands Discovery is an interdisciplinary team of Scientists and Engineers, who incubate and build disruptive solutions using cutting-edge technology to solve some of the toughest science problems at Amazon. To this end, the team employs methods from Natural Language Processing, Deep learning, multi-armed bandits and reinforcement learning, Bayesian Optimization, causal and statistical inference, and econometrics to drive discovery across the customer journey. Our solutions are crucial for the success of Amazon’s own brands and serve as a beacon for discovery solutions across Amazon. This is a high visibility opportunity for someone who wants to have business impact, dive deep into large-scale problems, enable measurable actions on the consumer economy, and work closely with scientists and engineers. As a scientist, you bring business and industry context to science and technology decisions. You set the standard for scientific excellence and make decisions that affect the way we build and integrate algorithms. Your solutions are exemplary in terms of algorithm design, clarity, model structure, efficiency, and extensibility. You tackle intrinsically hard problems, acquiring expertise as needed. You decompose complex problems into straightforward solutions.. With a focus on bias for action, this individual will be able to work equally well with Science, Engineering, Economics and business teams. Key job responsibilities - 5+ yrs of relevant, broad research experience after PhD degree or equivalent. - Advanced expertise and knowledge of applying observational causal interference methods - Strong background in statistics methodology, applications to business problems, and/or big data. - Ability to work in a fast-paced business environment. - Strong research track record. - Effective verbal and written communications skills with both economists and non-economist audiences.
DE, Aachen
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 Generative Artificial Intelligence (GenAI) 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 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 spoken language understanding. About the team The AGI team has a mission to push the envelope in GenAI with LLMs and multimodal systems, in order to provide the best-possible experience for our customers.
US, WA, Seattle
The AWS Marketplace & Partner Services Science team is hiring an Applied Scientist to develop science products that support AWS initiatives to grow AWS Partners. The team is seeking candidates with strong background in machine learning and engineering, creativity, curiosity, and great business judgment. As an applied scientist on the team, you will work on targeting and lead prioritization related AI/ML products, recommendation systems, and deliver them into the production ecosystem. You are comfortable with ambiguity and have a deep understanding of ML algorithms and an analytical mindset. You are capable of summarizing complex data and models through clear visual and written explanations. You thrive in a collaborative environment and are passionate about learning. Key job responsibilities - Work with scientists, product managers and engineers to deliver high-quality science products - Experiment with large amounts of data to deliver the best possible science solutions - Design, build, and deploy innovative ML solutions to impact AWS Co-Sell initiatives About the team The AWS Marketplace & Partner Services team is the center of Analytics, Insights, and Science supporting the AWS Specialist Partner Organization on its mission to provide customers with an outstanding experience while working with AWS partners. The Science team supports science models and recommendation systems that are deployed directly to AWS Customers, AWS partners, and internal AWS Sellers.
US, CA, Palo Alto
We’re working to improve shopping on Amazon using the conversational capabilities of large language models, and are searching for pioneers who are passionate about technology, innovation, and customer experience, and are ready to make a lasting impact on the industry. You'll be working with talented scientists and engineers to innovate on behalf of our customers. If you're fired up about being part of a dynamic, driven team, then this is your moment to join us on this exciting journey! Key job responsibilities We seek strong Applied Scientists with domain expertise in machine learning and deep learning, transformers, generative models, large language models, computer vision and multimodal models. You will devise innovative solutions at scale, pushing the technological and science boundaries. You will guide the design, modeling, and architectural choices of state-of-the-art large language models and multimodal models. You will devise and implement new algorithms and new learning strategies and paradigms. You will be technically hands-on and drive the execution from ideation to productionization. You will work in collaborative environment with other technical and business leaders, to innovate on behalf of the customer.
US, CA, Palo Alto
We’re working to improve shopping on Amazon using the conversational capabilities of large language models, and are searching for pioneers who are passionate about technology, innovation, and customer experience, and are ready to make a lasting impact on the industry. You’ll be working with talented scientists, engineers, and technical program managers (TPM) to innovate on behalf of our customers. If you’re fired up about being part of a dynamic, driven team, then this is your moment to join us on this exciting journey!
US, CA, East Palo Alto
The Customer Engagement Technology team leads AI/LLM-driven customer experience transformation using task-oriented dialogue systems. We develop multi-modal, multi-turn, goal-oriented dialog systems that can handle customer issues at Amazon scale across multiple languages. These systems are designed to adapt to changing company policies and invoke correct APIs to automate solutions to customer problems. Additionally, we enhance associate productivity through response/action recommendation, summarization to capture conversation context succinctly, retrieving precise information from documents to provide useful information to the agent, and machine translation to facilitate smoother conversations when the customer and agent speak different languages. Key job responsibilities Research and development of LLM-based chatbots and conversational AI systems for customer service applications. Design and implement state-of-the-art NLP and ML models for tasks such as language understanding, dialogue management, and response generation. Collaborate with cross-functional teams, including data scientists, software engineers, and product managers, to integrate LLM-based solutions into Amazon's customer service platforms. 4. Develop and implement strategies for data collection, annotation, and model training to ensure high-quality and robust performance of the chatbots. Conduct experiments and evaluations to measure the performance of the developed models and systems, and identify areas for improvement. Stay up-to-date with the latest advancements in NLP, LLMs, and conversational AI, and explore opportunities to incorporate new techniques and technologies into Amazon's customer service solutions. Collaborate with internal and external research communities, participate in conferences and publications, and contribute to the advancement of the field. A day in the life Amazon offers a full range of benefits that support you and eligible family members, including domestic partners and their children. Benefits can vary by location, the number of regularly scheduled hours you work, length of employment, and job status such as seasonal or temporary employment. The benefits that generally apply to regular, full-time employees include: 1. Medical, Dental, and Vision Coverage 2. Maternity and Parental Leave Options 3. Paid Time Off (PTO) 4. 401(k) Plan If you are not sure that every qualification on the list above describes you exactly, we'd still love to hear from you! At Amazon, we value people with unique backgrounds, experiences, and skillsets. If you’re passionate about this role and want to make an impact on a global scale, please apply!
US, MA, Boston
The Amazon Dash Cart team is seeking a highly motivated Research Scientist (Level 5) to join our team that is focused on building new technologies for grocery stores. We are a team of scientists invent new algorithms (especially artificial intelligence, computer vision and sensor fusion) to improve customer experiences in grocery shopping. The Amazon Dash Cart is a smart shopping cart that uses sensors to keep track of what a shopper has added. Once done, they can bypass the checkout lane and just walk out. The cart comes with convenience features like a store map, a basket that can weigh produce, and product recommendations. Amazon Dash Cart’s are available at Amazon Fresh, Whole Foods. Learn more about the Dash Cart at https://www.amazon.com/b?ie=UTF8&node=21289116011. Key job responsibilities As a research scientist, you will help solve a variety of technical challenges and mentor other engineers. You will play an active role in translating business and functional requirements into concrete deliverables and build quick prototypes or proofs of concept in partnership with other technology leaders within the team. You will tackle challenging, novel situations every day and given the size of this initiative, you’ll have the opportunity to work with multiple technical teams at Amazon in different locations. You should be comfortable with a degree of ambiguity that’s higher than most projects and relish the idea of solving problems that, frankly, haven’t been solved before - anywhere. Along the way, we guarantee that you’ll learn a ton, have fun and make a positive impact on millions of people. About the team Amazon Dash cart allows shoppers to checkout without lines — you just place the items in the cart and the cart will take care of the rest. When you’re done shopping, you leave the store through a designated dash lane. We charge the payment method in your Amazon account as you walk through the dash lane and send you a receipt. Check it out at https://www.amazon.com/b?ie=UTF8&node=21289116011. Designed and custom-built by Amazonians, our Dash cart uses a variety of technologies including computer vision, sensor fusion, and advanced machine learning.