We analyze the intergenerational consequences of rare disasters in a calibrated overlapping generations model featuring realistic household portfolios and equilibrium asset prices. Households own houses and trade in bonds and equity. In a disaster, young households suffer from reduced labor income and tightened borrowing constraints. Older households lose a large portion of their savings invested in risky assets. The relative winners are households shortly before retirement, who have a more stable labor income, are not borrowing constrained, and young enough to benefit from large returns of assets purchased during the disaster at depressed prices. In order to solve the model, we advance contemporary deep learning based solution methods along two complementary dimensions. First, we introduce an economics-inspired neural network architecture that, by construction, ensures that market clearing conditions are always satisfied. Second, we illustrate how to solve models with multiple assets by introducing them step-wise into the economy. These two innovations enable us to reduce the number of equilibrium conditions, which are not fulfilled exactly, and to  substantially improve the stability of the training algorithm.

Supplementary material: Recording of the presentation at the DSE 2023 conference, method part only, on youtube,  recordings of overview presentations at the ACM EC-24 conference at Yale University and the  SUERF, ECB, Bank of Finland and Bank of Italy Workshop on the Use of AI in Economic Modelling and Forecasting  workshop.
Links to a previous version, including only the methodological part:  arxiv , ssrn.

Presented at: Reading Group, * UPenn (2022); CERGE-EI,* Prague (2023); Advances in Computational Economics and Finance,* UZH (2023); CEF Conference,* Nice (2023); DSE Conference, Lausanne (2023); EEA-ESEM Conference,* Barcelona (2023); Math Seminar,* ETH Zurich; Brown Bag Seminar, John Hopkins University (2023); Macro Lunch Seminar, UPenn (2023); Seminar, Toronto Metropolitan University (2024); Seminar, University of Copenhagen (2024); Seminar, University of North Carolina at Chapel Hill, (2024); Seminar, ESSEC Paris (2024); Seminar, IE Madrid (2024); Seminar, University of Sussex (2024); Seminar, National University of Singapore, (2024); SUERF, ECB, Bank of Finland and Bank of Italy Workshop on the Use of AI in Economic Modelling and Forecasting, (recording available on youtube, 2024); SED conference,* Barcelona (2024); ACM EC conference, Yale University (2024); ESIF AI+ML Conference, Cornell University (2024); Seminar, Wake Forest University (2024); SITE conference, Stanford (2024); SEA Conference, DC (2024); Seminar, University of Waterloo (2025); Seminar, Arizona State University (2025); T2M conference,* Paris (2025); SED conference,* University of Copenhagen (2025).