Skip to content

Source code for paper "Efficient Query-based Black-Box Attack for Cross-modal Hashing Retrieval".

Notifications You must be signed in to change notification settings

tswang0116/EQB2A

Repository files navigation

EQB2A

Source code for the paper "Efficient Query-based Black-Box Attack against Cross-modal Hashing Retrieval".

Requirements

  • python == 3.7.10
  • pytorch == 1.4.0
  • torchvision == 0.2.1
  • numpy == 1.19.2
  • h5py == 3.4.0
  • scipy == 1.7.1

Datasets

We use three cross-modal datasets for experiments. Since MS-COCO do not have common text features, we use the pre-trained BERT model to extract 1024-dimension text features. All datasets are available by the following link:

Attacked models

We carry out targeted adversarial attack for six cross-modal hashing methods, including three supervised methods (DCMH, CPAH, DADH) and three unsupervised methods (DJSRH, JDSH, DGCPN). All attacked hashing models can be obtained by the following link:

Citation

Coming soon...

About

Source code for paper "Efficient Query-based Black-Box Attack for Cross-modal Hashing Retrieval".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages