Skip to main content

Table 1 The average inner products \(d_{i}\) of sample pairs from the same class (MNIST dataset). The first row describes the average inner products for sample pairs before training, and the second row depicts the inner products for sample pairs after training. The first two columns represent the average inner products for training and test sample pairs, respectively, where adversarial samples are not added to the training set. The last column represent the average inner products for training and test sample pairs, respectively, where adversarial samples are added to the training set

From: Quantum adversarial metric learning model based on triplet loss function

Samples

Training

Test

Training+adv

Test+adv

Before

0.8280

0.8168

0.8280

0.8168

After

0.8348

0.8021

0.8537

0.8249