Introduction
Collaborative learning (CL) is a cornerstone of modern education, particularly in fields like software engineering where teamwork is essential. However, assessing individual performance within a group project remains a significant challenge for instructors. Traditional methods often rely on subjective peer reviews or simplistic activity metrics, such as the number of code commits or file edits. These "coarse-granular" features fail to account for the quality of work or the complex web of influence students exert on one another.
To address these limitations, researchers have developed the Collaborative Learning Graph Transformer (CLGT). This model moves beyond simple activity counting by representing the classroom as a dynamic, weighted graph and utilizing a specialized transformer architecture to predict individual grades while providing interpretable explanations for its predictions.
Modeling Collaborative Interactions
The first stage of the CLGT framework involves generating an interaction graph from digital footprints left on platforms like GitLab. In this model, students are represented as nodes, and their interactions—such as document revisions, code commits, and issue reporting—are represented as directed, weighted edges.
Unlike traditional models that only look at internal team dynamics, CLGT captures the evolution of interactions over time. In a typical semester, students begin by working within their teams but eventually engage in inter-team activities, such as peer-reviewing the code of other groups.
By weighting these edges based on the severity of issues raised or the volume of code contributed, the model creates a high-fidelity representation of the collaborative environment. This allows it to identify "bridge" students who facilitate knowledge transfer across the entire class, not just within their immediate circle.
The CLGT Architecture and Interpretability
The core of the system is a Graph Transformer designed to process weighted edge features. Built on the "Graph Trans" framework, CLGT uses multi-head attention to learn which specific types of interactions—such as fixing a critical bug versus updating documentation—are most predictive of academic success.
One of the primary innovations of CLGT is its move away from "black-box" machine learning. The model includes an Explainer Module inspired by PGM-Explainer. This module performs structure learning to identify the most influential variables and interactions, effectively creating a Bayesian network that visualizes how one student's behavior impacts the predicted performance of their peers.
Key Results and Insights
The model was evaluated using a real-world dataset from a 16-week graduate Software Engineering course involving 75 students. CLGT demonstrated significant improvements over traditional machine learning baselines and standard Graph Neural Networks (GNNs).
| Method | Accuracy (ACC) | F1-score | AUC |
|---|---|---|---|
| AdaBoost | 41.53% | 29.36% | 48.81% |
| R-GCN | 64.81% | 52.64% | 76.54% |
| GTN | 73.37% | 62.79% | 78.84% |
| CLGT (Ours) | 73.92% | 66.75% | 90.57% |
Beyond raw accuracy, the study revealed several key insights into collaborative learning:
- Activity vs. Quality: High activity (many commits) does not always correlate with high grades if the quality is low. CLGT successfully distinguishes between "busy work" and meaningful contribution.
- Indirect Influence: The model identified that students can influence peers they never interact with directly through mutual contacts, a phenomenon the graph structure is uniquely suited to capture.
- Early Intervention: CLGT proved capable of identifying at-risk students early in the semester, providing instructors with a window for pedagogical intervention before final grades are determined.
Conclusion and Future Work
CLGT represents a step forward in making automated educational assessment both more accurate and more transparent. While currently focused on software engineering, the underlying principles of weighted interaction graphs and interpretable transformers could be applied to various collaborative domains. Future research will focus on capturing "implicit" interactions—such as students reading code without editing it—and scaling the model for use in Massive Open Online Courses (MOOCs).
Summary updated