\begin{table*}[!t]
\centering
\scriptsize 
\caption{Domain adaptation performance comparison. Source refers to pre-trained test accuracy from WF dataset. Zero-shot refers to SF test performance on two classes data separately without adaptation. FWT measures forward transfer (target improvement), BWT measures backward transfer (source performance retention). Class 0 and Class 1 represent LAMN and MAC respectively.}
\label{tab:domain-adaptation}
\setlength{\tabcolsep}{2.5pt}
\renewcommand{\arraystretch}{1.2}
\resizebox{\textwidth}{!}{
\begin{tabular}{l|c|cc|ccc|ccc|ccc}
\toprule
\multirow{2}{*}{\textbf{Method}} & \textbf{Source(WF)} & \multicolumn{2}{c|}{\textbf{Zero-shot (SF)}} & \multicolumn{3}{c|}{\textbf{3-shot (SF)}} & \multicolumn{3}{c|}{\textbf{6-shot (SF)}} & \multicolumn{3}{c}{\textbf{9-shot (SF)}} \\
 & \textbf{Accuracy} & \textbf{class 0} & \textbf{class 1} & \textbf{Acc} & \textbf{FWT$\uparrow$} & \textbf{BWT$\uparrow$} & \textbf{Acc} & \textbf{FWT$\uparrow$} & \textbf{BWT$\uparrow$} & \textbf{Acc} & \textbf{FWT$\uparrow$} & \textbf{BWT$\uparrow$} \\
 \midrule
WiKG & 89.47 & 100 & 0 & 83.33 & 0 & 10.53 & 83.33 & 0 & 5.26 & 83.33 & 0 & 5.26 \\
TransMIL & 84.21 & 100 & 0 & 83.33 & 0 & 0 & 83.33 & 0 & 0 & 83.33 & 0 & 0 \\
DSMIL & 73.68 & 70 & 50 & 75.0 & 8.33 & 0 & 75.0 & 8.33 & 0 & 75.0 & 8.33 & 0 \\
MHIM-DSMIL & 84.21 & 90 & 0 & 75.0 & 0 & 5.26 & 75.0 & 0 & 5.26 & 83.33 & 8.33 & 0 \\
MHIM-TransMIL & 89.47 & 100 & 0 & 83.33 & 0 & 0 & 91.67 & 8.33 & 5.26 & 100 & 16.67 & 5.26 \\
CLAM-MB & 89.47 & 100 & 0 & 83.33 & 0 & 0 & 83.33 & 0 & 0 & 83.33 & 0 & 5.26 \\
CLAM-SB & \textbf{94.74} & 90 & 0 & 75.0 & 0 & 0 & 75.0 & 0 & 0 & 75.0 & 0 & 0 \\
DTFD-MIL & 89.47 & 90 & 100 & 91.67 & 0 & 0 & 100 & 8.33 & 0 & 100 & 8.33 & 5.26 \\
PatchGCN & 91.67 & \textbf{100} & \textbf{100} & 100 & 0 & 0 & 100 & 0 & 0 & 100 & 0 & 2.64 \\
\rowcolor{gray!15} \textbf{ResGAT} & \textbf{92.86} & 100 & 50 & \textbf{91.67} & \textbf{8.33} & \textbf{0} & \textbf{100} & \textbf{8.33} & \textbf{0} & \textbf{100} & \textbf{8.33} & \textbf{0} \\
\bottomrule
\end{tabular}}
\end{table*}