30.11.2026 10:18

Machine learning meets expert judgment: Forecasting German government expenditures

Germany Deutsche Bundesbank Unknown author
A study compares 18 machine-learning methods, traditional time-series models and benchmarks with Deutsche Bundesbank expert projections for German government expenditures, using a novel dataset spanning three decades. Experts produce the most accurate forecasts for 29% of targets and 39% of nowcasts, with a particular edge in short-term predictions, likely because they incorporate timely information on discretionary fiscal measures. Machine-learning methods, especially random forests and k-nearest neighbors, perform well at medium-term horizons and during 2020–2024; combining the best model-based forecasts with expert projections improves accuracy by 7.2% overall and 16.7% in that period.
AI summary

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.



https://www.bundesbank.de/en/publications/research/discussion-papers/machine-learning-meets-expert-judgment-forecasting-german-government-expenditures-1016070