Papers by Alessandro Morari
Towards Learning (Dis)-Similarity of Source Code from Program Contrasts (2022.acl-long)
Copied to clipboard
| Challenge: | Existing models that focus on identifying functional (dis)similarity of source code get confused when trying to identify functional (Dis)-similarities. |
| Approach: | They propose to pre-train a Transformer model with such automatically generated program contrasts to better identify similar code in the wild and differentiate vulnerable programs from benign ones. |
| Outcome: | The proposed model outperforms existing models in vulnerability and code clone detection tasks even with much less data. |