Semantic Code Search with Neural Bag-of-Words and Graph Convolutional Networks
Autor(en):
Zusammenfassung
Software developers are often confronted with tasks for which there are widespread solution patterns. Searching for solutions using natural language queries often leads to unsatisfying results. Github, Microsoft Research and Weights & Biases created the CodeSearchNet Challenge to address this problem. Its goal is to develop code search approaches that return the code that best matches a natural language query. In this paper, we investigate two different approaches in this context. First, a Neural Bag-of-Words encoder using TF-IDF weighting and second, a Graph Convolutional Network which includes the call hierarchy in a target method’s representation. In our experiments we were able to improve the Neural Bag-of-Words models, whose results were published in the CodeSearchNet Challenge. Our Neural Bag-of-Words encoder improves the MRR by 4.38% for Python and 4.98% for Java. The Graph Convolutional Network did not improve the results over of the Neural Bag-of-Words model.
- Vollständige Referenz
- BibTeX
Sieper, A. A., Amarkhel, O., Diez, S. & Petrak, D.,
(2020).
Semantic Code Search with Neural Bag-of-Words and Graph Convolutional Networks.
In:
Becker, M.
(Hrsg.),
SKILL 2020 - Studierendenkonferenz Informatik.
Bonn:
Gesellschaft für Informatik e.V..
(S. 103--115).
@inproceedings{mci/Sieper2020,
author = {Sieper, Anna Abad AND Amarkhel, Omar AND Diez, Savina AND Petrak, Dominic},
title = {Semantic Code Search with Neural Bag-of-Words and Graph Convolutional Networks},
booktitle = {SKILL 2020 - Studierendenkonferenz Informatik},
year = {2020},
editor = {Becker, Michael} ,
pages = { 103--115 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
author = {Sieper, Anna Abad AND Amarkhel, Omar AND Diez, Savina AND Petrak, Dominic},
title = {Semantic Code Search with Neural Bag-of-Words and Graph Convolutional Networks},
booktitle = {SKILL 2020 - Studierendenkonferenz Informatik},
year = {2020},
editor = {Becker, Michael} ,
pages = { 103--115 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
| Dateien | Groesse | Format | Anzeige | |
|---|---|---|---|---|
| SKILL2020-08.pdf | 236.1Kb | Öffnen |
Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Feedback abschicken
Mehr Information
ISBN: 978-3-88579-750-0
ISSN: 1614-3213
Datum: 2020
Sprache:
(en)
(en)
Typ: Text/Conference Paper

