~/talk

Novice Type Error Diagnosis with Natural Language Models

Talkat APLAS 2022 · 2022-12-05..12-10· [developer-experience, machine-learning]
links:none on file
slides:none on file

Uses pretrained Transformer language models (BERT/CodeBERT family) to predict token-level type error locations by treating code as token sequences with token-level binary labels, training end-to-end with no hand-crafted features. Achieves 62% accuracy on novice OCaml errors, a 11% improvement over prior data-driven baselines, and uses structural probes to explain model differences. Evaluation uses GitHub and student homework corpora; future work adds AST-aware models such as graph neural networks.

AI-written summary · about

  1. 0:00Type error diagnosis intro
  2. 2:26Why compilers fail
  3. 3:51Natural language model approach
  4. 7:05How BERT and GPT work
  5. 10:40Model accuracy metrics
  6. 12:25Type error prediction metrics
  7. 14:58Model performance comparison
  8. 16:43Model size and transfer learning
  9. 18:50Generalization to unseen data
  10. 20:17Advantages and limitations
  11. 22:23Future work and program structure
  12. 23:10Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.