All models

Contrastive Learning for Knowledge Tracing (CL4KT)

A knowledge tracing model trained with contrastive learning over augmented views of a student's learning history.

Tabular and recommender · 413 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (24 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
1.1M
Operations
413
Framework
PyTorch
Recurrent
No
Published
The ACM Web Conference 2022
Cited by
122 (as of 3 November 2026)
Authors
Wonsung Lee, Jaeyoon Chun, Youngmin Lee and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15429
Graph hash
5c1ec4d8c8c96abce13db074837833ec96bf50a9847fe34ceb77ea1cc5d7f6c1
Skeleton hash
06a3dd3b5cb710c72f71f510a7cd2ec5e8f9a82f09b76599cf100d47e781e732
Architecture hash
8257ab9253afb5a405cca69adc663c8cabd57ecfe1a2eadd0c774ac4b6329667
Diagram SHA-256
7315a19170920ebfac68bbf13410b6237d45b33829950302636e66a1a0990a34
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

CL4KT is a knowledge tracing model: it follows a student's knowledge acquisition by estimating whether the student will solve the next question correctly. Most deep learning methods for this task identify hidden representations of knowledge states from learning histories. The paper's concern is that interactions between students and questions are sparse, so those representations are easily over-fitted and often fail to capture a student's knowledge state accurately.

Its answer is a contrastive learning framework that reveals semantically similar or dissimilar examples of a learning history and pushes the model to learn their relationships. The authors say they designed the architectures, data augmentation methods and hard negatives with pedagogical rationales in mind. The released code takes mask, crop, permute and replace probabilities as options. On six benchmarks, the paper reports statistically significant improvements over previous methods.

Key idea. The paper introduces a contrastive learning framework for knowledge tracing whose architectures, data augmentation methods and hard negatives are designed around pedagogical rationales.

  • CL4KT
  • Contrastive Learning for Knowledge Tracing
  • knowledge tracing
  • contrastive learning
  • student knowledge state
  • learning history
  • hard negatives
  • data augmentation

AI-written summary, based on the paper's abstract and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{contrastivelearningforknowledgetracing2022,
  title = {Contrastive Learning for Knowledge Tracing},
  author = {Wonsung Lee and Jaeyoon Chun and Youngmin Lee and Kyoungsoo Park and Sungrae Park},
  year = {2022},
  journal = {The ACM Web Conference 2022},
  doi = {10.1145/3485447.3512105}
}