How Language Models Understand Nullability
Sanchez-Stern and Tondwalkar, 2025
We study how models represent the nullability of program values. We measure how well models of various sizes, at various training checkpoints, complete programs that use nullable values, and then extract an internal representation of nullability.