MacroVAE: Counterfactual Financial Scenario Generation via Macroeconomic Conditioning

How would a portfolio perform under alternative macroeconomic conditions? Traditional scenario analysis in finance relies heavily on historical data, thus limiting risk assessment under rare or unobserved macroeconomic environments. We introduce MacroVAE, a variational autoencoder that generates realistic return sequences based on macroeconomic indicators to enable counterfactual scenario analysis. Trained on historical futures returns and macroeconomic data from global economies, MacroVAE generates return sequences conditioned on specified macroeconomic scenarios. The model uses convolutional ResNet blocks with Feature-wise Linear Modulation for stable macroeconomics-driven generation. In rolling out-of-sample evaluation, MacroVAE outperforms state-of-the-art generative baselines in replicating empirical distributions and financial stylized facts. We demonstrate two applications: counterfactual scenario analysis under alternative macroeconomic conditions, and forward-looking stress testing across diverse inflation-growth combinations, including ones rarely or not observed historically. MacroVAE enables systematic exploration of macroeconomic conditions, expanding the toolkit for portfolio risk management.

Authors

Institutions

Publication Details

Published
2025-11-14
DOI
https://doi.org/10.1145/3768292.3770360
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MacroVAE: Counterfactual Financial Scenario Generation via Macroeconomic Conditioning

Tillman Weyde, Szymon Kubiak, O.A. Galkin, Daniel Philps et al.
Stock Market Forecasting Methods
article

MacroVAE: Counterfactual Financial Scenario Generation via Macroeconomic Conditioning

Tillman Weyde, Szymon Kubiak, O.A. Galkin, Daniel Philps, Ram Gopal
article en

Abstract

How would a portfolio perform under alternative macroeconomic conditions? Traditional scenario analysis in finance relies heavily on historical data, thus limiting risk assessment under rare or unobserved macroeconomic environments. We introduce MacroVAE, a variational autoencoder that generates realistic return sequences based on macroeconomic indicators to enable counterfactual scenario analysis. Trained on historical futures returns and macroeconomic data from global economies, MacroVAE generates return sequences conditioned on specified macroeconomic scenarios. The model uses convolutional ResNet blocks with Feature-wise Linear Modulation for stable macroeconomics-driven generation. In rolling out-of-sample evaluation, MacroVAE outperforms state-of-the-art generative baselines in replicating empirical distributions and financial stylized facts. We demonstrate two applications: counterfactual scenario analysis under alternative macroeconomic conditions, and forward-looking stress testing across diverse inflation-growth combinations, including ones rarely or not observed historically. MacroVAE enables systematic exploration of macroeconomic conditions, expanding the toolkit for portfolio risk management.

St George's, University of London (GB), University of Warwick (GB), City St George's, University of London (GB)
Openalex Percentile: Top 60%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.