\documentclass[varwidth=598pt]{standalone}

\usepackage{booktabs} % professional-quality tables
\usepackage{multirow} % multi-row cells in tables
\usepackage{colortbl} % color for tables (\cellcolor, \rowcolor)
\usepackage[table]{xcolor} % enhanced colors for tables
\usepackage{array} % more flexible column formats (often used)
\usepackage{tabularx} % for tables with auto-stretch columns (if used)
\usepackage{graphicx} % for images in tables or figure/table floats
\usepackage{amssymb} % math symbols
\usepackage{amsmath} % math environments
\usepackage{soul} % highlighting (used for colored text/cells)
\usepackage[normalem]{ulem} % underlining, strikethroughs
\usepackage[T1]{fontenc} % font encoding
\usepackage[utf8]{inputenc}% input encoding (legacy, fine for pdflatex)
\usepackage{microtype} % better text appearance
\usepackage{hyperref} % hyperlinks
\usepackage{textcomp} % for extra symbols
\usepackage{enumitem} % for compact lists (if used in table notes)
\usepackage{adjustbox}
\usepackage{tabu}
\usepackage{pifont} % http://ctan.org/pkg/pifont
\usepackage{bbding} % \XSolidBrush
\usepackage{makecell}

\begingroup
\makeatletter
\renewcommand{\fnum@table}{}%
\long\def\@makecaption#1#2{%
\vskip\abovecaptionskip
\centering #2\par
\vskip\belowcaptionskip
}
\makeatother

\begin{document}
\begin{table}
\centering
\begin{adjustbox}{max width=\textwidth}
\begin{tabular}{llrrrccccccccccc}
\toprule
& &
\multicolumn{5}{c}{\textbf{Pretrained Massively Multilingual}} & &
\multicolumn{5}{c}{\textbf{Transformer-base}} \\
\cmidrule{3-7} \cmidrule{9-13}
&
\textbf{Model} &
\textbf{F}$_{\text{ormal}}$ &
\textbf{I}$_{\text{nformal}}$ &
\textbf{Avg.} &
\textbf{BLEU} &
\textbf{\textbf{COMET$_{2022}$}}
& &
\textbf{F}$_{\text{ormal}}$ &
\textbf{I}$_{\text{nformal}}$ &
\textbf{Avg.} &
\textbf{BLEU} &
\textbf{COMET$_{2022}$}\\
\midrule
\multirow{8}{*}{\shortstack[l]{\texttt{en}$\rightarrow$\texttt{pt}}}
& base
& 47.7
& 52.3
& $-$
& 41.7{\color{gray!80}\scriptsize$\pm$1.1}
& 85.1\phantom{*}
&
& 35.8
& 64.2
& $-$
& 38.7{\color{gray!80}\scriptsize$\pm$1.1}
& 82.2\phantom{*}
\\
& $+$CG (\texttt{de})
& 75.6
& 74.2
& 74.9
& 43.0{\color{gray!80}\scriptsize$\pm$1.1}
& 84.9\phantom{*}
&
& 50.0
& 72.8
& 61.4
& 38.7{\color{gray!80}\scriptsize$\pm$1.1}
& 81.8\dag
\\
& $+$FT (\texttt{de})
& 99.0
& 45.5
& 72.3
& 40.4{\color{gray!80}\scriptsize$\pm$1.0}
& 85.3\phantom{*}
&
& 79.2
& 71.2
& 75.2
& 39.6{\color{gray!80}\scriptsize$\pm$1.1}
& 82.7*
\\
& $+$CG (\texttt{es})
& 85.4
& 83.6
& \underline{84.5}
& 43.8{\color{gray!80}\scriptsize$\pm$1.0}
& 85.0\phantom{*}
&
& 53.3
& 79.8
& 66.6
& 38.8{\color{gray!80}\scriptsize$\pm$1.1}
& 81.7\dag
\\
& $+$FT (\texttt{es})
& 99.8
& 28.7
& 64.3
& 40.3{\color{gray!80}\scriptsize$\pm$1.0}
& 85.2\phantom{*}
&
& 93.9
& 80.1
& 87.0
& 40.5{\color{gray!80}\scriptsize$\pm$1.0}
& 82.5*
\\
& $+$CG (\texttt{multi})
& 99.9
& 99.9
& 99.9
& 99.9{\color{gray!80}\scriptsize$\pm$1.1}
& 99.9\phantom{*}
&
& 55.9
& 80.8
& 68.4
& 39.0{\color{gray!80}\scriptsize$\pm$1.1}
& 81.8\dag
\\
& $+$FT (\texttt{multi})
& 99.5
& 99.9
& 99.9
& 99.9{\color{gray!80}\scriptsize$\pm$1.0}
& 99.9{*}
&
& 95.8
& 81.9
& \underline{88.9}
& 41.4{\color{gray!80}\scriptsize$\pm$1.0}
& 83.1*
\\
& $+$CG $+$FT (\texttt{multi})
& 100.0
& 99.9
& \textbf{ 99.9}
& 99.9{\color{gray!80}\scriptsize$\pm$1.0}
& 99.9*
&
& 97.8
& 93.7
& \textbf{95.8}
& 41.0{\color{gray!80}\scriptsize$\pm$1.0}
& 82.4\phantom{*}
\\
\midrule
\multirow{8}{*}{\shortstack[l]{\texttt{en}$\rightarrow$\texttt{ru}}}
& base
& 55.0
& 45.0
& $-$
& 30.3{\color{gray!80}\scriptsize$\pm$1.0}
& 83.7\phantom{*}
&
& 43.9
& 56.1
& $-$
&
24.2{\color{gray!80}\scriptsize$\pm$1.0}
& 75.9\phantom{*}
\\
& $+$CG (\texttt{de})
& 87.3
& 77.7
& 82.5
& 32.2{\color{gray!80}\scriptsize$\pm$1.0}
& 83.1\phantom{*}
&
& 67.2
& 71.8
& 69.5
& 24.6{\color{gray!80}\scriptsize$\pm$0.9}
& 75.0\dag
\\
& $+$FT (\texttt{de})
& 99.5
& 84.7
& \underline{92.1}
& 33.0{\color{gray!80}\scriptsize$\pm$1.1}
& 84.2*
&
& 84.0
& 69.3
& 76.7
& 25.0{\color{gray!80}\scriptsize$\pm$1.0}
& 75.8\phantom{*}
\\
& $+$CG (\texttt{es})
& 86.8
& 73.9
& 80.4
& 32.4{\color{gray!80}\scriptsize$\pm$1.0}
& 83.2\phantom{*}
&
& 61.7
& 76.8
& 69.5
& 24.8{\color{gray!80}\scriptsize$\pm$1.0}
& 75.0\dag
\\
& $+$FT (\texttt{es})
& 98.3
& 60.6
& 79.5
& 32.8{\color{gray!80}\scriptsize$\pm$1.1}
& 84.1*
&
& 83.5
& 68.6
& 76.1
& 26.1{\color{gray!80}\scriptsize$\pm$1.0}
& 76.6*
\\
& $+$CG (\texttt{multi})
& 99.9
& 99.9
& 99.9
& 99.9{\color{gray!80}\scriptsize$\pm$1.0}
& 99.9\phantom{*}
&
& 72.2
& 80.9
& 76.6
& 25.0{\color{gray!80}\scriptsize$\pm$1.0}
& 75.0\dag
\\
& $+$FT (\texttt{multi})
& 99.9
& 99.9
& 99.9
& 99.9{\color{gray!80}\scriptsize$\pm$1.1}
& 99.9*
&
& 87.5
& 69.8
& \underline{78.7}
& 25.9{\color{gray!80}\scriptsize$\pm$1.0}
& 77.0*
\\
& $+$CG $+$FT (\texttt{multi})
& 100.0
& 99.9
& \textbf{ 99.9}
& 99.9{\color{gray!80}\scriptsize$\pm$1.0}
& 99.9*
&
& 96.2
& 91.3
& \textbf{93.8}
& 26.2{\color{gray!80}\scriptsize$\pm$1.0}
& 76.2\phantom{*}
\\
&
rippeth-etal-2022-controlling
& 100.0
& 13.8
& 56.9
& 23.5\phantom{{\scriptsize$\pm$0.0}}
& $-$
&
& $-$
& $-$
& $-$
& $-$
& $-$
\\
\midrule
\multirow{10}{*}{\shortstack[l]{\texttt{en}$\rightarrow$\texttt{ko}}}
& base
& 50.9
& 49.1
& $-$
& 15.7{\color{gray!80}\scriptsize$\pm$0.7}
& 82.6\phantom{*}
&
& 32.0
& 68.0
& $-$
& 10.6{\color{gray!80}\scriptsize$\pm$0.6}
& 74.0\phantom{*}
\\
& $+$CG (\texttt{de})
& 67.0
& 64.6
& \underline{65.8}
& 15.7{\color{gray!80}\scriptsize$\pm$0.7}
& 82.1\dag
&
& 45.2
& 78.2
& 61.7
& 10.4{\color{gray!80}\scriptsize$\pm$0.6}
& 73.4\dag
\\
& $+$FT (\texttt{de})
& 67.8
& 54.2
& 61.0
& 12.8{\color{gray!80}\scriptsize$\pm$0.6}
& 84.1*
&
& 42.7
& 66.4
& 54.6
& 10.7{\color{gray!80}\scriptsize$\pm$0.6}
& 74.0\phantom{*}
\\
& $+$CG (\texttt{es})
& 68.9
& 61.6
& 65.3
& 15.1{\color{gray!80}\scriptsize$\pm$0.8}
& 82.1\dag
&
& 46.3
& 77.6
& 62.0
& 10.7{\color{gray!80}\scriptsize$\pm$0.6}
& 74.1\phantom{*}
\\
& $+$FT (\texttt{es})
& 64.4
& 47.3
& 55.9
& 14.0{\color{gray!80}\scriptsize$\pm$0.7}
& 84.4*
&
& 47.4
& 62.7
& 55.1
& 11.7{\color{gray!80}\scriptsize$\pm$0.6}
& 75.2*
\\
& $+$CG (\texttt{multi})
& 99.9
& 99.9
& 99.9
& 99.9{\color{gray!80}\scriptsize$\pm$0.8}
& 99.9\phantom{*}
&
& 46.0
& 78.1
& \underline{62.1}
& 10.6{\color{gray!80}\scriptsize$\pm$0.6}
& 74.1\phantom{*}
\\
& $+$FT (\texttt{multi})
& 99.9
& 99.9
& 99.9
& 99.9{\color{gray!80}\scriptsize$\pm$0.7}
& 99.9*
&
& 48.3
& 68.4
& 58.4
& 11.0{\color{gray!80}\scriptsize$\pm$0.6}
& 74.4\phantom{*}
\\
& $+$CG $+$FT (\texttt{multi})
& 99.9
& 99.9
& \textbf{ 99.9}
& 99.9{\color{gray!80}\scriptsize$\pm$0.7}
& 99.9
&
& 58.9
& 81.8
& \textbf{70.4}
& 10.8{\color{gray!80}\scriptsize$\pm$0.6}
& 73.4\dag
\\
\cmidrule{2-13}
& $+$oracle CG (\texttt{ko})
& 70.3
& 62.6
& 66.5
& 15.2{\color{gray!80}\scriptsize$\pm$0.7}
& 81.7\dag
&
& 58.9
& 82.3
& 70.6
&11.2{\color{gray!80}\scriptsize$\pm$0.6}
&74.5*
\\
& $+$oracle FT (\texttt{ko})
& 79.4
& 93.5
& 86.5
& 22.2{\color{gray!80}\scriptsize$\pm$0.9}
& 86.2*
&
& 86.7
& 97.9
& 92.3
& 19.1{\color{gray!80}\scriptsize$\pm$0.9}
& 74.0*
\\
\bottomrule
\end{tabular}
\end{adjustbox}
\caption{Table 4: \label{tab:formality_tgt_zs}
Zero-shot formality control results.
\textbf{Best} and \underline{second best} results under the same data condition are marked.}
\end{table}
\end{document}