Explainable Machine Learning for Detecting Irregular Patterns in Corporate Bond Markets
Corporate bond markets periodically display irregular behavior, ranging from abrupt spread repricing to breakdowns in the usual relations between rating segments and Treasury yields, while the indicators used for monitoring are mostly univariate and say little about why a market state is unusual. This paper develops an explainable machine-learning framework that detects such irregular patterns and attributes each alarm to its economic drivers. Using daily U.S. data from 1999 to 2024 on ICE BofA high-yield and BB option-adjusted spreads, Moody’s seasoned Aaa and Baa yield spreads, and Treasury yields, fifteen trailing-window features are organized into five interpretable families. An Isolation Forest is re-estimated annually in a walk-forward design and compared with six baseline detectors, including a spread z-score rule. Alarms are explained with exact TreeSHAP attributions aggregated to feature families and summarized by a depth-three surrogate tree. Against 14 documented stress episodes over 2004–2024, the detector reaches an AUC-PR of 0.546 and an alarm precision of 0.715 at a false-alarm rate of 1.7%, and it attains the highest mean AUC (0.935) on four types of injected irregularities. The explanations separate episodes by mechanism: the 2013 taper tantrum is dominated by rates–credit linkage features, the COVID-19 shock by spread volatility and momentum, and the 2008 Bear Stearns episode by cross-segment dislocation. The surrogate rules reproduce the alarms of the detector with 98.1% accuracy.
Authors
- Davide Marchetti (ORCID: https://orcid.org/0000-0002-7609-9671)
- Francesca Romano (ORCID: https://orcid.org/0000-0001-9312-0607)
- Lorenzo Bianchi
- Elena Conti
Institutions
- University of Pisa (IT)
- University of Milan (IT)
Publication Details
- Journal
- Journal of Mathematical Finance and Risk Management
- Published
- 2026-11-24
- DOI
- https://doi.org/10.54097/1w0bda32
- Primary Topic
- Credit Risk and Financial Regulations
- Type
- article
- Field-Weighted Citation Impact
- 0.00