% \documentclass{uai2022} % for initial submission
\documentclass[accepted]{uai2022} % after acceptance, for a revised
                                    % version; also before submission to
                                    % see how the non-anonymous paper
                                    % would look like
%% There is a class option to choose the math font
% \documentclass[mathfont=ptmx]{uai2022} % ptmx math instead of Computer
                                         % Modern (has noticable issues)
% \documentclass[mathfont=newtx]{uai2022} % newtx fonts (improves upon
                                          % ptmx; less tested, no support)
% NOTE: Only keep *one* line above as appropriate, as it will be replaced
%       automatically for papers to be published. Do not make any other
%       change above this note for an accepted version.

%% Choose your variant of English; be consistent
\usepackage[american]{babel}
% \usepackage[british]{babel}

%% Some suggested packages, as needed:
\usepackage{natbib} % has a nice set of citation styles and commands
    \bibliographystyle{plainnat}
    \renewcommand{\bibsection}{\subsubsection*{References}}
\usepackage{mathtools} % amsmath with fixes and additions
% \usepackage{siunitx} % for proper typesetting of numbers and units
\usepackage{booktabs} % commands to create good-looking tables
\usepackage{tikz} % nice language for creating drawings and diagrams

%% Provided macros
% \smaller: Because the class footnote size is essentially LaTeX's \small,
%           redefining \footnotesize, we provide the original \footnotesize
%           using this macro.
%           (Use only sparingly, e.g., in drawings, as it is quite small.)

%% Self-defined macros
\newcommand{\swap}[3][-]{#3#1#2} % just an example

\title{Reframed GES with a Neural Conditional Dependence Measure (Supplementary material)}

% The standard author block has changed for UAI 2022 to provide
% more space for long author lists and allow for complex affiliations
%
% All author information is authomatically removed by the class for the
% anonymous submission version of your paper, so you can already add your
% information below.
%
% Add authors
\author[1]{\href{mailto:<xinwei.shen@connect.ust.hk>?Subject=Your UAI 2022 paper}{Xinwei~Shen}{}}
\author[2]{Shengyu~Zhu}
\author[3]{Jiji~Zhang}
\author[2]{Shoubo~Hu}
\author[2]{Zhitang~Chen}
% Add affiliations after the authors
\affil[1]{%
%    Department of Mathematics\\
    Hong Kong University of Science and Technology
%    Hong Kong, China
}
\affil[2]{%
    Huawei Noah's Ark Lab
%    China
}
\affil[3]{%
%    Department of Philosophy\\
    Hong Kong Baptist University
%    Hong Kong, China
  }
 
   \usepackage{amsmath, amssymb, amsthm}
\usepackage{mathrsfs, bm}
\usepackage[title]{appendix}
\usepackage{todonotes}
\usepackage{xcolor}
\usepackage{enumitem,booktabs,subfigure}
\usepackage{comment}
\usepackage{multirow}
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc}
\usepackage{algorithm}
\usepackage{algorithmic}

% \usepackage{xr}
% \externaldocument{shen_325}

%%% HELPER CODE FOR DEALING WITH EXTERNAL REFERENCES
\usepackage{xr}
\makeatletter
\newcommand*{\addFileDependency}[1]{
  \typeout{(#1)}
  \@addtofilelist{#1}
  \IfFileExists{#1}{}{\typeout{No file #1.}}
}
\makeatother

\newcommand*{\myexternaldocument}[1]{
    \externaldocument{#1}
    \addFileDependency{#1.tex}
    \addFileDependency{#1.aux}
}
%% END HELPER CODE

% put all the external documents here!
\myexternaldocument{shen_325}


\definecolor{columbiablue}{rgb}{0.61, 0.87, 1.0}
\newcommand{\xw}[1]{\todo[inline,color=columbiablue]{#1}}

\def\ind{\mathbf{1}}
\def\bbE{\mathbb{E}}
\def\bbR{\mathbb{R}}
\def\bbP{\mathbb{P}}
\def\cA{\mathcal{A}}
\def\cB{\mathcal{B}}
\def\cC{\mathcal{C}}
\def\cD{\mathcal{D}}
\def\cE{\mathcal{E}}
\def\cF{\mathcal{F}}
\def\cG{\mathcal{G}}
\def\cP{\mathcal{P}}
\def\cX{\mathcal{X}}
\def\cY{\mathcal{Y}}
\def\cZ{\mathcal{Z}}
\def\cN{\mathcal{N}}
\def\cU{\mathcal{U}}
\def\cT{\mathcal{T}}
\def\cH{\mathcal{H}}
\def\bx{\bm{x}}
\def\bb{\bm{b}}
\def\ba{\bm{a}}
\def\bc{\bm{c}}
\def\by{\bm{y}}
\def\bz{\bm{z}}
\def\bD{\mathbf{D}}
\def\bE{\mathbf{E}}
\def\bV{\mathbf{V}}
\def\bT{\mathbf{T}}
\def\bH{\mathbf{H}}
\def\bZ{\mathbf{Z}}
\def\bA{\bm{A}}
\def\bW{\bm{W}}
\def\bX{\bm{X}}
\def\bY{\bm{Y}}
\def\tf{\tilde{f}}
\def\tg{\tilde{g}}
\def\th{\tilde{h}}
% \def\regf{h}
\newcommand{\indpt}{\perp\!\!\!\perp}
\DeclareMathOperator*{\argmin}{argmin}
\def\pa{\mathbf{Pa}}
\def\nd{\mathbf{Nd}}

\def\pto{\overset{p}{\to}}

\theoremstyle{plain}
\newtheorem{theorem}{Theorem}%[section]
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{assumption}{Assumption}
\newtheorem{definition}{Definition}

\theoremstyle{remark}
\newtheorem*{example}{Example}
\newtheorem*{remark}{Remark}
\newcommand{\zhushengyu}[1]{{\color{red} zhushengyu: ``#1''}}



\begin{document}
\onecolumn
\maketitle

\appendix
\input{appendix}

\bibliography{uai2022-template}


\end{document}
