configuration.md

May 4, 2023 ยท View on GitHub

1. Transfer Learning Benchmarks

datasetepoch (bbox/wbox)moms (BlackVIP)gamma (BlackVIP)spsa_c (BlackVIP)p_eps (BlackVIP)moms (VP bbox)spsa_a (VP bbox)spsa_c (VP bbox)init_lr (BAR)min_lr (BAR)lr (VP wbox)
caltech1015000 / 10000.90.20.0050.20.320.00.0110.00.140.0
oxford_pets5000 / 10000.90.10.0110.310.00.00510.00.140.0
stanford_cars2500 / 10000.90.20.010.30.510.00.0110.00.15.0
oxford_flowers5000 / 10000.50.20.0210.310.00.0055.00.140.0
food1015000 / 10000.90.10.010.30.310.00.015.00.140.0
fgvc_aircraft5000 / 10000.30.10.010.50.310.00.0110.00.140.0
sun3971000 / 5000.50.10.0110.320.00.015.00.0140.0
dtd5000 / 10000.70.20.010.30.910.00.015.00.140.0
svhn5000 / 10000.90.20.00510.910.00.015.00.140.0
eurosat5000 / 10000.90.20.0050.40.310.00.0055.00.0140.0
resisc455000 / 10000.950.10.010.30.310.00.015.00.0140.0
clevr5000 / 10000.90.20.00510.920.00.0110.00.140.0
ucf1015000 / 10000.90.10.010.30.320.00.015.00.0140.0
imagenet500 / 4000.90.20.0050.30.320.00.0110.00.11.0
  • bbox: black-box setting
  • wbox: white-box setting

2. Synthetic Datasets

datasetmoms (BlackVIP)alpha (BlackVIP)spsa_a (BlackVIP)spsa_c (BlackVIP)p_eps (BlackVIP)moms (VP bbox)alpha (VP bbox)spsa_a (VP bbox)spsa_c (VP bbox)init_lr (BAR)min_lr (BAR)lr (VP wbox)
colour_biased_mnist (0.8/0.2)0.90.40.010.0110.90.410.00.0055.00.140.0
colour_biased_mnist (0.9/0.1)0.90.40.010.0110.90.410.00.0055.00.140.0
locmnist (1:1)0.90.50.010.00510.90.510.00.015.00.510.0
locmnist (1:4)0.950.50.020.0110.90.510.00.015.00.0110.0
  • We searched the hyperparameters of all methods on the 16-shot training set and shared them for 32-shot inference.

3. Ablation Study

3.1. Archtecture

3.1.1. BlackVIP

coor_backbonetar_backbonealphamomsgammaspsa_c
vit-mae-basern500.40.30.10.01
vit-mae-basern1010.40.30.20.005
vit-mae-basevit_b320.40.90.10.01
vit-mae-basevit_b160.40.90.20.005
dino-resnet-50rn500.50.90.20.01
dino-resnet-50rn1010.40.50.20.01
dino-resnet-50vit_b320.50.90.10.01
dino-resnet-50vit_b160.40.90.20.01

3.1.2. BAR and VP w/ SPSA-GC

3.2. Pre-trained Weights and Optimization Algorithm


4. Additional Information

  • Runtime: In our paper, we showed the possibility of black-box adaptation of the visual foundation model, but for some datasets, many iterations (API calls) are required to improve performance sufficiently. As a result, training takes longer than one expected.
  • Sensitivity: The few-shot evaluation protocol and zeroth-order gradient approximiation make the training unstable. The performance volatility of black-box methods are relatively large than white-box methods across not only hyperparameters, but also to random seed, GPU, pytorch version.