Enhancing Deployment-Time Predictive Model Robustness for Code Analysis and Optimization

Huanting Wang, Patrick Lenihan, Zheng Wang
12/31/2024
cs.SEcs.AI

No official code found. Best implementation: HuantWang/PROM (4 stars, CC-BY-4.0, last commit 2025-02-03).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

HuantWang/PROMCommunity100%
CC-BY-4.0

PROM is an open-source software framework to enhance the robustness and performance of predictive models against such changes during deployment.

41C, LLVMJan 14, 20241 years agoCC-BY-4.0

Similar Papers

Cite this paper

@article{wang2024enhancing,
  title  = {Enhancing Deployment-Time Predictive Model Robustness for Code Analysis and Optimization},
  author = {Huanting Wang and Patrick Lenihan and Zheng Wang},
  year   = {2024},
  eprint = {2501.00298},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.00298v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.00298.svg)](https://codeofpaper.com/paper/2501.00298)

Discussion