Canada Spends Logo

Explorez notre analyse du budget 2026

Grant: Alliance Grants

Queen's University

$60,000.00

Pragmatic Automated Code Transformation Leveraging Large Language Models

EF 2024-25

Résumé
With recent advancements in Large Language Models (LLMs) designed for coding, Artificial Intelligence for Software Engineering (AI4SE) remains pivotal in enhancing both developer productivity and software quality. Such LLMs pre-trained on vast repositories of SE data have shown strong potential for general-purpose SE tasks like code completion and generation. However, to excel at more specialized SE tasks like code transformation, companies still need to optimize LLMs to their specific context to avoid LLMs' tendency to "hallucinate", i.e., make up certain predictions. This partnership aims to develop advanced LLM-based methods that enable the translation of code across various software frameworks, focusing on detailed method-level and extensive project-aware file-level transformations. Such code transformation enhances the adaptability of complex software systems to changes in both the functional requirements and technological landscape (e.g., moving away from a legacy framework), ensuring that these systems remain efficient, scalable, and up-to-date with the latest industry standards and practices. While achieving this primary goal, we also recognize the value of an important support task: creating tools and methodologies that can improve the efficiency of benchmarking LLMs for code transformation. This involves formulating a conceptual framework that aligns developers' organizational needs with automated code evaluation strategies and an implementation that facilitates easier assessment and comparison of open-source and proprietary LLMs. The utility of this framework and its application will be assessed using open-source data (NSERC component of the project) and a proprietary code base from our partner, with Mitacs internships providing further assistance.
Programme
Alliance Grants
Bénéficiaire
Emplacement
Ontario, Canada
Type de bénéficiaire
Academia
Type
Grant
Source
NSERC's Awards Data

Tel que publié

Application id
597628-2024
Name nom
Tian, Yuan Y
Department département
Computing, School of
Organization id
29
Institution établissement
Queen's University
Province en
Ontario
Province fr
Ontario
Country en
CANADA
Country fr
CANADA
Fiscal year exercice financier
2024
Competition year année de concours
2024
Award amount
60000
Program id
ALLRP
Program name en
Alliance Grants
Program name fr
Subventions Alliance
Group en
RESEARCH PARTNERSHIPS
Group fr
PARTENARIATS DE RECHERCHE
Committee code
96
Committee name en
RPP Internal Decision Cttee
Committee name fr
Cté de décision interne - PPR
Area of application code
801
Area of application group en
Information and communication services
Area of application group fr
Services d'information et de télécommunications
Area of application en
Computer software
Area of application fr
Logiciel
Research subject code
2706
Research subject group en
Information technology
Research subject group fr
Technologie de l'information
Research subject en
Software engineering
Research subject fr
Génie logiciel
Field of research list names en
Not available
Field of research list names fr
Non disponible
Socioeconomic objective list names en
Not available
Socioeconomic objective list names fr
Non disponible
Application title
Pragmatic Automated Code Transformation Leveraging Large Language Models
Keywords
automated code transformation; automated software engineering; code migration; code refacotring; large language models; mining software repositories
Application summary
With recent advancements in Large Language Models (LLMs) designed for coding, Artificial Intelligence for Software Engineering (AI4SE) remains pivotal in enhancing both developer productivity and software quality. Such LLMs pre-trained on vast repositories of SE data have shown strong potential for general-purpose SE tasks like code completion and generation. However, to excel at more specialized SE tasks like code transformation, companies still need to optimize LLMs to their specific context to avoid LLMs' tendency to "hallucinate", i.e., make up certain predictions. This partnership aims to develop advanced LLM-based methods that enable the translation of code across various software frameworks, focusing on detailed method-level and extensive project-aware file-level transformations. Such code transformation enhances the adaptability of complex software systems to changes in both the functional requirements and technological landscape (e.g., moving away from a legacy framework), ensuring that these systems remain efficient, scalable, and up-to-date with the latest industry standards and practices. While achieving this primary goal, we also recognize the value of an important support task: creating tools and methodologies that can improve the efficiency of benchmarking LLMs for code transformation. This involves formulating a conceptual framework that aligns developers' organizational needs with automated code evaluation strategies and an implementation that facilitates easier assessment and comparison of open-source and proprietary LLMs. The utility of this framework and its application will be assessed using open-source data (NSERC component of the project) and a proprietary code base from our partner, with Mitacs internships providing further assistance.