Back to search

College of William and Mary

Scheduled Contrastive Loss In Continued Transfer Learning For Software Engineering Tasks

Abstract

dc:description.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.

Degree

thesis:*
Department dc:contributor.department
College of William and Mary - Arts & Sciences
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Harris, Aaron Michael
Advisors dc:contributor.advisor
  • Poshyvanyk, Denys
  • Chaparro, Oscar
  • Nadkarni, Adwait

Rights

dc:rights
Statement dc:rights
  • © The Author

Identifiers

dc:identifier.*
Dc Identifier Other
37705464
etd/1727787997

Chain of custody

source
Harvested from
College of William and Mary
Base URL
scholarworks.wm.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Harris, Aaron Michael. Scheduled Contrastive Loss In Continued Transfer Learning For Software Engineering Tasks. 2024. https://doi.org/10.21220/s2-r118-1j93