Amazon senior principal engineer Luu Tran is seen sitting indoors, staring into the camera while smiling, he is wearing a sweater over a dress shirt and there are chairs, a desk, and a whiteboard in the background
Amazon senior principal engineer Luu Tran has overseen the plan-build-deploy-scale cycle for many Alexa features: timers, alarms, reminders, the calendar, recipes, Drop In, Announcements, and more.

Writing Alexa’s next chapter by combining engineering and science

Amazon senior principal engineer Luu Tran is helping the Alexa team innovate by collaborating closely with scientist colleagues.

For many of us, using our voices to interact with computers, phones, and other devices is a relatively new experience made possible by services like Amazon's Alexa.

But it’s old hat for Luu Tran.

An Amazon senior principal engineer, Tran has been talking to computers for more than three decades. An uber-early adopter of voice computing, Tran remembers the days when PCs came without sound cards, microphones, or even audio jacks. So he built his own solution.

“I remember when I got my first Sound Blaster sound card, which came with a microphone and software called Dragon Naturally Speaking,” Tran recalls.

With a little plug-and-play engineering, Tran could suddenly use his voice to open and save files on a mid-1990s-era PC. Replacing his keyboard and mouse with his voice was a magical experience and gave him a glimpse into the future of voice-powered computing.

Fast forward to 2023, and we’re in the the golden age of voice computing, made possible by advances in machine learning, AI, and voice assistants like Alexa. “Amazon’s vision for Alexa was always to be a conversational, natural personal assistant that knows you, understands you, and has some personality,” says Tran.

In his role, Tran has overseen the plan-build-deploy-scale cycle for many Alexa features: timers, alarms, reminders, the calendar, recipes, Drop In, Announcements, and more. Now, he’s helping Amazon by facilitating collaboration between the company’s engineers and academic scientists who can help advance machine learning and AI — both full-time academics and those participating in Amazon’s Scholars and Visiting Academics programs.

Tran is no stranger to computing paradigm shifts. His previous experiences at Akamai, Mint.com, and Intuit gave him a front-row seat to some of tech’s most dramatic shifts, including the birth of the internet, the explosion of mobile, and the shift from on-premise to cloud computing.

Bringing his three decades of experience to bear in his role at Amazon, Tran is helping further explore the potential of voice computing by spurring collaborations between Amazon’s engineering and science teams. On a daily basis, Tran encourages engineers and scientists to work together as one — shoulder-to-shoulder — fusing the latest scientific research with cutting-edge engineering.

It's no accident Tran is helping lead Alexa’s next engineering chapter. Growing up watching Star Trek, he’d always been fascinated with the idea that you could speak to a computer and it could speak back using AI.

“I'd always believed that AI was out of reach of my career and lifetime. But now look at where we are today,” Tran says.

The science of engineering Alexa

Tran believes collaboration with scientists is essential to continued innovation, both with Alexa and AI in general.

I'm coming from the perspective of an engineer who has studied some theory but has worked for decades translating technology ideas into reality, within real world constraints.
Luu Tran

“Bringing them together — the engineering and the science — is a powerful combination. Many of our projects are not simply deterministic engineering problems we can solve with more code and better algorithms,” he says. “We must bring to bear a lot of different tech and leverage science to fill in the gaps, such as machine learning modeling and training.”

Helping engineers and scientists work closely together is a nontrivial endeavor, because they often come from different backgrounds, have different goals and incentives, and in some cases even speak different “languages.” For example, Tran points out that the word “feature” means something very different to product managers and engineers than it does to scientists.

“I'm coming from the perspective of an engineer who has studied some theory but has worked for decades translating technology ideas into reality, within real-world constraints. For me, it’s been less important to understand why something works than what works,” Tran says.

Related content
How Alexa scales machine learning models to millions of customers.

To realize the best of both worlds, Tran says, the Alexa team is employing an even more agile approach than it’s used in the past — assembling project teams of product managers, engineers, and scientists, often with different combinations based on the goal, feature, or tech required. There’s no dogma or doctrine stating what roles must be on a particular team.

What’s most important, Tran points out, is that each team understands from the outset the customer need, the use case, the product market fit, and even the monetization strategy. Bringing scientists into projects from the start is critical. “We always have product managers on teams with engineers and scientists. Some teams are split 50–50 between scientists and engineers. Some are 90% scientists. It just depends on the problem we're going after.”

The makeup of teams changes as projects progress. Some start out heavily weighted toward engineering and then determine a use case or problem that requires scientific research. Others start out predominantly science-based and, once a viable solution is in sight, gradually add more engineers to build, test, and iterate. This push/pull among how teams form and change — and the autonomy to organize and reorganize to iterate quickly — is key, Tran believes.

“Often, it’s still product managers who describe the core customer need and use case and how we're going to solve it,” Tran says. “Then the scientists will say, ‘Yeah, that's doable, or no, that's still science fiction.’ And then we iterate and kind of formalize the project. This way, we can avoid spending months and months trying to build something that, had we done the research up front, wasn’t possible with current tech.”

Engineering + science = Smarter recipe recommendations

A recent project that benefited from the new agile, collaborative approach is Alexa’s new recipe recommendation engine. To deliver a relevant recipe recommendation to a customer who asks for one — perhaps to an Amazon Echo Show on a kitchen counter — Alexa must select a single recipe from its vast collection while also understanding the customer’s desires and context. All of us have unique tastes, dietary preferences, potential food allergies, and real-time contextual factors, such as what’s in the fridge, what time of day it is, and how much time we have to prepare a meal.

This is not something you can build using brute force engineering, It requires a lot of science.
Luu Tran

Alexa, Tran explains, must factor all parameters into its recipe recommendation and — in milliseconds — return a recipe it believes is both highly relevant (e.g., a Mexican dish) and personal (e.g., no meat for vegetarian customers). The technology involved to respond with relevant, safe, satisfying recommendations for every customer is mind-bogglingly complex. “This is not something you can build using brute-force engineering,” Tran notes. “It requires a lot of science.”

Building the new recipe engine required two parallel projects: a new machine learning model trained to look through and select recipes from a corpus of millions of online recipes and a new inference engine to ensure each request Alexa receives is appended with de-identified personal and contextual data. “We broke it down, just like any other process of building software,” Tran says. “We wrote our plan, identified the tasks, and then decided whether each task was best handled by a scientist or an engineer, or maybe a combination of both working together.”

Tran says the scientists on the team largely focused on the machine learning model. They started by researching all existing, publicly available ML approaches to recipe recommendation — cataloguing the model types and narrowing them down based on what they believed would perform best. “The scientists looked at a lot of different approaches — Bayesian models, graph-based models, cross-domain models, neural networks, and collaborative filtering — and settled on a set of six models they felt would be best for us to try,” Tran explains. “That helped us quickly narrow down without having to exhaustively try every potential model approach.”

The engineers, meanwhile, got to work designing and building the new inference engine to better capture and analyze user signals, both implicit (e.g., time of day) and explicit (whether the user asked for a dinner or lunch recipe). “You don’t want to recommend cocktail recipes at breakfast time, but sometimes people want to eat pancakes for dinner,” jokes Tran.

Related content
A new method based on Transformers and trained with self-supervised learning achieves state-of-the-art performance.

The inference engine had to be built to accommodate queries from existing users and new users who’ve never asked for a recipe recommendation. Performance and privacy were key requirements. The engineering team had to design and deploy the engine to optimize throughput while minimizing computation and storage costs and complying with customer requests to delete personal information from their histories.

Once the new inference engine was ready, the engineers integrated it with the six ML models built and trained by the scientists, connected it to the new front-end interface built by the design team, and tested the models against each other to compare the results. Tran says all six models improved conversion (a “conversion event” is triggered when a user selects a recommended recipe) vs. baseline recommendations, but one model outperformed others by more than 100%. The team selected that model, which is in production today.

The recipe project doesn’t end here, though. Now that it’s live and in production, there’s a process of continual improvement. “We’re always learning from customer behavior. Which are the recipes that customers were really happy with? And which are the ones they never pick?” Tran says. “There's continued collaboration between engineers and scientists on that, as well, to refine the solution.”

The future: Alexa engineering powered by science

To further accelerate Alexa innovation, Amazon formed the Alexa Principal Community — a matrixed team of several hundred engineers and scientists who work on and contribute to Alexa and Alexa-related technologies. “We have people from all parts of the company, regardless of who they report to,” adds Tran. “What brings us together is that we’re working together on the technologies behind Alexa, which is fantastic.”

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.

Earlier this year, more than 100 members of that community convened, both in person and remotely, to share, discuss, and debate Alexa technology. “In my role as a member of the community’s small leadership team, I presented a few sessions, but I was mostly there to learn from, connect with, and influence my peers.”

Tran is thoroughly enjoying his work with scientists, and he feels he’s benefiting greatly from the collaboration. “Working closely with lots of scientists helps me understand what state-of-the-art AI is capable of so that I can leverage it in the systems that I design and build. But they also help me understand its limitations so that I don't overestimate and try to build something that's just not achievable in any realistic timeframe.”

Tran says that today, more than ever, is an amazing time to be at Alexa. “Imagination has been unlocked in the population and in our customer base,” he says. “So the next question they have is, ‘Where's Alexa going?’ And we're working as fast as we can to bring new features to life for customers. We have lots of things in the pipeline that we're working on to make that a reality.”

Research areas

Related content

US, VA, Arlington
As a Survey Research Scientist within the Reputation Marketing & Insights team, your primary responsibility will be to help manage our employee communications research program, including a global tracking survey. The work will challenge you to be resourceful, think big while staying connected to the details, translate survey, focus group results, and advanced analytics into strategic direction, and embrace a high degree of change and ambiguity at speed. The scope and scale of what we strive to achieve is immense, but it is also meaningful and energizing. This is an individual contributor role. The right candidate possesses endless curiosity and passion for understanding employee perceptions and what drives them. You have end-to-end experience conducting qualitative research, robust large-scale surveys, campaign measurement, as well as advanced modeling skills to uncover perception drivers. You have proficiency in diving deep into large amounts of data and translating research into actionable insights/recommendations for internal communicators. You are an excellent writer who can effectively communicate data-driven insights and recommendations through written documents, presentations, and other internal communication channels. You are a creative problem-solver who seeks to deeply understand the business/communications so you can tailor research that informs stakeholder decision making and strategic messaging tactics. Key job responsibilities - Design and manage the execution of a global tracking survey focused on employee communications - Develop research to identify and test messages to drive employee perceptions - Use advanced statistical methodologies to better understand the relationship between key internal communications metrics and other related measures of perception (e.g., regression, structural equation modeling, latent growth curve modeling, Shapley analysis, etc.) - Develop causal and semi-causal measurement techniques to evaluate the perception impact of internal communications campaigns - Identify opportunities to simplify existing research processes and operate more nimbly - Engage in strategic discussions with internal partner teams to ensure our research generates actionable and on-point findings About the team This team sits within the CCR organization. Our focus is on conducting research that identifies messaging opportunities and informs communication strategies for Amazon as a brand.
US, CA, Santa Clara
Want to work on frontier, world class, AI-powered experiences for health customers and health providers? The Health Science & Analytics group in Amazon's Health Store & Technology organization is looking for a Senior Manager of Applied Science to lead a group of applied scientists and engineers to work hand in hand with physicians to build the future of AI-powered healthcare experiences. We have an ambitious roadmap which includes scaling recently launched products which are already delighting products and the opportunity to build disruptive, new experiences. This role will be responsible for leading the science and technology teams driving these key innovations on behalf of our customers. Key job responsibilities - Independently manage a team of scientists and engineers to sustainably deliver science driven products. - Define the vision and long-term technical roadmap to achieve multi-year business objectives. - Maintain and raise the science bar of the team’s deliverables and keep the broader Amazon Health Services organization apprised of the latest relevant technical developments in the field. - Work across business, clinical, and technical leaders to disambiguate product requirements and socialize progress towards key goals and deliverables. - Proactively identify risks and shape the technical roadmap in anticipation of industry trends in emerging AI subfields.
US, NY, New York
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Senior Applied Scientist to work on pre-training methodologies for Generative Artificial Intelligence (GenAI) models. You will interact closely with our customers and with the academic and research communities. Key job responsibilities Join us to work as an integral part of a team that has experience with GenAI models in this space. We work on these areas: - Scaling laws - Hardware-informed efficient model architecture, low-precision training - Optimization methods, learning objectives, curriculum design - Deep learning theories on efficient hyperparameter search and self-supervised learning - Learning objectives and reinforcement learning methods - Distributed training methods and solutions - AI-assisted research About the team The AGI team has a mission to push the envelope in GenAI with Large Language Models (LLMs) and multimodal systems, in order to provide the best-possible experience for our customers.
US, WA, Seattle
Prime Video is a first-stop entertainment destination offering customers a vast collection of premium programming in one app available across thousands of devices. Prime members can customize their viewing experience and find their favorite movies, series, documentaries, and live sports – including Amazon MGM Studios-produced series and movies; licensed fan favorites; and programming from Prime Video add-on subscriptions such as Apple TV+, Max, Crunchyroll and MGM+. All customers, regardless of whether they have a Prime membership or not, can rent or buy titles via the Prime Video Store, and can enjoy even more content for free with ads. Are you interested in shaping the future of entertainment? Prime Video's technology teams are creating best-in-class digital video experience. As a Prime Video technologist, you’ll have end-to-end ownership of the product, user experience, design, and technology required to deliver state-of-the-art experiences for our customers. You’ll get to work on projects that are fast-paced, challenging, and varied. You’ll also be able to experiment with new possibilities, take risks, and collaborate with remarkable people. We’ll look for you to bring your diverse perspectives, ideas, and skill-sets to make Prime Video even better for our customers. With global opportunities for talented technologists, you can decide where a career Prime Video Tech takes you! Key job responsibilities - Develop ML models for various recommendation & search systems using deep learning, online learning, and optimization methods - Work closely with other scientists, engineers and product managers to expand the depth of our product insights with data, create a variety of experiments to determine the high impact projects to include in planning roadmaps - Stay up-to-date with advancements and the latest modeling techniques in the field - Publish your research findings in top conferences and journals A day in the life We're using advanced approaches such as foundation models to connect information about our videos and customers from a variety of information sources, acquiring and processing data sets on a scale that only a few companies in the world can match. This will enable us to recommend titles effectively, even when we don't have a large behavioral signal (to tackle the cold-start title problem). It will also allow us to find our customer's niche interests, helping them discover groups of titles that they didn't even know existed. We are looking for creative & customer obsessed machine learning scientists who can apply the latest research, state of the art algorithms and ML to build highly scalable page personalization solutions. You'll be a research leader in the space and a hands-on ML practitioner, guiding and collaborating with talented teams of engineers and scientists and senior leaders in the Prime Video organization. You will also have the opportunity to publish your research at internal and external conferences.
US, CA, San Francisco
If you are interested in this position, please apply on Twitch's Career site https://www.twitch.tv/jobs/en/ About Us: Twitch is the world’s biggest live streaming service, with global communities built around gaming, entertainment, music, sports, cooking, and more. It is where thousands of communities come together for whatever, every day. We’re about community, inside and out. You’ll find coworkers who are eager to team up, collaborate, and smash (or elegantly solve) problems together. We’re on a quest to empower live communities, so if this sounds good to you, see what we’re up to on LinkedIn and X, and discover the projects we’re solving on our Blog. Be sure to explore our Interviewing Guide to learn how to ace our interview process. You can work in San Francisco, CA or Seattle, WA. Perks - Medical, Dental, Vision & Disability Insurance - 401(k) - Maternity & Parental Leave - Flexible PTO - Amazon Employee Discount
IN, KA, Bengaluru
AWS Infrastructure Services owns the design, planning, delivery, and operation of all AWS global infrastructure. In other words, we’re the people who keep the cloud running. We support all AWS data centers and all of the servers, storage, networking, power, and cooling equipment that ensure our customers have continual access to the innovation they rely on. We work on the most challenging problems, with thousands of variables impacting the supply chain — and we’re looking for talented people who want to help. You’ll join a diverse team of software, hardware, and network engineers, supply chain specialists, security experts, operations managers, and other vital roles. You’ll collaborate with people across AWS to help us deliver the highest standards for safety and security while providing seemingly infinite capacity at the lowest possible cost for our customers. And you’ll experience an inclusive culture that welcomes bold ideas and empowers you to own them to completion. Do you love problem solving? Are you looking for real world Supply Chain challenges? Do you have a desire to make a major contribution to the future, in the rapid growth environment of Cloud Computing? Amazon Web Services is looking for a highly motivated, Data Scientist to help build scalable, predictive and prescriptive business analytics solutions that supports AWS Supply Chain and Procurement organization. You will be part of the Supply Chain Analytics team working with Global Stakeholders, Data Engineers, Business Intelligence Engineers and Business Analysts to achieve our goals. We are seeking an innovative and technically strong data scientist with a background in optimization, machine learning, and statistical modeling/analysis. This role requires a team member to have strong quantitative modeling skills and the ability to apply optimization/statistical/machine learning methods to complex decision-making problems, with data coming from various data sources. 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 1. Demonstrate thorough technical knowledge on feature engineering of massive datasets, effective exploratory data analysis, and model building using industry standard time Series Forecasting techniques like ARIMA, ARIMAX, Holt Winter and formulate ensemble model. 2. Proficiency in both Supervised(Linear/Logistic Regression) and UnSupervised algorithms(k means clustering, Principle Component Analysis, Market Basket analysis). 3. Experience in solving optimization problems like inventory and network optimization . Should have hands on experience in Linear Programming. 4. Work closely with internal stakeholders like the business teams, engineering teams and partner teams and align them with respect to your focus area 5. Detail-oriented and must have an aptitude for solving unstructured problems. You should work in a self-directed environment, own tasks and drive them to completion. 6. Excellent business and communication skills to be able to work with business owners to develop and define key business questions and to build data sets that answer those questions 7. Work with distributed machine learning and statistical algorithms to harness enormous volumes of data at scale to serve our customers 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. Inclusive Team Culture AWS values curiosity and connection. Our employee-led and company-sponsored affinity groups promote inclusion and empower our people to take pride in what makes us unique. Our inclusion events foster stronger, more collaborative teams. Our continual innovation is fueled by the bold ideas, fresh perspectives, and passionate voices our teams bring to everything we do. 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.
US, NY, New York
Prime Video is a first-stop entertainment destination offering customers a vast collection of premium programming in one app available across thousands of devices. Prime members can customize their viewing experience and find their favorite movies, series, documentaries, and live sports – including Amazon MGM Studios-produced series and movies; licensed fan favorites; and programming from Prime Video add-on subscriptions such as Apple TV+, Max, Crunchyroll and MGM+. All customers, regardless of whether they have a Prime membership or not, can rent or buy titles via the Prime Video Store, and can enjoy even more content for free with ads. Are you interested in shaping the future of entertainment? Prime Video's technology teams are creating best-in-class digital video experience. As a Prime Video technologist, you’ll have end-to-end ownership of the product, user experience, design, and technology required to deliver state-of-the-art experiences for our customers. You’ll get to work on projects that are fast-paced, challenging, and varied. You’ll also be able to experiment with new possibilities, take risks, and collaborate with remarkable people. We’ll look for you to bring your diverse perspectives, ideas, and skill-sets to make Prime Video even better for our customers. With global opportunities for talented technologists, you can decide where a career Prime Video Tech takes you! We are looking for a self-motivated, passionate and resourceful Applied Scientist to bring diverse perspectives, ideas, and skill-sets to make Prime Video even better for our customers. You will spend your time as a hands-on machine learning practitioner and a research leader. You will play a key role on the team, building and guiding machine learning models from the ground up. At the end of the day, you will have the reward of seeing your contributions benefit millions of Amazon.com customers worldwide. Key job responsibilities - Develop AI solutions for various Prime Video Search systems using Deep learning, GenAI, Reinforcement Learning, and optimization methods; - Work closely with engineers and product managers to design, implement and launch AI solutions end-to-end; - Design and conduct offline and online (A/B) experiments to evaluate proposed solutions based on in-depth data analyses; - Effectively communicate technical and non-technical ideas with teammates and stakeholders; - Stay up-to-date with advancements and the latest modeling techniques in the field; - Publish your research findings in top conferences and journals. About the team Prime Video Search Science team owns science solution to power search experience on various devices, from sourcing, relevance, ranking, to name a few. We work closely with the engineering teams to launch our solutions in production.
US, WA, Bellevue
Are you interested in a unique opportunity to advance the accuracy and efficiency of Artificial General Intelligence (AGI) systems? If so, you're at the right place! As a Quantitative Researcher on our team, you will be working at the intersection of mathematics, computer science, and finance, you will collaborate with a diverse team of engineers in a fast-paced, intellectually challenging environment where innovative thinking is encouraged and rewarded. We operate at Amazon's large scale with the energy of a nimble start-up. If you have a learner's mindset, enjoy solving challenging problems, and value an inclusive team culture, you will thrive in this role, and we hope to hear from you. Key job responsibilities * Conduct statistical analyses on web-scale datasets to develop state-of-the-art multimodal large language models * Conceptualize and develop mathematical models, data sampling and preparation strategies to continuously improve existing algorithms * Identify and utilize data sources to drive innovation and improvements to our LLMs About the team We are passionate engineers and scientists dedicated to pushing the boundaries of innovation. We evaluate and represent the customer perspective through accurate benchmarking.
US, WA, Bellevue
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Applied Scientist with a strong deep learning background, to help 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 world-class scientists and engineers to develop novel data, modeling and engineering solutions to support the responsible AI initiatives at AGI. Your work will directly impact our customers in the form of products and services that make use of audio technology. About the team While the rapid advancements in Generative AI have captivated global attention, we see these as just the starting point. Our team is dedicated to pushing the boundaries of what’s possible, leveraging Amazon’s unparalleled ML infrastructure, computing resources, and commitment to responsible AI principles. And Amazon’s leadership principle of customer obsession guides our approach, prioritizing our customers’ needs and preferences each step of the way.
US, CA, Sunnyvale
The Artificial General Intelligence (AGI) team is looking for a highly skilled and experienced Senior Applied Scientist, to lead the development and implementation of algorithms and models for supervised fine-tuning and reinforcement learning through human feedback; with a focus across text, image, and video modalities. As a Senior Applied Scientist, you will play a critical role in driving the development of Generative AI (Gen AI) technologies that can handle Amazon-scale use cases and have a significant impact on our customers' experiences. Key job responsibilities - Collaborate with cross-functional teams of engineers, product managers, and scientists to identify and solve complex problems in GenAI - Design and execute experiments to evaluate the performance of different algorithms and models, and iterate quickly to improve results - Think big about the arc of development of GenAI over a multi-year horizon, and identify new opportunities to apply these technologies to solve real-world problems - Communicate results and insights to both technical and non-technical audiences, including through presentations and written reports - Mentor and guide junior scientists and engineers, and contribute to the overall growth and development of the team