跳到正文
arXiv cs.AI· Masoud Soleimani·· 14 小时前AI 评分25

基于混合 Prompt-RAG 流水线的 LLM 生成反事实压力情景用于组合风险模拟

LLM-Generated Counterfactual Stress Scenarios for Portfolio Risk Simulation via Hybrid Prompt-RAG Pipeline

AI 导读

研究构建了一套透明可审计的 LLM 流水线,通过结构化提示词与可选的检索增强生成 G7 宏观情景,再经三通道 PCA 因子模型转化为组合损失。

正文 · 原文

View PDF HTML (experimental)

Abstract:We develop a transparent, auditable large language model (LLM) pipeline for macro-financial stress testing. Structured prompting, with optional retrieval of country fundamentals and news, emits G7 macroeconomic scenarios (GDP growth, inflation, policy rate), which are converted into deviations from an IMF World Economic Outlook baseline and translated into portfolio losses through a three-channel PCA factor model. The macro-to-factor mapping is stipulated rather than estimated, so every tail-risk multiple is conditional on stated assumptions. Across 2,420 accepted scenarios from two model families and three runs, plus an unanchored-severity run and eight risk-layer ablations, we find three things. First, severity is inherited from scenario design, not generated by the model: prompt variant dominates every variance decomposition, removing the prompted severity bands makes GPT-5.6-luna's recession 1.6 pp milder, apparent country heterogeneity largely reflects the institutional baseline, and retrieval and news matter only where the prompt leaves magnitude free. Second, numerical severity and narrative severity are only weakly coupled. Third, GPT-5.6-luna follows its own arithmetic but anchors on prompted bands, whereas Llama-3.1-8B is four to seven times more dispersed and contradicts its own stated changes in 90% of cases. A repeat run differs at the scenario level yet agrees on aggregate multiples to within 0.007 times. LLM scenario generators are best used for narrative and sector elicitation around a prescribed severity path, not as autonomous calibrators of stress magnitude.
Comments: 30 pages, 8 figures, 19 tables
Subjects: Risk Management (q-fin.RM); Artificial Intelligence (cs.AI); Econometrics (econ.EM)
Cite as: arXiv:2512.07867 [q-fin.RM]
  (or arXiv:2512.07867v2 [q-fin.RM] for this version)
  https://doi.org/10.48550/arXiv.2512.07867

arXiv-issued DOI via DataCite

Submission history

From: Masoud Soleimani [view email]
[v1] Wed, 26 Nov 2025 19:29:22 UTC (1,357 KB)
[v2] Sun, 25 Oct 2026 22:04:57 UTC (1,172 KB)

来源:arXiv cs.AI · arxiv.org