Causal-DFM: Diffusion-Based Causal-Invariant Dynamic Factor Model for Stock Return Prediction
Zihao Yin, Yihan He, Xinghan Qin, Jia Ren, Saiji Fu, Xiaokang Wang
Abstract
Stock return prediction is highly sensitive to market regime shifts, such as bull-bear transitions, financial crises, and monetary policy cycles, where statistical relationships between observed features and returns can change abruptly. While recent deep learning-based factor models achieve strong performance in relatively stable periods, they often rely on correlations that are specific to historical market environments, causing learned patterns to break down when the market enters a different regime and leading to severe out-of-distribution (OOD) degradation. To address this challenge, we propose the Causal-Invariant Dynamic Factor Model (Causal-DFM), a causality-inspired factor-based framework that encourages compact and stable return-relevant representations while suppressing environment-dependent variations, thereby improving robustness under distribution shift. Concretely, Causal-DFM couples a conditional diffusion factor prior that captures regime-varying market dynamics with an Information-Bottleneck-regularized Transformer state encoder that distills a compact, return-predictive representation, suppressing spurious regime-specific signals while preserving the most informative content for prediction. The diffusion component provides a flexible generative mechanism for systematic market factors, while the Information Bottleneck regularization is implemented via an auxiliary return-prediction proxy that encourages the learned representation to be highly predictive yet capacity-controlled. We further present an information-theoretic analysis that motivates this objective and clarifies the conditions under which the learned representation can align with stable return mechanisms across environments. Empirical results on real-world stock datasets demonstrate that Causal-DFM consistently outperforms strong baselines, with particularly pronounced gains during regime transitions and crisis periods, highlighting its effectiveness in mitigating regime-induced OOD failures. The source code is available at https://github.com/bjtu-yzh/Causal-DFM.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get ee69cf65-c2f7-44eb-bb36-e058dd9ec63eRelated papers
- Integrating Inductive Biases in Transformers via Distillation for Financial Time Series ForecastingYu-Chen Den, Kuan-Yu Chen, Kendro Vincent, Tien-Hao ChangKDD 2026 · 1 citation
- Graph Representation Learning via Causal Diffusion for Out-of-Distribution RecommendationChu Zhao, Enneng Yang, Yuliang Liang, Pengxiang Lan et al.WWW 2025 · 21 citations
- Invariance Principle Meets Information Bottleneck for Out-of-Distribution GeneralizationKartik Ahuja, Ethan Caballero, Dinghuai Zhang, Jean-Christophe Gagnon-Audet et al.NeurIPS 2021 · 372 citations
- Towards Robust and Adaptive Motion Forecasting: A Causal Representation PerspectiveYuejiang Liu, Riccardo Cadei, Jonas Schweizer, Sherwin Bahmani et al.CVPR 2022 · 44 citations
- Specify Robust Causal Representation from Mixed ObservationsMengyue Yang, Xinyu Cai, Furui Liu, Weinan Zhang et al.KDD 2023 · 2 citations
