REVIEW 3 major objections 4 minor 30 references
An Adaptive Moving Average for Macroeconomic Monitoring
T0 review · 3 major / 4 minor · reviewed 2026-08-10 · deepseek-v4-flash
Pith's one-line read A Random Forest trained on only a time trend produces an adaptive moving average, and in US data it reads the post-pandemic disinflation as a sharp July 2022 break rather than a gradual slowdown.
desk verdict A clean, useful idea with clear simulations, but the real-time (one-sided) claim is under-specified and the empirical hyperparameters are unreported; worth refereeing, not worth citing in its current form. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The central object is AlbaMA, a Random Forest (specifically bagged regression trees) fitted with a single deterministic regressor, the time trend $t$. Each tree partitions time into leaves; the prediction for date $t$ is the average of the in-sample targets in the leaf containing $t$, and averaging over trees yields a weighted average $\hat y_t = \sum_\tau w_{\tau t} y_\tau$. The weights $w_{\tau t}$ are the moving-average coefficients, recovered by counting, across trees, how often observation $\tau$ shares a leaf with $t$ (with weight $1/\text{leaf size}$ each time). The mechanism that carries the argument is the distinction between herd behavior and dispersion: an abrupt break produces near-identical split dates across trees, while a smooth trend produces scattered splits whose average is a straight line. These weights let the estimator shorten its effective window at turning points and revert to a longer window in calm times.
What would settle it
Re-estimate AlbaMA on the same US CPI series over a grid of minimum leaf sizes (say 5 to 200), tree counts, and bootstrap seeds; if the July 2022 sharp decline and the subsequent 3% plateau disappear or shift by several months under nearby settings, the central narrative is a tuning artifact rather than a property of the estimator.
Extended reading notes
Core claim
The central claim is that a simple bagged-trees smoother can turn a fixed moving average into a fully data-adaptive one. When a clear break exists, most trees split on the same date and the ensemble reproduces the break sharply; when change is gradual, trees split at scattered dates and averaging recovers a smooth slope. The paper shows that this behavior carries over to real data: for US headline CPI, AlbaMA peaks at 11.2% in June 2022 and drops below 4% within two months, identifying July 2022 as the disinflation break, whereas the twelve-month moving average displays a slow convergence lasting until June 2023. For core inflation, AlbaMA jumps in April 2021 and then declines gradually, with weights temporarily abandoning a twelve-month average structure for a near three-month structure. Across nine series, its median one-sided/two-sided $R^2$ is the highest in all three evaluation samples (0.81, 0.78, and 0.75).
Load-bearing premise
The empirical AlbaMA paths in Figures 4 to 7 depend on forest hyperparameters (depth, leaf size, tree count, bootstrap seeds) that the paper does not report, so the central narrative presumes those settings were not chosen to make breaks stand out.
Editorial extensions
If this is right
- If AlbaMA is right, the standard twelve-month moving-average narrative of a gradual post-pandemic disinflation in the US is an artifact of fixed smoothing; the actual turning point is a sharp July 2022 break.
- AlbaMA's recovered weights give a transparent, time-varying window: around 90% of weight on the last five months for US headline inflation, with the weight on the most recent month doubling from 19% to 41% at the July 2022 juncture.
- Because the one-sided estimate tracks the two-sided estimate well, real-time monitoring with AlbaMA is less subject to the boundary problem than fixed moving averages or Savitzky-Golay.
- The same adaptive behavior appears across euro-area HICP, US PMI, and industrial production, so the mechanism is not specific to US CPI.
- The estimator can be implemented in a few lines with standard random-forest packages, making the adaptive window available to practitioners without bespoke filtering code.
Reading between the lines
- The authors leave implicit that a sharper July 2022 break in measured inflation changes how the 'last mile' of disinflation is narrated: the disinflation itself was fast, but the subsequent plateau near 3% was long, so policy discussion might focus on the persistence of the plateau rather than a gradual slide.
- A natural testable extension is to run AlbaMA recursively on real-time CPI vintages and compare its turning-point nowcasts with actual ex-post revisions, which would separate genuine timeliness from tuning luck.
- The forest-weights representation connects AlbaMA to time-varying parameter and unobserved-components models; unlike UC-SV, AlbaMA needs no distributional assumptions, so its weighting scheme could serve as a model-free diagnostic for other inflation filters.
- A broader implication is that any noisy series with occasional structural breaks, not just inflation, could benefit from the same adaptive weighting, and the paper's one-sided/two-sided consistency metric is a reusable way to evaluate other real-time filters.
Signed reviews
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes AlbaMA, an adaptive moving average constructed from a bagged regression tree (Random Forest) using only a time trend as predictor, and shows how to recover the implied time-varying weights on past observations. The authors illustrate with simulations that abrupt changes produce concentrated tree splits while gradual changes produce dispersed splits that average to a smooth path. They then apply the one-sided version to US and Euro Area inflation, core inflation, industrial production, unemployment, and PMI, claiming that AlbaMA gives a different and timelier post-pandemic inflation narrative, notably a sharp decline in July 2022 rather than a gradual slowdown. The paper also evaluates the one-sided/two-sided consistency of AlbaMA against standard moving averages and the Savitzky-Golay filter.
Significance. If the one-sided construction is properly defined and the empirical results are stable, AlbaMA is a simple and attractive tool for macroeconomic monitoring: it automatically varies its effective look-back window, and the weight decomposition makes the adaptivity transparent. The simulation design is well chosen to demonstrate the mechanism, and the application to nine series is a useful empirical illustration. The main limitation is that the paper's central real-time claim rests on a one-sided estimator whose algorithm is never specified, and the sensitivity of the empirical narrative to unreported tuning choices is not assessed. With those points addressed, the paper could be a valuable contribution to the practical time-series filtering literature.
major comments (3)
- [Section 2.2 / Figure 3 note] The one-sided AlbaMA never receives a formal definition. Equation (2.2) defines T_b(t) as an average over the leaf P_b(t), and the note to Figure 3 states that "in the one-sided case only past data can be utilized by the RF," but no algorithm is given that enforces this. A regression tree fitted on the full sample chooses split points using observations on both sides of t, and the leaf P_b(t) containing t generally includes future observations; averaging over such leaves is not a one-sided filter. Because all estimates labeled one-sided in Figures 4–7, including the headline July 2022 drop in Section 3.1, rely on this unidentified construction, the paper does not establish that the reported break is available in real time. The authors should either define and implement a genuine expanding-window or recursive estimation, or state explicitly that trees are fitted on the full sample and assess how much of the break is due to lookahead in split selection.
- [Sections 2.3 and 3.1] The simulation in Section 2.3 reports the settings B=500 and min node size=40, but Sections 3.1–3.2 and Figures 4–7 do not report the hyperparameters used for the empirical AlbaMA estimates (min node size, maximum depth, number of trees, bootstrap seed). The implied weights and the inferred break locations, e.g., the weight on y_t changing from 19% in May 2022 to 41% in July 2022, are direct outputs of these choices. The authors should report the exact empirical settings and provide a sensitivity analysis over min node size and B to show that the qualitative post-pandemic narrative is not an artifact of one particular configuration.
- [Section 3.3 / Figure 8] The R2 comparison between one-sided and two-sided estimates is only meaningful if the one-sided AlbaMA is genuinely computed without future information. As written, the high R2 values in Figure 8 and Tables 1–2 may simply reflect that the same full-sample tree ensemble underlies both the "one-sided" and two-sided paths, so the metric would not measure real-time revision error. The section should also justify why R2 between a model's own one-sided and two-sided versions is the appropriate yardstick against fixed-window moving averages; as it stands, the criterion conflates filter consistency with forecast accuracy.
minor comments (4)
- [Section 2.1, Eq. (1)] The notation k ∈ K, c ∈ I_R is confusing: I_R is not defined, and K = [t] is introduced only afterwards. Please define all symbols at first use.
- [Appendix A.1 and throughout] There are several typos: "Bechnmark" in the appendix title, "adpative" in Section 2.2, "Savitzgy-Golay" in Tables 1–2, "paramter" in Appendix A.2, and "trippling" in Section 3.2. A careful proofread is needed.
- [Figure 8 note] The label "MA" in the boxplot legend is ambiguous because the figure reports MA(3), MA(6), and MA(12) separately; please specify which fixed-window average the unlabeled "MA" box refers to.
- [Section 3.3] The sentence "the highest-ranked R2 boxplot indicates the best overall model performance across all variables" is imprecise, since the boxplots aggregate over series with different variances and the R2 is not an inferential measure. A more careful wording, such as "descriptively highest median R2," would avoid overstating the result.
Circularity Check
No significant circularity: AlbaMA's weights are derived algebraically from the estimator's definition, and the adaptive behavior is validated on independent simulations and external benchmarks.
full rationale
The central derivation is self-contained. AlbaMA is defined as a bagged regression-tree ensemble with a single time-trend predictor (Section 2.1), and the weight representation ŷ_t = Σ_τ w_τt y_τ is derived algebraically from the leaf-averaging operation (Section 2.2), not assumed. The claimed adaptive behavior—abrupt changes concentrate splits near the break, gradual changes produce dispersed splits—is demonstrated on explicit simulated DGPs in Section 2.3 and Appendix A.2. The empirical narratives are read off fitted one-sided paths and compared against external benchmarks (MA(3/6/12), Savitzky-Golay, UC-SV, EMA) on public data, so the narrative is not fitted into the estimator by construction. The one-sided versus two-sided R2 evaluation in Section 3.3 is an internal consistency check, not a claim that a fitted parameter predicts the very data it was fit to. The citations to Goulet Coulombe (2024) and Goulet Coulombe et al. (2024) motivate the use of trend variables and weight extraction, but the paper re-derives the weights and independently validates the behavior in simulations, so these self-citations are not load-bearing. Concerns about whether the one-sided estimates are truly real-time (no explicit algorithm enforcing one-sidedness is given, and empirical hyperparameters are not reported) are implementation and correctness issues, not circularity. No equation or claim in the paper reduces to its own input by construction.
Assumptions & free parameters
free parameters (2)
- RF minimum leaf size (min node size) =
40 in simulations; unreported for empirical
- Number of trees (B) =
500 in simulations; unreported for empirical
assumptions (3)
- domain assumption Random Forest is an adaptive nearest-neighbor smoother whose splits concentrate at structural breaks and scatter otherwise.
- standard math Bagging reduces variance and turns hard threshold splits into smooth averages.
- domain assumption The one-sided RF estimate is comparable to the two-sided RF estimate as a measure of real-time usefulness.
Cite this review
Pith. "Pith review of An Adaptive Moving Average for Macroeconomic Monitoring." pith.science (2026). https://pith.science/paper/5E5LKJB6
@misc{pith2026250113222,
author = {Pith},
title = {Pith review of: An Adaptive Moving Average for Macroeconomic Monitoring},
year = {2026},
howpublished = {\url{https://pith.science/paper/5E5LKJB6}},
note = {Machine review of arXiv:2501.13222}
}
read the original abstract
The use of moving averages is pervasive in macroeconomic monitoring, particularly for tracking noisy series such as inflation. The choice of the look-back window is crucial. Too long of a moving average is not timely enough when faced with rapidly evolving economic conditions. Too narrow averages are noisy, limiting signal extraction capabilities. As is well known, this is a bias-variance trade-off. However, it is a time-varying one: the optimal size of the look-back window depends on current macroeconomic conditions. In this paper, we introduce a simple adaptive moving average estimator based on a Random Forest using as sole predictor a time trend. Then, we compare the narratives inferred from the new estimator to those derived from common alternatives across series such as headline inflation, core inflation, and real activity indicators. Notably, we find that this simple tool provides a different account of the post-pandemic inflation acceleration and subsequent deceleration.
Figures
Figures from the paper (8 more)
Reference graph
Works this paper leans on
-
[1]
The Dynamic Persistence of Economic Shocks
Barun \' k, J. and Vacha, L. (2023). The dynamic persistence of economic shocks. arXiv preprint arXiv:2306.01511
work page Pith review arXiv 2023
-
[2]
Breiman, L. (1996). Bagging predictors. Machine learning , 24(2):123--140
work page 1996
-
[3]
Breiman, L. (2001). Random forests. Machine learning , 45(1):5--32
work page 2001
-
[4]
Breiman, L., Friedman, J., Stone, C. J., and Olshen, R. A. (1984). Classification and regression trees . CRC press
work page 1984
-
[5]
Brown, R. G. (1956). Exponential Smoothing for Predicting Demand . Arthur D. Little Inc., Cambridge, Massachusetts
work page 1956
- [6]
-
[7]
Donoho, D. L. and Johnstone, I. M. (1998). Minimax estimation via wavelet shrinkage. The Annals of Statistics , 26(3):879--921
work page 1998
-
[8]
Eeckhout, J. (2023). Instantaneous inflation. Available at SSRN 4554153
work page 2023
Show all 30 references
-
[9]
Ehlers, J. (2005). Frama--fractal adaptive moving average. Technical Analysis of Stocks & Commodities , 10:10--15
2005
-
[10]
Giraitis, L., Kapetanios, G., and Yates, T. (2014). Inference on stochastic time-varying coefficient models. Journal of Econometrics , 179(1):46--65
2014
-
[11]
Goulet Coulombe, P. (2024). The macroeconomy as a random forest. Journal of Applied Econometrics , (forthcoming)
2024
-
[12]
Goulet Coulombe, P., G \"o bel, M., and Klieber, K. (2024). Dual interpretation of machine learning forecasts. Available at SSRN 5029492
2024
-
[13]
Hall, R. E. (2023). A major shock makes prices more flexible and may result in a burst of inflation or deflation. Technical report, National Bureau of Economic Research
2023
-
[14]
Hamilton, J. D. (2018). Why You Should Never Use the Hodrick-Prescott Filter . The Review of Economics and Statistics , 100(5):831--843
2018
-
[15]
and Tibshirani, R
Hastie, T. and Tibshirani, R. (1990). Generalized Additive Models . Chapman and Hall, London
1990
-
[16]
Hodrick, R. J. and Prescott, E. C. (1997). Postwar us business cycles: An empirical investigation. Journal of Money, Credit, and Banking , 29(1):1--16
1997
-
[17]
Holt, C. C. (2004). Forecasting seasonals and trends by exponentially weighted moving averages. International Journal of Forecasting , 20(1):5--10
2004
-
[18]
and Fr \"u hwirth-Schnatter, S
Kastner, G. and Fr \"u hwirth-Schnatter, S. (2014). Ancillarity-sufficiency interweaving strategy (asis) for boosting mcmc estimation of stochastic volatility models. Computational Statistics & Data Analysis , 76:408--423
2014
-
[19]
Kaufman, P. J. (2013). Trading Systems and Methods,+ Website , volume 591. John Wiley & Sons
2013
-
[20]
Kim, S.-J., Koh, K., Boyd, S., and Gorinevsky, D. (2009). _1 trend filtering. SIAM Review , 51(2):339--360
2009
-
[21]
and Kr \"u ger, F
Koster, N. and Kr \"u ger, F. (2024). Simplifying random forests' probabilistic forecasts. arXiv preprint arXiv:2408.12332
2024 arXiv
-
[22]
and Jeon, Y
Lin, Y. and Jeon, Y. (2006). Random forests and adaptive nearest neighbors. Journal of the American Statistical Association , 101(474):578--590
2006
-
[23]
and Van De Geer, S
Mammen, E. and Van De Geer, S. (1997). Locally adaptive regression splines. The Annals of Statistics , 25(1):387--413
1997
-
[24]
McCracken, M. W. and Ng, S. (2016). Fred-md: A monthly database for macroeconomic research. Journal of Business & Economic Statistics , 34(4):574--589
2016
-
[25]
and Norden, S
Orphanides, A. and Norden, S. v. (2002). The unreliability of output-gap estimates in real time. Review of Economics and Statistics , 84(4):569--583
2002
-
[26]
Phillips, P. C. and Shi, Z. (2021). Boosting: Why you can use the hp filter. International Economic Review , 62(2):521--570
2021
-
[27]
and Golay, M
Savitzky, A. and Golay, M. J. (1964). Smoothing and differentiation of data by simplified least squares procedures. Analytical Chemistry , 36(8):1627--1639
1964
-
[28]
Stock, J. H. and Watson, M. W. (2007). Why has us inflation become harder to forecast? Journal of Money, Credit and Banking , 39(1):3--33
2007
-
[29]
Tibshirani, R. J. (2014). Adaptive piecewise polynomial estimation via trend filtering. The Annals of Statistics , 42(1):285--323
2014
-
[30]
Tibshirani, R. J. and Taylor, J. (2011). The solution path of the generalized lasso. Annals of Statistics , 39(3):1335--1371
2011
Reviewed August 10, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.