Skip to content
#federated learning Open access

Fairness-constrained explainable machine learning with differentially private federated training for employee attrition prediction in civil engineering and law

Sep 2026 · Scientific Reports
AI and HR Technologies

Abstract

Employee attrition in knowledge-intensive sectors such as civil engineering and law presents compounding risks to project continuity, regulatory compliance, and organisational profitability. Despite growing adoption of machine learning (ML) in human resource (HR) analytics, no prior study has simultaneously targeted these two professionally regulated sectors, incorporated employment-law fairness requirements (Title VII, Colorado AI Act 2024, California Civil Rights Council Regulations 2025, and the EU AI Act) as explicit optimisation constraints, or embedded federated learning to safeguard sensitive HR data. This study proposes FAIR-SEAP (Fairness-Aware Integrated Retention framework for Sector-stratified Engineering and Legal Attrition Prediction), an end-to-end framework that couples advanced ML with multi-metric explainability. The framework is evaluated on eight datasets: four publicly available cross-industry benchmarks, two sector-specific datasets constructed from published aggregate workforce statistics and expanded using a Conditional Tabular Generative Adversarial Network (CTGAN), and two federated partitions derived from them. It deploys Bayesian hyperparameter optimisation via the Tree-structured Parzen Estimator (TPE) with 3,000 trials, applies Demographic Parity (DP) and Equalised Odds (EO) as hard fairness constraints, and integrates SHAP, LIME, and Counterfactual Explanations (CFE) for global, local, and contrastive interpretability. On the civil engineering cohort, the Stacked Gradient Boosting–Histogram Gradient Boosting (SGB-HGB) ensemble attains 93.47% overall accuracy, an attrition-class F1-score of 82.94% (95% CI 82.10–83.78) and an AUC-ROC of 0.971; on the legal cohort the Transformer-Augmented AdaBoost (TA-AB) model attains 92.15% accuracy, an attrition-class F1-score of 81.75% (95% CI 80.83–82.67) and an AUC-ROC of 0.963. Both models exceed every baseline under paired two-sided t-testing with Holm–Bonferroni correction, with all adjusted p < 0.001; on the legal cohort TA-AB further exceeds SGB-HGB, the next-best model, by 1.40 F1 points at an adjusted p of 0.0011. SHAP analysis identifies Site Hazard Exposure, Certification Level and Project Phase Intensity as the leading attrition drivers in the civil engineering cohort, and Billable Hours Deviation, Mentor Score and perceived-equity (DEI) Score as the leading drivers in the legal cohort. These attributions describe statistical association rather than causal effect, and the reported fairness margins indicate conformity with pre-specified statistical thresholds rather than legal compliance, which requires contextual assessment beyond the scope of this study. Because neither sector cohort contains observed employee records and approximately 76% of each is CTGAN-generated, these figures characterise performance on simulated cohorts calibrated to published statistics rather than externally validated workforce performance. The study contributes a reproducible, sector-stratified and fairness-constrained analytical pipeline for HR practitioners in regulated professional sectors.

View source

Similar papers

#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54
#machine learning Review Open access Jun 2014

Why Early-Stage Software Startups Fail: A Behavioral Framework

This state-of-practice investigation was performed using a literature review followed by a multiple-case study approach and presents how inconsistency between managerial strategies and execution can lead to failure by means of a behavioral framework.

Carmine Giardino, Xiaofeng Wang, P. Abrahamsson · 175 citations · ⚡19
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#machine learning Review Open access May 2016

Key Challenges in Software Startups Across Life Cycle Stages

It is found that what perceived as biggest challenges by software startups do vary across different life cycle stages, even though its significance decreases when the learning focuses of the startups move from problem to solution and their products mature.

Xiaofeng Wang, Henry Edison, Sohaib Shahid Bajwa et al. · 62 citations · ⚡6

Related blog posts

MIT News · Artificial Intelligence Oct 7, 2026

Discovering the value of humanistic inquiry

Students in MIT’s Concourse program delve deeply into the human condition, debate challenging questions, and learn to develop judgment about issues that can’t be quantified.

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.