Cargando…

Effects of JPEG Compression on Vision Transformer Image Classification for Encryption-then-Compression Images

This paper evaluates the effects of JPEG compression on image classification using the Vision Transformer (ViT). In recent years, many studies have been carried out to classify images in the encrypted domain for privacy preservation. Previously, the authors proposed an image classification method th...

Descripción completa

Detalles Bibliográficos
Autores principales: Hamano, Genki, Imaizumi, Shoko, Kiya, Hitoshi
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10098741/
https://www.ncbi.nlm.nih.gov/pubmed/37050460
http://dx.doi.org/10.3390/s23073400
_version_ 1785024886767353856
author Hamano, Genki
Imaizumi, Shoko
Kiya, Hitoshi
author_facet Hamano, Genki
Imaizumi, Shoko
Kiya, Hitoshi
author_sort Hamano, Genki
collection PubMed
description This paper evaluates the effects of JPEG compression on image classification using the Vision Transformer (ViT). In recent years, many studies have been carried out to classify images in the encrypted domain for privacy preservation. Previously, the authors proposed an image classification method that encrypts both a trained ViT model and test images. Here, an encryption-then-compression system was employed to encrypt the test images, and the ViT model was preliminarily trained by plain images. The classification accuracy in the previous method was exactly equal to that without any encryption for the trained ViT model and test images. However, even though the encrypted test images can be compressible, the practical effects of JPEG, which is a typical lossy compression method, have not been investigated so far. In this paper, we extend our previous method by compressing the encrypted test images with JPEG and verify the classification accuracy for the compressed encrypted-images. Through our experiments, we confirm that the amount of data in the encrypted images can be significantly reduced by JPEG compression, while the classification accuracy of the compressed encrypted-images is highly preserved. For example, when the quality factor is set to 85, this paper shows that the classification accuracy can be maintained at over 98% with a more than 90% reduction in the amount of image data. Additionally, the effectiveness of JPEG compression is demonstrated through comparison with linear quantization. To the best of our knowledge, this is the first study to classify JPEG-compressed encrypted images without sacrificing high accuracy. Through our study, we have come to the conclusion that we can classify compressed encrypted-images without degradation to accuracy.
format Online
Article
Text
id pubmed-10098741
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-100987412023-04-14 Effects of JPEG Compression on Vision Transformer Image Classification for Encryption-then-Compression Images Hamano, Genki Imaizumi, Shoko Kiya, Hitoshi Sensors (Basel) Article This paper evaluates the effects of JPEG compression on image classification using the Vision Transformer (ViT). In recent years, many studies have been carried out to classify images in the encrypted domain for privacy preservation. Previously, the authors proposed an image classification method that encrypts both a trained ViT model and test images. Here, an encryption-then-compression system was employed to encrypt the test images, and the ViT model was preliminarily trained by plain images. The classification accuracy in the previous method was exactly equal to that without any encryption for the trained ViT model and test images. However, even though the encrypted test images can be compressible, the practical effects of JPEG, which is a typical lossy compression method, have not been investigated so far. In this paper, we extend our previous method by compressing the encrypted test images with JPEG and verify the classification accuracy for the compressed encrypted-images. Through our experiments, we confirm that the amount of data in the encrypted images can be significantly reduced by JPEG compression, while the classification accuracy of the compressed encrypted-images is highly preserved. For example, when the quality factor is set to 85, this paper shows that the classification accuracy can be maintained at over 98% with a more than 90% reduction in the amount of image data. Additionally, the effectiveness of JPEG compression is demonstrated through comparison with linear quantization. To the best of our knowledge, this is the first study to classify JPEG-compressed encrypted images without sacrificing high accuracy. Through our study, we have come to the conclusion that we can classify compressed encrypted-images without degradation to accuracy. MDPI 2023-03-23 /pmc/articles/PMC10098741/ /pubmed/37050460 http://dx.doi.org/10.3390/s23073400 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Hamano, Genki
Imaizumi, Shoko
Kiya, Hitoshi
Effects of JPEG Compression on Vision Transformer Image Classification for Encryption-then-Compression Images
title Effects of JPEG Compression on Vision Transformer Image Classification for Encryption-then-Compression Images
title_full Effects of JPEG Compression on Vision Transformer Image Classification for Encryption-then-Compression Images
title_fullStr Effects of JPEG Compression on Vision Transformer Image Classification for Encryption-then-Compression Images
title_full_unstemmed Effects of JPEG Compression on Vision Transformer Image Classification for Encryption-then-Compression Images
title_short Effects of JPEG Compression on Vision Transformer Image Classification for Encryption-then-Compression Images
title_sort effects of jpeg compression on vision transformer image classification for encryption-then-compression images
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10098741/
https://www.ncbi.nlm.nih.gov/pubmed/37050460
http://dx.doi.org/10.3390/s23073400
work_keys_str_mv AT hamanogenki effectsofjpegcompressiononvisiontransformerimageclassificationforencryptionthencompressionimages
AT imaizumishoko effectsofjpegcompressiononvisiontransformerimageclassificationforencryptionthencompressionimages
AT kiyahitoshi effectsofjpegcompressiononvisiontransformerimageclassificationforencryptionthencompressionimages