Skip to content

Demystifying black-box machine learning in supply chain risk management: from prediction to intervention via explainable AI

Oct 2026 · Journal of Modelling in Management · 0 citations · 33 references

TL;DR

The framework enables logistics managers to identify high-risk orders before delivery completion and to understand the operational reasons behind each alert and can support decisions such as adjusting shipment modes, extending delivery buffers, prioritizing route monitoring and allocating escalation resources.

Abstract

This study aims to develop a temporally validated and explainable machine-learning framework for predicting late-delivery risk in supply chain operations. It addresses the tension between predictive accuracy and managerial interpretability by using only pre-shipment operational information and by providing feature-level explanations for risk alerts. The study supports proactive supply chain risk management by showing not only whether an order is likely to be delayed, but also which operational factors contribute to that prediction. The study uses the DataCo Smart Supply Chain data set, comprising 180,519 transaction-level observations from 2015 to 2018. Logistic regression, random forest and XGBoost are compared after removing outcome-based leakage variables. Orders are sorted chronologically so that models are trained on earlier observations and tested on a later temporal holdout period. XGBoost is tuned using TimeSeriesSplit. Class imbalance is addressed through class weighting and scale-position weighting. Robustness is assessed through expanding time windows and business subgroup analysis. Shapley additive explanations (SHAP) and permutation importance are used for interpretability. The temporal holdout results show that XGBoost achieves receiver operating characteristic area under the curve (ROC-AUC) of 0.7414 and precision-recall area under the curve (PR-AUC) of 0.8097, with the strongest default-threshold precision of 0.8407 and specificity of 0.8772. Threshold tuning increases XGBoost recall to 0.8972, making it useful for early-warning scenarios where missed delays are costly. Robustness tests produce stable ROC-AUC values between 0.7301 and 0.7464. SHAP and permutation importance show that shipment timing, customer/order geography, shipping mode and transaction type are stronger delay-risk drivers than financial variables. The study is limited to one public transaction-level data set and does not include real-time external disruption factors such as weather, infrastructure failure, port congestion or geopolitical events. SHAP explains model behaviour rather than causal effects. Future research should validate the framework on additional supply chain data sets, integrate live operational and environmental data and compare SHAP with counterfactual or actionable-recourse methods to support intervention design. The framework enables logistics managers to identify high-risk orders before delivery completion and to understand the operational reasons behind each alert. It can support decisions such as adjusting shipment modes, extending delivery buffers, prioritizing route monitoring and allocating escalation resources. Threshold tuning allows firms to adapt the model to different intervention costs and service-risk priorities. More reliable late-delivery prediction can improve customer service, reduce avoidable disruption and support more efficient logistics planning. By helping firms intervene earlier, the framework may reduce unnecessary emergency shipments, wasted resources and avoidable operational inefficiencies. The study contributes a reproducible decision-support framework that combines leakage-safe prediction, chronological validation, robustness testing and explainable AI. Rather than relying on random splitting or opaque accuracy claims, it evaluates late-delivery prediction under temporally realistic conditions and links SHAP-based explanations to operational intervention.

View source

Similar papers

#artificial intelligence Conference Open access Apr 2020

ECCOLA - a Method for Implementing Ethically Aligned AI Systems

The method, ECCOLA, is presented, which aims at making the high-level AI ethics principles more practical, making it possible for developers to more easily implement them in practice.

Ville Vakkuri, Kai-Kristian Kemell, P. Abrahamsson · 64 citations · ⚡6
#computer vision Review Apr 2024

AI-powered Code Review with LLMs: Early Results

The goal is to not only refine the accuracy of the LLM-based tool but also to underscore its potential in streamlining the software development lifecycle through proactive code improvement and education.

Z. Rasheed, Malik Abdul Sami, Muhammad Waseem et al. · 62 citations · ⚡3
#computer vision Open access Mar 2024

LLM-based agents for automating the enhancement of user story quality: An early report

The use of large language models to automatically improve the user story quality in Austrian Post Group IT agile teams is explored, with a reference model for an Autonomous LLM-based Agent System developed and implemented at the company.

Zheying Zhang, M. Rayhan, Tomas Herda et al. · 48 citations · ⚡4
#computer vision Review Mar 2024

System for systematic literature review using multiple AI agents: Concept and an empirical evaluation

This paper introduces a novel multi-AI-agent system designed to fully automate SLRs, and demonstrates how it substantially reduces the time and effort traditionally required for SLRs while maintaining comprehensiveness and precision.

Abdul Malik Sami, Z. Rasheed, Kai-Kristian Kemell et al. · 44 citations · ⚡2
#computer vision Feb 2024

Can Large Language Models Serve as Data Analysts? A Multi-Agent Assisted Approach for Qualitative Data Analysis

The proposed LLM-based multi-agent system automates qualitative data analysis process, creating opportunities for researchers and practitioners, and future improvements focus on enhancing multilingual performance and integrating continuous expert feedback.

Z. Rasheed, Muhammad Waseem, Aakash Ahmad et al. · 41 citations
#artificial intelligence Conference Open access Jun 2018

The Key Concepts of Ethics of Artificial Intelligence

It is suggested that the focus on finding keywords is the first step in guiding and providing direction for future research in the AI ethics field.

Ville Vakkuri, P. Abrahamsson · 39 citations · ⚡2

Related blog posts

Microsoft Research Blog Oct 7, 2026

Agent Lightning v1.0: A 3,500-Line Lightweight Agentic RL Framework for Training Agents with Real Harnesses

Training AI agents with reinforcement learning can be challenging because their tools, context, and decision-making are managed by complex frameworks. Agent Lightning connects existing agents to RL training, making it easier to improve them without rebuilding them. The post Agent Lightning v1.0: A 3,500-Line Lightweight Agentic RL Framework for Training Agents with Real Harnesses appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.