Repository navigation
Expand file tree
/
Copy path_main.tex
More file actions
246 lines (194 loc) · 9.81 KB
/
Copy path_main.tex
File metadata and controls
246 lines (194 loc) · 9.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
\documentclass[10pt]{article} % For LaTeX2e
\usepackage{amlpreprint}
% For numeric IEEE citations ([1]) instead of (Author, Year), use instead:
%\usepackage[ieee]{amlpreprint}
% Reference entries list at most 10 authors, then "et al.". Change with e.g.
%\usepackage[maxbibnames=5]{amlpreprint} (0 = list all authors)
% Optional math commands from https://github.com/goodfeli/dlbook_notation.
\input{math_commands.tex}
\usepackage{hyperref}
\usepackage{url}
% Figure files live in figures/, table files in tables/
\graphicspath{{figures/}}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,positioning,shapes.geometric}
\title{Formatting Instructions for Applied Machine Learning Lab Preprints}
% One \author call per author. The optional argument lists the author's
% affiliation marks, which refer to the \affil entries. \email (corresponding
% authors) and \orcid may be given several times.
\author[1,2]{Tobias Deu{\ss}er}
\author[1,2,3]{Rajkumar Ramamurthy}
\author[1,2]{Lorenz Sparrenberg}
\author[1,2,4]{Rafet Sifa}
\affil[1]{University of Bonn, Germany}
\affil[2]{Lamarr-Institute for Machine Learning and Artificial Intelligence, Bonn, Germany}
\affil[3]{Accura AI Labs, D\"usseldorf, Germany}
\affil[4]{Fraunhofer IAIS, Sankt Augustin, Germany}
\email{[email protected]}
\orcid{0000-0003-4685-0847}
% The running header shows the authors on even and the title on odd pages.
% Override them if they are too long:
%\shorttitle{AML Lab Preprints}
%\shortauthors{Deu{\ss}er et al.}
% Printed below the abstract, comma-separated
\keywords{Preprint, Template, \LaTeX, Colour-Blind Safe Figures}
% PDF metadata: title, authors and keywords are filled in from \title,
% \author and \keywords. Set further fields, or override those, here:
\hypersetup{pdfsubject={cs.LG}}
\begin{document}
\maketitle
\begin{abstract}
The abstract paragraph should be indented 1/2~inch on both left and
right-hand margins. Use 10~point type, with a vertical spacing of 11~points.
The word \textbf{\large Abstract} must be centered, in bold, and in point size 12. Two
line spaces precede the abstract. The abstract must be limited to one
paragraph.
\end{abstract}
\section{Using the template}
Load the style with {\tt {\textbackslash}usepackage\{amlpreprint\}} and use
the bibliography style {\tt amlpreprint}. The template is derived from the
style files of Transactions on Machine Learning Research (TMLR) and always
produces a de-anonymized preprint without any mention of TMLR. Unlike the
TMLR template, there are no package options, a table of contents can be
added with {\tt {\textbackslash}tableofcontents}, and the TeX primitives
{\tt {\textbackslash}month} and {\tt {\textbackslash}year} are left intact,
so {\tt {\textbackslash}today} works: this document was compiled on \today.
Authors are given one at a time with
{\tt {\textbackslash}author[1,2]\{Name\}}, where the optional argument lists
the affiliation marks defined by {\tt {\textbackslash}affil[1]\{\dots\}}.
Corresponding authors' addresses are given with
{\tt {\textbackslash}email\{\dots\}} and ORCID iDs with
{\tt {\textbackslash}orcid\{\dots\}}. The
running header alternates between the author names (even pages) and the
title (odd pages). If either is too long, override it with
{\tt {\textbackslash}shortauthors\{\dots\}} or
{\tt {\textbackslash}shorttitle\{\dots\}}.
Keywords are given as a comma-separated list with
{\tt {\textbackslash}keywords\{Keyword1, Keyword2\}} in the preamble and are
printed below the abstract. The PDF title, authors and keywords are filled in
automatically from {\tt {\textbackslash}title}, {\tt {\textbackslash}author}
and {\tt {\textbackslash}keywords}. Further metadata such as the subject, or
overrides, are set with {\tt {\textbackslash}hypersetup\{pdfsubject=\{\dots\}\}}.
\section{General formatting}
\label{gen_inst}
The text is confined within a rectangle 6.5~inches wide and
9~inches long on US Letter paper. The left margin is 1~inch.
The body uses 10~point type with a vertical spacing of 11~points.
Paragraphs are separated by 1/2~line space, with no indentation.
The paper title is 17~point, in bold and left-aligned, followed by the
compact author block described above.
\section{Headings: first level}
\label{headings}
First level headings are in bold,
flush left and in point size 12. One line space before the first level
heading and 1/2~line space after the first level heading.
\subsection{Headings: second level}
Second level headings are in bold,
flush left and in point size 10. One line space before the second level
heading and 1/2~line space after the second level heading.
\subsubsection{Headings: third level}
Third level headings are in bold,
flush left and in point size 10. One line space before the third level
heading and 1/2~line space after the third level heading.
\section{Citations, figures, tables, references}
\label{others}
\subsection{Citations within the text}
Citations within the text are based on the \texttt{natbib} package
and include the authors' last names and year (with the ``et~al.'' construct
for more than two authors). When the authors or the publication are
included in the sentence, the citation should not be in parenthesis, using \verb|\citet{}| (as
in ``See \citet{Hinton06} for more information.''). Otherwise, the citation
should be in parenthesis using \verb|\citep{}| (as in ``Deep learning shows promise to make progress
towards AI~\citep{Bengio+chapter2007}.'').
The corresponding references are listed in alphabetical order of
authors in the \textbf{References} section.
For numeric citations in IEEE style, load the style with
{\tt {\textbackslash}usepackage[ieee]\{amlpreprint\}}. Citations are then
written with \verb|\cite{}| and typeset as numbers in square brackets, e.g.\
[1] or [1, 3--5], and the references are formatted with \texttt{IEEEtran.bst}
and listed in order of citation. Keep \verb|\bibliographystyle{amlpreprint}|:
it selects the matching bibliography style for either option.
In both modes, an entry in the reference list shows at most 10 author names,
followed by ``et~al.''. The limit is set with the option
\texttt{maxbibnames}, e.g.\ {\tt {\textbackslash}usepackage[maxbibnames=5]\{amlpreprint\}},
and \texttt{maxbibnames=0} lists all authors.
\subsection{Footnotes}
Indicate footnotes with a number\footnote{Sample of the first footnote} in the
text. Place the footnotes at the bottom of the page on which they appear.
Precede the footnote with a horizontal rule of 2~inches.\footnote{Sample of the second footnote}
\subsection{Figures}
Place figure files in the \texttt{figures/} folder. The figure number and
caption always appear after the figure. The caption is lower case (except for
the first word and proper nouns), and figures are numbered consecutively.
Images are included with \verb+\includegraphics+ (the style loads
\texttt{graphicx} and sets the search path to \texttt{figures/}), with the
width given as a multiple of the line width, as in Figure~\ref{fig:selective}:
\begin{verbatim}
\includegraphics[width=0.9\linewidth]{selective.pdf}
\end{verbatim}
TikZ figures are kept in their own file and included with
\verb+\input{figures/pipeline.tex}+, as in Figure~\ref{fig:pipeline}.
\begin{figure}[t]
\centering
\includegraphics[width=0.9\linewidth]{selective.pdf}
\caption{Accuracy as a function of coverage when only the most confident
fraction of inputs is answered. Example of a PDF figure produced with
matplotlib using the Tol muted palette.}
\label{fig:selective}
\end{figure}
\begin{figure}[t]
\centering
\input{figures/pipeline.tex}
\caption{Selective prediction: an input is answered only if the model's
confidence exceeds a threshold $\tau$. Example of a TikZ figure using the
palette colours defined by the style.}
\label{fig:pipeline}
\end{figure}
\subsection{Colours}
All colours should be colour-blind safe. Use the muted scheme by
Paul Tol\footnote{\url{https://sronpersonalpages.nl/~pault/}}, which the style
defines as named \texttt{xcolor} colours (in Tol's recommended order):
\begin{center}
\newcommand{\swatch}[1]{\textcolor{#1}{\rule{1.6em}{1.6ex}}~\texttt{#1}}
\begin{tabular}{llll}
\swatch{tolrose} & \swatch{tolindigo} & \swatch{tolsand} & \swatch{tolgreen} \\
\swatch{tolcyan} & \swatch{tolwine} & \swatch{tolteal} & \swatch{tololive} \\
\swatch{tolpurple} & \swatch{tolpalegrey} & & \\
\end{tabular}
\end{center}
\texttt{tolpalegrey} is reserved for bad or missing data. For plots made
outside of \LaTeX{}, e.g.\ with matplotlib, use the same colours via their hex
codes (listed in \texttt{amlpreprint.sty}).
\subsection{Tables}
Place table files in the \texttt{tables/} folder and include them with
\verb+\input{tables/cost.tex}+. All tables are centered. The table number and
title always appear before the table. Tables use the \texttt{booktabs} rules
(\verb+\toprule+, \verb+\midrule+, \verb+\bottomrule+), no vertical lines, and
alternating rows shaded with \verb+\rowcolor{gray!10}+, as in
Table~\ref{tab:cost}.
\begin{table}[htb]
\caption{Requests, input tokens, cost and latency per task category.}
\label{tab:cost}
\centering
\small
\input{tables/cost.tex}
\end{table}
\section{Default notation}
To encourage standardized notation, the template includes the notation file
from the textbook \textit{Deep Learning} \citep{goodfellow2016deep},
available at \url{https://github.com/goodfeli/dlbook_notation/}. Its use is
not required and can be disabled by removing the
\verb+\input{math_commands.tex}+ line. For example, \verb+$\vx \in \R^n$+
gives $\vx \in \R^n$ and \verb+$\E_{\rx\sim P}[f(x)]$+ gives
$\E_{\rx\sim P}[f(x)]$.
\subsubsection*{Author Contributions}
If you'd like to, you may include a section for author contributions.
\subsubsection*{Acknowledgments}
Use unnumbered third level headings for the acknowledgments. All
acknowledgments, including those to funding agencies, go at the end of the paper.
\bibliography{main}
\bibliographystyle{amlpreprint}
\appendix
\section{Appendix}
You may include other additional sections here.
\end{document}