[Paper Review] Predicting Open Source Software Sustainability with Deep Temporal Neural Hierarchical Architectures and Explainable AI
The paper presents a hierarchical temporal pipeline that predicts OSS sustainability lifecycle stages from 24 months of activity, using Transformer-based temporal modeling, tabular features, and explainable AI to identify dominant signals. It achieves state-of-the-art accuracy and provides attribution analyses.
Open Source Software (OSS) projects follow diverse lifecycle trajectories shaped by evolving patterns of contribution, coordination, and community engagement. Understanding these trajectories is essential for stakeholders seeking to assess project organization and health at scale. However, prior work has largely relied on static or aggregated metrics, such as project age or cumulative activity, providing limited insight into how OSS sustainability unfolds over time. In this paper, we propose a hierarchical predictive framework that models OSS projects as belonging to distinct lifecycle stages grounded in established socio-technical categorizations of OSS development. Rather than treating sustainability solely as project longevity, these lifecycle stages operationalize sustainability as a multidimensional construct integrating contribution activity, community participation, and maintenance dynamics. The framework combines engineered tabular indicators with 24-month temporal activity sequences and employs a multi-stage classification pipeline to distinguish lifecycle stages associated with different coordination and participation regimes. To support transparency, we incorporate explainable AI techniques to examine the relative contribution of feature categories to model predictions. Evaluated on a large corpus of OSS repositories, the proposed approach achieves over 94\% overall accuracy in lifecycle stage classification. Attribution analyses consistently identify contribution activity and community-related features as dominant signals, highlighting the central role of collective participation dynamics.
Motivation & Objective
- Motivate the need to model OSS sustainability as a multidimensional, lifecycle-based construct rather than a binary outcome.
- Develop a hierarchical, multi-stage predictive pipeline that integrates temporal OSS activity with engineered tabular features.
- Address severe class imbalance and provide interpretable explanations for model decisions.
- Evaluate the approach on a large OSS repository corpus and release open-source tooling for reproducibility.
Proposed method
- Construct 24-month monthly OSS activity sequences (20 base features) plus first-order differences and concatenate with tabular features derived from the last 6 months.
- Employ a four-stage hierarchical classifier: Stage-1 binary gate for contribMid, Stage-2 Heavy (Transformer + MLP) and Light (MLP) models, plus a Club-Fed Expert for minority classes.
- Train with stratified group-aware splits, focal loss, class weights, SMOTE, and calibration; optimize hyperparameters via grid search and use weighted Adam optimizer.
- Apply SHAP and Integrated Gradients for explainability; aggregate at the category level (Contribution Activity, Issue & Maintenance Responsiveness, Community Dynamics, PR QA, Release & Evolution) and perform temporal attribution analyses.
Experimental results
Research questions
- RQ1RQ1: Can OSS sustainability stages be accurately predicted from a fixed 24-month window of repository activity using temporal sequences and engineered features?
- RQ2RQ2: Which categories of repository activity most influence predictions, and how do attributions vary across modeling components?
Key findings
- The hierarchical pipeline achieves 94.08% accuracy and 79.42% balanced accuracy on the test set.
- Per-class F1: contribMid 0.9971, toy 0.9787, club 0.6440, federation 0.5387 (avg macro 0.7896).
- Confusion patterns show most errors occur between club and federation rather than across dissimilar stages.
- Contribution activity and community-related features dominate predictions across models.
- Temporal signals and joint modeling of temporal and tabular features outperform flat baselines.
- An open-source implementation of the full pipeline is released for reproducibility.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.