Source-linked AI summary

Privacy-Preserving Object Detection for Vision Transformer-Based Models

Homare Sueyoshi, Kiyoshi Nishikawa, Hitoshi Kiya

arXiv:2608.20712v1cs.CRcs.CV

TL;DR

Visual-information protection studies have primarily focused on image classification, while object detection remains insufficiently addressed. The paper extends perceptual encryption to ViT-based object detection by encrypting test images and the model’s patch embedding with a key-based permutation. Experiments with ViTdet report nearly the same detection accuracy as non-encrypted models while protecting visual information.

Abstract

from arXiv · show

We propose a novel object detection method that enables us to protect sensitive visual information of test images. Previous studies considering visual information protection focus on image classification tasks. This paper proposes an object detection method using perceptual encryption for the first time. The proposed method can achieve almost the same accuracy as that of models without any protection by utilizing the embedding structure of the Vision Transformer (ViT) and a domain adaptation technique with keys. In experiments, the effectiveness of the proposed method is verified in terms of accuracy and visual protection under the use of ViTdet, which is a ViT-based object detection model.

I. INTRODUCTION

The paper extends perceptual encryption from image classification to object detection by using ViTdet and focusing on its patch-embedding structure. ViTdet processes image patches with positional embeddings and Transformer attention before constructing detection features.

I. INTRODUCTION

  • The proposed method is the first perceptual-encryption approach for object detection, addressing prior work focused on image classification.It uses ViTdet as the representative ViT-based detector and evaluates detection accuracy and visual protection.Source: §I · p. 1

A. ViTDeT

  • ViTdet uses a plain ViT backbone rather than hierarchical backbones and Feature Pyramid Networks.Source: A. ViTDeT · p. 1
  • Image patches are linearly projected into an embedding space, with positional embeddings and a class token added before Transformer encoding.Source: A. ViTDeT · p. 1
  • Window Attention reduces computation for high-resolution inputs, while selected Global Attention blocks propagate information across windows.Source: A. ViTDeT · p. 1
  • The method focuses on the patch embedding matrix E within ViTdet’s input structure.Source: A. ViTDeT · p. 1

III. PROPOSED METHOD

The proposed framework encrypts both the ViTdet model’s patch embedding and test images with a shared secret-key-derived permutation. Encrypted models and images are processed by a cloud server without access to plain images or the secret key.

III. PROPOSED METHOD

B. Generation of Random Permutation Matrix

The method constructs Eenc as a random permutation matrix from a vector containing distinct indices. Its orthogonality provides a stated algebraic property used by the encryption scheme.

B. Generation of Random Permutation Matrix

C. Image Encryption

Image encryption divides an input into non-overlapping p × p blocks, flattens each block, and applies Eenc before reconstructing the encrypted image. The block size matches the ViT patch size.

C. Image Encryption

D. Model Encryption

The trained model is encrypted by transforming its patch embedding matrix with an encryption operation, so inference proceeds in the encrypted domain.

E. Properties of proposed method

The method uses an encryption matrix to transform patch embeddings and encrypted image patches, yielding an input sequence equivalent to the original sequence.

A. Setup

The evaluation uses COCO and LVIS object-detection datasets with ViTdet-based Mask R-CNN models and standard AP metrics across object scales.

  • COCO test images contain 80 object categories, and validation uses the val2017 subset.Source: A. Setup · p. 3
  • LVIS uses the same images as COCO but has different splits, richer annotations, and 1,203 object categories.Source: A. Setup · p. 3
  • ViTdet with the Mask R-CNN framework is used for the LVIS detection evaluation.Source: A. Setup · p. 3
  • Average Precision ranges from 0 to 100, with AP_s, AP_m, and AP_l measuring small, medium, and large objects respectively.Source: A. Setup · p. 3

B. Experimental Results

Experiments compare encrypted and non-encrypted object detection under multiple ViTdet backbones on COCO and LVIS datasets.

V. CONCLUSION

The proposed method protects visual information during object detection by exploiting ViT embedding structure. With ViTdet, block-wise encryption preserves detection accuracy while image-only encryption substantially reduces it.

  • The method uses Vision Transformer embedding structure for privacy-preserving object detection.Source: §V · p. 4
  • Block-wise encryption protects visual information while maintaining detection accuracy equivalent to non-encrypted models.Source: §V · p. 4
  • Image-only encryption causes a significant accuracy decrease, demonstrating the necessity of encrypting the model’s embedding layer.Source: §V · p. 4
Loading 2608.20712v1…