Boosting Commit Classification with Contrastive Learning
Jiajun Tong, Zhixiao Wang, Xiaobin Rui

TL;DR
This paper introduces a contrastive learning framework for commit classification that enhances few-shot learning by generating pseudo-labels and utilizing sentence-level embeddings, achieving state-of-the-art results.
Contribution
The proposed method leverages contrastive learning with pseudo-labels and sentence transformers to improve commit classification in few-shot scenarios, reducing reliance on large labeled datasets.
Findings
Achieves state-of-the-art performance on open datasets.
Effectively handles few-shot commit classification.
Improves model adaptability without extensive fine-tuning.
Abstract
Commit Classification (CC) is an important task in software maintenance, which helps software developers classify code changes into different types according to their nature and purpose. It allows developers to understand better how their development efforts are progressing, identify areas where they need improvement, and make informed decisions about when and how to release new software versions. However, existing models need lots of manually labeled data for fine-tuning processes, and ignore sentence-level semantic information, which is often essential for discovering the difference between diverse commits. Therefore, it is still challenging to solve CC in fewshot scenario. To solve the above problems, we propose a contrastive learning-based commit classification framework. Firstly, we generate sentences and pseudo-labels according to the labels of the dataset, which aims to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Engineering Techniques and Practices · Software Reliability and Analysis Research
