Contrastive Code Representation Learning
Jain et al., Contrastive Code Representation Learning, 2020. For many machine-aided programming tasks, programs with the same functionality should have the same underlying representation. ContraCode learns such representations with contrastive learning: the network is trained to find equivalent programs among many distractors.
ContraCode