Choose your region

    Lists show the case studies of your region first. Browse and search still hold every case study.

    Europe
    North America

    Walmart plans inventory with AI forecasts and a digital twin

    Walmart forecasts demand with in-house machine learning, rebalances stock across its network and rehearses disruptions on a digital twin, while associates act on what the systems recommend.

    WalmartUnited States, Canada, Mexico, United Kingdom, and Costa RicaGeneral merchandiseScaled since Jun 2018
    Scale
    4,700 stores, fulfillment centers, distribution centers and suppliers connected to the inventory management systems
    Scenario
    Inventory forecasting and network placement
    Business function
    Supply chain and logistics
    Kind of solution
    Forecasting and planning
    Who built it
    Built in-house
    Organization
    Enterprise, 100,000 employees or more
    AI types
    Generative AI, Agentic AI, Machine learning

    Sources and their publishers

    This case study draws on reporting by the following publishers. Enterprise AI Case Studies combined these accounts and added its own explanation. The reporting, and every passage quoted from it, belongs to whoever published or supplied it.

    1. CIO Dive

    2. Supply Chain Dive

    3. Walmart Global Tech

    4. Amazon Science

    5. Grocery Dive

    6. Walmart

    tl;drWalmart's 2018 ML forecasts gained ~300 bps in a backtest; one tool has saved more than $55 million.See the results

    View the solutionBuild this solution yourself

    Walmart has forecast store demand with machine learning from June 20188. On top of those forecasts came an inventory system that places stock, a tool that rebalances it on its own, and agents that answer associates’ questions3, 10, 1. The newest layer is a digital twin of the logistics network, on which planners rehearse disruptions before they happen9.

    In June 2026, Walmart Global Tech described how its supply chain teams pair machine learning with simulation tools and digital twins to prepare for severe weather9. In July 2026, Indira Uppuluri, Walmart’s senior vice president of supply chain technology, spoke to CIO Dive about the same tools1. She said they help the company come up with actions quickly when, for example, a fire breaks out somewhere in the network1.

    The forecasting platform replaced seasonal smoothing models with machine learning. In a 52-week backtest, the new models were about 300 basis points more accurate than the legacy system8. International markets saw about 500 basis points8. By July 2025, Self-Healing Inventory, which moves overstock to the stores that need it, had saved Walmart more than $55 million10.

    Before the deployment

    In 2018, Walmart Global Tech set out to cut perishable waste and get inventory into the right place by forecasting customer demand better8. The legacy system was built on exponential smoothing, which forecasts by replaying the seasonal pattern of previous years, mostly the year before8. The old forecasts had the following problems:

    • Moving holidays: Easter shifts by weeks from year to year, and Christmas and July 4 change the shape of demand with the weekday they fall on. The old forecasts got those weeks wrong, and the misses turned into waste8.
    • Missing demand drivers: Payroll calendars, payouts from the Supplemental Nutrition Assistance Program (SNAP), price and promotions, and the weather move demand. The old models didn’t weigh them8.
    • A top-down split: The system forecast one total for all U.S. stores and split it by each store’s recent share of sales8. Chayote squash is a Thanksgiving staple in New Orleans. The system under-ordered it there and over-ordered it everywhere else, which left shortages in one place and waste in the rest8.
    • Siloed models: Models for search ranking, recommendations and demand forecasting were each built to optimize one use case on its own4. The use cases still interact. A shift in demand affects inventory, and supply constraints shape what customers see online4.

    The forecasts feed a larger job. Walmart’s supply chain technology team runs the company’s nodes, where products are received, processed, stored or shipped1. It also runs the fulfillment engine, which sources inventory for customer orders, and the technology behind inbound, outbound and middle-mile transportation1.

    Uppuluri describes the job as balancing assortment, speed and cost1. In 2026, tariff and geopolitical turbulence put that balance under strain, with extreme weather on top1.

    What was built

    Walmart’s inventory AI is a set of layers that hand work to one another, with associates taking the systems’ recommendations and carrying them out1, 3. The work is divided as follows:

    • Forecasting models: By 2025, forecasting relied on a multi-horizon recurrent neural network built entirely within Walmart2. It predicts demand for several points in the future and stores its past predictions across planning horizons2. Better forecasts let Walmart plan inventory further in advance and keep excess inventory, or safety stock, out of its warehouses2. When a surge drains stock faster than forecast, the forecasting tools adjust replenishment schedules and the flow of goods2.
    • AI-powered inventory management system: Sets the quantity and timing of inventory flow and where it goes, with distribution zones resolved down to differences between zip codes3. When a toy sells slowly in one region and fast in another, it can reposition the stock or divert the demand3. A patent-pending capability lets the engines “forget” anomalies like a once-in-a-lifetime snowstorm in Florida, so that they don’t distort future plans3. It was first used in the 2023 holiday season3.
    • Self-Healing Inventory: Watches for imbalances around the clock and automatically sends overstock to the stores that need it before it becomes waste10.
    • AI agents: Give associates a single view of inventory across stores, fulfillment centers and other facilities2. Associates can ask which items were shorted when a store receives less than expected, and the agents return insights and recommended next steps10. Associates can see how resources are used across the network and how to fix bottlenecks, instead of looking at one node at a time1.
    • Digital twin: A virtual replica of the logistics network that serves as a performance baseline and as a sandbox for trying modeling approaches or strategies2. Planners and transportation teams use it to simulate how goods would move under stress9.
    • Demand Planning team: Owns the forecasts and works with suppliers and buyers on availability8. For the 2018 platform, it got an interface with the metrics and diagnostic tools to find the root cause of a problem8. The interface gave a measured ability to change forecasts, not too much and not too little, and tracked each manual change8.

    “Nobody, and no robot, can replicate the intuition of our associates gained over their careers.”

    Parvez Musani, Sr. Vice President, E2E Fulfillment at Walmart3

    People stay in the loop at the network level. The 2023 account says the inventory systems offer recommendations and the associate is ultimately in charge3. Associates’ feedback is part of how the models are tuned and trained3.

    In 2026, Uppuluri described the same split, with the systems behind the scenes coming up with actions and associates implementing the recommendations1. The weather simulations give planners better information without replacing their judgment9.

    Some corrections run without anyone touching them. Walmart describes layered AI and automation that detect, diagnose and correct issues in real time without constant manual intervention2.

    Rollout

    The forecasting platform started narrow and grew to every key Walmart U.S. department and to Canada, Mexico and the UK8. Meat and Produce went first, because they stood to gain the most in waste and in-stock levels, and their demand depended on factors machine learning could model8.

    Figure 1From two departments to a simulated network
    From two departments to a simulated networkIn June 2018 the machine learning forecasting platform went live in the Meat and Produce departments of U.S. stores. It reached Canada in February 2019, long-tail item models launched in April 2019, and all key U.S. departments used it by July 2020. In October 2023 the engines began forgetting one-time anomalies. In July 2025 Walmart described Self-Healing Inventory rolling out globally. In October 2025 an in-house multi-horizon recurrent neural network was in use. In March 2026 Walmart said it was investing in shared models such as a large Graph Neural Network, and in June 2026 it described weather simulation and digital twins.Jun 2018Jun 2018 · ML forecasts live in Meat and Produce · Documented in source [8]ML forecasts live in Meat and ProduceFeb 2019Feb 2019 · Extended to Canada · Documented in source [8]Extended to CanadaApr 2019Apr 2019 · Long-tail item models launched · Documented in source [8]Long-tail item models launchedJul 2020Jul 2020 · All key Walmart U.S. departments · Documented in source [8]All key Walmart U.S. departmentsOct 2023Oct 2023 · Engines forget one-time anomalies · Documented in source [3]Engines forget one-time anomaliesJul 2025Jul 2025 · Self-Healing Inventory rolls out globally · Documented in source [10]Self-Healing Inventory rolls out globallyOct 2025Oct 2025 · In-house multi-horizon forecasting network · Documented in source [2]In-house multi-horizonforecasting networkMar 2026Mar 2026 · Investment in a shared graph model · Documented in source [4]Investment in a shared graph modelJun 2026Jun 2026 · Weather simulation and digital twins · Documented in source [9]Weather simulation and digital twins
    • Key milestone
    Sources [2][3][4][8][9][10]
    Machine learning forecasts went live in two departments in 2018, and placement, rebalancing and simulation layers followed.

    The later layers followed Walmart’s habit of testing new models at a smaller scale and assessing feedback before rolling them out to the whole company2. By July 2025, platforms such as Self-Healing Inventory and agentic AI were live in markets including Costa Rica, Mexico and Canada10. There, they predicted demand, rerouted inventory and cut waste10.

    Technology and architecture

    Figure 2How Walmart's forecasting, placement and digital twin fit together
    How Walmart's forecasting, placement and digital twin fit togetherSales history, searches, planned events and weather feed the in-house multi-horizon forecasting network, whose forecasts feed the inventory management system, which recommends quantity, timing and destination to associates, who implement the actions in the stores, distribution centers and fulfillment centers. Self-Healing Inventory reads stock levels from the network and reroutes overstock automatically. Weather and logistics data feed the digital twin, whose scenario results go to planners, and AI agents give associates insights and next steps. Measured interactions in the network flow back to train the models. The link from the forecasting network to the digital twin is inferred from a statement that the systems are connected.history and planned events (data) · Documented in sources [2] [3]weather, logistics data (data) · Documented in source [9]demand forecasts (data) · Documented in source [2]forecasts (data) · Inferred, not documented in the sources (builds on source [9])recommendations (handoff to people) · Documented in source [3]scenario results (handoff to people) · Documented in source [9]insights, next steps (handoff to people) · Documented in sources [1] [10]implemented actions (trigger or control) · Documented in source [1]stock levels (data) · Documented in source [10]automatic rerouting (trigger or control) · Documented in source [10]measured interactions (feedback) · Documented in source [3]Sales, searches, events, weather · Data · Documented in sources [2] [3] [9]DATASales,searches,events,weatherMulti-horizon forecasting RNN · AI model · Documented in source [2]AI MODELMulti-horizonforecastingRNNDigital twin · AI model · Documented in sources [1] [2] [9]AI MODELDigital twinInventory management system · System · Documented in source [3]SYSTEMInventorymanagementsystemAI agents · Application · Documented in sources [1] [2] [10]APPLICATIONAI agentsAssociates and planners · Team · Documented in sources [1] [3] [9]TEAMAssociatesand plannersStores, DCs, fulfillment centers · System · Documented in source [3]SYSTEMStores, DCs,fulfillmentcentersSelf-Healing Inventory · System · Documented in source [10]SYSTEMSelf-HealingInventoryhistory andplanned eventsweather,logistics datademandforecastsforecastsrecommendationsscenario resultsinsights,next stepsimplementedactionsstock levelsautomaticreroutingmeasuredinteractionsHow Walmart's forecasting, placement and digital twin fit togetherSales history, searches, planned events and weather feed the in-house multi-horizon forecasting network, whose forecasts feed the inventory management system, which recommends quantity, timing and destination to associates, who implement the actions in the stores, distribution centers and fulfillment centers. Self-Healing Inventory reads stock levels from the network and reroutes overstock automatically. Weather and logistics data feed the digital twin, whose scenario results go to planners, and AI agents give associates insights and next steps. Measured interactions in the network flow back to train the models. The link from the forecasting network to the digital twin is inferred from a statement that the systems are connected.history and planned events (data) · Documented in sources [2] [3]weather, logistics data (data) · Documented in source [9]demand forecasts (data) · Documented in source [2]forecasts (data) · Inferred, not documented in the sources (builds on source [9])recommendations (handoff to people) · Documented in source [3]scenario results (handoff to people) · Documented in source [9]insights, next steps (handoff to people) · Documented in sources [1] [10]implemented actions (trigger or control) · Documented in source [1]stock levels (data) · Documented in source [10]automatic rerouting (trigger or control) · Documented in source [10]measured interactions (feedback) · Documented in source [3]Sales, searches, events, weather · Data · Documented in sources [2] [3] [9]DATASales, searches,events, weatherMulti-horizon forecasting RNN · AI model · Documented in source [2]AI MODELMulti-horizonforecasting RNNDigital twin · AI model · Documented in sources [1] [2] [9]AI MODELDigital twinInventory management system · System · Documented in source [3]SYSTEMInventorymanagement systemAI agents · Application · Documented in sources [1] [2] [10]APPLICATIONAI agentsAssociates and planners · Team · Documented in sources [1] [3] [9]TEAMAssociatesand plannersStores, DCs, fulfillment centers · System · Documented in source [3]SYSTEMStores, DCs,fulfillment centersSelf-Healing Inventory · System · Documented in source [10]SYSTEMSelf-Healing Inventoryhistory and planned eventsweather, logistics datademand forecastsforecastsrecommendationsscenario resultsinsights, next stepsimplemented actionsstock levelsautomatic reroutingmeasured interactions
    • AI component
    • Data
    • Trigger or control
    • Handoff to people
    • Feedback
    • Inferred, not documented
    Sources [1][2][3][9][10]
    Forecasts feed placement, the twin tests disruptions, and associates carry out the network-level moves.

    Walmart builds this itself. Its data science and optimization teams build custom AI tools for the business1. The company has access to the large language models and open-source models popular among enterprises1. The forecasting network was built entirely in-house2.

    The following table lists the parts of the solution.

    Layer What they used Role Source
    Forecasting model multi-horizon recurrent neural network Predicts demand at several future points, keeping past predictions per planning horizon 2
    Solution platform AI-powered inventory management system Sets quantity, timing and destination of inventory flow and recommends moves 3
    Solution platform Self-Healing Inventory Detects stock imbalances and redirects product automatically 10
    Simulation or surrogate model digital twin Tests the network’s response to closures, delays and demand shifts; baseline and sandbox 1, 2, 9
    Task agent AI agents Show network-wide inventory and resource use, answer questions and suggest next steps 1, 10

    The 2018 platform used separate model tracks for fast-moving items, long-tail items, event-driven seasonality and new items8. The data science team built them with gradient boosting machines, state space models, random forests and hierarchical techniques for the long tail8. The machine learning pipelines ran in containers on Docker and Kubernetes, so that data scientists could work in R, Python or C++8.

    The team launched the platform on its own servers because it knew them8. It then used that success to move the platform to the cloud in 20198. A multi-tenant setup let it reach other markets without more maintenance8.

    In March 2026, Walmart said it had modernized its data centers with new high-performance computing infrastructure4. It was investing in unified models that learn from the connections between customers, products and supply chain signals4.

    One example is a large Graph Neural Network that maps relationships across hundreds of millions of products, customers and supply chain nodes4. It builds shared representations that several applications can use. The work is meant to support inventory placement, by positioning products closer to demand, and supply chain forecasting, by improving in-stock reliability4.

    Data inputs

    The models use the following data:

    • Sales and web history: The models learn from past sales, online searches and page views3.
    • Future data: Macroweather patterns, macroeconomic trends and local demographics help the models anticipate demand and fulfillment disruptions3.
    • Planned events and trends: The recurrent network takes in past demand patterns, future planned events, and current global and local trends2.
    • Regional inputs: The inventory system adds inputs for regional differences in needs and buying habits3.
    • Business constraints: Model building starts from the data and the business constraints, which together define the set of candidate models3.
    • Network feedback: Every interaction across the network is measured, captured and fed back to train the models further3.

    Integrations

    The system connects to the following:

    • Stores and supply network: The inventory management systems connect to 4,700 stores as well as Walmart’s fulfillment centers, distribution centers and suppliers3.
    • Weather intelligence: Real-time weather intelligence is wired into the core operational infrastructure, and the systems analyze weather forecasts alongside logistics data9.
    • Fulfillment engine: Walmart connects forecasting, simulation and fulfillment systems. Its intelligent fulfillment engine picks the best path for each e-commerce order by weighing inventory availability, delivery speed and network capacity9.

    A twin like this most likely takes the current forecast and the network’s state as its starting point and replays them under each disruption scenario.

    How one storm moves through the system

    When a severe weather forecast emerges, planners start with what-if questions, such as a spike in demand for bottled water and batteries ahead of a hurricane, or a fulfillment center that loses capacity9. What they learn on the twin helps them reposition inventory, adjust transit times or reroute shipments before the storm arrives9.

    Figure 3One severe weather event through planning and fulfillment
    One severe weather event through planning and fulfillmentWeather forecasts and real-time feeds reach Walmart's machine learning models, which show planners how a storm could affect inventory, routes and deliveries. Planners test closures, delays and demand shifts on the digital twin, which shows how goods would move under stress. Planners then reposition inventory and reroute shipments in the network and align stores with alternative distribution centers, while the fulfillment engine recalculates order fulfillment paths.1. forecasts and real-time feeds · Documented in source [9]1Weather intelligenceML modelsforecasts and real-time feeds2. impact on stock, routes, deliveries · Documented in source [9]2ML modelsPlannersimpact on stock, routes, deliveries3. test closures, delays, demand shifts · Documented in source [9]3PlannersDigital twintest closures, delays, demand shifts4. how goods move under stress · Documented in source [9]4Digital twinPlannershow goods move under stress5. reposition stock, reroute shipments · Documented in source [9]5PlannersStores and DCsreposition stock, reroute shipments6. align stores with alternative DCs · Documented in source [9]6PlannersStores and DCsalign stores with alternative DCs7. recalculate fulfillment paths · Documented in source [9]7Fulfillment enginerecalculate fulfillment pathsOne severe weather event through planning and fulfillmentWeather forecasts and real-time feeds reach Walmart's machine learning models, which show planners how a storm could affect inventory, routes and deliveries. Planners test closures, delays and demand shifts on the digital twin, which shows how goods would move under stress. Planners then reposition inventory and reroute shipments in the network and align stores with alternative distribution centers, while the fulfillment engine recalculates order fulfillment paths.1. forecasts and real-time feeds · Documented in source [9]1forecasts andreal-time feeds2. impact on stock, routes, deliveries · Documented in source [9]2impact on stock,routes, deliveries3. test closures, delays, demand shifts · Documented in source [9]3test closures,delays,demand shifts4. how goods move under stress · Documented in source [9]4how goods moveunder stress5. reposition stock, reroute shipments · Documented in source [9]5reposition stock, reroute shipments6. align stores with alternative DCs · Documented in source [9]6align stores with alternative DCs7. recalculate fulfillment paths · Documented in source [9]7recalculatefulfillment pathsWeather intelligence · External · Documented in source [9]WeatherintelligenceML models · AI model · Documented in source [9]ML modelsPlanners · Team · Documented in source [9]PlannersDigital twin · AI model · Documented in source [9]Digital twinStores and DCs · System · Documented in source [9]Storesand DCsFulfillment engine · System · Documented in source [9]FulfillmentengineOne severe weather event through planning and fulfillmentWeather forecasts and real-time feeds reach Walmart's machine learning models, which show planners how a storm could affect inventory, routes and deliveries. Planners test closures, delays and demand shifts on the digital twin, which shows how goods would move under stress. Planners then reposition inventory and reroute shipments in the network and align stores with alternative distribution centers, while the fulfillment engine recalculates order fulfillment paths.1. forecasts and real-time feeds · Documented in source [9]1forecasts andreal-time feeds2. impact on stock, routes, deliveries · Documented in source [9]2impact on stock,routes, deliveries3. test closures, delays, demand shifts · Documented in source [9]3test closures,delays,demand shifts4. how goods move under stress · Documented in source [9]4how goods moveunder stress5. reposition stock, reroute shipments · Documented in source [9]5reposition stock, reroute shipments6. align stores with alternative DCs · Documented in source [9]6align stores with alternative DCs7. recalculate fulfillment paths · Documented in source [9]7recalculatefulfillment pathsWeather intelligence · External · Documented in source [9]WeatherintelligenceML models · AI model · Documented in source [9]ML modelsPlanners · Team · Documented in source [9]PlannersDigital twin · AI model · Documented in source [9]Digital twinStores and DCs · System · Documented in source [9]Stores and DCsFulfillment engine · System · Documented in source [9]Fulfillment engineOne severe weather event through planning and fulfillmentWeather forecasts and real-time feeds reach Walmart's machine learning models, which show planners how a storm could affect inventory, routes and deliveries. Planners test closures, delays and demand shifts on the digital twin, which shows how goods would move under stress. Planners then reposition inventory and reroute shipments in the network and align stores with alternative distribution centers, while the fulfillment engine recalculates order fulfillment paths.1. forecasts and real-time feeds · Documented in source [9]1forecasts andreal-time feeds2. impact on stock, routes, deliveries · Documented in source [9]2impact on stock,routes, deliveries3. test closures, delays, demand shifts · Documented in source [9]3test closures, delays,demand shifts4. how goods move under stress · Documented in source [9]4how goods moveunder stress5. reposition stock, reroute shipments · Documented in source [9]5reposition stock, reroute shipments6. align stores with alternative DCs · Documented in source [9]6align stores with alternative DCs7. recalculate fulfillment paths · Documented in source [9]7recalculatefulfillment pathsWeather intelligence · External · Documented in source [9]WeatherintelligenceML models · AI model · Documented in source [9]ML modelsPlanners · Team · Documented in source [9]PlannersDigital twin · AI model · Documented in source [9]Digital twinStores and DCs · System · Documented in source [9]Stores and DCsFulfillment engine · System · Documented in source [9]Fulfillment engine
    • AI component
    • Data
    • Trigger or control
    • Handoff to people
    Source [9]
    Models and the twin show planners what a storm could do, and planners move stock and freight before it hits.

    For shipments already in transit, smart tracking updates the delivery windows9.

    Results

    The following table lists the results of the forecasting platform and Self-Healing Inventory8, 10.

    Metric Before After Scope and timeframe Reported by
    Forecast accuracy, U.S., 2018 models Legacy exponential smoothing ~300 bps 52-week backtest before the June 2018 launch; production gains in sync Walmart, pilot8
    Forecast accuracy, international, 2018 platform Legacy forecasting system ~500 bps Canada, Mexico and the UK, from February 2019 to October 2020 Walmart, measured8
    Savings from Self-Healing Inventory Not disclosed more than $55 million Cumulative, as of July 2025 Walmart, measured10

    The metrics need the following explanation:

    • Forecast accuracy: Measures how close each item-and-store forecast came to actual demand, weighted by sales8. When the platform launched in June 2018, the accuracy gains in production were in sync with the 52-week backtest8.
    • Primary measures: The team tracked waste in dollars against the year before and weekly in-stock levels as its primary measures, with forecast accuracy as a secondary one8.
    • Savings from Self-Healing Inventory: The figure covers that one system alone, as of July 202510.
    • Inventory visibility: In February 2026, on the earnings call for fiscal 2026, CEO John Furner said technology and AI help the company “pinpoint where our inventory is”5. CFO John David Rainey tied better inventory visibility to warehouse automation. Approximately 60% of stores receive some freight from automated distribution centers, and approximately 50% of e-commerce fulfillment center volume is automated5.

    Lessons learned

    The forecasting platform grew from two departments to every key U.S. department and three international markets, with a stated method behind its headline figure8. The team tracked waste and in-stock rather than accuracy alone, because poor replenishment can still waste better predictions8. It also showed stakeholders why accuracy rose instead of handing them a black box8.

    The design choices that followed each answer a named problem. The engines forget one-time anomalies so that a freak snowstorm doesn’t become next year’s plan3. Walmart’s stated direction in March 2026 is shared models in place of siloed ones, because a shift in demand affects inventory4.

    No single model could forecast Walmart’s whole assortment, which is why it needed separate tracks for fast movers, long-tail items, events and new items8. People weren’t always an improvement on the machine either. Walmart measured planners’ manual changes to the forecasts and worked with them to stop the ones that made the forecasts worse8. It also dropped established demand management practices that were degrading forecast quality8.

    Uppuluri named the limit of forecasting itself. She said weather can sometimes be anticipated, but other disruptions arise unexpectedly, and the network then has to react after the event1. The digital twin and the agents speed up that reaction, but they don’t remove the need for it.

    The sources put the line between machine and person in different places. The October 2023 post says the associate is ultimately in charge3, and Uppuluri said in July 2026 that associates implement the systems’ recommendations1. Her October 2025 account describes systems that correct issues in real time without constant manual intervention2. Walmart’s July 2025 newsroom piece says Self-Healing Inventory reroutes supply automatically10.

    Every figure and description comes from Walmart, in its engineering blog, its technology blog, its newsroom and its executives’ interviews with trade publications. The forecasting figures are from 2020 and describe the earlier, gradient-boosting generation of models, not the network Walmart described in 20258, 2. CIO Dive’s July 2026 account of the digital twin repeats passages from Walmart’s June 2026 blog post nearly word for word1, 9.

    Case study scorecard

    Build this solution yourself

    Analysis

    What you need

    To build this solution, you need the following in place:

    • Demand data held in one place: Walmart already held item-and-store sales history in one place, joined with online searches, planned events, weather and local demographics3.
    • A network wired into the inventory systems: Walmart’s 4,700 stores, distribution centers and suppliers connect to the inventory systems that set where stock goes3.
    • A planning team that owns the forecasts: Walmart’s Demand Planning team owned the forecasts and could be shown why the models beat their own adjustments8.

    Reference architecture

    Forecasting and planning

    A forecasting and planning solution predicts demand, supply, load, or events from history and outside data, and turns the prediction into a plan such as orders, prices, stock positions, reserve, or crews. Each cycle, forecasting models turn fresh data into a forecast, and an optimizer can turn it into a proposed plan within set targets and limits. Planners decide and enter the plan in the operational system, or they steer an automatic plan through targets and overrides.

    A check mark shows a building block that this case study's sources document.

    Open the reference architecture

    Others who built it

    • Amazon: Forecasting models built by its Supply Chain Optimization Technologies group predict demand for every product, while placement systems decide where stock sits across hundreds of facilities6.
    • Albertsons: The grocer rolled out Afresh’s AI-powered store ordering and inventory management platform across the meat and seafood departments of its more than 2,200 stores7.

    Cite this case study

    Enterprise AI Case Studies. "Walmart plans inventory with AI forecasts and a digital twin." Updated Nov 19, 2026. https://case-studies.ai/case-studies/supply-chain-and-logistics/SC-015-inventory-forecasting-digital-twin-walmart/

    @misc{csai-sc-015,
      author = {{Enterprise AI Case Studies}},
      title = {{Walmart plans inventory with AI forecasts and a digital twin}},
      year = {2026},
      note = {Updated 2026-11-19},
      url = {https://case-studies.ai/case-studies/supply-chain-and-logistics/SC-015-inventory-forecasting-digital-twin-walmart/}
    }

    Sources

    The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership

    1. Source 1:

      Walmart bets on AI and digital twins to shape its supply chain strategy

      IndependentCIO Dive, Jul 13, 202613 Jul 2026By Paige GrossAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (21)
      • Before Walmart kicked off an effort to get AI into the hands of 2 million employees
      • coupled with machine learning technology, has leveled up the insights that supply chain technology teams can offer
      • Walmart has access to all of the large language models and open source models that are popular among enterprises
      • Data science and optimization teams also build custom AI tools to meet the needs and objectives of the business.
      • responsible for managing its nodes, or where products are received, processed, stored or shipped, as well as its fulfillment engine, which sources inventory and refines the standards of what will be delivered to customers
      • The team also oversees the technology that guides out and inbound transportation and middle mile transportation.
      • same-day delivery becomes more commonplace for large retailers
      • To optimize all of the moving parts that happen behind the scenes of product management, Uppuluri said her team uses AI models and agents.
      • Instead of looking at one node at a time, associates can access agents
      • resources are being leveraged as a whole, and how they can best optimize them or fix bottlenecks
      • Assortment, speed, and cost are the three
      • that we are trying to balance and optimize in through the supply chain
      • So far, 2026 has been defined by tariff and geopolitical-fueled turbulence
      • Extreme weather or environmental disruptions can add to the challenge.
      • Sometimes her teams can anticipate disruptive events such as weather, but other disruptions arise unexpectedly
      • uses modeling tools and digital twin technology to test how the network might respond to facility closures, transportation delays or sudden shifts in customer demand
      • logistics network to simulate how goods move across the supply chain under stress
      • If you suddenly have a fire somewhere, how do you react to it pretty quickly?
      • The systems behind the scenes leverage the data to come up with actions that we can take, and our associates can take those recommendations and implement them for us.
      • back from stochastic models, to LLMs and now AI agents and agentic work
      • Walmart partners with OpenAI and Google on role-specific AI certifications
    2. Source 2:

      4 ways Walmart is scaling AI to unify its supply chain

      IndependentSupply Chain Dive, Oct 7, 20257 Oct 2025By Kelly StrohAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (16)
      • End to end, every segment of what we do is driven by some form of intelligence
      • The company consistently experiments with new technology models by testing at a smaller scale and assessing feedback before rolling out to the entire company.
      • core technology that provides a performance baseline
      • tests different modeling approaches or strategies
      • It allows us to evaluate tradeoffs between conflicting business objectives, quantify the likely impact of operational changes on store operations in the face of uncertainty, and derive valuable insights
      • multi-horizon recurrent neural network — built entirely within Walmart — to predict demand for multiple points in the future
      • The neural network stores past predictions across different planning horizons
      • with inputs stemming from past demand patterns, future planned events as well as current global and local trends
      • we can plan inventory levels across our network more accurately and well in advance
      • Strong forecasting can optimize inventory placement decisions by analyzing different factors that might impact demand
      • excess inventory, or safety stock
      • Agentic AI tools provide Walmart with a cohesive and unified view of inventory in stores, fulfillment centers and other supply chain facilities.
      • automatically detect, diagnose, and correct issues in real time without requiring constant manual intervention
      • if an unexpected surge in demand starts to deplete inventory faster than projected, AI-powered forecasting tools can adjust replenishment schedules and flow of goods through the supply chain
      • The benefits of improved forecasting via AI extend to inventory imports
      • AI intelligence also tells Walmart how to diversify port origins and identify optimal locations to send imports during disruptions like storms or congestion in the Panama Canal
    3. Source 3:

      Decking the aisles with data: How Walmart's AI-powered inventory system brightens the holidays

      OrganizationWalmart Global Tech, Oct 25, 202325 Oct 2023By Parvez MusaniAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (20)
      • strategically place holiday items across distribution and fulfillment centers, and stores
      • In recent years, we have tested and integrated AI/ML models into our systems
      • start with a foundation of data and business constraints to create a possible universe of Machine Learning models
      • During model training, we fine-tune machine-learning models using historical data like past sales, as well as online searches and page views.
      • such as macroweather patterns, macroeconomic trends and local demographics to anticipate demand and potential fulfillment disruptions
      • our engines identify and correct discrepancies, inefficiencies, or inaccuracies in supply chain models
      • Leveraging a patent-pending capability
      • unforeseen events and their impact on typical purchasing patterns can create added challenges
      • we do not always want to apply anomalies like a once-in-a-lifetime snowstorm in Florida to our future inventory management process
      • our software aims to display demand as closely as possible to historical consumer tendencies and adjustments
      • This will be the first year this capability has been used to help deliver for our customers during the holiday season.
      • Our inventory management systems connect to our 4,700 stores, fulfillment centers, distribution centers and our suppliers.
      • Every interaction and step of the way is measured, captured and used to further train our AI models and machine learning engines.
      • leverage a variety of factors to determine both quantity and timing of inventory flow, as well as more precisely identify where we distribute
      • down to differentiations by zip codes
      • we are also adding inputs to help adjust for regional differences in needs, cultures, and buying habits
      • we can reposition inventory or divert the demand
      • While our AI-driven inventory systems can offer recommendations, the associate is ultimately in charge.
      • Nobody, and no robot, can replicate the intuition of our associates gained over their careers.
      • feedback is a critical part of the tuning and training process
    4. Source 4:

      How Walmart Is Turning Advanced AI Infrastructure Into Every Day Value

      OrganizationWalmart Global Tech, Mar 17, 202617 Mar 2026Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (14)
      • Every week, 270 million customers interact with Walmart.
      • bringing in the latest high-performance computing infrastructure from leaders like NVIDIA
      • gives us the scale required to train larger, more connected AI systems
      • we’ve modernized our data centers
      • Historically, many AI systems have been built to optimize specific use cases — search ranking, recommendations, demand forecasting — independently.
      • A shift in demand affects inventory.
      • One example is a large Graph Neural Network (GNN) that maps relationships across hundreds of millions of products, customers and supply chain nodes.
      • Rather than treating each system separately, this approach builds shared representations
      • investing in unified models that learn from these connections simultaneously
      • Customers, products, stores, suppliers and supply chain signals are constantly influencing one another.
      • This foundational work supports critical experiences across Walmart, including:
      • When that shared foundation improves, everything built on top of it improves too.
      • Inventory placement: Positioning products closer to demand
      • Supply chain forecasting: Improving in-stock reliability
    5. Source 5:

      Walmart touts early AI wins as revenues rise

      IndependentCIO Dive, Feb 19, 202619 Feb 2026By Roberto TorresAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (5)
      • simplify decision-making and pinpoint where our inventory is
      • The company reported $713 billion in revenues for the full fiscal year, up 4.7% year over year.
      • established a set of four super agents across operations
      • Approximately 60% of stores are receiving some freight from automated distribution centers, and approximately 50% of e-commerce fulfillment center volume is automated
      • This enables better visibility into what inventory we own and inventory we can access, and also improves our labor productivity.
    6. Source 6:

      The evolution of Amazon's inventory planning system

      OrganizationAmazon Science, Oct 1, 20211 Oct 2021Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (2)
      • Forecasting models developed by SCOT predict the demand for every product.
      • large-scale placement systems determine the optimal location for products across the hundreds of facilities
    7. Source 7:

      Albertsons deploys Afresh's AI food waste tech across its meat, seafood departments

      IndependentGrocery Dive, Nov 16, 202316 Nov 2023By Peyton BigoraAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (2)
      • AI-powered store ordering and inventory management platform chainwide in its meat and seafood departments
      • fleet of more than 2,200 stores
    8. Source 8:

      Building a Machine Learning based demand forecasting platform

      OrganizationWalmart Global Tech, Oct 8, 20208 Oct 2020By Sasanka Katta and Abhinav PrateekAccessed Nov 16, 202616 Nov 2026Archived copy

      Supporting excerpts (41)
      • In 2018, with this goal in mind, we set out to tackle one of our most critical problems: reduce perishable waste and optimize our inventory to serve our customer better.
      • the legacy system was built on exponential smoothing models
      • The models work by replicating seasonal patterns from previous years, predominantly from the year before.
      • Easter moves by a few weeks based on the Metonic cycle
      • even for static events such as Christmas and July 4, there is fluctuation depending on which day of the week they fall
      • Faulty predictions for these events often result in wastage.
      • Waste (in $) was measured and trends were compared to Last Year
      • In-stock % at a weekly level was measured
      • Measured by closeness of forecast to actual demand realized for every item & store combination and aggregated to higher hierarchies by assigning a sales-based weight
      • An application interface with all the necessary metrics and information for the demand planning team
      • Appropriate diagnostic tools for our demand planning team to help them identify areas of concerns and provide them the ability to deep dive to understand the root-cause.
      • Provide flexibility for our Data Science team to select any runtime environment such as R, Python, C++ etc.
      • The customer demand for items in the two departments depend on complex factors which could be modeled accurately by our Machine Learning models.
      • Payroll calendars, Supplemental Nutritional Assistance Program (SNAP), price & promotions, and weather affect demand.
      • The legacy system forecasted aggregate demand across all U.S. stores and allocated it to individual stores by calculating the market shares based on sales at the individual stores in the recent weeks.
      • Chayote squash is an extremely popular dish in New Orleans during Thanksgiving
      • the legacy system under-forecasted in New Orleans and over-forecasts for rest of the U.S., causing shortage in New Orleans and wastage elsewhere
      • our prediction models could have improved, but our replenishment practices keep wastage high
      • we decided to track waste and In-stock as a primary metrics and forecast accuracy as a secondary metric
      • there could not be one model which could accurately forecast for Walmart’s wide assortment
      • fast moving items, long-tail items, event specific seasonality, new items, and other very specialized use cases
      • Our data science team developed algorithms based on Gradient Boosting Machines, State Space models, Random Forests, and hierarchical techniques (for long-tail items).
      • By running the backtesting process for 52 weeks, we saw ~300 bps of improvement in the accuracy
      • Demand Planning team at Walmart are responsible for demand forecasts and work with suppliers and buyers to maintain optimal item availability for our customers.
      • An interface which provides appropriate ability (not too high or too low) to modify forecasts, and also measures their touches
      • our engineering team chose container based orchestration(docker +Kubernetes) for our ML pipelines
      • Our engineering developed a multi-tenant infra model which helped us to expand to other markets without increased maintenance and with affordable cost structure.
      • We narrowed down Meat and Produce departments across US stores for the initial launch.
      • The two departments would benefit the most by optimizing inventory position (waste savings and in-stock levels).
      • we went with On-prem for initial launch because of our familiarity with systems
      • The successful POC did indeed help us to migrate our infrastructure to cloud in 2019
      • We eventually launched these models to help departments with long-tail items in Apr 2019.
      • We eventually included price & promotions features to solve for our high-low international markets in Aug 2019.
      • In June 2018, we launched the product for two departments for U.S. stores. The accuracy improvements were in sync with those we observed in backtesting.
      • By July 2020, all of Walmart U.S. key departments adopted our forecasting solution.
      • We extended our solution to Canada market in Feb 2019, and subsequently extended it to Mexico and UK.
      • International markets have seen ~500 bps of accuracy improvements, higher returns compared to improvement in U.S. market.
      • we measured manual touches by stakeholders to the machine generated forecasts and worked with them to eliminate touches that degrade forecasts
      • Start narrow and grow wide
      • visualize why accuracy increased
      • We were able to eliminate a lot of established demand management practices which were degrading forecast quality
    9. Source 9:

      Moving Before the Storm: How Walmart's Supply Chain Technology Helps Teams Prepare for Severe Weather

      OrganizationWalmart Global Tech, Jun 24, 202624 Jun 2026Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (18)
      • using AI and predictive technologies to anticipate disruptions, model potential outcomes, and make informed decisions about inventory, transportation and fulfillment
      • real-time weather intelligence seamlessly integrates with our core operational infrastructure
      • By pairing machine learning with advanced simulation tools, our systems analyze fluid weather forecasts alongside logistics data
      • What happens if demand for bottled water, batteries, or other essentials spikes ahead of a hurricane?
      • What happens if a fulfillment center loses capacity?
      • Walmart utilizes predictive AI and machine learning models that analyze historical weather patterns and real-time data feeds
      • planners use these simulations to gain immediate visibility into how weather could affect inventory availability, transportation routes, and customer deliveries
      • The technology does not replace their judgment; it strengthens it
      • By simulating potential disruptions and evaluating different scenarios, we're able to make more informed decisions about inventory, transportation, and fulfillment before weather impacts customers.
      • Using advanced modeling tools, teams can test how the network might respond to facility closures, transportation delays or sudden shifts in customer demand.
      • Those insights help planners identify opportunities to reposition inventory, adjust transit times or reroute shipments before weather impacts operations.
      • Transportation teams use these virtual replicas of our logistics network to simulate how goods move across the supply chain under stress.
      • the AI helps teams evaluate capacity needs, align stores with alternative distribution centers, and make proactive adjustments
      • automatically evaluates factors such as inventory availability, delivery speed, and network capacity to determine the best fulfillment path
      • During weather events, the AI dynamically recalculates these paths to maintain service levels despite changing conditions on the ground.
      • smart tracking systems can identify potential delays and automatically communicate updated delivery windows
      • By connecting forecasting, simulation and fulfillment systems
      • Together, these capabilities help teams move from reacting to disruption to planning for it.
    10. Source 10:

      Walmart's U.S. Supply Chain Playbook Goes Global — and It's Reinventing Retail at Scale

      OrganizationWalmart, Jul 17, 202517 Jul 2025Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (8)
      • These intelligent systems are already live across markets like Costa Rica, Mexico and Canada, predicting demand, rerouting inventory, reducing waste and simplifying work for associates.
      • With reusable platforms like self-healing inventory and agentic AI
      • When overstocks appear, it automatically reroutes supply to the stores that need it most
      • That one system alone has already saved Walmart more than $55 million.
      • Detects imbalances in stock levels, then automatically redirects product
      • unified view of what’s in stock across stores, fulfillment centers, and online
      • in the event a store receives less of a product than originally expected and instantly receive insights and recommended next steps
      • systems that turn real-time signals into real-time action, freeing up associates and delivering for customers

    More in Supply Chain & Logistics

    View all