Manuscript Offprint

arXiv:2611.01900

Systematic Evaluation of Robustness in Fine-tuned Models

Angela John, Hamayoon Behmanush

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Our study systematically evaluates the robustness of fine-tuned pre-trained models across different datasets and attack types, aiming to provide insights for researchers in selecting pre-trained models for image classification tasks while prioritizing robustness against potential attacks. Our work explores the influence of fine-tuning pre-trained models with different datasets and attack types on their robustness and overview of the appropriate pre-trained model for image classification based on factors such as computation resources, memory usage, and accuracy on clean data. We fine-tune the models with weights. Evaluate the models on data before any attack and after different attack cases. The study utilizes publicly available image datasets such as MNIST, CIFAR10, CIFAR100, and SVHN to assess the robustness of pre-trained models. The results indicate that the robustness of fine-tuned models varies across different data distributions and sample sizes, emphasizing the need for tailored selection based on specific task requirements. The findings also highlight the varying performance of ResNet50, DenseNet, and MobileNet in defending against attacks on different datasets. Overall, this research provides valuable insights into the robustness of fine-tuned pre-trained models and their suitability for real-world applications in image classification.

1 Introduction

The emergence of pre-trained models has revolutionized the field of machine/deep learning by enabling their application across diverse contexts and reducing computation costs. Leveraging these models can reduce training and computational resources [9] by fine-tuning them for specific tasks. On the other hand, the robustness of any machine/deep learning model is crucial, and the performance models on noisy data may depend on how robust the model is [12]. Ensuring robustness often involves augmenting training data, incorporating regularization techniques, and deploying ensemble methods [8], not forgetting to account for the adversarial uncertainties expected. Moreover, continuous monitoring and adaptation of models to evolving data distributions are essential for maintaining robust performance in dynamic environments. Therefore, while pre-trained models offer significant advantages, ensuring their robustness when fine-tuning them remains an open challenge.

Potential research in the past, such as [1], has explored the improvement of attack success rates with pre-trained perturbations. Furthermore, Dewan et al. [2] in their work performed a comparative analysis of pre-trained models to evaluate the performance of these models with diverse tasks. Despite these advancements, a comprehensive evaluation of the robustness of fine-tuned models across a range of attacks and different distribution datasets is an area that is yet to be fully covered and therefore worth to be explored.

This evaluation is crucial for understanding the model's defenses' generalizability and effectiveness in real-world scenarios. Additionally, investigating the transferability of adversarial examples across different fine-tuned models could provide insights into their underlying vulnerabilities and strengths. Such insights can inform the development of more robust and reliable deep learning systems for various applications, from image classification and beyond. With this in mind, we try to answer the following questions in this project:

  • How does fine-tuning pre-trained models with different datasets considering different adversarial perturbations, influence their robustness?

  • Does the choice of attacks and epsilon values in attacks influence the adversarial accuracy?

  • Is it possible to decide on a robust pre-trained model if the data distribution and size are not known?

References (17)