LLM-Generated Counterfactual Stress Scenarios for Portfolio Risk Simulation via Hybrid Prompt-RAG Pipeline
–arXiv.org Artificial Intelligence
We develop a transparent and fully auditable LLM-based pipeline for macro-financial stress testing, combining structured prompting with optional retrieval of country fundamentals and news. The system generates machine-readable macroeconomic scenarios for the G7, which cover GDP growth, inflation, and policy rates, and are translated into portfolio losses through a factor-based mapping that enables Value-at-Risk and Expected Shortfall assessment relative to classical econometric baselines. Across models, countries, and retrieval settings, the LLMs produce coherent and country-specific stress narratives, yielding stable tail-risk amplification with limited sensitivity to retrieval choices. Comprehensive plausibility checks, scenario diagnostics, and ANOVA-based variance decomposition show that risk variation is driven primarily by portfolio composition and prompt design rather than by the retrieval mechanism. The pipeline incorporates snapshotting, deterministic modes, and hash-verified artifacts to ensure reproducibility and auditability. Overall, the results demonstrate that LLM-generated macro scenarios, when paired with transparent structure and rigorous validation, can provide a scalable and interpretable complement to traditional stress-testing frameworks.
arXiv.org Artificial Intelligence
Dec-10-2025
- Country:
- Asia > Japan (0.05)
- Europe
- France (0.05)
- Germany (0.04)
- Italy > Tuscany
- Pisa Province > Pisa (0.04)
- Portugal > Guarda
- Guarda (0.04)
- Switzerland > Basel-City
- Basel (0.04)
- United Kingdom (0.04)
- North America
- Canada (0.05)
- United States > New York
- Kings County > New York City (0.04)
- New York County > New York City (0.04)
- Genre:
- Research Report > New Finding (1.00)
- Industry:
- Banking & Finance
- Government (1.00)
- Technology: