Andreas Schaab
HomeResearchAbout Deutsch
Menu
HomeResearchAbout Deutsch
Andreas Schaab
Assistant Professor of Economics
University of California, Berkeleyschaab@berkeley.edu
CVPDF Google Scholar↗
Faculty Research Fellow, NBER (EFG)
Research Affiliate, CEPR
Affiliate Member, CESifo
schaab@berkeley.edu

Research

Working papersJournal publicationsEarlier working papersOther publicationsCode

Working papers

Structural Macroeconomics with AI Agents With Antonio Coppola
PDF Online Appendix

We propose a method for estimating and simulating dynamic structural models in which the rational-expectations decision rule is replaced by the forward pass of a pre-trained large language model. We consider a calibrated two-asset life-cycle model of consumption and saving with unemployment risk. We hold the economic environment and estimation targets strictly fixed, while replacing the optimizing policy of a rational household with that of a frozen, pre-trained language model, which we call an AI agent. We benchmark the resulting estimation against the model’s rational-expectations solution. Frontier language models match standard life-cycle and cross-sectional untargeted moments, while jointly reproducing a set of empirical consumption puzzles that the rational benchmark misses. These include the spending cliff at unemployment-benefit exhaustion, large marginal propensities to consume out of large windfalls, excess sensitivity to anticipated payments, source-dependence of consumption behavior, and widespread pre-retirement withdrawals from retirement accounts. We show that AI agents are able to match these empirical regularities simultaneously in a single calibrated economy disciplined only by static balance-sheet moments, with no parameters or prompts fit to any of the spending responses. We apply the model to evaluate counterfactual reforms to the design of social insurance, a setting where the rational model’s poor empirical fit to the governing empirical moments limits its applicability.

@unpublished{coppola2026structural,
  author = {Antonio Coppola and Andreas Schaab},
  title = {{Structural Macroeconomics with AI Agents}},
  year = {2026},
  note = {Working paper}
}
Nov 2026
A Dynamic Theory of Optimal Tariffs With Eduardo Dávila, Andrés Rodríguez-Clare and Stacy Yingqi Tan
PDF

We study optimal tariffs when markets are incomplete. Incomplete markets change how Foreign’s trade responds to prices over time and how Home values the timing of that trade. The second effect is a new motive for tariffs, which we call trade liquidity. In a quantitative model with heterogeneous households and a production network, the optimal tariff starts far below its complete-markets level and takes decades to reach a higher long-run level. The incidence of tariffs across households explains the low tariffs of the first year, and trade liquidity explains why lower tariffs remain attractive for decades.

@unpublished{davila2026dynamic,
  author = {Eduardo D{\'a}vila and Andr{\'e}s Rodr{\'i}guez-Clare and Andreas Schaab and Stacy Yingqi Tan},
  title = {{A Dynamic Theory of Optimal Tariffs}},
  year = {2026},
  note = {Working paper}
}
Nov 2026
The Macroeconomic Effect of AI: Sizing the Software Engineering Channel With Alex Blumenfeld, Jonathon Hazell and Chen Lian
PDF Supplementary AppendixAdditional Materials

We measure how artificial intelligence (AI) affects the economy through its impact on software engineering productivity. We use information from financial markets to develop a forward-looking measure that is available in real time. We estimate the sensitivity of each firm’s stock return to an AI stock market index, and how this sensitivity depends on the share of firm payroll in software engineering. We use a model to map this cross-sectional relationship into software engineering productivity gains. From November 2022 to December 2025, AI increased the market’s expected present value of software engineering productivity by the equivalent of a permanent 32.6% productivity increase. The corresponding effect on the level of GDP is 3.6% in the baseline and 6.5% when higher software engineering productivity also raises R&D productivity. By mid-2026, amid rapid progress in coding agents, the effect of AI on productivity and GDP had more than doubled relative to the end of 2025.

@unpublished{blumenfeld2026macroeconomic,
  author = {Alex Blumenfeld and Jonathon Hazell and Chen Lian and Andreas Schaab},
  title = {{The Macroeconomic Effect of AI: Sizing the Software Engineering Channel}},
  year = {2026},
  note = {Working paper}
}
Sep 2026
Structural Reinforcement Learning for Heterogeneous Agent Macroeconomics With Yucheng Yang, Chiyuan Wang and Benjamin Moll
PDF arXivSlidesTutorial and code (GitHub)

We present a new approach to formulating and solving heterogeneous agent models with aggregate risk. We replace the cross-sectional distribution with low-dimensional prices as state variables and let agents learn equilibrium price dynamics directly from simulated paths. To do so, we introduce a structural reinforcement learning (SRL) method which treats prices via simulation while exploiting agents’ structural knowledge of their own individual dynamics. Our SRL method yields a general and highly efficient global solution method for heterogeneous agent models that sidesteps the Master equation and handles models traditional methods struggle with, like those with nontrivial market-clearing conditions. We illustrate the approach in the Krusell-Smith model, the Huggett model with aggregate shocks, and a HANK model with a forward-looking Phillips curve, all of which we solve globally within minutes.

@unpublished{yang2026structural,
  author = {Yucheng Yang and Chiyuan Wang and Andreas Schaab and Benjamin Moll},
  title = {{Structural Reinforcement Learning for Heterogeneous Agent Macroeconomics}},
  year = {2026},
  note = {Working paper}
}
Mar 2026
Monetary and Fiscal Policy According to HANK-IO With Stacy Yingqi Tan
PDF

This paper studies monetary and fiscal policy transmission in a multi-sector heterogeneous-agent New Keynesian model with an input-output network (“HANK-IO”). We document systematic household-sector linkages in micro data and calibrate our model to match them. To identify when these linkages have implications for policy transmission, we analytically characterize an as-if benchmark that features a strict decoupling between household and sectoral heterogeneity. Away from this benchmark, novel earnings and expenditure heterogeneity channels emerge that govern the propagation of demand and supply shocks. Quantitatively, these channels shape the transmission of stabilization policy to aggregates, as well as its distributional and sectoral consequences.

@unpublished{schaab2025monetary,
  author = {Andreas Schaab and Stacy Yingqi Tan},
  title = {{Monetary and Fiscal Policy According to HANK-IO}},
  year = {2025},
  note = {Working paper}
}
Dec 2025
Intergenerational Welfare Assessments With Sergi Barcons and Eduardo Dávila
PDF

This paper studies welfare assessments in economies with rich demographics. We introduce the notion of demographically disconnected economies, those with no date at which all individuals are concurrently alive. We identify the unique class of units that always enables meaningful welfare comparisons in such economies: those based on perpetual consumption, that is, consumption at all dates. Using these units, we uncover a novel possibility: feasible perturbations of Pareto efficient allocations can yield Kaldor-Hicks efficiency gains. We also introduce a decomposition that attributes intertemporal-sharing efficiency gains to financial frictions or demographic differences. These results allow us to derive new insights in three workhorse intergenerational models: (i) Samuelson (1958) two-date-life model, offering a novel rationale for social security; (ii) Diamond (1965) growth model, providing a new theory for capital taxation and capital over-/under-accumulation; and (iii) Samuelson (1958) three-date-life model, decomposing the efficiency gains from intergenerational transfers into frictional and demographic sources.

@unpublished{barcons2025intergenerational,
  author = {Sergi Barcons and Eduardo D{\'a}vila and Andreas Schaab},
  title = {{Intergenerational Welfare Assessments}},
  year = {2025},
  note = {Working paper}
}
Dec 2025
Welfare Accounting Revise and resubmit, Review of Economic Studies. With Eduardo Dávila
PDF

This paper identifies and quantifies the origins of welfare gains in economies with heterogeneous individuals and disaggregated production. It does so by introducing a welfare accounting decomposition — exclusively based on preferences, technologies, and resource constraints — that systematically computes the contribution to efficiency of i) changes in allocations and ii) primitive changes in technologies and endowments, both through exchange and production. We leverage the decomposition to provide a new characterization of efficiency conditions that carefully accounts for binding non-negativity constraints, in particular with pure intermediate goods, extending classical efficiency results. In competitive economies, the welfare accounting decomposition can be expressed in terms of prices (and wedges), which allows us to characterize a new converse Hulten’s theorem and a generalized Hulten’s theorem. We present four applications to workhorse models in macroeconomics: i) the Armington model, ii) the Diamond-Mortensen-Pissarides model, iii) the Hsieh-Klenow model, and iv) a multi-sector heterogeneous-agent New-Keynesian model.

@unpublished{davila2025accounting,
  author = {Eduardo D{\'a}vila and Andreas Schaab},
  title = {{Welfare Accounting}},
  year = {2025},
  note = {Revise and resubmit, Review of Economic Studies}
}
Oct 2025
Time Inconsistency with Heterogeneous Agents With Eduardo Dávila
PDF

This paper studies the time inconsistency of policy in heterogeneous agent economies, where the need to aggregate individual welfare gains creates a distinct source of time inconsistency. We establish that welfare and efficiency assessments are time inconsistent for different reasons, even when agents have identical preferences and when no inconsistency would emerge if individual welfare gains were considered in isolation. Only utilitarian social welfare functions ensure that welfare assessments are time-consistent. In turn, it is impossible to always have time-consistent efficiency assessments that satisfy the compensation principle and are useful to define Pareto frontiers when markets are incomplete. As a result, even when optimal policy is time-consistent, its justification on grounds of efficiency and redistribution changes as time passes and uncertainty is realized. We characterize these forces in a general dynamic stochastic environment and illustrate their policy relevance through applications to anticipated relief policies, insurance, aggregate investment, and labor taxation.

@unpublished{davila2025time,
  author = {Eduardo D{\'a}vila and Andreas Schaab},
  title = {{Time Inconsistency with Heterogeneous Agents}},
  year = {2025},
  note = {Working paper}
}
Sep 2025
Optimal Monetary Policy with Heterogeneous Agents: Discretion, Commitment, and Timeless Policy Revise and resubmit, American Economic Review. With Eduardo Dávila
PDF

This paper characterizes optimal monetary policy in a canonical heterogeneous-agent New Keynesian (HANK) model with wage rigidity. Under discretion, a utilitarian planner faces the incentive to redistribute towards indebted, high marginal utility households, which is a new source of inflationary bias. With commitment, i) zero inflation is the optimal long-run policy, ii) time-consistent policy requires both inflation and distributional penalties, and iii) the planner trades off aggregate stabilization against distributional considerations, so Divine Coincidence fails. We compute optimal stabilization policy in response to productivity, demand, and cost-push shocks using sequence-space methods, which we extend to Ramsey problems and welfare analysis.

@unpublished{davila2023optimal,
  author = {Eduardo D{\'a}vila and Andreas Schaab},
  title = {{Optimal Monetary Policy with Heterogeneous Agents: Discretion, Commitment, and Timeless Policy}},
  year = {2023},
  note = {Revise and resubmit, American Economic Review}
}
Oct 2023

Journal publications

Welfare Assessments with Heterogeneous Individuals Journal of Political Economy, 133(9): 2918–2961. With Eduardo Dávila
PDF Journal

This paper introduces a decomposition of welfare assessments for general dynamic stochastic economies with heterogeneous individuals. The decomposition is based on constructing individual, dynamic, and stochastic weights that characterize how welfarist planners make tradeoffs across individuals, dates, and histories. Guided by the compensation principle, it initially decomposes a welfare assessment into an efficiency and a redistribution component, while the efficiency component is further decomposed into i) aggregate efficiency, ii) risk-sharing, and iii) intertemporal-sharing components. Five minimal examples and three applications illustrate the properties of the decomposition and how it can be used to draw normative conclusions in specific scenarios.

@article{davila2025assessments,
  author = {Eduardo D{\'a}vila and Andreas Schaab},
  title = {{Welfare Assessments with Heterogeneous Individuals}},
  journal = {Journal of Political Economy},
  year = {2025},
  volume = {133},
  number = {9},
  pages = {2918--2961},
  doi = {10.1086/736211}
}
Sep 2025
Bail-Ins, Optimal Regulation, and Crisis Resolution Review of Financial Studies, 38(9): 2810–2843. With Christopher Clayton
PDF Journal

We develop a tractable dynamic contracting framework to study bank bail-in regimes. In the presence of a repeated monitoring problem, the optimal bank capital structure combines standard debt, which induces liquidation and provides strong incentives, and bail-in debt, which restores solvency but provides weaker incentives. When there are fire sales, optimal policy entails joint regulation: a bail-in regime reduces standard debt while leverage regulation reduces total debt. Bail-ins replace bailouts as a recapitalization tool.

@article{clayton2025bailins,
  author = {Christopher Clayton and Andreas Schaab},
  title = {{Bail-Ins, Optimal Regulation, and Crisis Resolution}},
  journal = {Review of Financial Studies},
  year = {2025},
  volume = {38},
  number = {9},
  pages = {2810--2843},
  doi = {10.1093/rfs/hhaf002}
}
Sep 2025
A Theory of Dynamic Inflation Targets American Economic Review, 115(2): 448–490. With Christopher Clayton
PDF Journal

Should central banks’ inflation targets remain set in stone? We study a dynamic mechanism design problem between a government (principal) and a central bank (agent). The central bank has persistent private information about structural shocks. Firms learn the state from the central bank’s reports and form inflation expectations. A dynamic inflation target implements the full-information commitment allocation. The central bank is delegated the authority to adjust the level and flexibility of its target as long as it does so one period in advance. All history dependence of the mechanism is summarized by the current period’s target. We show that a declining natural interest rate and a flattening Phillips curve imply opposite optimal target adjustments. We leverage our framework to study longer-horizon time consistency problems and speak to practical policy questions of inflation target design.

@article{clayton2025dynamic,
  author = {Christopher Clayton and Andreas Schaab},
  title = {{A Theory of Dynamic Inflation Targets}},
  journal = {American Economic Review},
  year = {2025},
  volume = {115},
  number = {2},
  pages = {448--490},
  doi = {10.1257/aer.20230496}
}
Feb 2025
Multinational Banks and Financial Stability Quarterly Journal of Economics, 137(3): 1681–1736. With Christopher Clayton
PDF Journal

We study the scope for international cooperation in macroprudential policies. Multinational banks contribute to and are affected by fire sales in countries they operate in. National governments setting quantity regulations non-cooperatively fail to achieve the globally efficient outcome, under-regulating domestic banks and over-regulating foreign banks. Surprisingly, non-cooperative national governments using revenue-generating Pigouvian taxation can achieve the global optimum. Intuitively, this occurs because governments internalize the business value of foreign banks through the tax revenue collected. Our theory provides a unified framework to think about international bank regulations and yields concrete insights with the potential to improve on the current policy stance.

@article{clayton2022multinational,
  author = {Christopher Clayton and Andreas Schaab},
  title = {{Multinational Banks and Financial Stability}},
  journal = {Quarterly Journal of Economics},
  year = {2022},
  volume = {137},
  number = {3},
  pages = {1681--1736},
  doi = {10.1093/qje/qjac002}
}
Aug 2022

Earlier working papers

Dynamic Programming in Continuous Time with Adaptive Sparse Grids With Allen T. Zhang
PDF

This paper proposes a new approach to dynamic programming in continuous time using adaptive sparse grids. The standard finite-difference method, used to solve differential equations on uniform grids, fails on sparse grids. Our paper presents a sparse finite-difference method that leads to consistent solutions on a broad class of non-uniform grids. We demonstrate the power and versatility of our approach across a wide range of economic applications that feature high-dimensional state spaces, occasionally-binding constraints, life-cycles and overlapping generations, kinks and non-convexities, discrete choice, free boundaries, and dynamic games. A code repository accompanies this paper and provides a general-purpose library to solve continuous-time dynamic programming problems on adaptive sparse grids.

@unpublished{schaab2022dynamic,
  author = {Andreas Schaab and Allen T. Zhang},
  title = {{Dynamic Programming in Continuous Time with Adaptive Sparse Grids}},
  year = {2022},
  note = {Working paper}
}
May 2022
Micro and Macro Uncertainty
PDF

Uncertainty rises sharply during economic downturns at both the micro and macro level. Leveraging a new solution method, I study the interaction between micro and macro uncertainty in a globally solved Heterogeneous Agent New Keynesian (HANK) model with aggregate risk, counter-cyclical unemployment risk, and a zero lower bound (ZLB) constraint on monetary policy. The interaction with micro uncertainty emerges as the dominant transmission channel of macro uncertainty. The overall effect of uncertainty on economic activity is substantially amplified. My model also generates endogenous spikes in uncertainty during bad times as the economy is pushed towards the ZLB. In general equilibrium, a feedback loop emerges that gives rise to an “Uncertainty Multiplier”: A contraction in economic activity spurs endogenous uncertainty about the future, which depresses aggregate demand further. The model matches the skewness and kurtosis exhibited by macro uncertainty in the data even in the absence of exogenous second-moment shocks. The interplay between micro and macro uncertainty has ramifications for the nature of zero lower bound spells, the welfare cost of business cycles, and the effectiveness of stabilization policy.

@unpublished{schaab2020micro,
  author = {Andreas Schaab},
  title = {{Micro and Macro Uncertainty}},
  year = {2020},
  note = {Working paper}
}
Nov 2020

Other publications

Sparse Grids for Dynamic Economic Models Oxford Research Encyclopedia of Economics and Finance. With Johannes Brumm, Christopher Krause and Simon Scheidegger
PDF Publisher

Solving dynamic economic models that capture salient real-world heterogeneity and non-linearity requires the approximation of high-dimensional functions. As their dimensionality increases, compute time and storage requirements grow exponentially. Sparse grids alleviate this curse of dimensionality by substantially reducing the number of interpolation nodes, that is, grid points needed to achieve a desired level of accuracy. The construction principle of sparse grids is to extend univariate interpolation formulae to the multivariate case by choosing linear combinations of tensor products in a way that reduces the number of grid points by orders of magnitude relative to a full tensor-product grid and doing so without substantially increasing interpolation errors. The most popular versions of sparse grids used in economics are (dimension-adaptive) Smolyak sparse grids that use global polynomial basis functions, and (spatially-adaptive) sparse grids with local basis functions. The former can economize on the number of interpolation nodes for sufficiently smooth functions, while the latter can also handle non-smooth functions with locally distinct behavior such as kinks. In economics, sparse grids are particularly useful for interpolating the policy and value functions of dynamic models with state spaces between two and several dozen dimensions, depending on the application. In discrete-time models, sparse grid interpolation can be embedded in standard time iteration or value function iteration algorithms. In continuous-time models, sparse grids can be embedded in finite-difference methods for solving partial differential equations like Hamilton-Jacobi-Bellman equations. In both cases, local adaptivity, as well as spatial adaptivity, can add a second layer of sparsity to the fundamental sparse-grid construction. Beyond these salient use-cases in economics, sparse grids can also accelerate other computational tasks that arise in high-dimensional settings, including regression, classification, density estimation, quadrature, and uncertainty quantification.

@incollection{brumm2022sparse,
  author = {Johannes Brumm and Christopher Krause and Andreas Schaab and Simon Scheidegger},
  title = {{Sparse Grids for Dynamic Economic Models}},
  booktitle = {Oxford Research Encyclopedia of Economics and Finance},
  year = {2022},
  publisher = {Oxford University Press},
  doi = {10.1093/acrefore/9780190625979.013.820}
}
Nov 2022
Central Bank Balance Sheets: Expansion and Reduction since 1900 Proceedings of the ECB Forum on Central Banking. With Niall Ferguson and Moritz Schularick
ECB Forum version CESifo working paper
@inproceedings{ferguson2014central,
  author = {Niall Ferguson and Andreas Schaab and Moritz Schularick},
  title = {{Central Bank Balance Sheets: Expansion and Reduction since 1900}},
  booktitle = {Proceedings of the ECB Forum on Central Banking},
  year = {2014},
  url = {https://www.ecb.europa.eu/press/conferences/ecbforum/shared/pdf/2014/ferguson_paper.pdf}
}

Media: Wall Street Journal, Central Banking

May 2014

Code

SRL Structural reinforcement learning tutorials (JAX). With Yucheng Yang, Chiyuan Wang and Benjamin Moll. Python.
DS-Weights Welfare Assessments with Heterogeneous Individuals. With Eduardo Dávila. MATLAB.
SparseEcon Dynamic programming toolbox. With Allen T. Zhang. MATLAB.
SparseGridsForDynamicEcon Code accompanying the Oxford Research Encyclopedia article. With Johannes Brumm, Christopher Krause and Simon Scheidegger. Python, MATLAB.
Updated December 2026