Why this gap matters now
Early HR data mining studies showed that decision trees and similar algorithms could classify leavers and stayers from survey and personnel records. Since then, tree ensembles and explanation tools have become routine (Breiman, 2001; Lundberg et al., 2020), and HR analytics has moved from pilot projects to everyday use in large organisations.
Two things have changed the stakes. First, research on machine-learning-based science shows that leakage and weak validation often inflate results (Kapoor & Narayanan, 2023). Second, the EU AI Act now treats AI used to recruit and evaluate workers as high-risk (European Parliament & Council of the European Union, 2024). A model that looks accurate in a paper but fails next year is no longer only a technical problem.
Getting the basics right
| Common practice in older studies | Problem | Better practice |
|---|---|---|
| Random train-test split of one dataset | Future information can leak into training (Kapoor & Narayanan, 2023) | Time-ordered split and an external test set |
| Report overall accuracy | Misleading when few employees leave (Saito & Rehmsmeier, 2015) | Precision-recall curve and confusion matrix |
| Read feature importance as causes | Prediction is not explanation (Hernán, 2018) | State the causal question and use a causal design |
| Black-box model for decisions about people | Hard to check and contest (Rudin, 2019) | Consider an interpretable model first |
Two terms also need care. LDA in skills research means latent Dirichlet allocation, a topic model (Blei et al., 2003), not an "algorithm" of that name. And a rank correlation such as Spearman's does not measure sampling adequacy; that is a separate check used before factor or principal component analysis.
An illustrative example
Illustrative and hypothetical: suppose 8% of employees leave in a year. A model that predicts "stays" for everyone is 92% accurate but finds no leavers. A useful model must be judged on how many leavers it finds and how many false alarms it raises (Saito & Rehmsmeier, 2015). If it was trained on a random split that included records created after an employee had resigned, its results would also be inflated by leakage (Kapoor & Narayanan, 2023).
A doctoral project that retrains the same model on earlier years, tests it on later years and at a second organisation, and then asks managers how they would use the scores, would add more than another comparison of algorithms on one dataset. Questions of fairness and regulation are covered in the companion brief on machine learning in HRM.
