Federated learning-outcome prediction with multi-layer privacy protection

Yupei Zhang, Yuxin Li, Yifei Wang, Shuangshuang Wei, Yunan Xu, Xuequn Shang · DOI

Abstract

Learning-outcome prediction (LOP) is a critical task in educational data mining, yet it often suffers from data scarcity and privacy concerns that prevent institutions from sharing sensitive student records. This study introduces FecMap, a distributed grade prediction model built on a federated learning (FL) framework. FecMap incorporates two key innovations: Local Subspace Learning (LSL), which distinguishes between global and institution-specific features, and Multi-layer Privacy Protection (MPP), which hierarchically secures sensitive data. By training local neural networks and aggregating only shareable global parameters, FecMap achieves high-performance, client-specific classification. Experimental results on three higher-education datasets demonstrate that FecMap outperforms state-of-the-art models, particularly in identifying at-risk students, while maintaining strict privacy standards.

Introduction

Accurately predicting student performance allows educational institutions to provide timely interventions and personalized resources. However, developing robust LOP models is challenging. Small institutions often lack sufficient data to train deep learning models, while data privacy regulations like GDPR and FERPA prohibit the pooling of raw student data into central repositories.

Standard Federated Learning (FL) offers a solution by training models locally and sharing only weight updates. However, traditional FL often fails to account for "local context"—the unique grading scales, curriculum difficulties, and demographic variations of different schools. FecMap addresses these challenges by balancing global knowledge transfer with local personalization.

The FecMap Framework

FecMap enhances the standard FL pipeline through a specialized architecture designed for both performance and privacy.

Local Subspace Learning (LSL)

Rather than enforcing a uniform model across all participants, LSL divides the feature space into a global subspace and a local subspace. The global subspace captures broad educational trends shared across institutions, while the local subspace focuses on features unique to the specific client. This dual-path approach ensures the model remains sensitive to local institutional nuances without sacrificing the statistical power of the collective dataset.

Multi-layer Privacy Protection (MPP)

FecMap categorizes data into a hierarchy based on sensitivity. Past academic achievements (grades) are treated as shareable features that inform the global model. In contrast, highly sensitive information—such as student demographics (age, gender, ethnicity) and specific course descriptions—are classified as "not-allowably shared." These features remain strictly within the local client's environment and are never transmitted to the server.

The FecMap architecture, highlighting the separation of global and local subspaces and the hierarchical handling of features.

Experimental Evaluation

The model was evaluated using three real-world datasets from an engineering university, covering undergraduate records from 2015 to 2020: Computer Science and Technology (CST), Software Engineering (SE), and Electronic Information Engineering (EIE). The task was to classify student outcomes into five grade brackets.

Key Results

FecMap consistently outperformed state-of-the-art federated learning methods, including FedAvg and FedRep.

  • Accuracy: FecMap achieved peak accuracies of 83.10% (CST), 84.92% (SE), and 85.41% (EIE).
  • Early Warning Capabilities: One of the model's most significant strengths is its performance in the lowest grade bracket (<60). FecMap achieved a 93% detection accuracy for these at-risk students, significantly higher than the 85% achieved by the previous best-performing baseline, FedRep.
  • Ablation Study: Results confirmed that both LSL and MPP contribute to the model's steady performance gains and faster convergence during training.
Performance comparison: Confusion matrices (left) and accuracy curves (right) demonstrating the advantages of FecMap over baseline models.

Conclusion

FecMap represents a significant step forward in applying federated learning to educational analytics. By explicitly modeling local variations and implementing a tiered privacy strategy, it overcomes the traditional trade-off between model personalization and data security. Future work will focus on testing the framework across more diverse, geographically separated institutions and enhancing its resilience against adversarial noise in a federated environment.

Summary updated

Abstract

Learning-outcome prediction (LOP) is a long-standing and critical problem in educational routes. Many studies have contributed to developing effective models while often suffering from data shortage and low generalization to various institutions due to the privacy-protection issue. To this end, this study proposes a distributed grade prediction model, dubbed FecMap, by exploiting the federated learning (FL) framework that preserves the private data of local clients and communicates with others through a global generalized model. FecMap considers local subspace learning (LSL), which explicitly learns the local features against the global features, and multi-layer privacy protection (MPP), which hierarchically protects the private features, including model-shareable features and not-allowably shared features, to achieve client-specific classifiers of high performance on LOP per institution. FecMap is then achieved in an iteration manner with all datasets distributed on clients by training a local neural network composed of a global part, a local part, and a classification head in clients and averaging the global parts from clients on the server. To evaluate the FecMap model, we collected three higher-educational datasets of student academic records from engineering majors. Experiment results manifest that FecMap benefits from the proposed LSL and MPP and achieves steady performance on the task of LOP, compared with the state-of-the-art models. This study makes a fresh attempt at the use of federated learning in the learning-analytical task, potentially paving the way to facilitating personalized education with privacy protection.
BibTeX
@article{zhang2024federated,
  author = {Yupei Zhang and Yuxin Li and Yifei Wang and Shuangshuang Wei and Yunan Xu and Xuequn Shang},
  title = {{Federated learning-outcome prediction with multi-layer privacy protection}},
  journal = {Frontiers of Computer Science},
  year = {2024},
  url = {https://openreview.net/forum?id=I174KQ9ufs},
}
Figure