paper-with-me

홈 › Papers

Transformer-Assisted LLM-Based Source Code Summarisation: to Enable More Secure Software Development

2026-07-23 · Jesse Phillips, Tracy Hall, Paul Rayson, Mo El-Haj arxiv

Neural Source Code Summarisation (NSCS) aims to generate natural language summaries of source code to improve developers' and maintainers' understanding of code. Source code summaries are vital during the maintenance phase of the Secure Software Development Lifecycle (SSDLC), as they improve maintainers' understanding of code and help reduce the number of bugs and vulnerabilities in a software system. However, summaries are often missing, incomplete, or outdated in many software systems. Solutions to this problem use small, task-specific Transformer models or code-aware Large Language Models (LLMs). Task-specific Transformer-generated summaries often score well across many natural language generation (NLG) metrics, but these metrics reward lexical overlap rather than summary quality. Conversely, the ability of LLMs to capture semantics and produce high-quality summaries presents an exciting solution to this problem. This is especially relevant given the increased availability of LLMs and improvements in workstation hardware in recent years, which mean that some LLMs can now be run on developers' workstations. However, because of their abstractive nature, LLM-generated code summaries often differ greatly from developer-written summaries in the words and phrases they use, resulting in low scores across NLG metrics. We show how combining these two methods, by using Transformer-generated summaries in prompt engineering, may enable LLMs to create better source code summaries and help software practitioners maintain secure systems. We prompt four LLMs using four different prompts, with a task-specific Transformer used to assist the LLMs within the prompts. We present "Transformer-Assisted LLM-Based Source Code Summarisation", a method through which we observe an improvement of 7.8% in BLEU-4 and 5%.

📄 PDF Abstract BibTeX arXiv:2607.20933

Code (0)

등록된 구현이 없습니다.

Tasks

Prompt Engineering

Similar Papers 제목 키워드 기반

Generating Extended and Multilingual Summaries with Pre-trained Transformers

2022-06-01 · LREC 2022 6 · Rémi Calizzano, Malte Ostendorff, Qian Ruan, Georg Rehm

Almost all summarisation methods and datasets focus on a single language and short summaries. We introduce a new dataset called WikinewsSum for English, German, French, Spanish, Portuguese, Polish, and Italian summarisat…

Articles

Lay Text Summarisation Using Natural Language Processing: A Narrative Literature Review

2023-03-24 · Oliver Vinzelberg, Mark David Jenkins, Gordon Morison, David McMinn 외

Summarisation of research results in plain language is crucial for promoting public understanding of research findings. The use of Natural Language Processing to generate lay summaries has the potential to relieve resear…

Abstractive Text SummarizationArticles

Transformer-based Models for Long Document Summarisation in Financial Domain

2022-06-01 · FNP (LREC) 2022 6 · Urvashi Khanna, Samira Ghodratnama, Diego Moll ́a, Amin Beheshti

Summarisation of long financial documents is a challenging task due to the lack of large-scale datasets and the need for domain knowledge experts to create human-written summaries. Traditional summarisation approaches th…

Decoder

FreeTxt-Vi: A Benchmarked Vietnamese-English Toolkit for Segmentation, Sentiment, and Summarisation

2026-03-05 · Hung Nguyen Huy, Mo El-Haj, Dawn Knight, Paul Rayson arxiv

FreeTxt-Vi is a free and open source web based toolkit for creating and analysing bilingual Vietnamese English text collections. Positioned at the intersection of corpus linguistics and natural language processing NLP it…

Sentiment Analysis

Discharge Summary Hospital Course Summarisation of In Patient Electronic Health Record Text with Clinical Concept Guided Deep Pre-Trained Transformer Models

2022-11-14 · Thomas Searle, Zina Ibrahim, James Teo, Richard Dobson

Brief Hospital Course (BHC) summaries are succinct summaries of an entire hospital encounter, embedded within discharge summaries, written by senior clinicians responsible for the overall care of a patient. Methods to au…