r/MachineLearning • • 8d ago

Project A lecture player that pauses only on terms the learner doesn't know: design, small evals, and where it fails [P]

I built Study Buddy, an open-source player that pauses a lecture video at the end of the sentence that introduces a term the learner doesn't know yet, explains it, and skips terms they already know.

How it works:

- Per video (once, cached): faster-whisper on CPU for word timestamps → an LLM extracts terms, explanations and quiz questions per ~600-word chunk → code places each pause at the end of the sentence that introduces the term → near-duplicates dropped with BGE-M3 (cosine ≥ 0.90).

- Per learner: a short questionnaire plus their own notes form a profile. Terms are matched against the profile first; then one LLM call per learner per video judges which remaining terms the notes cover. The player pauses on the 5 new terms the lecturer mentions most and saves the rest for the end.

Evals on one 16-minute CS229 clip (single labeler, not re-checked, so treat as rough):

- Novelty check vs hand labels: precision 0.50, recall 0.64 (n = 21 terms, one learner)

- Extracted terms that are real concepts: 15 of 21; pauses placed well: 18 of 21

- Quiz questions usable: 39 of 42

- LLM cost: about $0.008 per lecture hour

Where it fails: the profile matches terms by exact text, so knowing "gradient descent" doesn't mark "gradient descent algorithm" as known. Near-twins like that are, I expect, the main source of pointless pauses. A user study is starting to measure it.

Lecture clip: Stanford CS229 (Andrew Ng), CC BY-NC-SA 4.0.

0 Upvotes

2 comments sorted by

1

u/hernandez-j_42 3d ago

For the user study, track both pointless near-twin pauses and missed new terms; broader matching could trade one error for the other.