Skip to main content

Improving inventory defect detection using agentic AI on AWS with Amazon

Learn how online retailer Amazon helps fulfillment center operators find inventory defects quickly using AWS.

Benefits

improvement in inventory defect detection
60%
increase in automated adjustments
45%
bins processed per minute
100,000+
fulfillment centers running MERGE
100+

Overview

Inside an Amazon fulfillment center, hundreds of thousands of items move through a complex choreography of robots, conveyors, and people every day. To get orders to customers on time, operators track that flow through multiple systems and step in when identifying issues. To help run operations more efficiently, the Amazon Worldwide Operations team built Eluna, an agentic AI system, on Amazon Web Services (AWS). Eluna brings operational knowledge and live data together to find issues, recommend fixes, and take actions. MERGE, an inventory quality solution that was built on Eluna, analyzes bin images and inventory histories to identify likely defects, improving inventory defect detection.

About Amazon

Amazon offers a wide selection from both its retail and independent sellers to hundreds of millions of customers worldwide. Its Amazon Worldwide Operations team manages hundreds of Robotics Fulfillment Centers globally.

Opportunity | Managing complex fulfillment operations for Amazon

Amazon Robotics Fulfillment Centers are carefully coordinated operations that fulfill customer orders. In a typical building, robots move pods of inventory, miles of conveyors route boxes, and employees stow, inspect, pick, and pack items for customers. All work together to get customer orders out the door on time to meet demand. Operators track the flow of boxes to keep them on schedule, watch for quality issues to address them, and manage teams of associates across the building.

Inventory quality was a big challenge. Amazon stores items in different locations throughout its fulfillment centers, so a mismatch between a bin’s physical contents and its virtual record can be hard to find. In the past, Amazon used 16 machine learning models, deployed across different areas, to select bins for manual audits. Those models improved on random audits but couldn’t consider all visual signals such as bin images and genealogy of inventory events together, achieving limited accuracy.

Solution | Building a knowledge graph and agentic framework on AWS

Some of the knowledge that Eluna needs is scattered across Amazon’s systems, and some comes only from employees’ hands-on experience. The agentic AI system connects both into a knowledge graph of how the buildings work, keeping data current as operations change. This gives Eluna a world model that is grounded in real operations.

On top of that graph, the team created an agentic framework for building operations-native AI solutions on AWS. Amazon used Amazon Bedrock AgentCore to build, connect, and optimize agents and Amazon SageMaker AI to customize, train, and deploy models. This way, the system can investigate issues and recommend or take actions. “As we expand our defect detection capabilities, Eluna provides the agentic framework that keeps them manageable and connected,” says Sisir Karumanchi, applied science manager at Amazon.

Built on Eluna, MERGE is a multimodal agentic inventory quality solution. A vision-language model examines how a bin’s contents have changed over time and compares that visual history with the bin’s virtual record. MERGE assesses the probability of a discrepancy as new information arrives. At high confidence, the system automatically corrects virtual records. When confidence is lower, it sends the bin for human verification.

To handle millions of events across the fulfillment network, Amazon chose asynchronous, event-driven processing. For event notifications, the solution uses Amazon Simple Notification Service (Amazon SNS), a fully managed publish-subscribe service. The team also wanted the solution to process events in batches instead of making a separate model call for each one. So the system includes Amazon Simple Queue Service (Amazon SQS), fully managed message queuing for microservices, distributed systems, and serverless applications.

When a batch is ready, Amazon runs the agent on Amazon Bedrock AgentCore. The agent calls the Eluna custom model that is hosted on Amazon SageMaker AI for reasoning and determines whether to correct a bin’s record automatically, send it for human verification, or leave it as is. “When our order rate doubles or triples, we aren’t going to build another solution,” says Mukul Jain, software development manager at Amazon. “Using AWS, we can scale up and down seamlessly.”

Outcome | Improving inventory defect detection

Using MERGE, Amazon has improved inventory defect detection by 60 percent and now processes over 100,000 bins per minute across more than 100 fulfillment centers. Compared with the previous inventory quality approach, the solution increased the automated inventory correction by 45 percent. By consolidating 16 legacy models into 2, MERGE has facilitated model maintenance and improvement. Operating across the Amazon fulfillment network, the solution performs defect detection and cleanup around the clock.

Inventory quality teams plug MERGE into existing workflows so that the solution works in the background. Higher precision in defect identification and reduction improves Amazon customer experience. Employees audit bins that are more likely to contain defects, minimizing unproductive time. “Delivering for our customers means getting the right items to them on time, and our focus on quality helps us do that,” says Calvin Kwan, senior technical program manager at Amazon.

Amazon logo
When our order rate doubles or triples, we aren’t going to build another solution. Using AWS, we can scale up and down seamlessly.

Mukul Jain

Software Development Manager, Amazon

Did you find what you were looking for today?

Let us know so we can improve the quality of the content on our pages