Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wang, Huanting, Lenihan, Patrick, Wang, Zheng
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2501.00298
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929653835366400
author Wang, Huanting
Lenihan, Patrick
Wang, Zheng
author_facet Wang, Huanting
Lenihan, Patrick
Wang, Zheng
contents Supervised machine learning techniques have shown promising results in code analysis and optimization problems. However, a learning-based solution can be brittle because minor changes in hardware or application workloads -- such as facing a new CPU architecture or code pattern -- may jeopardize decision accuracy, ultimately undermining model robustness. We introduce Prom, an open-source library to enhance the robustness and performance of predictive models against such changes during deployment. Prom achieves this by using statistical assessments to identify test samples prone to mispredictions and using feedback on these samples to improve a deployed model. We showcase Prom by applying it to 13 representative machine learning models across 5 code analysis and optimization tasks. Our extensive evaluation demonstrates that Prom can successfully identify an average of 96% (up to 100%) of mispredictions. By relabeling up to 5% of the Prom-identified samples through incremental learning, Prom can help a deployed model achieve a performance comparable to that attained during its model training phase.
format Preprint
id arxiv_https___arxiv_org_abs_2501_00298
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Enhancing Deployment-Time Predictive Model Robustness for Code Analysis and Optimization
Wang, Huanting
Lenihan, Patrick
Wang, Zheng
Software Engineering
Artificial Intelligence
Supervised machine learning techniques have shown promising results in code analysis and optimization problems. However, a learning-based solution can be brittle because minor changes in hardware or application workloads -- such as facing a new CPU architecture or code pattern -- may jeopardize decision accuracy, ultimately undermining model robustness. We introduce Prom, an open-source library to enhance the robustness and performance of predictive models against such changes during deployment. Prom achieves this by using statistical assessments to identify test samples prone to mispredictions and using feedback on these samples to improve a deployed model. We showcase Prom by applying it to 13 representative machine learning models across 5 code analysis and optimization tasks. Our extensive evaluation demonstrates that Prom can successfully identify an average of 96% (up to 100%) of mispredictions. By relabeling up to 5% of the Prom-identified samples through incremental learning, Prom can help a deployed model achieve a performance comparable to that attained during its model training phase.
title Enhancing Deployment-Time Predictive Model Robustness for Code Analysis and Optimization
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2501.00298