Quant-Safe Explainable Artificial Intelligence for Dynamic Portfolio Management A Reproducible, Leakage-Resistant ML + SHAP Framework with Execution-Grade Accounting Logs
Preprint
- 22 January 2026
- preprint
- Published by MDPI AG in Preprints.org
Abstract
Machine learning (ML) backtests in finance frequently overstate performance due to data leakage, non-point-in-time features, and evaluation procedures that inadvertently incorporate future information. This paper proposes a leakage-resistant, reproducible, and deployment-oriented framework, the Quant-Safe architecture, combining (i) point-in-time feature engineering with explicit reporting lags, (ii) walk-forward evaluation with out-of-sample (OOS) explainability, and (iii) a robust portfolio translation layer with transaction- cost modeling and execution-grade accounting logs. We validate the framework on the Dow Jones Industrial Average (DJI) constituent universe over 2015-2025, using gradient-boosted trees and Shapley Additive Explanations (SHAP) to demonstrate that macro regime variables (e.g., interest-rate proxies) become dominant drivers during stress periods. The primary contribution is an engineering methodology enabling other researchers to reproduce, extend, and audit financial ML results with explicit controls against common failure modes.Keywords
All Related Versions
This publication has 5 references indexed in Scilit:
- Deep Learning in Characteristics-Sorted Factor ModelsJournal of Financial and Quantitative Analysis, 2023
- The probability of backtest overfittingJournal of Computational Finance, 2016
- Risk Parity, Maximum Diversification,and Minimum Variance: An Analytic PerspectiveThe Journal of Portfolio Management, 2013
- Optimal execution of portfolio transactionsJournal of Risk, 2001
- The Stationary BootstrapJournal of the American Statistical Association, 1994