Machine learning meets expert judgment: Forecasting German government expenditures Clara Augustin, Natascha Hinterlang, Jan Kuckuck
Do experts or machine learning (ML) models produce more accurate forecasts for German government expenditures? To answer this question, we compare expert forecasts produced by the Deutsche Bundesbank with those of a wide range of ML models and benchmarks. The results indicate that expert-based projections outperform model-driven forecasts in many cases, particularly for short-term predictions. This advantage likely reflects experts’ access to timely information on discretionary fiscal policy measures. At the same time, ML methods prove valuable at medium term forecast horizons and in periods of heightened uncertainty.
Expert knowledge on discretionary policies vs. ML capabilities
Producing accurate forecasts of government expenditures is critical for macroeconomic surveillance, fiscal planning, and debt sustainability analysis. However, predicting public expenditure is inherently challenging. Many expenditure components are driven by discretionary policy decisions, for which timely and quantitative information is often limited or unavailable in standard time-series data. Expert knowledge therefore plays a central role. At the same time, recent advances in machine learning have shown considerable promise in forecasting a wide range of macroeconomic variables. Since many expenditure components respond endogenously and often nonlinearly to macroeconomic conditions such as economic activity, wages, and inflation, they present a promising domain for ML approaches.
Comparing 18 forecasting methods based on a novel dataset
We construct a novel dataset spanning three decades. It includes detailed expenditure components across multiple layers of government as well as a broad set of macroeconomic predictors. We then compare forecasts from a broad set of ML methods, traditional time-series models, and simple benchmark rules against expert projections prepared by the Deutsche Bundesbank. These projections form part of the Eurosystem’s macroeconomic projection exercises and incorporate up-to-date information on fiscal policy measures.
Expert dominance in nowcasts
The findings show that experts perform better than all other forecasting methods in a substantial share of cases, particularly for short-term predictions. They deliver the most accurate predictions for 29 % of all forecast targets and for 39 % of nowcasts. Experts continue to perform strongly, especially in nowcasting, during the highly uncertain period from 2020 to 2024, although their relative performance is somewhat weaker than in the full sample. This pattern likely reflects their ability to incorporate real-time information on discretionary fiscal measures that is not yet captured in standard datasets.
Machine learning benefits and surprising strength of benchmarks
ML methods, particularly random forests and k-nearest neighbors, perform well at medium-term horizons and during the 2020‑2024 period, which was highly volatile due to several crises. Simple forecasts based on trend GDP growth and gross wage and salary growth perform remarkably well, often surpassing more complex models. These benchmarks seem to be particularly effective during crisis periods.
Heterogeneity across expenditure categories and governmental layers
Each model’s forecast accuracy varies considerably across expenditure categories, government layers, and forecast horizons. This heterogeneity implies that no single model consistently performs best across all dimensions. Instead, employing a range of models noticeably improves forecast accuracy. Selecting the best model-based prediction (i.e. excluding experts) for each target improves the forecasting performance by 7.2 % compared to purely expert-based forecasting, with gains rising to 16.7 % in the 2020‑2024 time period.
ML as a complement to expert judgement
Our analysis shows that machine learning methods cannot replace expert judgment but can complement it. Their contribution is most pronounced at medium-term horizons, where information on discretionary developments is limited, and during periods of elevated uncertainty. Even in short samples, ML-based forecasts can serve as a useful cross-check, help identify relevant predictors, and enhance the robustness of projections. Furthermore, the strong performance of simple benchmarks (such as trend GDP and wage growth-based predictions) suggests that that they should be included in the fiscal forecasting toolkit.
Augustin, C., N. Hinterlang, J. Kuckuck (2026), Machine learning meets expert judgment: Forecasting German government expenditures, Bundesbank Discussion Paper, No 42/2026.
2 MB, PDF