An overhead image shows a fulfillment center with boxes and conveyor belts in a large, open facility
Amazon's Supply Chain Optimization Technologies (SCOT) organization has spent many years building and refining processes to handle peak events like Prime Day. The organization's algorithms help determine which products to stock, and in what quantities; where and how to store them; and the best way to route them to customers.

How peak events like Prime Day helped Amazon navigate the pandemic

The SCOT science team used lessons from the past — and improved existing tools — to contend with “a peak that lasted two years”.

On July 12 and 13, millions of Amazon Prime members visited the Amazon Store to score deals on everything from televisions to clothes. Customers think of Prime Day as a big annual sale. Supply chain managers call it a peak event — one that requires advanced planning to ensure people can buy the discounted products they want and receive them as quickly as possible.

Prime members purchased more than 300 million items, and saved over $1.7 billion, more than any previous Prime Day event.

This year was also the biggest Prime Day event for Amazon's selling partners, most of whom are small and medium-sized businesses, whose sales growth in Amazon’s store outpaced Amazon's retail business.

The scientists on Amazon's Supply Chain Optimization Technologies (SCOT) team have spent many years building and refining processes to handle peak events like Prime Day, Black Friday, Valentine's Day, and all of the other occasions where shoppers are looking for specific discounted items. The team's algorithms help determine which products to stock, and in what quantities; where and how to store them; and the best way to route them to customers.

But what happens when a "peak event'' is unplanned and lasts more than two years?

The COVID-19 pandemic touched off a series of demand spikes, supply chain disruptions, and labor shortages that have persisted with varying intensity since early 2020. The SCOT team was already utilizing state-of-the-art tools in machine learning, mathematical modelling, and optimization. Those tools played an essential role in the pandemic response. The crisis also sparked an examination of how those tools could be adapted to manage the new normal.

A different kind of peak

Even on a ho-hum day in pre-COVID times, managing inventory in Amazon's gargantuan network was a task that drew scientists intrigued by the complexity of challenges, the sheer volume of data, and the opportunity to have customer impact at global scale.

Related content
The story of a decade-plus long journey toward a unified forecasting model.

Scientists on the demand forecasting team, for example, have been doing this in one form or another for more than 15 years, constantly refining the algorithms that help ensure Amazon stocks enough of the products customers want.

As a planning challenge, an event like Prime Day might seem manageable. After all, Amazon sets the dates, picks the products, and sets the discounts. But even a planned event like Prime Day, now in its eighth year, brings its own challenges.

There's a special construction to the [Prime Day] forecast. It's a different week of the year than every other year.
Abhishek Gupta

"There's a special construction to the forecast. It's a different week of the year than every other year," explains Abhishek Gupta, who leads the demand forecasting science team within SCOT.

The forecasting team must account not only for the anomaly of Prime Day itself, but the subtleties within Prime Day.

"Just understanding the interaction between the deal attributes and the time of the year is one challenge," Gupta says. "The dates that Prime Day falls on, as well as the types of deals available, change from year to year. It's not like Halloween, where we know that everyone is going to look for costumes."

Before the pandemic, Gupta's team was already employing deep-learning models for time series forecasting, essentially teaching the network to discern patterns in data, like sales of string lights going up around the holidays.

Amazon packages, one with a visible Prime logo, travel along a conveyor belt
All of the decisions that follow forecasting — capacity planning, buying, placement, storage, and fulfillment — are merged into a large-scale, distributed simulation system that helps the SCOT team manage inventory as demand fluctuates.

But these models were not as strong when it came to a predictable-yet-unpredictable event like Prime Day. Constantly looking to improve the technology further, the forecasting science team took inspiration from advances in natural language processing to improve its models.

Natural language processing models use a mechanism called attention to enhance understanding. Attention directs models to “attend to” specific words that suggest a logical next word, e.g. the word “dog” may be followed by “food.”

Time series data are also sequential in nature, and they can uncover deeper insights by associating similar periods in time.

Related content
How Amazon’s scientists developed a first-of-its-kind multi-echelon system for inventory buying and placement.

Over the past two years, the SCOT team has developed and deployed an encoder-decoder attention scheme that enables the network to look at the time series history and identify the previous time points most relevant for the forecasting period.

"The impact of these types of models in natural language processing have been game-changing," Gupta says. "And similarly, we're seeing extremely good results in our time series forecasts. The accuracy has improved substantially, and the volatility of the forecast has gone down."

A massive simulation platform

All of the decisions that follow forecasting — capacity planning, buying, placement, storage, and fulfillment — are merged into a large-scale, distributed simulation system that helps the SCOT team manage inventory as demand fluctuates.

It's arguably the biggest simulation platform in the world. The underlying dynamics are so complicated and there are many decision makers...
Yan Xia

"It's arguably the biggest simulation platform in the world," says Yan Xia, a principal applied scientist within SCOT’s Inventory Planning and Control team. "The underlying dynamics are so complicated, and there are many decision makers. It's impossible to capture through a set of mathematical equations."

Xia and colleagues are experts at managing various physical capacity constraints in Amazon’s multi-tier global fulfillment network.

Peak events like Prime Day or the holidays present potential constraint challenges, such as whether Amazon can store the right amount of inventory in the right location as customer demand spikes. Tradeoffs need to be made in terms of what inventory to carry to best protect the customer experience in those instances.

Related content
How Amazon’s Delivery Experience team acts as a concierge for customers.

By 2019, Amazon scientists had developed a patented Adaptive Capacity Control (ACC) tool designed precisely for these occasions. In the lead-up to Black Friday, Xia's team would run the tool over a few weeks to help determine inventory for the holiday rush.

"All of that changed when COVID hit us. We were severely constrained all over the place, and we had to push this tool to its limit to solve some capacity related problems that the team hadn’t ever encountered before," Xia says. "We went from solving for capacity in maybe two countries eight weeks a year to maybe a dozen countries 52 weeks a year — and at a much more granular level than before."

So the team worked to both improve the ACC tool and develop new control systems to manage capacity more comprehensively and automatically as capacity challenges became more prevalent.

The predictive power of sampling

"The pandemic was like a peak that lasted two years," says Keith Zackrone, director of software development within Inventory Planning and Control. "The mechanisms that we've used to plan for peak events really are what gave us the ability to operate through the pandemic with good trade-offs for customers."

For the ACC tool, that meant reworking it for a "warm start," Xia says, using historical data to update the capacity control inputs on a rolling basis, rather than beginning with a blank slate every time, as before.

The Amazon fulfillment center process

The team also began running simulations on samples of the inventory. That allowed them to predict how the larger inventory flow would respond to control signals based on less than 5% of the total, rather than trying to simulate all of the hundreds of millions of items Amazon stocks at any given time.

"We are very effective nowadays at sampling," Xia says. "That is a big deal for us, to be able to execute this across so many different types of capacity within a marketplace — and also across marketplaces."

The SCOT team also adapted its inventory control software to be much more aware of customer need, meaning it could prioritize items that customers needed quickly (e.g., baby food), versus others that could tolerate a slight delay (e.g., a camera lens). That sensitivity has enabled the team to optimize the system across a larger number of product categories.

"Now that we've emerged from the peak period of the pandemic, we have an opportunity to move to a second generation," Zackrone says. "We can fine-tune these models we built out during the pandemic and really look at how we can make this available to a wider product selection."

The pandemic and ongoing supply chain issues have highlighted that there's never a perfect crystal ball, but they have helped the SCOT team strengthen the algorithms it uses to meet both peak events like Prime Day and everyday customer demand.

"If we can predict better, then we can buy the right amount and put it across our network of fulfillment centers,” explains Gupta. "This ensures that the right product, gets to the right customer in the most efficient way possible.”

Related content

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 team member, 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 As an Applied Scientist in the Content Understanding Team, you will lead the end-to-end research and deployment of video and multi-modal models applied to a variety of downstream applications. More specifically, you will: - Work backwards from customer problems to research and design scientific approaches for solving them - 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 About the team Our Prime Video Content Understanding team builds holistic media representations (e.g. descriptions of scenes, semantic embeddings) and apply them to new customer experiences supply chain problems. Our technology spans the entire Prime Video catalogue globally, and we enable instant recaps, skip intro timing, ad placement, search, and content moderation.
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 team member, 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 As an Applied Scientist in the Content Understanding Team, you will lead the end-to-end research and deployment of video and multi-modal models applied to a variety of downstream applications. More specifically, you will: - Work backwards from customer problems to research and design scientific approaches for solving them - 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 About the team Our Prime Video Content Understanding team builds holistic media representations (e.g. descriptions of scenes, semantic embeddings) and apply them to new customer experiences supply chain problems. Our technology spans the entire Prime Video catalogue globally, and we enable instant recaps, skip intro timing, ad placement, search, and content moderation.
IN, HR, Gurugram
Our customers have immense faith in our ability to deliver packages timely and as expected. A well planned network seamlessly scales to handle millions of package movements a day. It has monitoring mechanisms that detect failures before they even happen (such as predicting network congestion, operations breakdown), and perform proactive corrective actions. When failures do happen, it has inbuilt redundancies to mitigate impact (such as determine other routes or service providers that can handle the extra load), and avoids relying on single points of failure (service provider, node, or arc). Finally, it is cost optimal, so that customers can be passed the benefit from an efficiently set up network. Amazon Shipping is hiring Applied Scientists to help improve our ability to plan and execute package movements. As an Applied Scientist in Amazon Shipping, you will work on multiple challenging machine learning problems spread across a wide spectrum of business problems. You will build ML models to help our transportation cost auditing platforms effectively audit off-manifest (discrepancies between planned and actual shipping cost). You will build models to improve the quality of financial and planning data by accurately predicting ship cost at a package level. Your models will help forecast the packages required to be pick from shipper warehouses to reduce First Mile shipping cost. Using signals from within the transportation network (such as network load, and velocity of movements derived from package scan events) and outside (such as weather signals), you will build models that predict delivery delay for every package. These models will help improve buyer experience by triggering early corrective actions, and generating proactive customer notifications. Your role will require you to demonstrate Think Big and Invent and Simplify, by refining and translating Transportation domain-related business problems into one or more Machine Learning problems. You will use techniques from a wide array of machine learning paradigms, such as supervised, unsupervised, semi-supervised and reinforcement learning. Your model choices will include, but not be limited to, linear/logistic models, tree based models, deep learning models, ensemble models, and Q-learning models. You will use techniques such as LIME and SHAP to make your models interpretable for your customers. You will employ a family of reusable modelling solutions to ensure that your ML solution scales across multiple regions (such as North America, Europe, Asia) and package movement types (such as small parcel movements and truck movements). You will partner with Applied Scientists and Research Scientists from other teams in US and India working on related business domains. Your models are expected to be of production quality, and will be directly used in production services. You will work as part of a diverse data science and engineering team comprising of other Applied Scientists, Software Development Engineers and Business Intelligence Engineers. You will participate in the Amazon ML community by authoring scientific papers and submitting them to Machine Learning conferences. You will mentor Applied Scientists and Software Development Engineers having a strong interest in ML. You will also be called upon to provide ML consultation outside your team for other problem statements. If you are excited by this charter, come join us!
IN, HR, Gurugram
We're on a journey to build something new a green field project! Come join our team and build new discovery and shopping products that connect customers with their vehicle of choice. We're looking for a talented Senior Applied Scientist to join our team of product managers, designers, and engineers to design, and build innovative automotive-shopping experiences for our customers. This is a great opportunity for an experienced engineer to design and implement the technology for a new Amazon business. We are looking for a Applied Scientist to design, implement and deliver end-to-end solutions. We are seeking passionate, hands-on, experienced and seasoned Senior Applied Scientist who will be deep in code and algorithms; who are technically strong in building scalable computer vision machine learning systems across item understanding, pose estimation, class imbalanced classifiers, identification and segmentation.. You will drive ideas to products using paradigms such as deep learning, semi supervised learning and dynamic learning. As a Senior Applied Scientist, you will also help lead and mentor our team of applied scientists and engineers. You will take on complex customer problems, distill customer requirements, and then deliver solutions that either leverage existing academic and industrial research or utilize your own out-of-the-box but pragmatic thinking. In addition to coming up with novel solutions and prototypes, you will directly contribute to implementation while you lead. A successful candidate has excellent technical depth, scientific vision, project management skills, great communication skills, and a drive to achieve results in a unified team environment. You should enjoy the process of solving real-world problems that, quite frankly, haven’t been solved at scale anywhere before. Along the way, we guarantee you’ll get opportunities to be a bold disruptor, prolific innovator, and a reputed problem solver—someone who truly enables AI and robotics to significantly impact the lives of millions of consumers. Key job responsibilities Architect, design, and implement Machine Learning models for vision systems on robotic platforms Optimize, deploy, and support at scale ML models on the edge. Influence the team's strategy and contribute to long-term vision and roadmap. Work with stakeholders across , science, and operations teams to iterate on design and implementation. Maintain high standards by participating in reviews, designing for fault tolerance and operational excellence, and creating mechanisms for continuous improvement. Prototype and test concepts or features, both through simulation and emulators and with live robotic equipment Work directly with customers and partners to test prototypes and incorporate feedback Mentor other engineer team members. A day in the life - 6+ years of building machine learning models for retail application experience - PhD, or Master's degree and 6+ years of applied research experience - Experience programming in Java, C++, Python or related language - Experience with neural deep learning methods and machine learning - Demonstrated expertise in computer vision and machine learning techniques.
US, WA, Seattle
Do you want to re-invent how millions of people consume video content on their TVs, Tablets and Alexa? We are building a free to watch streaming service called Fire TV Channels (https://techcrunch.com/2023/08/21/amazon-launches-fire-tv-channels-app-400-fast-channels/). Our goal is to provide customers with a delightful and personalized experience for consuming content across News, Sports, Cooking, Gaming, Entertainment, Lifestyle and more. You will work closely with engineering and product stakeholders to realize our ambitious product vision. You will get to work with Generative AI and other state of the art technologies to help build personalization and recommendation solutions from the ground up. You will be in the driver's seat to present customers with content they will love. Using Amazon’s large-scale computing resources, you will ask research questions about customer behavior, build state-of-the-art models to generate recommendations and run these models to enhance the customer experience. You will participate in the Amazon ML community and mentor Applied Scientists and Software Engineers with a strong interest in and knowledge of ML. Your work will directly benefit customers and you will measure the impact using scientific tools.
US, MA, Boston
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Applied Scientist with a strong deep learning background, to build industry-leading technology with Large Language Models (LLMs) and multi-modal systems. You will support projects that work on technologies including multi-modal model alignment, moderation systems and evaluation. Key job responsibilities As an Applied Scientist with the AGI team, you will support the development of novel algorithms and modeling techniques, to advance the state of the art with LLMs. Your work will directly impact our customers in the form of products and services that make use of speech and language technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in generative artificial intelligence (GenAI). You are also expected to publish in top tier conferences. About the team The AGI team has a mission to push the envelope in LLMs and multimodal systems. Specifically, we focus on model alignment with an aim to maintain safety while not denting utility, in order to provide the best-possible experience for our customers.
US, MA, Boston
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Senior Applied Scientist with a strong deep learning background, to build industry-leading technology with Large Language Models (LLMs) and multimodal systems. Key job responsibilities As a Senior Applied Scientist with the AGI team, you will work with talented peers to lead the development of novel algorithms and modeling techniques, to advance the state of the art with LLMs. Your work will directly impact our customers in the form of products and services that make use of speech and language technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in generative artificial intelligence (GenAI). About the team The AGI team has a mission to push the envelope in LLMs and multimodal systems, in order to provide the best-possible experience for our customers.
IN, KA, Bangalore
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 As a highly experienced and seasoned science leader, you will apply state of the art natural language processing and computer vision research to video centric digital media, while also responsible for creating and maintaining the best environment for applied science in order to recruit, retain and develop top talent. You will lead the research direction for a team of deeply talented applied scientists, creating the roadmaps for forward-looking research and communicate them effectively to senior leadership. You will also hire and develop applied scientists - growing the team to meet the evolving needs of our customers.
IN, KA, Bengaluru
The Amazon Alexa AI team in India is seeking a talented, self-driven Applied Scientist to work on prototyping, optimizing, and deploying ML algorithms within the realm of Generative AI. Key responsibilities include: - Research, experiment and build Proof Of Concepts advancing the state of the art in AI & ML for GenAI. - Collaborate with cross-functional teams to architect and execute technically rigorous AI projects. - Thrive in dynamic environments, adapting quickly to evolving technical requirements and deadlines. - Engage in effective technical communication (written & spoken) with coordination across teams. - Conduct thorough documentation of algorithms, methodologies, and findings for transparency and reproducibility. - Publish research papers in internal and external venues of repute - Support on-call activities for critical issues Basic Qualifications: - Master’s or PhD in computer science, statistics or a related field or relevant science experience (publications/scientific prototypes) in lieu of Masters - Experience in deep learning, machine learning, and data science. - Proficiency in coding and software development, with a strong focus on machine learning frameworks. - Experience in Python, or another language; command line usage; familiarity with Linux and AWS ecosystems. - Understanding of relevant statistical measures such as confidence intervals, significance of error measurements, development and evaluation data sets, etc. - Excellent communication skills (written & spoken) and ability to collaborate effectively in a distributed, cross-functional team setting. Preferred Qualifications: - Track record of diving into data to discover hidden patterns and conducting error/deviation analysis - Ability to develop experimental and analytic plans for data modeling processes, use of strong baselines, ability to accurately determine cause and effect relations - The motivation to achieve results in a fast-paced environment. - Exceptional level of organization and strong attention to detail - Comfortable working in a fast paced, highly collaborative, dynamic work environment - Papers published in AI/ML venues of repute
IN, KA, Bengaluru
The Amazon Alexa AI team in India is seeking a talented, self-driven Applied Scientist to work on prototyping, optimizing, and deploying ML algorithms within the realm of Generative AI. Key responsibilities include: - Research, experiment and build Proof Of Concepts advancing the state of the art in AI & ML for GenAI. - Collaborate with cross-functional teams to architect and execute technically rigorous AI projects. - Thrive in dynamic environments, adapting quickly to evolving technical requirements and deadlines. - Engage in effective technical communication (written & spoken) with coordination across teams. - Conduct thorough documentation of algorithms, methodologies, and findings for transparency and reproducibility. - Publish research papers in internal and external venues of repute - Support on-call activities for critical issues Basic Qualifications: - Master’s or PhD in computer science, statistics or a related field - 2-7 years experience in deep learning, machine learning, and data science. - Proficiency in coding and software development, with a strong focus on machine learning frameworks. - Experience in Python, or another language; command line usage; familiarity with Linux and AWS ecosystems. - Understanding of relevant statistical measures such as confidence intervals, significance of error measurements, development and evaluation data sets, etc. - Excellent communication skills (written & spoken) and ability to collaborate effectively in a distributed, cross-functional team setting. - Papers published in AI/ML venues of repute Preferred Qualifications: - Track record of diving into data to discover hidden patterns and conducting error/deviation analysis - Ability to develop experimental and analytic plans for data modeling processes, use of strong baselines, ability to accurately determine cause and effect relations - The motivation to achieve results in a fast-paced environment. - Exceptional level of organization and strong attention to detail - Comfortable working in a fast paced, highly collaborative, dynamic work environment