Goal-based Course Recommendation

Weijie Jiang, Zachary A. Pardos, Qiang Wei

TL;DR

This paper introduces a novel goal-based recommendation system that uses Recurrent Neural Networks (LSTMs) to suggest preparatory courses tailored to a student's specific academic goals. Unlike traditional systems that suggest "what's next" based on popularity, this model identifies which courses will best bridge a student's current knowledge gap to maximize their success in a future, high-stakes "target" course.

What Problem Does This Paper Address?

Navigating university curricula is notoriously difficult. Students often face "target" courses—historically difficult classes required for their major—without knowing if they are truly prepared. While universities provide official prerequisite lists, these are often:

  1. Outdated: They don't reflect changes in course content.
  2. Incomplete: they miss cross-departmental combinations that provide equivalent preparation.
  3. One-size-fits-all: They don't account for a student's unique prior knowledge or "Zone of Proximal Development" (ZPD).

Existing recommendation systems in education typically use collaborative filtering (recommending what similar students took). However, these don't help a student who has a specific goal (e.g., "I want to get an A in Machine Learning; what should I take this semester to prepare?"). The authors aim to fill this gap by treating course selection as a goal-oriented sequence optimization problem.

Methods

The authors employ Long Short-Term Memory (LSTM) networks to model student enrollment histories. The core innovation lies in how they adapt the standard RNN architecture for the nuances of academic data:

  • Model Variants: They tested three versions. Model 1 is a standard LSTM. Model 2 adds current-semester co-enrollment data (recognizing that taking two hard classes together impacts grades). Model 3 further adds the student's declared major.
  • Two-Level Masked Loss: Since students only take a few courses out of thousands available, the output space is sparse. The authors developed a custom loss function that masks courses not taken and handles different grading schemes (Letter grades vs. Pass/No-Pass) simultaneously.
  • Recommendation Heuristic: To generate a recommendation, the model doesn't just predict the next course. Instead, it "simulates" taking various preparatory courses. It iterates through potential classes, feeds them into the LSTM, and ranks them based on which one results in the highest predicted probability of the student achieving their goal (an 'A' or 'B') in the target course.

Datasets

The study utilizes a massive longitudinal dataset from the University of California, Berkeley:

  • Scope: Data spanning from Fall 2008 through Spring 2017.
  • Scale: 164,196 anonymized students and 4.8 million total enrollments.
  • Features: Per-semester enrollment, grades, anonymous student IDs, entry types (transfer vs. freshman), and declared majors.
  • Ground Truth for Validation: A set of 2,300 official prerequisite pairs provided by the UC Berkeley Registrar.

Key Insights and Ideas

  • Co-enrollment is a Critical Signal: Model 2 (which included co-enrollment data) outperformed Model 1 in grade prediction. This confirms that the "interaction effect" of a student's total course load is a vital predictor of individual course performance.
  • Major Info is Redundant: Interestingly, adding "Major" (Model 3) didn't significantly boost performance. The authors suggest that a student's enrollment pattern already implicitly encodes their major, making the explicit label unnecessary for the model.
  • Beyond Official Prerequisites: The model successfully "recovered" about 1/3 of official university prerequisites without being told what they were. More importantly, it identified at least one valid prerequisite for 44% of target courses, suggesting it can discover "hidden" pathways to success that aren't in the official course catalog.
  • Validation via Success: A key "aha" moment was the third validation: students who actually succeeded in difficult courses were nearly twice as likely to have taken the courses the model would have suggested compared to students who struggled.

Key Results

  • Grade Prediction: The B-threshold model achieved 88.05% accuracy in predicting whether a student would perform above or below a 'B' grade.
  • Prerequisite Recovery: The model achieved ~30% accuracy in exact prerequisite pair recovery and ~45% accuracy in identifying at least one prerequisite for a target course. Given the 9,000+ course vocabulary, this is significantly better than random.
  • Recommendation Overlap: In the goal-based validation, 57% of students who succeeded (B or above) in a target course had taken at least one of the model's top 10 recommendations in the prior semester, compared to only 38% for students who performed poorly.

Limitations and Future Work

  • Correlation vs. Causation: The authors acknowledge that this is an observational study. A student might do well because they are high-achieving in general (the "Honors Student" confound), not necessarily because of the specific preparatory course recommended.
  • Single-Semester Horizon: The current model only recommends for the immediate next semester. Future work could involve recommending a multi-semester "sequence" of courses.
  • Human-in-the-loop: The authors suggest that the next step is "testing in the wild"—providing these suggestions to academic advisors or students to see if following the recommendations actually improves learning outcomes in a controlled trial.

Summary updated

BibTeX
@inproceedings{jiang2019goal,
  author = {Weijie Jiang and Zachary A. Pardos and Qiang Wei},
  title = {{Goal-based Course Recommendation}},
  booktitle = {LAK},
  year = {2019},
  doi = {10.1145/3303772.3303814},
}
Figure