arxivcs.CLcs.AIcs.PL2026-07-09
TypeProbe: Recovering Type Representations from Hidden States of Pre-trained Code Models
Giuliano Gorgone, Fausto Carcassi
State-of-the-art code models achieve impressive performance, yet the extent to which they internally encode type information remains poorly understood. We probe the residual streams of pretrained code models for internal type representations using a parallel dataset of Java and P…