Explainable Machine Learning for Detecting Irregular Patterns in Corporate Bond Markets
DOI:
https://doi.org/10.54097/1w0bda32Keywords:
Corporate bonds, credit spreads, anomaly detection, isolation forest, explainable artificial intelligence, Shapley valuesAbstract
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.
Downloads
References
[1] Zou, X., Wei, K., & Lu, Z. (2024). AEGIS: Calibrated anomaly-risk-driven checkpointing and proactive migration for fault-tolerant high-concurrency stream processing. Innovation and Technology Studies. DOI: https://doi.org/10.61784/its4031
[2] Shen, A., & Huang, S. (2022). A systems-aware framework for intelligent large-scale recommendation models. Journal of Computer Science and Electrical Engineering, 4(1), 36–44. DOI: https://doi.org/10.61784/jcsee4153
[3] Zhou, F., & Liu, W. (2026). Physics-anchored residual learning for ship fuel consumption and carbon dioxide emission prediction. Energy and AI, 100945. DOI: https://doi.org/10.1016/j.egyai.2026.100945
[4] Hu, X., Guo, L., Wang, J., & Liu, Y. (2025). Computational fluid dynamics and machine learning integration for evaluating solar thermal collector efficiency-based parameter analysis. Scientific Reports, 15, 24528. DOI: https://doi.org/10.1038/s41598-025-10212-w
[5] Ping, W., & Fan, H. (2024). Disclosure quality and valuation risk in Level 3 investments: A disclosure-implied risk framework for U.S. business development companies. Social Science and Management, 1(1), 78–87. DOI: https://doi.org/10.61784/ssm4096
[6] Chen, J., & Fan, H. (2025). Beyond automation in tax compliance through artificial intelligence and professional judgment. Frontiers in Business and Finance, 2(2), 399–418. DOI: https://doi.org/10.71465/fbf534
[7] Liu, Y., Ren, S., Wang, X., & Zhou, M. (2024). Temporal logical attention network for log-based anomaly detection in distributed systems. Sensors, 24(24), 7949. DOI: https://doi.org/10.3390/s24247949
[8] Wang, J., Liu, J., Ge, Y., & Jiang, B. (2023). Risk-aware ensemble learning for credit default prediction under economic uncertainty. World Journal of Economics and Business Research, 1(1), 18–32. DOI: https://doi.org/10.61784/wjebr4124
[9] Wang, Y., & Zhang, C. (2023). Aeris: Adaptive executor-scoped resource management for privacy-preserving data processing in Apache Spark. Eurasia Journal of Science and Technology, 5(2), 25–33. DOI: https://doi.org/10.61784/ejst4161
[10] Zhang, F., & Yang, J. S. (2025). Learning driven decision intelligence for autonomous driving through multimodal understanding world modeling and policy optimization. Frontiers in Artificial Intelligence Research, 2(3), 616–634. DOI: https://doi.org/10.71465/fair529
[11] Chen, J., Liang, Y., Liu, J., & Zhou, M. (2026). Temporal transformer with conditional tabular GAN for credit card fraud detection: A sequential deep learning approach. Mathematics, 14(7), 1183. DOI: https://doi.org/10.3390/math14071183
[12] Li, P., Ren, S., Zhang, Q., Wang, X., & Liu, Y. (2024). Think4SCND: Reinforcement learning with thinking model for dynamic supply chain network design. IEEE Access, 12, 195974–195985. DOI: https://doi.org/10.1109/ACCESS.2024.3521439
[13] Jiao, Y., & Liang, Y. (2024). An integrated process-mining and explainable machine-learning framework for bottleneck and internal-control risk detection in the multi-entity financial close. Social Science and Management, 1(3), 96–107. DOI: https://doi.org/10.61784/ssm4095
[14] Chen, X. (2023). Algorithmic bias and discrimination in AI-driven lending: A Rashomon-based audit of less discriminatory alternatives and adverse-action accountability. World Journal of Sociology and Law. DOI: https://doi.org/10.61784/wjsl4034
[15] Chen, J., Zhang, X., & Han, X. (2023). Explainable identification of tax-related financial reporting anomalies in U.S. public companies: Cross-fitted tax-consistency residuals and Owen-value Shapley propagation. World Journal of Economics and Business Research, 1(1), 33–45. DOI: https://doi.org/10.61784/wjebr4125
[16] Xing, S., & Wang, Y. (2025). Proactive data placement in heterogeneous storage systems via predictive multi-objective reinforcement learning. IEEE Access, 13, 117986–117998. DOI: https://doi.org/10.1109/ACCESS.2025.3586378
[17] Lu, Z., Zou, X., & Wei, K. (2022). Machine learning-based detection of BGP routing anomalies for enhanced network security and resilience: A hybrid multi-scale temporal learning approach. Journal of Computer Science and Electrical Engineering, 4(1), 62–71. DOI: https://doi.org/10.61784/jcsee4156
[18] Xing, S., Wang, Y., & Liu, W. (2025). Multi-dimensional anomaly detection and fault localization in microservice architectures: A dual-channel deep learning approach with causal inference for intelligent sensing. Sensors, 25(11), 3396. DOI: https://doi.org/10.3390/s25113396
[19] Li, P., Bian, M., & Lin, Y. (2026). Carbon-aware offline reinforcement learning for joint inventory replenishment and transportation scheduling in multi-echelon supply chains. Highlights in Business, Economics and Management, 69, 251–262. DOI: https://doi.org/10.54097/p40ecd94
[20] Xing, S., & Wang, Y. (2022). MCG: Marginal–conditional graph learning for joint anomaly detection and root cause localization in distributed cloud systems. Journal of Computer Science and Electrical Engineering, 4(1), 81–88. DOI: https://doi.org/10.61784/jcsee4158
[21] Fan, H., Jiao, Y., Wang, M., Chen, J., & Yang, S. (2026). Continual graph learning under strategic adversarial drift in dynamic networks. Scientific Reports. DOI: https://doi.org/10.1038/s41598-026-60997-7
[22] Yao, W. (2024). PrivTok-XR: Privacy-preserving real-time speech processing for accessible extended reality systems. Innovation and Technology Studies. DOI: https://doi.org/10.61784/its4032
[23] Chen, J., Cui, Y., Zhang, X., Yang, J., & Zhou, M. (2024). Temporal convolutional network for carbon tax projection: A data-driven approach. Applied Sciences, 14(20), 9213. DOI: https://doi.org/10.3390/app14209213
[24] He, X., & Zhou, L. (2024). Adaheal: An adaptive framework for fault detection and automated recovery in large-scale cloud-native microservices. AI and Data Science Journal, 1(1), 132–141. DOI: https://doi.org/10.61784/adsj4045
[25] Wang, B., Wang, Z., Zhao, W., & Liu, Y. (2025). Network fabric simulation and validation for data center routing convergence under large-scale failure scenarios. Computer Science Bulletin, 8(1), 310–326. DOI: https://doi.org/10.71465/csb164
[26] Xu, Q., & Zhu, R. (2024). CoSTAR: Explainable and cost-sensitive machine learning for tax-aware corporate fraud risk detection. Innovation and Technology Studies. DOI: https://doi.org/10.61784/its4029
[27] Lin, Y., Wang, Y., & Bian, M. (2024). XOR-EW: An explainable and cost-aware artificial intelligence framework for operational risk early warning in financial institutions. AI and Data Science Journal, 1(1), 94–102. DOI: https://doi.org/10.61784/adsj4041
[28] Liang, Y., & Jiao, Y. (2024). Real-time financial fraud detection using a feature-light temporal dynamic graph neural network with contrastive learning. Journal of Trends in Finance and Economics, 1(1), 76–84. DOI: https://doi.org/10.61784/jtfe4076
[29] Qin, Y., Rhee, M., Teng, D., Zhang, C., & Zi, B. (2026). Neuro-symbolic constraint verification for LLM-driven internet finance transaction execution. Scientific Reports. DOI: https://doi.org/10.1038/s41598-026-65233-w
[30] Li, P., Feng, E., Wang, G., & Mo, T. (2024). Hybrid deep reinforcement learning and integer optimization for resource scheduling in heterogeneous AI computing clusters. Innovation and Technology Studies, 1(1), 48–56. DOI: https://doi.org/10.61784/its4028
[31] Zhang, F., & Yang, J. (2022). Accuracy-aware model compression for real-time visual perception under resource constraints. Journal of Computer Science and Electrical Engineering, 4(1), 45–52. DOI: https://doi.org/10.61784/jcsee4154
[32] Wei, K., Lu, Z., & Zou, X. (2024). A scalable causal machine learning framework for data-driven decision optimization. AI and Data Science Journal, 1(1), 122–131. DOI: https://doi.org/10.61784/adsj4044
[33] Rhee, M., Zou, J., & Qin, Y. (2024). CLARITY: A closed loop framework for duplicate aware failure prediction and budgeted automated remediation in cloud infrastructure. AI and Data Science Journal, 1(1), 76–85. DOI: https://doi.org/10.61784/adsj4039
[34] Zhang, F., & Yang, J. (2024). Robustness-aware model compression for multimodal perception under challenging conditions. AI and Data Science Journal, 1(1), 103–111. DOI: https://doi.org/10.61784/adsj4042
[35] Xu, Q. (2023). Explainable machine learning for tax reporting anomaly detection and compliance risk assessment. World Journal of Economics and Business Research, 1(1), 56–66. DOI: https://doi.org/10.61784/wjebr4127
[36] Zou, J., Qin, Y., & Rhee, M. (2024). Beyond model scale: A task-aware reliability benchmark for large language models in clinical decision support. Innovation and Technology Studies, 1(1), 39–47. DOI: https://doi.org/10.61784/its4026
[37] Ren, S., Jin, J., Niu, G., & Liu, Y. (2025). ARCS: Adaptive reinforcement learning framework for automated cybersecurity incident response strategy optimization. Applied Sciences, 15(2), 951. DOI: https://doi.org/10.3390/app15020951
[38] Xing, S., Wang, Y., & Liu, W. (2025). Self-adapting CPU scheduling for mixed database workloads via hierarchical deep reinforcement learning. Symmetry, 17(7), 1109. DOI: https://doi.org/10.3390/sym17071109
[39] Sun, T., Yang, J., Li, J., Chen, J., Liu, M., Fan, L., & Wang, X. (2024). Enhancing auto insurance risk evaluation with transformer and SHAP. IEEE Access, 12, 116546–116557. DOI: https://doi.org/10.1109/ACCESS.2024.3446179
[40] Chen, J., Han, X., Zhang, X., & Yang, Y. (2023). Exact concept-level explanations for early detection of financial misstatements. Eurasia Journal of Science and Technology, 5(2), 34–48. DOI: https://doi.org/10.61784/ejst4162
[41] Liu, Y., Guo, L., Hu, X., & Zhou, M. (2025). Sensor-integrated inverse design of sustainable food packaging materials via generative adversarial networks. Sensors, 25(11), 3320. DOI: https://doi.org/10.3390/s25113320
[42] Qin, Y., Zou, J., & Rhee, M. (2022). An AI-driven intelligent transaction execution framework for internet finance platforms: Cost-sensitive real-time integrity interdiction. Eurasia Journal of Science and Technology, 4(2), 36–44. DOI: https://doi.org/10.61784/ejst4160
[43] Wang, J., Tan, Y., Jiang, B., Wu, B., & Liu, W. (2025). Dynamic marketing uplift modeling: A symmetry-preserving framework integrating causal forests with deep reinforcement learning for personalized intervention strategies. Symmetry, 17(4), 610. DOI: https://doi.org/10.3390/sym17040610
[44] Zhou, F. (2026). Moment-constrained side-force allocation for wind-assisted merchant ships: Hydrodynamic performance of retractable anti-leeway fins and flap rudders. Innovation and Technology Studies, 3(1), 27–41. DOI: https://doi.org/10.61784/its4027
[45] Ping, W., & Fan, H. (2023). Beyond isolated ratios: Accrual–revenue–cash flow indicators and interaction-aware learning for detecting financial reporting irregularities in U.S. public companies. World Journal of Economics and Business Research, 1(1), 46–55. DOI: https://doi.org/10.61784/wjebr4126
[46] Zhou, L., & He, X. (2022). Dependency-aware root cause analysis and automated fault recovery for cloud-native microservices. Journal of Computer Science and Electrical Engineering, 4(1), 72–80. DOI: https://doi.org/10.61784/jcsee4157
[47] Lin, Y., Yue, X., Bian, M., Zhu, R., & Teng, D. (2026). Subgraph-level temporal graph transformer with laundering-motif prototypes for anti-money laundering on blockchains. IEEE Access. DOI: https://doi.org/10.1109/ACCESS.2026.3731160
[48] Fan, H., & Chen, J. (2025). From ledgers to large language models in contemporary accounting practice. American Journal of Big Data, 6(5). DOI: https://doi.org/10.71465/ajbd3449
[49] Zhu, R., & Yue, X. (2024). An explainable machine learning framework for predicting dividend sustainability and financial risk of US REITs under interest-rate shocks. Journal of Trends in Finance and Economics, 1(2), 48–57. DOI: https://doi.org/10.61784/jtfe4077
[50] Zhang, F., & Wu, B. (2025). Large language models as general purpose intelligence systems for reasoning, planning and decision making. American Journal of Artificial Intelligence and Neural Networks, 6(4), 45–72. DOI: https://doi.org/10.71465/ajainn473
[51] Wang, G., Li, P., Feng, E., & Mo, T. (2024). Uncertainty-aware LLM-as-a-judge evaluation for reliable search and recommendation systems: Calibrated confidence and impact-aware selective human review. AI and Data Science Journal, 1(1), 112–121. DOI: https://doi.org/10.61784/adsj4043
[52] Chen, X. (2026). Can people challenge an AI decision? Measuring the contestability chain in law and corporate disclosure. AI and Ethics, 6(6), 642. DOI: https://doi.org/10.1007/s43681-026-01471-y
[53] Chen, X. (2024). Who is accountable for AI decisions? Rethinking legal liability and ethical responsibility through counterfactual harm apportionment. Innovation and Technology Studies. DOI: https://doi.org/10.61784/its4030
[54] Wang, J., Liu, J., Zheng, W., & Ge, Y. (2025). Temporal heterogeneous graph contrastive learning for fraud detection in credit card transactions. IEEE Access. DOI: https://doi.org/10.1109/ACCESS.2025.3599787
[55] Wang, J., Ge, Y., Liu, J., & Jiang, B. (2024). Early warning of liquidity stress in U.S. banks with seasonally aligned frailty hazards and delayed-feedback conformal alarms. Journal of Trends in Finance and Economics, 1(1), 85–100. DOI: https://doi.org/10.61784/jtfe4078
[56] Bian, M., Wang, Y., & Lin, Y. (2024). Explainable supplier risk prediction for critical telecommunications infrastructure procurement: An empirical XGBoost–SHAP framework. Social Science and Management, 1(1), 64–77. DOI: https://doi.org/10.61784/ssm4094
[57] Wang, Y., Bian, M., & Lin, Y. (2022). An explainable temporal graph neural network for disruption prediction and risk propagation in multi-tier supply chains. Journal of Computer Science and Electrical Engineering, 4(1), 17–25. DOI: https://doi.org/10.61784/jcsee4151
[58] Mo, T., Zhang, C., Zou, J., Guo, Z., & Rhee, M. (2026). Self-evolving AI agents with dual memory for automated software testing and bug localization. IEEE Access. DOI: https://doi.org/10.1109/ACCESS.2026.3713401
[59] Mo, T., Wang, G., Feng, E., & Li, P. (2023). Execution-feedback-guided context selection for large language model-based software testing and debugging. World Journal of Information and Knowledge Management, 1(1), 55–64. DOI: https://doi.org/10.61784/wjikm4029
[60] Wang, G., Li, P., Feng, E., Shen, A., & Rhee, M. (2026). A dual-process memory-augmented large language model agent for explainable sequential recommendation. IEEE Access. DOI: https://doi.org/10.1109/ACCESS.2026.3741894
[61] Ji, E., Wang, Y., Xing, S., & Jin, J. (2025). Hierarchical reinforcement learning for energy-efficient API traffic optimization in large-scale advertising systems. IEEE Access. DOI: https://doi.org/10.1109/ACCESS.2025.3598712
[62] Yao, W. (2022). Raptor: Risk-adaptive security and privacy-preserving transaction processing for large-scale mobile payment systems. Journal of Computer Science and Electrical Engineering, 4(1), 89–97. DOI: https://doi.org/10.61784/jcsee4159
[63] Wang, Y., & Xing, S. (2025). AI-driven CPU resource management in cloud operating systems. Journal of Computer and Communications, 13(6), 135–149. DOI: https://doi.org/10.4236/jcc.2025.136009
[64] Zhou, F. (2026). Spectral co-design of ship rudder geometry and heading autopilot for energy efficiency and manoeuvring safety. Transactions on Environment, Energy and Earth Sciences, 7, 158–181. DOI: https://doi.org/10.62051/bgsje749
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Journal of Mathematical Finance and Risk Management

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
