27 Machine-Learning Models Tried to Forecast US Inflation — a Classical One Won
- ▸A study comparing 27 machine learning and statistical models found a classical exponential-smoothing method (ETS), not machine learning, best forecasts US CPI-U inflation.
- ▸The winning model projects continued moderate inflation through 2025 — roughly 3% annual increases — with prices rising faster in the first half of each year and leveling off in the second half.
- ▸A companion study by the same authors found a different model (LSTM) won when the identical method was applied to India's CPI-IW, showing model choice doesn't transfer automatically across countries.
Why forecasting CPI-U matters
CPI-U is one of the most consequential numbers in the U.S. economy. It's built from roughly 80,000 monthly price quotes collected across around 23,000 retail and service businesses plus 50,000 rental housing units, weighted to reflect what urban consumers actually buy: food, energy, housing, medical care, transport, and more. It covers an estimated 93% of the U.S. population. The Federal Reserve leans on CPI readings when it sets the federal funds rate, and the same number feeds into wage negotiations and cost-of-living adjustments across the economy. A model that forecasts it well has real, practical value beyond academic interest.
Twenty-seven models, one dataset
The researchers — Jassimar Singh and B. S. Kambo — used a Python forecasting toolkit (PyCaret) to fit 27 different time-series models to monthly CPI-U data going back over two decades, sourced directly from the U.S. Bureau of Labor Statistics. The lineup ranged from simple baseline forecasters, to classical statistical methods like ARIMA and exponential smoothing, to more modern machine-learning approaches including random forests, gradient boosting variants, and regularized regression methods. Before fitting any model, they tested whether the data behaved the way these models assume: they confirmed the CPI-U series is not random noise (it has real, statistically significant patterns over time), is not normally distributed, and is not stationary in its raw form — meaning its statistical properties shift over time rather than staying constant. To fix that last problem, they applied a standard transformation (differencing) that made the series suitable for modeling.
The result: a classical method beat the machine learning field
Every model was scored on three standard error metrics — how far off its predictions were, on average, from what actually happened. By the most commonly used of these (root mean square error, or RMSE), the ETS model came out on top, narrowly ahead of plain exponential smoothing, and clearly ahead of ARIMA. It also beat every machine-learning model in the comparison by a wide margin, including random forests and several gradient-boosting variants.
What the forecast actually says
Using the winning ETS model, the study projected CPI-U forward two years, from January 2024 through December 2025. The annual average moves from about 304.7 in 2023 to roughly 314.1 in 2024 (a rise of about 3.1%) and about 323.6 in 2025 (a further rise of about 3.0%) — continued inflation, but at a fairly steady, moderate pace rather than accelerating or collapsing. Within each year, the forecast shows a recurring seasonal shape: prices climb more quickly from January through July, then flatten out or fluctuate only slightly for the rest of the year. The study offers several plausible, non-exclusive explanations for that pattern — tax refunds boosting spring spending, seasonal demand for travel and warm-weather goods, agricultural prices moving with planting and harvest cycles, and general economic activity picking up after the winter months — without claiming to isolate which factor dominates.
Why the simplest model might be winning here
There's a broader lesson in why a decades-old statistical method outperformed newer machine-learning techniques on this particular series. CPI-U has a strong, fairly regular trend and seasonal pattern and comparatively little noise — exactly the conditions classical exponential-smoothing methods were built to handle well. Machine-learning and deep-learning models tend to earn their keep on messier, more irregular, higher-frequency data (stock prices, for instance) where flexible, non-linear pattern-matching pays off. A single, well-behaved macro time series with a clear trend and seasonality is arguably closer to the kind of data ETS was designed for than the kind of data that rewards a more flexible model — which may be part of why the classical approach won here, even though it wasn't tested against every other series it might face.
One of this paper's own authors, B. S. Kambo, is a former Deputy Director (Statistics) at India's Ministry of Labour & Employment, and the very same journal issue carries his companion study applying this identical 27/28-model comparison approach to India's own Consumer Price Index for Industrial Workers (CPI-IW). There, a neural network (LSTM) won instead of ETS, projecting India's CPI-IW to rise roughly 3.4 points in the summer/monsoon months before stabilising over winter. Read together, the two studies are a useful reminder for India's own inflation-forecasting work (used by the RBI and MoSPI): the best forecasting model is series-specific, not universal, so methodology validated on US or global data cannot simply be assumed to transfer to India's price data.
Frequently Asked Questions
What is CPI-U?
CPI-U is the U.S. Bureau of Labor Statistics' Consumer Price Index for All Urban Consumers -- a monthly measure of what urban households pay for a basket of goods and services (food, housing, energy, medical care, transport, and more). It covers about 93% of the U.S. population and is the inflation gauge the Federal Reserve watches most closely when setting interest rates.
Which model best forecasts US CPI-U inflation, according to this study?
ETS (Error, Trend, Seasonality), a classical exponential-smoothing model, had the lowest forecast error (RMSE) of all 27 models tested -- narrowly ahead of plain exponential smoothing, and clearly ahead of ARIMA and every machine-learning model in the comparison, including random forests and gradient boosting.
Why did a classical statistical model outperform machine learning models here?
CPI-U has a strong, fairly regular trend and seasonal pattern with comparatively little noise -- exactly the kind of data classical exponential-smoothing methods were designed to handle well. Machine-learning models tend to have an edge on messier, more irregular data, so a clean, well-behaved macro series may simply favor the classical approach.
What does the study forecast for US inflation in 2024 and 2025?
Using the winning ETS model, the study projects CPI-U's annual average rising from about 304.7 in 2023 to roughly 314.1 in 2024 (about +3.1%) and about 323.6 in 2025 (about +3.0%) -- continued, moderate inflation rather than acceleration or a sharp slowdown.
Why does US inflation tend to rise faster in the first half of the year?
The study points to several contributing, non-exclusive seasonal factors: post-holiday spending picking back up, tax-refund-driven spending between February and April, seasonal demand for travel and warm-weather goods, and agricultural prices tied to planting and harvest cycles -- without isolating a single dominant cause.
Does the same forecasting method work for India's inflation data?
No. In a companion study by the same author team, published in the same journal issue, a Long Short-Term Memory (LSTM) neural network -- not ETS -- was the best-fitting model for India's Consumer Price Index for Industrial Workers (CPI-IW). That shows forecasting-model choice is series-specific and doesn't automatically transfer from one country's data to another's.
What data and tools did the researchers use?
Monthly CPI-U data (base 1982-84 = 100) from the U.S. Bureau of Labor Statistics, spanning more than two decades through December 2023. The 27 models were fit and compared using PyCaret's time-series module in Python, scored on Mean Absolute Error, Root Mean Square Error, and Mean Absolute Percentage Error.
Primary Sources
Cite This Article
EconoLens Research Desk. (2026, August 1). 27 Machine-Learning Models Tried to Forecast US Inflation — a Classical One Won. EconoLens. https://econolens.co.in/news/ml-models-forecast-us-inflation-cpi-ets
The EconoLens Research Desk reviews academic papers in economics and econometrics, translating cutting-edge research into accessible analysis. Full credit is given to original authors in every review.