A ML-LLM pairing for better code comment classification

Hanna Abi Akl
10/13/2023
cs.SEcs.AI

No confident code implementation found for this paper.

Abstract

The "Information Retrieval in Software Engineering (IRSE)" at FIRE 2023 shared task introduces code comment classification, a challenging task that pairs a code snippet with a comment that should be evaluated as either useful or not useful to the understanding of the relevant code. We answer the code comment classification shared task challenge by providing a two-fold evaluation: from an algorithmic perspective, we compare the performance of classical machine learning systems and complement our evaluations from a data-driven perspective by generating additional data with the help of large language model (LLM) prompting to measure the potential increase in performance. Our best model, which took second place in the shared task, is a Neural Network with a Macro-F1 score of 88.401% on the provided seed data and a 1.5% overall increase in performance on the data generated by the LLM.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{akl2023mlllm,
  title  = {A ML-LLM pairing for better code comment classification},
  author = {Hanna Abi Akl},
  year   = {2023},
  eprint = {2310.10275},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.10275v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.10275.svg)](https://codeofpaper.com/paper/2310.10275)

Discussion