% \documentclass{uai2025} % for initial submission
\documentclass[accepted]{uai2025} % 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]{uai2025} % ptmx math instead of Computer
                                         % Modern (has noticeable issues)
% \documentclass[mathfont=newtx]{uai2025} % 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


% Optional math commands from https://github.com/goodfeli/dlbook_notation.
\input{math_commands.tex}

\newcommand\iprod[2]{\langle #1, #2 \rangle}


\usepackage{amsfonts}       % blackboard math symbols
\usepackage{nicefrac}       % compact symbols for 1/2, etc.
\usepackage{microtype}      % microtypography
\usepackage[dvipsnames]{xcolor}         % colors
% Recommended, but optional, packages for figures and better typesetting:
\usepackage{graphicx}

% Attempt to make hyperref and algorithmic work together better:
\newcommand{\theHalgorithm}{\arabic{algorithm}}

% For theorems and such
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{amsthm}
\usepackage{hyperref}
\usepackage{url}

% if you use cleveref..
\usepackage[capitalize,noabbrev]{cleveref}

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

\usepackage{subcaption}     % subcaption for multiple images
\usepackage{multirow}
% \usepackage{floatrow}
\usepackage{bbm}
\usepackage{pifont}
\newcommand{\cmark}{\ding{52}} % try 51, 52
\newcommand{\xmark}{\ding{55}} % try 53, 54, 55, 56
\usepackage{hhline}
\usepackage{framed}
\usepackage{float}
\usepackage{enumitem}

\usepackage{xcolor}

% Support for easy cross-referencing
% \usepackage[capitalize]{cleveref}
\Crefname{section}{Section}{Sections}
\Crefname{table}{Table}{Tables}
\Crefname{figure}{Figure}{Figures}

\hypersetup{
    colorlinks = true,
    linkcolor = red,
    anchorcolor = red,
    urlcolor = red,
    citecolor = Blue,
}

% Helper
\usepackage{xcolor}
\usepackage{xspace}
\makeatletter
\DeclareRobustCommand\onedot{\futurelet\@let@token\@onedot}
\def\@onedot{\ifx\@let@token.\else.\null\fi\xspace}
\def\eg{\emph{e.g}\onedot} \def\Eg{\emph{E.g}\onedot}
\def\ie{\emph{i.e}\onedot} \def\Ie{\emph{I.e}\onedot}
\def\cf{\emph{c.f}\onedot} \def\Cf{\emph{C.f}\onedot}
\def\etc{\emph{etc}\onedot} \def\vs{\emph{vs}\onedot}
\def\wrt{w.r.t\onedot} \def\dof{d.o.f\onedot}
\def\etal{\emph{et al}\onedot}
\makeatother
\usepackage{wrapfig}


%% 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.)



%%%%%%%%%% for highlighting
\usepackage{soul}
\soulregister\cite7
\soulregister\citet7
\soulregister\citep7
\soulregister\ref7
\soulregister\cref7
\soulregister\pageref7
\soulregister\footnote7

\soulregister\wip7
\soulregister\needcite7
\soulregister\changelater7
\soulregister\checkchanges7


\title{Critical Influence of Overparameterization on Sharpness-aware Minimization}

% The standard author block has changed for UAI 2025 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]{Sungbin Shin$^\star$}
\author[1]{Dongyeop Lee$^\star$}
\author[2]{Maksym Andriushchenko}
\author[1]{Namhoon Lee}
% Add affiliations after the authors
\affil[1]{%
    POSTECH\\
    Pohang, South Korea
}
\affil[2]{%
    EPFL\\
    Lausanne, Switzerland
}
  
\begin{document}

\maketitle
\def\thefootnote{$\star~$}
\footnotetext{Equal contribution}
\def\thefootnote{\arabic{footnote}}

\input{text/0_abstract}
\input{text/1_intro}
\input{text/2_background}
\input{text/3_experiments}
\input{text/4_understanding}
\input{text/5_practical}
\input{text/6_theory}
\input{text/7_discussion}

\input{text/acknowledgement}

\bibliography{reference}

\onecolumn

\appendix
\input{text/appendix}

\end{document}
