Executive AI Dinner hosted by Kumo - Austin, April 8

Register here
2Regression · Inventory Optimization

Inventory Planning & Stock Optimization

How many units of each SKU should we stock at each warehouse over the next 30 days?

Book a demo and get a free trial of the full platform: research agent, fine-tune capabilities, and forward-deployed engineer support.

By submitting, you accept the Terms and Privacy Policy.

Loved by data scientists, ML engineers & CXOs at

Catalina Logo

A real-world example

How many units of each SKU should we stock at each warehouse over the next 30 days?

Inventory carrying costs consume 20–30% of product value annually. Overstocking ties up working capital; understocking means lost sales and expedited shipping at 3–5x standard cost. With thousands of SKUs across multiple warehouses, getting the right quantity at the right location requires understanding cross-product demand dependencies, regional consumption patterns, and supply chain lead times that spreadsheets and simple rules cannot capture.

Quick answer

Inventory planning predicts how many units of each SKU should be stocked at each warehouse over the next 30 days. Graph-based models connect products to orders, warehouses, suppliers, and seasonal patterns, producing stock-level predictions that account for lead times, cross-product demand dependencies, and regional consumption patterns that spreadsheets miss.

Approaches compared

4 ways to solve this problem

1. Safety Stock Formulas

Calculate reorder points and safety stock using statistical formulas (average demand + Z-score * standard deviation * lead time). The textbook approach taught in supply chain courses.

Best for

Stable-demand products with predictable lead times and well-understood demand variability.

Watch out for

Assumes demand follows a normal distribution, which is rarely true for seasonal or promotional products. Cannot account for cross-product demand shifts or supplier disruptions.

2. ERP-Based Planning (SAP APO, Oracle ASCP)

Enterprise planning systems that combine demand forecasts with supply constraints, warehouse capacity, and lead times. The standard for large enterprises.

Best for

Large enterprises with established ERP systems and supply chain planning teams.

Watch out for

Demand inputs are often stale (monthly updates). The models treat each SKU-warehouse independently. Integration with external signals (weather, events, competitor actions) requires custom development.

3. ML Demand Forecasting + Optimization

Train ML models (XGBoost, LightGBM) to forecast demand, then feed forecasts into an optimization layer that accounts for lead times, costs, and capacity constraints.

Best for

Teams with ML infrastructure who can maintain two systems (forecasting + optimization). Good accuracy when features are well-engineered.

Watch out for

Two-system architecture means errors compound: forecast errors flow into suboptimal stocking decisions. Feature engineering is a manual bottleneck. Cross-product demand dependencies require explicit feature creation.

4. KumoRFM (Graph Neural Networks on Relational Data)

Connects products, orders, warehouses, and suppliers into a unified relational graph. Predicts demand per SKU per warehouse directly, capturing cross-product and cross-warehouse signals that feed into stocking decisions with zero feature engineering.

Best for

Multi-warehouse operations with thousands of SKUs, shared suppliers, and regional demand patterns.

Watch out for

Best when products and warehouses have meaningful relational connections (shared suppliers, overlapping geographies). A single-warehouse operation with independent products benefits less from the graph structure.

Key metric: Graph-based inventory models reduce carrying costs by 20% while cutting stockout rates by 30-50%, capturing cross-product and cross-warehouse signals that independent SKU models structurally miss.

Why relational data changes the answer

Product P-100 (Wireless Mouse) needs 4,820 units stocked in the next 30 days. A simple model arrives at this number by extrapolating recent order velocity. But the relational graph reveals why: P-100 shares supplier SUP-12 with P-200 (USB-C Hub), and that supplier has a 21-day lead time, meaning any reorder placed today arrives just in time. Warehouse WH-East is in the Northeast region, which historically sees 40% higher volume in Q4. The Electronics category is growing 18% year-over-year, and the current 14-day order velocity trend shows an additional 22% acceleration.

The critical insight is that these signals live in different tables: supplier lead times in PRODUCTS, regional patterns in WAREHOUSES, category trends in ORDER_LINES aggregated by product category. A flat model would require an engineer to pre-compute 'supplier lead time buffer,' 'regional seasonal factor,' and 'category growth rate' as separate features. The graph neural network discovers these cross-table patterns automatically and learns how they interact. When supplier lead times increase and regional demand peaks simultaneously, the required safety stock is not additive but multiplicative. Only models that see the full relational structure capture these compound effects.

Planning inventory with a flat model is like a restaurant chef deciding how much to prep by only looking at last week's order counts. A relational model also sees that there is a football game tomorrow (event), the fish supplier is delayed by 2 days (lead time), the neighboring restaurant just closed (demand shift), and it is the first warm weekend of spring (seasonal). Each signal alone changes the prep estimate; together they transform it.

How KumoRFM solves this

Relational intelligence for every forecast

Kumo connects products to orders, warehouses, suppliers, and seasonal patterns in a single relational graph. Instead of forecasting each SKU-warehouse pair independently, Kumo learns that Product P-100 and P-200 share a supplier with a 21-day lead time, that Warehouse WH-East sees 40% higher volume in Q4, and that recent order velocity for the Electronics category is accelerating. These cross-table signals produce stock-level predictions that account for the full supply chain context.

From data to predictions

See the full pipeline in action

Connect your tables, write a PQL query, and get predictions with built-in explainability — all in minutes, not months.

1

Your data

The relational tables Kumo learns from

PRODUCTS

product_idproduct_namecategorylead_time_days
P-100Wireless MouseElectronics21
P-200USB-C HubElectronics14
P-300Desk LampHome Office7

ORDER_LINES

order_idproduct_idwarehouse_idquantitytimestamp
ORD-5001P-100WH-East1202025-09-10
ORD-5002P-200WH-East452025-09-11
ORD-5003P-300WH-West3102025-09-12

WAREHOUSES

warehouse_idwarehouse_nameregioncapacity
WH-EastNewark DistributionNortheast500,000
WH-WestReno FulfillmentWest350,000
WH-CentralDallas HubSouth420,000
2

Write your PQL query

Describe what to predict in 2–3 lines — Kumo handles the rest

PQL
PREDICT SUM(ORDER_LINES.QUANTITY, 0, 30, days)
FOR EACH PRODUCTS.PRODUCT_ID
3

Prediction output

Every entity gets a score, updated continuously

PRODUCT_IDTIMESTAMPTARGET_PRED
P-1002025-10-014,820
P-2002025-10-011,250
P-3002025-10-018,340
4

Understand why

Every prediction includes feature attributions — no black boxes

Product P-100 (Wireless Mouse)

Predicted: 4,820 units needed in next 30 days

Top contributing features

Order velocity (14d trend)

+22%

29% attribution

Seasonal pattern (Q4 ramp)

Strong

25% attribution

Warehouse region demand

Northeast peak

20% attribution

Lead time buffer required

21 days

15% attribution

Category growth rate

+18% YoY

11% attribution

Feature attributions are computed automatically for every prediction. No separate tooling required. Learn more about Kumo explainability

Frequently asked questions

Common questions about inventory planning & stock optimization

How much can AI reduce inventory carrying costs?

Companies using graph-based inventory planning typically reduce carrying costs by 15-25% while simultaneously reducing stockout rates by 30-50%. The savings come from right-sizing safety stock at each location rather than applying blanket buffers across all SKUs.

What is the difference between demand forecasting and inventory planning?

Demand forecasting predicts how much customers will buy. Inventory planning determines how much to stock, accounting for lead times, carrying costs, service level targets, and warehouse capacity. Demand forecasts are an input to inventory planning, but the planning layer adds supply-side constraints.

How do supplier lead times affect inventory optimization?

Lead times directly determine how far ahead you need to forecast and how much safety stock to hold. Products with 21-day lead times need 3-4 weeks of forecasting accuracy, while 7-day lead time products can be restocked more responsively. Graph models capture lead time data from the supplier table and factor it into stocking recommendations automatically.

Can inventory planning AI handle seasonal demand spikes?

Yes. Graph models learn seasonal patterns from historical data across products, warehouses, and regions simultaneously. They detect that Q4 demand at Northeast warehouses is 40% higher than Q2, and that promotional events create demand spikes 3-5 days before the promotion starts (pre-purchase behavior). This pre-positioning of inventory before the spike is where the largest savings occur.

Bottom line: Cut carrying costs by 20% while reducing stockouts — right-size every SKU at every warehouse with zero manual forecasting.

Topics covered

inventory planning AIstock optimization machine learningwarehouse demand predictionSKU-level inventory forecastingsupply chain optimizationKumoRFMrelational deep learningpredictive query languageinventory management AIdemand-driven replenishmentautomated inventory planningworking capital optimization

One Platform. One Model. Infinite Predictions.

KumoRFM

Relational Foundation Model

Turn structured relational data into predictions in seconds. KumoRFM delivers zero-shot predictions that rival months of traditional data science. No training, feature engineering, or infrastructure required. Just connect your data and start predicting.

For critical use cases, fine-tune KumoRFM on your data using the Kumo platform and Research Agent for 30%+ higher accuracy than traditional models.

Book a demo and get a free trial of the full platform: research agent, fine-tune capabilities, and forward-deployed engineer support.