SimLLM: Calculating Semantic Similarity in Code Summaries using a Large Language Model-Based Approach
Problem
Existing metrics like BLEU and BERTScore fail to capture semantic nuances and domain-specific terminology when evaluating code summaries.
Why it matters
Code summaries drive software readability, maintainability, and collaboration, so poor metrics misjudge their quality.
What the AI did
Built SimLLM, an autoregressive LLM with specialized pretraining on permutated inputs and pooling-based pairwise similarity, to measure semantic similarity of code summaries.
Results
Stated to outperform existing metrics; no numeric results in abstract
Impact
Peer-reviewed publication offering an improved summary-similarity metric; adoption is not stated.
Record
| Venue | Proceedings of the ACM on software engineering |
|---|---|
| Published | 2024 |
| Work type | article |
| Authors | Xin Jin, Zhiqiang Lin |
| Citations | 11 (OpenAlex, at import time) |
| References | 67 |
| Model or method | SimLLM (autoregressive LLM) |
| Organization | not stated in source |
| Primary source | https://doi.org/10.1145/3660769 |
| Open access | hybrid |
| Keywords | large language models, code summaries, semantic similarity, evaluation metrics, software engineering |
Importance rating
real but narrower advance
Better evaluation of code summaries aids software maintainability and collaboration; a useful methodological advance for software engineering research, with no stated scale of impact.
More in Software & Coding
| # | Paper | Year | Citations | Importance |
|---|---|---|---|---|
| 1 | ImageNet classification with deep convolutional neural networks | 2017 | 106,345 |
8
|
| 2 | Deep Residual Learning for Image Recognition | 2016 | 221,134 |
8
|
| 3 | Faster sorting algorithms discovered using deep reinforcement learning | 2023 | 175 |
8
|
| 4 | A deep learning‐based approach for software vulnerability detection using code metrics | 2022 | 42 |
7
|
| 5 | Deep Learning-Based Attack Detection and Classification in Android Devices | 2023 | 41 |
7
|