Semantic similarity metrics for evaluating source code summarization
Open accessThe DOI matches its Crossref record; 59 of the 59 references it cites were found in a registry or an index.
Abstract
Source code summarization involves creating brief descriptions of source code in natural language. These descriptions are a key component of software documentation such as JavaDocs. Automatic code summarization is a prized target of software engineering research, due to the high value summaries have to programmers and the simultaneously high cost of writing and maintaining documentation by hand. Current work is almost all based on machine models trained via big data input. Large datasets of examples of code and summaries of that code are used to train an e.g. encoder-decoder neural model. Then the output predictions of the model are evaluated against a set of reference summaries. The input is code not seen by the model, and the prediction is compared to a reference. The means by which a prediction is compared to a reference is essentially word overlap, calculated via a metric such as BLEU or ROUGE. The problem with using word overlap is that not all words in a sentence have the same importance, and many words have synonyms. The result is that calculated similarity may not match the perceived similarity by human readers. In this paper, we conduct an experiment to measure the degree to which various word overlap metrics correlate to human-rated similarity of predicted and reference summaries. We evaluate alternatives based on current work in semantic similarity metrics and propose recommendations for evaluation of source code summarization.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Other proposed metrics such as BERTScore [28,70], BLEURT [58], NU-BIA [37], are computationally expensive, not widely used and thus not readily comparable with prior work for benchmarking.”
From Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization) (2024) · cites this paper as [28]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404 · cited 1×
“Universal sentence encoder [65] encodes text into high dimensional vectors using transformers [66].”
BackgroundBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805 · Cited by 73,173 · cited 7×
“Similar to the model we use in BertScore, SentenceBert uses RoBERTa to generate embeddings for the words in a sentence.”
MethodInfluentialThree Approaches to Qualitative Content Analysis
Hsieh, H.-F., & Shannon, S. E. (2005) · Qualitative Health Research · doi:10.1177/1049732305276687 · Cited by 44,601 · cited 1×
“Usually the term “reliability” refers to how consistent the ratings given by different people are [42, 43].”
BackgroundGlove: Global Vectors for Word Representation
Pennington, J., Socher, R., & Manning, C. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1162 · Cited by 34,071 · cited 2×
“A word embedding is a fixed-length representation of words in a vector space [57] [58].”
BackgroundMethodEfficient Estimation of Word Representations in Vector Space
Mikolov, T., Chen, K., Corrado, G., & Dean, J. (2013) · arXiv · doi:10.48550/arxiv.1301.3781 · Cited by 26,568 · cited 2×
“A word embedding is a fixed-length representation of words in a vector space [57] [58].”
BackgroundLearning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation
Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1179 · Cited by 25,545 · cited 3×
“Both the encoder and decoder layers of the at-tendgru model uses a GRU [68] to encode the text.”
MethodInfluentialBLEU: a method for automatic evaluation of machine translation
Papineni, K., Roukos, S., Ward, T., & Zhu, W.-J. (2001) · Proceedings of the 40th Annual Meeting on Association for Computational Linguistics - ACL '02 · doi:10.3115/1073083.1073135 · Cited by 21,344 · cited 3×
“By far the most popular metric for measuring word overlap in source code summarization research is BLEU [8].”
BackgroundRoBERTa: A Robustly Optimized BERT Pretraining Approach
Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., & Stoyanov, V. (2019) · arXiv · doi:10.48550/arxiv.1907.11692 · Cited by 16,515 · cited 2×
“For our experiment, we use the stsb-roberta-large pre-trained model [62].”
MethodSentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Reimers, N., & Gurevych, I. (2019) · Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP) · doi:10.18653/v1/d19-1410 · Cited by 12,778 · cited 2×
“Results from our experiments showed that the Sentence Bert Encoder (SentenceBert) [14] produced vectorized representations of the summaries that have the highest correlation to perceived similarity by the human experts in our experiment.”
MethodTerm-weighting approaches in automatic text retrieval
Salton, G., & Buckley, C. (1988) · Information Processing & Management · doi:10.1016/0306-4573(88)90021-0 · Cited by 9,740 · cited 1×
“Term frequency-inverse document frequency (tf-idf) reflects the importance of a word to the entire document [63] [64].”
Background(2004) · Cited by 9,718
Distributed Representations of Sentences and Documents
Le, Q. V., & Mikolov, T. (2014) · arXiv (Cornell University) · doi:10.48550/arxiv.1405.4053 · Cited by 4,934 · cited 1×
“Sentence embeddings have since been developed to learn vector representation of continuous texts [59].”
BackgroundTHE DISTRIBUTION OF THE FLORA IN THE ALPINE ZONE. 1
Jaccard, P. (1912) · New Phytologist · doi:10.1111/j.1469-8137.1912.tb05611.x · Cited by 4,561 · cited 1×
“Jaccard similarity is a measure of unigram overlap [51] [52].”
Background(2005) · Cited by 4,152
Running experiments on Amazon Mechanical Turk
Paolacci, G., Chandler, J., & Ipeirotis, P. G. (2010) · Judgment and Decision Making · doi:10.1017/s1930297500002205 · Cited by 3,767 · cited 2×
“We did not use Amazon Mechanical Turk (AMT) [38] because Eberhart et al. [39] shows that AMT users demonstrate lower similarity in agreement.”
MethodBERTScore: Evaluating Text Generation with BERT
Zhang, T., Kishore, V., Wu, F., Weinberger, K. Q., & Artzi, Y. (2019) · arXiv · doi:10.48550/arxiv.1904.09675 · Cited by 2,865 · cited 7×
“Similar to the model we use in BertScore, SentenceBert uses RoBERTa to generate embeddings for the words in a sentence.”
BackgroundMethodInfluentialSupervised Learning of Universal Sentence Representations from Natural Language Inference Data
Conneau, A., Kiela, D., Schwenk, H., Barrault, L., & Bordes, A. (2017) · Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/d17-1070 · Cited by 2,049 · cited 2×
“InferSent uses a siamese neural network architecture to produce sentence embeddings [60].”
MethodRethinking validity and reliability in content analysis
Potter, W. J., & Levine‐Donnerstein, D. (1999) · Journal of Applied Communication Research · doi:10.1080/00909889909365539 · Cited by 1,662 · cited 1×
“A growing consensus is that individual rater’s opinions often all have value, that disagreements often should not merely be decided by majority vote, and that studies where raters disagree often reflect valid diversity of opinion and not lack of reliability [46–48].”
BackgroundCer, D., Yang, Y., Kong, S.-Y., Hua, N., Limtiaco, N., John, R. S., Constant, N., Guajardo-Cespedes, M., Yuan, S., Tar, C., et al. (2018) · arXiv · doi:10.48550/arxiv.1803.11175 · Cited by 1,267 · cited 1×
“Universal sentence encoder [65] encodes text into high dimensional vectors using transformers [66].”
BackgroundReliability in content analysis: some common misconceptions and recommendations.
Krippendorff, K. (2004) · Human Communication Research · doi:10.1093/hcr/30.3.411 · Cited by 1,027 · cited 1×
“Yet these metrics are very controversial, and even their designers offer many caveats [45].”
BackgroundEffective Approaches to Attention-based Neural Machine Translation
Luong, M.-T., Pham, H., & Manning, C. D. (2015) · arXiv (Cornell University) · doi:10.48550/arxiv.1508.04025 · Cited by 655 · cited 1×
“Attendgru is an encoder-decoder based neural machine translation model [67].”
MethodHu, X., Li, G., Xia, X., Lo, D., & Jin, Z. (2018) · Proceedings of the 26th Conference on Program Comprehension · doi:10.1145/3196321.3196334 · Cited by 621 · cited 1×
“Second, a vast majority of neural code summarization approaches are based on this, or a similar variant of this model [24, 30].”
BackgroundTowards automatically generating summary comments for Java methods
Sridhara, G., Hill, E., Muppaneni, D., Pollock, L., & Vijay-Shanker, K. (2010) · Proceedings of the IEEE/ACM international conference on Automated software engineering · doi:10.1145/1858996.1859006 · Cited by 514
Using Machine Learning for Vulnerability Detection and Classification
Alon, U., Brody, S., Levy, O., & Yahav, E. (2018) · arXiv (Cornell University) · doi:10.4230/oasics.slate.2021.14 · Cited by 467 · cited 1×
“While it is no longer the state of the art, we use this baseline for two reasons: First, it is wellunderstood and has been used extensively as a strong baseline in numerous papers [25, 27, 29].”
MethodAgreement and Information in the Reliability of Coding
Krippendorff, K. (2011) · Communication Methods and Measures · doi:10.1080/19312458.2011.568376 · Cited by 453 · cited 1×
“Usually the term “reliability” refers to how consistent the ratings given by different people are [42, 43].”
Short Text Similarity with Word Embeddings
Kenter, T., & de Rijke, M. (2015) · Proceedings of the 24th ACM International on Conference on Information and Knowledge Management · doi:10.1145/2806416.2806475 · Cited by 440 · cited 1×
“Word-based similarity includes approaches like LSS [53] and STATIS [54] based on labeled relationships among words such as WordNet [55], as well as approaches based on word embeddings learned from large repositories of text [56].”
MethodWhy We Need New Evaluation Metrics for NLG
Novikova, J., Dušek, O., Cercas Curry, A., & Rieser, V. (2017) · Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/d17-1238 · Cited by 422 · cited 2×
“The questions are necessary (as opposed to simply asking for “accuracy”) to help ensure participants have a consistent understanding of the prompt, as Novikova et al. [32] also note in a study of BLEU.”
BackgroundOn the Use of Automated Text Summarization Techniques for Summarizing Source Code
Haiduc, S., Aponte, J., Moreno, L., & Marcus, A. (2010) · 2010 17th Working Conference on Reverse Engineering · doi:10.1109/wcre.2010.13 · Cited by 408 · cited 2×
“Research effort towards automatically writing these descriptions has come to be known as source code summarization [5].”
BackgroundWhy We Need New Evaluation Metrics for NLG
Novikova, J., Dušek, O., Curry, A. C., & Rieser, V. (2017) · arXiv · doi:10.48550/arxiv.1707.06875 · Cited by 406 · cited 2×
“The questions are necessary (as opposed to simply asking for “accuracy”) to help ensure participants have a consistent understanding of the prompt, as Novikova et al. [32] also note in a study of BLEU.”
BackgroundA Structured Review of the Validity of BLEU
Reiter, E. (2018) · Computational Linguistics · doi:10.1162/coli_a_00322 · Cited by 386 · cited 2×
“In addition, many metrics such as BLEU are intended as corpus-level metrics, and tend to be unreliable indicators at finer granularity such as sentence-level [10].”
BackgroundResultA Transformer-based Approach for Source Code Summarization
Ahmad, W., Chakraborty, S., Ray, B., & Chang, K.-W. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.449 · Cited by 378
Improved Code Summarization via a Graph Neural Network
LeClair, A., Haque, S., Wu, L., & McMillan, C. (2020) · Proceedings of the 28th International Conference on Program Comprehension · doi:10.1145/3387904.3389268 · Cited by 312
Self-citationA Neural Model for Generating Natural Language Summaries of Program Subroutines
LeClair, A., Jiang, S., & McMillan, C. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00087 · Cited by 294 · cited 2×
“While it is no longer the state of the art, we use this baseline for two reasons: First, it is wellunderstood and has been used extensively as a strong baseline in numerous papers [25, 27, 29].”
MethodSelf-citationThe adverse effects of code duplication in machine learning models of code
Allamanis, M. (2019) · Proceedings of the 2019 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software · doi:10.1145/3359591.3359735 · Cited by 284 · cited 1×
“Different strategies have been proposed to attempt to ensure adherence to accepted good practice [6, 36], but the literature does not describe studies of the quality itself.”
BackgroundMeta-analysis of Cohen’s kappa
Sun, S. (2011) · Health Services and Outcomes Research Methodology · doi:10.1007/s10742-011-0077-3 · Cited by 282
Automatically generating commit messages from diffs using neural machine translation
Jiang, S., Armaly, A., & McMillan, C. (2017) · 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115626 · Cited by 255
Self-citationBest practices for the human evaluation of automatically generated text
van der Lee, C., Gatt, A., van Miltenburg, E., Wubben, S., & Krahmer, E. (2019) · Proceedings of the 12th International Conference on Natural Language Generation · doi:10.18653/v1/w19-8643 · Cited by 205
Automatic Source Code Summarization of Context for Java Methods
McBurney, P. W., & McMillan, C. (2016) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2015.2465386 · Cited by 187 · cited 4×
“Heuristic and template based approaches include work by Srid-hara et al. [15, 16], McBurney et al. [17], and Moreno et al. [18].”
MethodInfluentialSelf-citationAutomatically detecting and describing high level actions within methods
Sridhara, G., Pollock, L., & Vijay-Shanker, K. (2011) · Proceedings of the 33rd International Conference on Software Engineering · doi:10.1145/1985793.1985808 · Cited by 182
Bontcheva, K., Davis, B., Funk, A., Li, Y.-Y., & Wang, T. (2009) · Semantic Knowledge Management · doi:10.1007/978-3-540-88845-1_4 · Cited by 179
Automatic Summarization of Bug Reports
Rastkar, S., Murphy, G. C., & Murray, G. (2014) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2013.2297712 · Cited by 178
Beyond BLEU: Training Neural Machine Translation with Semantic Similarity
Wieting, J., Berg-Kirkpatrick, T., Gimpel, K., & Neubig, G. (2019) · Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/p19-1427 · Cited by 136 · cited 1×
“These encodings can apply “partial credit” [12] for synonyms, misspellings, etc.”
BackgroundRecommendations for Datasets for Source Code Summarization
LeClair, A., & McMillan, C. (2019) · Proceedings of the 2019 Conference of the North · doi:10.18653/v1/n19-1394 · Cited by 111 · cited 3×
“Different strategies have been proposed to attempt to ensure adherence to accepted good practice [6, 36], but the literature does not describe studies of the quality itself.”
BackgroundSelf-citationReassessing automatic evaluation metrics for code summarization tasks
Roy, D., Fakhoury, S., & Arnaoudova, V. (2021) · Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3468264.3468588 · Cited by 106 · cited 2×
“However, researchers are advised to consider warnings regarding corpus-level BLEU [7].”
BackgroundGenerating Parameter Comments and Integrating with Method Summaries
Sridhara, G., Pollock, L., & Vijay-Shanker, K. (2011) · 2011 IEEE 19th International Conference on Program Comprehension · doi:10.1109/icpc.2011.28 · Cited by 104 · cited 1×
“Heuristic and template based approaches include work by Srid-hara et al. [15, 16], McBurney et al. [17], and Moreno et al. [18].”
MethodImproved Automatic Summarization of Subroutines via Attention to File Context
Haque, S., LeClair, A., Wu, L., & McMillan, C. (2020) · Proceedings of the 17th International Conference on Mining Software Repositories · doi:10.1145/3379597.3387449 · Cited by 102 · cited 1×
“Second, a vast majority of neural code summarization approaches are based on this, or a similar variant of this model [24, 30].”
BackgroundSelf-citationAutomatic generation of release notes
Moreno, L., Bavota, G., Di Penta, M., Oliveto, R., Marcus, A., & Canfora, G. (2014) · Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering · doi:10.1145/2635868.2635870 · Cited by 101 · cited 1×
“Heuristic and template based approaches include work by Srid-hara et al. [15, 16], McBurney et al. [17], and Moreno et al. [18].”
MethodUsing IR methods for labeling source code artifacts: Is it worthwhile?
De Lucia, A., Di Penta, M., Oliveto, R., Panichella, A., & Panichella, S. (2012) · 2012 20th IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2012.6240488 · Cited by 94 · cited 1×
“Around the same time, heuristics based on Information Retrieval (IR) were also popular [5, 19–21].”
BackgroundEvaluating Discourse and Dialogue Coding Schemes
Craggs, R., & Wood, M. M. (2005) · Computational Linguistics · doi:10.1162/089120105774321109 · Cited by 85 · cited 1×
“A growing consensus is that individual rater’s opinions often all have value, that disagreements often should not merely be decided by majority vote, and that studies where raters disagree often reflect valid diversity of opinion and not lack of reliability [46–48].”
BackgroundAn Empirical Study on Evolution of API Documentation
Shi, L., Zhong, H., Xie, T., & Li, M. (2011) · Lecture notes in computer science · doi:10.1007/978-3-642-19811-3_29 · Cited by 83 · cited 1×
“Yet, while programmers seek good documentation for themselves, they are notorious for writing poor documentation for others due to time pressure and language barriers [1, 2].”
BackgroundDetecting API documentation errors
Zhong, H., & Su, Z. (2013) · Proceedings of the 2013 ACM SIGPLAN international conference on Object oriented programming systems languages & applications · doi:10.1145/2509136.2509523 · Cited by 80 · cited 1×
“Yet, while programmers seek good documentation for themselves, they are notorious for writing poor documentation for others due to time pressure and language barriers [1, 2].”
BackgroundA Human Study of Comprehension and Code Summarization
Stapleton, S., Gambhir, Y., LeClair, A., Eberhart, Z., Weimer, W., Leach, K., & Huang, Y. (2020) · Proceedings of the 28th International Conference on Program Comprehension · doi:10.1145/3387904.3389258 · Cited by 77 · cited 5×
“The dominant metric is currently BLEU, and weaknesses of BLEU have been high-lighted for several years [11], though it is not clear if any existing metric should replace it.”
BackgroundResultInfluentialSelf-citationDetecting speech act types in developer question/answer conversations during bug repair
Wood, A., Rodeghero, P., Armaly, A., & McMillan, C. (2018) · Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3236024.3236031 · Cited by 46 · cited 1×
“[41] by reporting facts about agreement, even if taking no action to force agreement by the professional programmers participating in our study.”
BackgroundSelf-citationA fast and efficient semantic short text similarity metric
Croft, D., Coupland, S., Shell, J., & Brown, S. C. (2013) · UK Workshop on Computational Intelligence · doi:10.1109/ukci.2013.6651309 · Cited by 44 · cited 1×
“Word-based similarity includes approaches like LSS [53] and STATIS [54] based on labeled relationships among words such as WordNet [55], as well as approaches based on word embeddings learned from large repositories of text [56].”
MethodAction Word Prediction for Neural Source Code Summarization
Haque, S., Bansal, A., Wu, L., & McMillan, C. (2021) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner50967.2021.00038 · Cited by 31 · cited 2×
“” This finding verifies related work [40].”
BackgroundSelf-citationA Wizard of Oz Study Simulating API Usage Dialogues With a Virtual Assistant
Eberhart, Z., Bansal, A., & McMillan, C. (2020) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.3040935 · Cited by 19 · cited 1×
“Therefore, in this paper, we create the aggregate human-rated score as a compromise between forcing participants to agree (such as by engaging in conversation with each other until agreement is reached [49]) and removing results that disagree.”
BackgroundSelf-citation(2011) · Springer eBooks · doi:10.1007/springerreference_4449 · Cited by 13
Automatically Extracting Subroutine Summary Descriptions from Unstructured Comments
Eberhart, Z., LeClair, A., & McMillan, C. (2020) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner48275.2020.9054789 · Cited by 10 · cited 1×
“We did not use Amazon Mechanical Turk (AMT) [38] because Eberhart et al. [39] shows that AMT users demonstrate lower similarity in agreement.”
MethodSelf-citationWanted: guidelines for reporting correlations
Kay, B. (2009) · AJP Advances in Physiology Education · doi:10.1152/advan.00007.2009 · Cited by 5 · cited 1×
“As Kay [69] points out, the p-value of correlation can be misleading because it may give a higher confidence than warranted.”
Background
Research works printed but not linked: 11
- [3] D. Kramer, 'Api documentation from source code comments: a case study of javadoc,' in Proceedings of the 17th annual international conference on Computer documentation . ACM, 1999, pp. 147-153. -
- [4] A. Forward and T. C. Lethbridge, 'The relevance of software documentation, tools and technologies: a survey,' in Proceedings of the 2002 ACM symposium on Document engineering . ACM, 2002, pp. 26-33. -
- [13] D. Gros, H. Sezhiyan, P. Devanbu, and Z. Yu, 'Code to comment 'translation': Data, metrics, baselining evaluation,' in 2020 35th IEEE/ACM International Conference on Automated Software Engineering (ASE) , 2020, pp. 746-757. -
- [21] P. Rodeghero, C. McMillan, P. W. McBurney, N. Bosch, and S. D'Mello, 'Improving automated source code summarization via an eye-tracking study of programmers,' in Proceedings of the 36th international conference on Software engineering . ACM, 2014, pp. 390-401. -
- [22] S. Iyer, I. Konstas, A. Cheung, and L. Zettlemoyer, 'Summarizing source code using a neural attention model,' in Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) , 2016, pp. 2073-2083. -
- [25] U. Alon, S. Brody, O. Levy, and E. Yahav, 'code2seq: Generating sequences from structured representations of code,' International Conference on Learning Representations , 2019. -
- [26] U. Alon, M. Zilberstein, O. Levy, and E. Yahav, 'code2vec: Learning distributed representations of code,' Proceedings of the ACM on Programming Languages , vol. 3, no. POPL, pp. 1-29, 2019. -
- [34] E. Clark, A. Celikyilmaz, and N. A. Smith, 'Sentence mover's similarity: Automatic evaluation for multi-sentence texts,' in Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics , 2019, pp. 2748-2760. -
- [44] H. C. Kraemer, 'Kappa coefficient,' Wiley StatsRef: Statistics Reference Online , pp. 1-4, 2014. -
- [54] Y. Li, D. McLean, Z. A. Bandar, J. D. O'shea, and K. Crockett, 'Sentence similarity based on semantic nets and corpus statistics,' IEEE transactions on knowledge and data engineering , vol. 18, no. 8, pp. 1138-1150, 2006. -
- [70] C. P. Dancey and J. Reidy, Statistics without maths for psychology . Pearson education, 2007.
Cited by
Automated Grading and Feedback Tools for Programming Education: A Systematic Review
Messer, M., Brown, N. C. C., Kölling, M., & Shi, M. (2024) · ACM Transactions on Computing Education · doi:10.1145/3636515 · Cited by 262
Lee, J., Ahn, S., Kim, D., & Kim, D. (2024) · Automation in Construction · doi:10.1016/j.autcon.2024.105846 · Cited by 186
Recommending Root-Cause and Mitigation Steps for Cloud Incidents using Large Language Models
Ahmed, T., Ghosh, S., Bansal, C., Zimmermann, T., Zhang, X., & Rajmohan, S. (2023) · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) · doi:10.1109/icse48619.2023.00149 · Cited by 148
Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization)
Ahmed, T., Pai, K. S., Devanbu, P., & Barr, E. (2024) · Proceedings of the IEEE/ACM 46th International Conference on Software Engineering · doi:10.1145/3597503.3639183 · Cited by 112
“However, for up to 2% of the randomly chosen samples in each experiment, we didn’t get good results; either the prompt didn’t fit into the model’s 5 Please see Section 7 for the rationale. window, or the model mysteriously generated an empty string.”
BackgroundResultAnalysis of customer reviews with an improved VADER lexicon classifier
Barik, K., & Misra, S. (2024) · Journal Of Big Data · doi:10.1186/s40537-023-00861-x · Cited by 92
“The methods of computing the semantic similarity between two sentences used in this study are a) word vector similarity [46], b) WordNet similarity [46], and c) Word order similarity [47].”
Method
Metadata
- Authors
- Haque, S., Eberhart, Z., Bansal, A., & McMillan, C.
- Affiliations
- University of Notre Dame (US)
- Venue
- Proceedings of the 30th IEEE/ACM International Conference on Program Comprehension
- Publisher
- ACM
- Published
- 2022-05-16
- Pages
- 36-47
- OpenAlex
- W4313185449
- Semantic Scholar
- 763977b812a08dc0e4214fd8ce4a5aba5fe26044
- Cited by
- 116
- References
- 59
- Citations by year
- 2026: 13 · 2025: 42 · 2024: 40 · 2023: 20 · 2022: 1
- FWCI
- 23.02
- Type
- conference paper
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- IEEE International Conference on Program Comprehension (ICPC) (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Funders
- NSF (CCF-2100035)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Keywords
- source code summarization, semantic similarity metrics, BLEU, ROUGE, synonymy (linguistics), software documentation
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.