Walmart handed forecasters 42,840 sales series for the M5 competition in 2020, item by item and store by store across California, Texas and Wisconsin, and the organizers noted that “the majority of the 42,840 time series display intermittency,” according to the University of Nicosia’s M5 page. Intermittency means weeks with no sales at all. Even with Walmart’s data behind it, most of the competition’s series were items that sold in fits and starts.
The competition was not small. The organizers report close to 6,000 participants on Kaggle, around 100,000 submissions from more than 100 countries and $100,000 in prize money, all aimed at the same hierarchy of data running from single items up through departments, product categories and stores. That much effort went into forecasting shelves where a zero was the most common number.
A small shop’s shelf is that, only more so. The point-of-sale companies now sell forecasting as a feature, some of it labeled AI, and the pitch is easy to like: the system watches what sells and says what to reorder. This post reads what three of those vendors actually claim on their own pages, then sets the claims against a forecasting textbook that is free online, written by two forecasters at Monash University, to see what any forecast, artificial intelligence or a pencil, needs from the shop before it can be trusted. Disclosure: Till Post’s owner has a referral interest in Square, one of the vendors quoted below.
What the vendors’ own pages say
Lightspeed’s retail inventory page makes the most specific claims of the three checked. It says retailers can “forecast demand, spot slow movers and draft POs from reports,” promises to “forecast confidently with tailored recommendations for seasonal and non-seasonal items,” and says Lightspeed Insights helps retailers improve efficiency “with demand forecasting and automated reporting.” The AI label shows up in a narrower place: an “AI Doc Import” tool for purchase orders, where “AI uses smart matching to reduce errors and create new products.” The page also offers “smart reorder recommendations” and “data-driven order recommendations.”
Square’s inventory management page is plainer. It makes no AI claim at all. It tells sellers to “use reports and insights to forecast demand, identify top sellers, and protect margins,” offers low-stock alerts, and mentions the ability to “set up automated restocks on popular and sold-out inventory.” Inventory management features come with Square Plus at “$49 per month per location,” with more advanced features in Square Premium at “$149 per month per location.” Square’s restaurant plans are compared in more detail in Square for Restaurants plans.
Shopify’s blog post on demand forecasting, from 2021, lists “machine learning” among forecasting methods without saying how it is used, and notes that Shopify POS gives “recommendations on which products to restock based on both their profitability and sales rate.” It is the only one of the three to talk about how much history a method wants: trend projection “works well for stores with lots of historical sales data (two years or more).”
Beside the forecasting language, the same pages sell older and simpler tools. Lightspeed lets a shop “set reorder points or ideal minimum/maximum stock levels across core products,” and says “every sale and return updates inventory across all stores and channels.” Square offers low-stock alerts. A reorder point is not a forecast; it is a line the owner draws, and the system only says when stock crosses it. For many small shops that line, set by someone who knows the supplier’s lead time, does most of the work a forecast is sold to do, provided the counts behind it are right, which is the subject of syncing online and in-store inventory.
Read side by side, the claims are modest. None of the three pages publishes an accuracy figure. None says how its forecasts are tested. The word that does the heavy lifting is “recommendations,” which is a long way from a promise.

Four things that decide whether anything can be forecast
Rob J Hyndman and George Athanasopoulos open Forecasting: Principles and Practice, now in its third edition and free online, with a list. How predictable something is depends on “how well we understand the factors that contribute to it; how much data is available; how similar the future is to the past;” and “whether the forecasts can affect the thing we are trying to forecast.”
Run a small shop’s inventory through those four and the problem comes into focus. The factors behind a week’s sales, weather, a school holiday, a road closure, a competitor’s sale, are partly understood at best. The data is thin; a new store has months, not years. The future often does not look like the past, because the owner keeps changing the menu or the product mix. And the fourth item bites directly: a forecast that says a product is slowing leads to a smaller order, which leads to fewer on the shelf, which leads to fewer sales, which the next forecast reads as proof. The forecast changes the thing it is forecasting. None of that makes forecasting hopeless. The authors are direct about it: “Many people wrongly assume that forecasts are not possible in a changing environment.” They add that “forecasts rarely assume that the environment is unchanging.” It makes the honest forecast a range, not a number.
The textbook is blunt about data, too. “Often, it will be difficult to obtain enough historical data to be able to fit a good statistical model.” Shopify’s two-years line is a reasonable rule of thumb against that warning, and many shops fail it for any product added in the last eighteen months.
The zero-sales week problem
The M5 finding about intermittency is the one that matters most for a small shop, because most of what sits on a small shop’s shelves does not sell every day. The textbook’s section on count data explains why that breaks ordinary methods: “All of the methods discussed in this book assume that the data have a continuous sample space,” and with small counts, forecasters “need to use forecasting methods that are more appropriate for a sample space of non-negative integers.”
The standard tool for this is Croston’s method, which splits the history into two series, how much sold when something sold, and how long the gaps were between sales, smooths each, and divides one by the other. The textbook lists its weaknesses plainly. It “does not properly deal with the count nature of the data either,” there is no formula for its prediction intervals, and “forecasts obtained from Croston’s method are also known to be biased.”
A hypothetical item shows the bias without any software. Say a specialty jar sells 0, 2, 0, 0, 1, 0, 3, 0, 0, 2, 0 and 0 over twelve weeks. Eight units in twelve weeks is 0.67 a week. Croston’s idea, done with plain averages instead of smoothing, looks only at the weeks something sold: the four sales averaged 2 units, and the gaps between them averaged 2.5 weeks, so the forecast is 2 ÷ 2.5 = 0.8 a week. The method ignores the two empty weeks at the end because no sale has closed that gap yet. Over a year, 0.8 against 0.67 is about seven extra jars ordered. On a $6 jar that is not a disaster. Across two hundred slow items it is a back room full of things nobody asked for, the dead stock covered in inventory turnover and days on hand.

The test any forecast should pass first
Every serious forecaster tests against something dumb. The textbook’s chapter on evaluating accuracy describes the two simplest benchmarks. “For naïve forecasts, we simply set all forecasts to be the value of the last observation.” For seasonal data, the seasonal naïve method sets each forecast “equal to the last observed value from the same season”: next Saturday looks like last Saturday, this December looks like last December. Those methods, the authors write, “will serve as benchmarks rather than the method of choice.” A new method has to beat them to earn its keep.
The testing rule is simple, and none of the three vendor pages checked here shows one. Hold back the most recent stretch of data, let the method forecast it without seeing it, and compare. The book puts it this way: “A model which fits the training data well will not necessarily forecast well.” The held-back test set is “typically about 20% of the total sample,” and “should ideally be at least as large as the maximum forecast horizon required.” A shop ordering two weeks ahead needs at least two weeks held back; a shop ordering for a season needs a season.
That gives an owner a practical question for any sales rep: does the forecast beat “same as last week” and “same as this week last year” on the shop’s own items, on weeks it did not see? If the answer is a shrug, the feature is a report with a nicer name. The simple inventory spreadsheet Till Post laid out earlier can run the seasonal naive benchmark with one column.
New products and the owner’s judgment
No method can forecast an item with no history. The textbook’s chapter on judgmental forecasting says so directly: “Judgmental forecasting is usually the only available method for new product forecasting, as historical data are unavailable.” It is also clear about the cost. “Judgmental forecasts are subjective, and therefore do not come free of bias or limitations,” they “can be inconsistent,” and anchoring “may lead to conservatism and undervaluing new and more current information.”
Here is the turn. The same book says “statistical forecasts are generally superior to generating forecasts using only judgment.” So the owner’s gut is worse than a decent model when the data exists, and the only thing available when it does not. Most small shops live in between, with a few steady sellers that any model can handle, a long tail of slow movers that defeat most models, and new items that no model can touch. The textbook’s answer for that middle ground is to generate the two kinds of forecast independently and combine them.

What to ask before paying for the feature
The vendor pages and the textbook together suggest a short list. How much history does the feature need before its suggestions mean anything, and does it say so on screen? Does it handle items that sell zero most weeks differently from items that sell every day? Has it been tested against last week and last year on the shop’s own data, and can the owner see that test? Does it know about the things the shop knows about, a promotion, a closure, a new item replacing an old one, or only about past sales? And who reviews the order before it goes out?
Advertising claims about AI have their own rules, laid out in FTC rules on AI claims, and none of the three pages checked here made a claim it would need to defend with a number. That cuts both ways. Nobody promised accuracy, so nobody has to deliver it.
Walmart’s 42,840 series came from a retailer with stores in three states, and most of them still sold in fits and starts. A twelve-week history on a jar of fig jam is a different animal, and the honest forecast for it may be the owner standing in front of the shelf on a Monday morning, counting.
Sources
- University of Nicosia, Institute For the Future, M5 Competition
- Lightspeed, Retail inventory management software
- Square, Inventory Management Software
- Shopify, Demand Forecasting: Methods and Retail Examples (2021)
- Hyndman and Athanasopoulos, Forecasting: Principles and Practice (3rd ed), What can be forecast?
- Hyndman and Athanasopoulos, Evaluating point forecast accuracy
- Hyndman and Athanasopoulos, Forecasting count time series
- Hyndman and Athanasopoulos, Judgmental forecasts
