\begin{table}[h]
\caption{Flatness Comparison on DNN and BNN with sharpness-aware optimization method. We observe that BNN does not find the flatness-aware local minima, and the compatibility of BNN and the previous sharpness-aware optimization (SAM) is limited. All experiments were repeated three times with ResNet18 pre-trained ImageNet 1K in few-shot setting.}
\label{tab:flat_comparison_few_shot}
\adjustbox{width=1.0\linewidth}{
\begin{tabular}{ccccccccccccc}
\toprule
\multicolumn{3}{c}{Dataset} &
  \multicolumn{5}{c}{CIFAR10 10-shot} &
  \multicolumn{5}{c}{CIFAR100 10-shot} \\
Methods &
  Optim &
  Schedule &
  ACC $\uparrow$ &
  ECE $\downarrow$ &
  NLL $\downarrow$ &
  $\lambda_1$ $\downarrow$ &
  $\lambda_1 / \lambda_5$ $\downarrow$ &
  ACC $\uparrow$ &
  ECE $\downarrow$ &
  NLL $\downarrow$ &
  $\lambda_1$ $\downarrow$ &
  $\lambda_1 / \lambda_5$ $\downarrow$ \\ \midrule
\multirow{4}{*}{DNN} &
  \multirow{2}{*}{SGD} &
  \cellcolor{PaleGoldenrod} Constant &
  \cellcolor{PaleGoldenrod} $81.96_{\pm 0.55}$ &
  \cellcolor{PaleGoldenrod} $0.033_{\pm 0.004}$ &
  \cellcolor{PaleGoldenrod} $0.546_{\pm 0.015}$ &
  \cellcolor{PaleGoldenrod} $37.34_{\pm 3.59}$ &
  \cellcolor{PaleGoldenrod} $1.73_{\pm 0.229}$ &
  \cellcolor{PaleGoldenrod} $44.31_{\pm 1.02}$ &
  \cellcolor{PaleGoldenrod} $0.047_{\pm 0.004}$ &
  \cellcolor{PaleGoldenrod} $2.194_{\pm 0.032}$ &
  \cellcolor{PaleGoldenrod} $12.65_{\pm 0.87}$ &
  \cellcolor{PaleGoldenrod} $1.68_{\pm 0.172}$ \\ 
 &
   &
  \cellcolor{PaleTurquoise} Cos Decay &
  \cellcolor{PaleTurquoise} $84.51_{\pm 0.53}$ &
  \cellcolor{PaleTurquoise} $0.027_{\pm 0.015}$ &
  \cellcolor{PaleTurquoise} $0.474_{\pm 0.030}$ &
  \cellcolor{PaleTurquoise} $19.98_{\pm 2.64}$ &
  \cellcolor{PaleTurquoise} $1.59_{\pm 0.097}$ &
  \cellcolor{PaleTurquoise} $47.01_{\pm 0.52}$ &
  \cellcolor{PaleTurquoise} $0.074_{\pm 0.004}$ &
  \cellcolor{PaleTurquoise} $2.077_{\pm 0.027}$ &
  \cellcolor{PaleTurquoise} $102.21_{\pm 12.42}$ &
  \cellcolor{PaleTurquoise} $1.74_{\pm 0.097}$ \\
 &
  \multirow{2}{*}{SAM} &
  \cellcolor{PaleGoldenrod} Constant &
  \cellcolor{PaleGoldenrod} $57.91_{\pm 1.84}$ &
  \cellcolor{PaleGoldenrod} $0.030_{\pm 0.017}$ &
  \cellcolor{PaleGoldenrod} $1.227_{\pm 0.038}$ &
  \cellcolor{PaleGoldenrod} $199.79_{\pm 47.69}$ &
  \cellcolor{PaleGoldenrod} $2.25_{\pm 0.426}$ &
  \cellcolor{PaleGoldenrod} $45.54_{\pm 0.64}$ &
  \cellcolor{PaleGoldenrod} $0.094_{\pm 0.011}$ &
  \cellcolor{PaleGoldenrod} $2.118_{\pm 0.021}$ &
  \cellcolor{PaleGoldenrod} $359.59_{\pm 38.51}$ &
  \cellcolor{PaleGoldenrod} $1.86_{\pm 0.049}$ \\
 &
   &
  \cellcolor{PaleTurquoise} Cos Decay &
  \cellcolor{PaleTurquoise} $56.54_{\pm 2.57}$ &
  \cellcolor{PaleTurquoise} $0.015_{\pm 0.005}$ &
  \cellcolor{PaleTurquoise} $1.255_{\pm 0.070}$ &
  \cellcolor{PaleTurquoise} $148.59_{\pm 17.70}$ &
  \cellcolor{PaleTurquoise} $2.12_{\pm 0.190}$ &
  \cellcolor{PaleTurquoise} $45.51_{\pm 1.26}$ &
  \cellcolor{PaleTurquoise} $0.106_{\pm 0.009}$ &
  \cellcolor{PaleTurquoise} $2.131_{\pm 0.051}$ &
  \cellcolor{PaleTurquoise} $426.73_{\pm 51.64}$ &
  \cellcolor{PaleTurquoise} $2.08_{\pm 0.293}$ \\ \midrule
\multirow{3}{*}{SWAG} & % \multirow{6}{*}{SWAG} &
  \multirow{3}{*}{SGD} &
  \cellcolor{PaleGoldenrod} Constant &
  \cellcolor{PaleGoldenrod} $55.74_{\pm 1.57}$ &
  \cellcolor{PaleGoldenrod} $0.018_{\pm 0.002}$ &
  \cellcolor{PaleGoldenrod} $1.289_{\pm 0.047}$ &
  \cellcolor{PaleGoldenrod} $530.71_{\pm 48.39}$ &
  \cellcolor{PaleGoldenrod} $1.53_{\pm 0.314}$ &
  \cellcolor{PaleGoldenrod} $44.22_{\pm 1.27}$ &
  \cellcolor{PaleGoldenrod} $0.120_{\pm 0.003}$ &
  \cellcolor{PaleGoldenrod} $2.221_{\pm 0.069}$ &
  \cellcolor{PaleGoldenrod} $976.07_{\pm 178.03}$ &
  \cellcolor{PaleGoldenrod} $2.42_{\pm 0.276}$ \\
 &
   &
  \cellcolor{PaleTurquoise} Cos Decay &
  \cellcolor{PaleTurquoise} $56.47_{\pm 0.77}$ &
  \cellcolor{PaleTurquoise} $0.042_{\pm 0.013}$ &
  \cellcolor{PaleTurquoise} $1.274_{\pm 0.036}$ &
  \cellcolor{PaleTurquoise} $566.26_{\pm 96.65}$ &
  \cellcolor{PaleTurquoise} $2.18_{\pm 0.329}$ &
  \cellcolor{PaleTurquoise} $44.18_{\pm 1.26}$ &
  \cellcolor{PaleTurquoise} $0.102_{\pm 0.009}$ &
  \cellcolor{PaleTurquoise} $2.225_{\pm 0.051}$ &
  \cellcolor{PaleTurquoise} $588.19_{\pm 70.21}$ &
  \cellcolor{PaleTurquoise} $2.46_{\pm 0.293}$ \\
 &
   &
  \cellcolor{PaleGreen} SWAG lr &
  \cellcolor{PaleGreen} $56.13_{\pm 1.37}$ &
  \cellcolor{PaleGreen} $0.041_{\pm 0.007}$ &
  \cellcolor{PaleGreen} $1.272_{\pm 0.059}$ &
  \cellcolor{PaleGreen} $562.87_{\pm 116.08}$ &
  \cellcolor{PaleGreen} $2.16_{\pm 0.373}$ &
  \cellcolor{PaleGreen} $43.91_{\pm 1.00}$ &
  \cellcolor{PaleGreen} $0.106_{\pm 0.004}$ &
  \cellcolor{PaleGreen} $2.214_{\pm 0.058}$ &
  \cellcolor{PaleGreen} $756.86_{\pm 68.28}$ &
  \cellcolor{PaleGreen} $2.10_{\pm 0.160}$ \\
 % &
 %  \multirow{3}{*}{SAM} &
 %  \cellcolor{PaleGoldenrod} Constant &
 %  \cellcolor{PaleGoldenrod} $57.96_{\pm 2.04}$ &
 %  \cellcolor{PaleGoldenrod} $0.031_{\pm 0.003}$ &
 %  \cellcolor{PaleGoldenrod} $1.229_{\pm 0.047}$ &
 %  \cellcolor{PaleGoldenrod} $229.31_{\pm 36.64}$ &
 %  \cellcolor{PaleGoldenrod} $2.31_{\pm 0.134}$ &
 %  \cellcolor{PaleGoldenrod} $46.48_{\pm 0.67}$ &
 %  \cellcolor{PaleGoldenrod} $0.115_{\pm 0.005}$ &
 %  \cellcolor{PaleGoldenrod} $2.106_{\pm 0.021}$ &
 %  \cellcolor{PaleGoldenrod} $536.30_{\pm 13.45}$ &
 %  \cellcolor{PaleGoldenrod} $2.10_{\pm 0.108}$ \\
 % &
 %   &
 %  \cellcolor{PaleTurquoise} Cos Decay &
 %  \cellcolor{PaleTurquoise} $57.61_{\pm 1.27}$ &
 %  \cellcolor{PaleTurquoise} $0.047_{\pm 0.004}$ &
 %  \cellcolor{PaleTurquoise} $1.231_{\pm 0.036}$ &
 %  \cellcolor{PaleTurquoise} $351.87_{\pm 49.76}$ &
 %  \cellcolor{PaleTurquoise} $2.35_{\pm 0.508}$ &
 %  \cellcolor{PaleTurquoise} $46.10_{\pm 0.44}$ &
 %  \cellcolor{PaleTurquoise} $0.118_{\pm 0.001}$ &
 %  \cellcolor{PaleTurquoise} $2.150_{\pm 0.013}$ &
 %  \cellcolor{PaleTurquoise} $490.13_{\pm 57.45}$ &
 %  \cellcolor{PaleTurquoise} $2.01_{\pm 0.163}$ \\
 % &
 %   &
 %  \cellcolor{PaleGreen} SWAG lr &
 %  \cellcolor{PaleGreen} $56.62_{\pm 1.96}$ &
 %  \cellcolor{PaleGreen} $0.014_{\pm 0.002}$ &
 %  \cellcolor{PaleGreen} $1.269_{\pm 0.049}$ &
 %  \cellcolor{PaleGreen} $175.89_{\pm 20.77}$ &
 %  \cellcolor{PaleGreen} $2.11_{\pm 0.212}$ &
 %  \cellcolor{PaleGreen} $45.02_{\pm 0.31}$ &
 %  \cellcolor{PaleGreen} $0.082_{\pm 0.004}$ &
 %  \cellcolor{PaleGreen} $2.160_{\pm 0.035}$ &
 %  \cellcolor{PaleGreen} $220.03_{\pm 6.49}$ &
 %  \cellcolor{PaleGreen} $1.93_{\pm 0.055}$ \\ 
  \bottomrule
\end{tabular}
}
\end{table}