LaF: Labeling-Free Model Selection for Automated Deep Neural Network Reusing

Qiang Hu, Yuejun Guo, Maxime Cordy, Xiaofei Xie, Mike Papadakis +1 more
4/8/2022
cs.LGcs.AIcs.SE

Official code: testing-cs/LaF-model-selection (1 star, Python, MIT, last commit 2023-08-22).

Abstract

Applying deep learning to science is a new trend in recent years which leads DL engineering to become an important problem. Although training data preparation, model architecture design, and model training are the normal processes to build DL models, all of them are complex and costly.

Show full abstract

Therefore, reusing the open-sourced pre-trained model is a practical way to bypass this hurdle for developers. Given a specific task, developers can collect massive pre-trained deep neural networks from public sources for re-using. However, testing the performance (e.g., accuracy and robustness) of multiple DNNs and recommending which model should be used is challenging regarding the scarcity of labeled data and the demand for domain expertise. In this paper, we propose a labeling-free (LaF) model selection approach to overcome the limitations of labeling efforts for automated model reusing. The main idea is to statistically learn a Bayesian model to infer the models' specialty only based on predicted labels. We evaluate LaF using 9 benchmark datasets including image, text, and source code, and 165 DNNs, considering both the accuracy and robustness of models. The experimental results demonstrate that LaF outperforms the baseline methods by up to 0.74 and 0.53 on Spearman's correlation and Kendall's $τ$, respectively.

View on arXivView PDF

Code Implementations(1)

MIT

LaF focuses on the comparion testing of multiple deep learning models without manual labeling.

11Python, Jupyter NotebookJul 29, 20223 years agoMIT
deep-learningmodel-reusemodel-selection

Similar Papers

Cite this paper

@article{hu2022laf,
  title  = {LaF: Labeling-Free Model Selection for Automated Deep Neural Network Reusing},
  author = {Qiang Hu and Yuejun Guo and Maxime Cordy and Xiaofei Xie and Mike Papadakis and Yves Le Traon},
  year   = {2022},
  eprint = {2204.03994},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.03994}
}

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/2204.03994.svg)](https://codeofpaper.com/paper/2204.03994)

Discussion