STACC: Code Comment Classification using SentenceTransformers
Not on the map. Why?
Abstract (arXiv)
Code comments are a key resource for information about software artefacts. Depending on the use case, only some types of comments are useful. Thus, automatic approaches to classify these comments have been proposed. In this work, we address this need by proposing, STACC, a set of SentenceTransformers-based binary classifiers. These lightweight classifiers are trained and tested on the NLBSE Code Comment Classification tool competition dataset, and surpass the baseline by a significant margin, achieving an average F1 score of 0.74 against the baseline of 0.31, which is an improvement of 139%. A replication package, as well as the models themselves, are publicly available.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 5 of its 9 references that are in the map. First posted on arXiv 25 Feb 2023.
Builds on
5 of 9 references.
References · 5
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2022Efficient Few-Shot Learning Without Promptscited by 137
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequencescited by 50
- 2023Extending Source Code Pre-Trained Language Models to Summarise Decompiled Binariescited by 26
- 2021How to Identify Class Comment Types? A Multi-language Approach for Class Comment Classificationcited by 6
Built on by
Citing papers per year: 2023: 2; 2024: 1; 2025: 1; 2026: 1.
5 papers.
- 2023Enriching Source Code with Contextual Data for Code Completion Models: An Empirical Studycited by 8
- 2025Can LLMs Handle WebShell Detection? Overcoming Detection Challenges with Behavioral Function-Aware Frameworkcited by 6
- 2023A Multi-solution Study on GDPR AI-enabled Completeness Checking of DPAscited by 3
- 2024Dopamin: Transformer-based Comment Classifiers through Domain Post-Training and Multi-level Layer Aggregationcited by 0
- 2026LoRA-MME: Multi-Model Ensemble of LoRA-Tuned Encoders for Code Comment Classificationcited by 0
- 2026LoRA-MME: Multi-Model Ensemble of LoRA-Tuned Encoders for Code Comment Classification4 Mar 2026
- 2025Can LLMs Handle WebShell Detection? Overcoming Detection Challenges with Behavioral Function-Aware Framework14 Apr 2025
- 2024Dopamin: Transformer-based Comment Classifiers through Domain Post-Training and Multi-level Layer Aggregation6 Aug 2024
- 2023A Multi-solution Study on GDPR AI-enabled Completeness Checking of DPAs23 Nov 2023
- 2023Enriching Source Code with Contextual Data for Code Completion Models: An Empirical Study24 Apr 2023