Scheduled Contrastive Loss In Continued Transfer Learning For Software Engineering Tasks

Considerable research has been performed with regard to using text-to-text machine learning methods to perform various software engineering tasks. At the same time, contrastive learning has shown promise in other modalities, such as computer vision-related problems, and has been explored to some extent in terms of limited software engineering tasks. We demonstrate that contrastive loss, on its own, is insufficient to surpass current baselines for these tasks; however, we note that there is a high degree of orthogonality in the results from existing and contrastive models. We show that when our contrastive method is used as an additional transfer learning step in the training process, the results contain a large portion of the overlap between the distinct models, as well as producing new positive results, effectively capturing the majority of the results from the distinct models and increasing overall model accuracy. By employing this method, we are able to exceed the baseline accuracy of four software engineering tasks by varying margins, ranging from marginal (<1%) to 262% during single beam tests, with minor improvements at selected other beam sizes, in both single- and multi-task training strategies.

Publication Details

Journal
W&M Publish (College of William & Mary)
Published
2024-10-01
DOI
https://doi.org/10.21220/s2-r118-1j93
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Scheduled Contrastive Loss In Continued Transfer Learning For Software Engineering Tasks

W&M Publish (College of William & Mary)
Software Engineering Research
article

Scheduled Contrastive Loss In Continued Transfer Learning For Software Engineering Tasks

article en

Abstract

Considerable research has been performed with regard to using text-to-text machine learning methods to perform various software engineering tasks. At the same time, contrastive learning has shown promise in other modalities, such as computer vision-related problems, and has been explored to some extent in terms of limited software engineering tasks. We demonstrate that contrastive loss, on its own, is insufficient to surpass current baselines for these tasks; however, we note that there is a high degree of orthogonality in the results from existing and contrastive models. We show that when our contrastive method is used as an additional transfer learning step in the training process, the results contain a large portion of the overlap between the distinct models, as well as producing new positive results, effectively capturing the majority of the results from the distinct models and increasing overall model accuracy. By employing this method, we are able to exceed the baseline accuracy of four software engineering tasks by varying margins, ranging from marginal (<1%) to 262% during single beam tests, with minor improvements at selected other beam sizes, in both single- and multi-task training strategies.

W&M Publish (College of William & Mary)
Openalex Percentile: Top 36%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.