Litcius/Paper detail

VarCLR

Qibin Chen, Jeremy Lacomis, Edward J. Schwartz, Graham Neubig, Bogdan Vasilescu, Claire Le Goues

2022Proceedings of the 44th International Conference on Software Engineering24 citationsDOIOpen Access PDF

Abstract

Variable names are critical for conveying intended program behavior. Machine learning-based program analysis methods use variable name representations for a wide range of tasks, such as suggesting new variable names and bug detection. Ideally, such methods could capture semantic relationships between names beyond syntactic similarity, e.g., the fact that the names average and mean are similar. Unfortunately, previous work has found that even the best of previous representation approaches primarily capture "relatedness" (whether two variables are linked at all), rather than "similarity" (whether they actually have the same meaning).

Topics & Concepts

Computer scienceNatural language processingVariable (mathematics)Artificial intelligenceMeaning (existential)Similarity (geometry)Semantic similarityRepresentation (politics)Range (aeronautics)MathematicsPsychologyPsychotherapistPolitical scienceMaterials scienceMathematical analysisComposite materialImage (mathematics)LawPoliticsSoftware Engineering ResearchTopic ModelingSoftware Testing and Debugging Techniques