Federated learning-outcome prediction with multi-layer privacy protection

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

TL;DR

The paper introduces FecMap, a federated learning framework designed to predict student grades across different institutions without compromising sensitive data. By combining local subspace learning for personalization and a multi-layer privacy hierarchy, FecMap outperforms existing models while keeping student demographics and course details strictly private.

What Problem Does This Paper Address?

Learning-Outcome Prediction (LOP) is a cornerstone of modern educational data mining. If an institution can accurately predict how a student will perform in a future course, it can provide personalized resources or early interventions for at-risk students.

However, LOP models face two major hurdles:

  1. Data Silos: Individual schools often have small datasets, leading to models that don't generalize well to other institutions.
  2. Privacy Constraints: Strict regulations (like GDPR or FERPA) prevent schools from pooling raw student data into a central server.

While Federated Learning (FL) allows models to be trained across multiple "clients" (schools) without sharing raw data, standard FL often struggles with personalization—the global model might be too generic to account for the specific grading nuances of a particular major or university.

Methods

The authors propose FecMap, which introduces two novel components to the standard federated learning pipeline:

  • Local Subspace Learning (LSL): Instead of forcing every client to use the exact same model, LSL divides the feature space. It learns a "global subspace" (features shared across all institutions) and a "local subspace" (features unique to the specific client). This allows the model to capture broad educational trends while still respecting local institutional differences.
  • Multi-layer Privacy Protection (MPP): Not all data is equally sensitive. MPP creates a hierarchy:
  • Shareable Features: Student grades from past courses are used to inform the global model.
  • Not-Allowably Shared Features: Highly sensitive data, such as student demographics (age, gender, ethnicity) and specific course descriptions, are kept strictly local and never leave the client's side.
  • The Architecture: Each client trains a local neural network consisting of a global part, a local part, and a classification head. Only the weights of the "global part" are sent to the server for averaging.

Datasets

The researchers evaluated FecMap using three real-world datasets collected from their own institution, spanning undergraduate records from 2015–2020:

  1. CST: Computer Science and Technology (1,463 students, ~46k records).
  2. SE: Software Engineering (1,621 students, ~38k records).
  3. EIE: Electronic Information Engineering (1,937 students, ~49k records).

The task was formulated as a 5-level grade classification (e.g., <60, 60–70, etc.).

Key Insights and Ideas

  • The "Best of Both Worlds" Approach: By separating the model into global and local parts, FecMap avoids the "one-size-fits-all" trap of traditional federated learning. It gains the statistical power of a large, multi-institutional dataset without losing the accuracy provided by local context.
  • Privacy as a Spectrum: Most FL papers treat all features as "private" in the same way. This paper recognizes that some features (like grades) are useful for cross-institutional learning, while others (like demographics) are too sensitive to even share in an encrypted/aggregated form.
  • Practical Early Warning: The model showed exceptional performance in identifying students in the lowest grade bracket (<60). This suggests FecMap is highly viable for "early warning systems" that flag students who might fail a course before it's too late.

Key Results

FecMap was compared against five state-of-the-art federated learning methods (including FedAvg, FedProx, and FedRep).

  • Superior Accuracy: FecMap achieved the highest accuracy across all three datasets, reaching 83.10% (CST), 84.92% (SE), and 85.41% (EIE).
  • Improvement over Baselines: On the CST dataset, FecMap outperformed the standard FedAvg by 2.64% and the previous best-performer (FedRep) by 1.23%.
  • Robustness: The authors demonstrated that as the number of clients or the size of the local datasets increased, FecMap’s performance improved steadily, showing it scales well.
  • Class-Specific Performance: In a confusion matrix analysis, FecMap achieved 93% accuracy in detecting students with grades below 60, significantly higher than the 85% achieved by FedRep.

Limitations and Future Work

The authors acknowledge a few areas for further exploration:

  • Scale of Participation: A case study with only five clients showed lower accuracy (~68%) compared to the full experimental setup, indicating that the model's effectiveness is tied to the number of participating institutions.
  • Online Implementation: While the authors developed an online platform using Streamlit, the paper focuses on a single university's majors. Future work could involve testing the framework across geographically and culturally diverse institutions to see how the "local subspace" handles more extreme variations.
  • Noise Handling: While the paper mentions noise (like "slipping" or "guessing"), it does not explicitly detail how FecMap handles adversarial noise or data poisoning in a federated setting.

Summary updated

Abstract

Learning-outcome prediction (LOP) is a longstanding 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},
}

Loading related content...

Figure