@inproceedings{phillips-etal-2024-metric,
title = "Metric-Oriented Pretraining of Neural Source Code Summarisation Transformers to Enable more Secure Software Development",
author = "Phillips, Jesse and
El-Haj, Mo and
Hall, Tracy",
editor = "Mitkov, Ruslan and
Ezzini, Saad and
Ranasinghe, Tharindu and
Ezeani, Ignatius and
Khallaf, Nouran and
Acarturk, Cengiz and
Bradbury, Matthew and
El-Haj, Mo and
Rayson, Paul",
booktitle = "Proceedings of the First International Conference on Natural Language Processing and Artificial Intelligence for Cyber Security",
month = jul,
year = "2024",
address = "Lancaster, UK",
publisher = "International Conference on Natural Language Processing and Artificial Intelligence for Cyber Security",
url = "https://preview.aclanthology.org/landing_page/2024.nlpaics-1.3/",
pages = "17--31",
abstract = "Source code summaries give developers and maintainers vital information about source code methods. These summaries aid with the security of software systems as they can be used to improve developer and maintainer understanding of code, with the aim of reducing the number of bugs and vulnerabilities. However writing these summaries takes up the developers' time and these summaries are often missing, incomplete, or outdated. Neural source code summarisation solves these issues by summarising source code automatically. Current solutions use Transformer neural networks to achieve this. We present CodeSumBART - a BART-base model for neural source code summarisation, pretrained on a dataset of Java source code methods and English method summaries. We present a new approach to training Transformers for neural source code summarisation by using epoch validation results to optimise the performance of the model. We found that in our approach, using larger n-gram precision BLEU metrics for epoch validation, such as BLEU-4, produces better performing models than other common NLG metrics."
}
Markdown (Informal)
[Metric-Oriented Pretraining of Neural Source Code Summarisation Transformers to Enable more Secure Software Development](https://preview.aclanthology.org/landing_page/2024.nlpaics-1.3/) (Phillips et al., NLPAICS 2024)
ACL