NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adaptive Sequential Recommendation for Discussion Forums on MOOCs using Context Trees

Fei Mi, Boi FaltingsEDM 2017

Introduction

Massive Open Online Courses (MOOCs) have revolutionized education, but their discussion forums often suffer from information overload. As a course progresses, student interests shift rapidly from introductory concepts to advanced topics. Traditional recommendation systems, which rely on static snapshots of user behavior, struggle to keep pace with this "interest drift." This paper presents a novel approach using Context Trees (CT) to provide adaptive, sequential recommendations that evolve in real-time alongside the students.

The Challenge of MOOC Forums

MOOC forums are unique social learning environments characterized by two primary hurdles:

  1. Rapid Interest Drift: Student focus moves quickly through the syllabus. A thread about "Week 1 Basics" becomes irrelevant by Week 3.
  2. Evolving Item Pools: New threads are constantly created, while older ones quickly lose relevance.

Standard collaborative filtering methods are often "lazy" learners, requiring significant historical data and slow retraining cycles. By the time these models adapt, the class has moved on. This research formalizes forum browsing as a sequence prediction problem: given a student's history of visited threads, what is the most likely next item?

Methodology: Context Trees and Partial Matching

The Context Tree (CT)

The core of the proposed system is the Context Tree, a variable-order Markov model. In this structure, each node represents a specific sequence (context) of visited threads. Each node acts as a "local expert" that predicts the next item based on its specific context using a Dirichlet-multinomial prior.

The structure of a Context Tree (CT) where nodes represent sequences of visited threads.

When making a recommendation, the system doesn't just look at the longest matching sequence; it combines predictions from all experts along the path from the root to the leaf, weighting them based on how well they’ve performed recently. This allows the model to activate specific paths and recognize new patterns immediately without waiting for a full model retrain.

Partial Context Matching (PCT)

To handle data sparsity—where students visit only a small fraction of available threads—the authors introduced Partial Context Matching (PCT). PCT allows the model to "skip" items in a sequence to find similar patterns, effectively regularizing the model and helping it generalize to new, unseen sequences.

Experimental Evaluation

The model was evaluated using forum viewing data from three Coursera courses offered by EPFL: Digital Signal Processing, Functional Program Design in Scala, and Reactive Programming. The researchers compared the CT model against several baselines, including Popularity, Freshness heuristics, and Online Matrix Factorization (Online-MF).

Results and Discussion

The CT recommender consistently outperformed all baselines across all three courses, demonstrating superior predictive power and adaptability.

Overall performance (Succ@5Ahead) across three Coursera courses, showing the Context Tree (CT) consistently outperforming matrix factorization and other baselines.

Key findings include:

  • Predictive Accuracy: In the "Succ@5Ahead" metric (predicting any future thread in a sequence), the CT model achieved scores between 48% and 53%, while Online-MF lagged significantly behind at 23% to 33%.
  • Freshness Handling: The authors found a sharp trend where new threads are viewed much more frequently. The CT model was particularly dominant when recommending these "fresh" items, whereas the performance of Online-MF dropped sharply as thread freshness increased.
  • PCT Performance: Adding Partial Context Matching provided a consistent performance boost (up to +2.7%), validating its ability to find relevant contexts even when exact sequences hadn't been seen before.

Conclusion

The use of Context Trees offers a powerful, adaptive solution for MOOC forum recommendations. By modeling the problem sequentially and utilizing a mixture of local experts, the system can keep pace with the rapid shifts in student interest. Future work will explore exploratory algorithms to better capture shifting interests and live deployment for online evaluation in active MOOC environments.

Summary updated

BibTeX
@inproceedings{mi2017adaptive,
  author = {Fei Mi and Boi Faltings},
  title = {{Adaptive Sequential Recommendation for Discussion Forums on MOOCs using Context Trees}},
  booktitle = {EDM},
  year = {2017},
}
Figure