zhurong2333 commited on
Commit
42e5fb7
·
verified ·
1 Parent(s): e4a6421

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +2 -0
  2. icml2026/algorithm.sty +79 -0
  3. icml2026/algorithmic.sty +201 -0
  4. icml2026/appendix.tex +1227 -0
  5. icml2026/example_paper.pdf +3 -0
  6. icml2026/fancyhdr.sty +864 -0
  7. icml2026/figs/adaece_cifar_figure.pdf +0 -0
  8. icml2026/figs/adaece_imagenet_c_figure.pdf +0 -0
  9. icml2026/figs/adaece_imagenet_figure.pdf +0 -0
  10. icml2026/figs/adaece_imagenet_lt_figure.pdf +0 -0
  11. icml2026/figs/adaece_imagenet_sketch_figure.pdf +0 -0
  12. icml2026/figs/adaece_main_figure.pdf +0 -0
  13. icml2026/figs/bin_count_smart.pdf +0 -0
  14. icml2026/figs/calibration_methods_comparison_imagenet_vit_b_32.pdf +0 -0
  15. icml2026/figs/calibration_plot_a.pdf +0 -0
  16. icml2026/figs/calibration_plot_b.pdf +0 -0
  17. icml2026/figs/combined_charts.pdf +0 -0
  18. icml2026/figs/combined_reliability_plot.pdf +0 -0
  19. icml2026/figs/ece_bins.png +0 -0
  20. icml2026/figs/gradient_norm_evolution_vit_b_16.pdf +0 -0
  21. icml2026/figs/group_1_reliability_imagenet_vit_b_16.pdf +0 -0
  22. icml2026/figs/group_3_reliability.pdf +0 -0
  23. icml2026/figs/group_3_reliability_ciafr100_resnet50.pdf +0 -0
  24. icml2026/figs/group_3_reliability_imagenet_vit_b_16.pdf +0 -0
  25. icml2026/figs/group_5_reliability.pdf +0 -0
  26. icml2026/figs/group_8_reliability.pdf +0 -0
  27. icml2026/figs/hardness_vs_margin_cifar10_airplane_vs_automobile_filtered.pdf +0 -0
  28. icml2026/figs/logitsgap_temperature_density_map_resnet50.pdf +0 -0
  29. icml2026/figs/logitsgap_temperature_density_map_vit_b_16.pdf +0 -0
  30. icml2026/figs/logitsgap_vs_confidence_change.pdf +3 -0
  31. icml2026/figs/metrics_imagenet_resnet50.pdf +0 -0
  32. icml2026/figs/mismatch_ce_softece.pdf +0 -0
  33. icml2026/figs/numerical_conf.pdf +0 -0
  34. icml2026/figs/numerical_margin.pdf +0 -0
  35. icml2026/figs/numerical_max_logit.pdf +0 -0
  36. icml2026/figs/numerical_normed_max_logit.pdf +0 -0
  37. icml2026/figs/overall_reliability.pdf +0 -0
  38. icml2026/figs/overall_reliability_ciafr100_resnet50.pdf +0 -0
  39. icml2026/figs/overall_reliability_imagenet_vit_b_16.pdf +0 -0
  40. icml2026/figs/resnet50_adaece_reduced_error.pdf +0 -0
  41. icml2026/figs/resnet50_ece_reduced_error.pdf +0 -0
  42. icml2026/figs/sgd_loss_comparison_imagenet_vit_b_32.pdf +0 -0
  43. icml2026/figs/train_loss_convergence_vit_b_16.pdf +0 -0
  44. icml2026/figs/validation_and_bin_sensitivity.pdf +0 -0
  45. icml2026/figs/validation_size_vs_losses.pdf +0 -0
  46. icml2026/figs/vector_vs_scalar_loss_curves.pdf +0 -0
  47. icml2026/figs/vit_b_16_adaece_reduced_error.pdf +0 -0
  48. icml2026/figs/vit_b_16_ece_reduced_error.pdf +0 -0
  49. icml2026/icml2026.bib +1223 -0
  50. icml2026/icml2026.bst +1443 -0
.gitattributes CHANGED
@@ -7361,3 +7361,5 @@ SMART/HiddenLayerExperiment/cache/imagenet_resnet50_seed1_vs0.2/test_logits.npy
7361
  DensityAwareCalibration/Tomani[[:space:]]et[[:space:]]al.[[:space:]]-[[:space:]]2023[[:space:]]-[[:space:]]Beyond[[:space:]]In-Domain[[:space:]]Scenarios[[:space:]]Robust[[:space:]]Density-Aware[[:space:]]Calibration.pdf filter=lfs diff=lfs merge=lfs -text
7362
  DensityAwareCalibration/classifier_ckpts/cifar10/resnet18.pth filter=lfs diff=lfs merge=lfs -text
7363
  DensityAwareCalibration/teaser_fig.png filter=lfs diff=lfs merge=lfs -text
 
 
 
7361
  DensityAwareCalibration/Tomani[[:space:]]et[[:space:]]al.[[:space:]]-[[:space:]]2023[[:space:]]-[[:space:]]Beyond[[:space:]]In-Domain[[:space:]]Scenarios[[:space:]]Robust[[:space:]]Density-Aware[[:space:]]Calibration.pdf filter=lfs diff=lfs merge=lfs -text
7362
  DensityAwareCalibration/classifier_ckpts/cifar10/resnet18.pth filter=lfs diff=lfs merge=lfs -text
7363
  DensityAwareCalibration/teaser_fig.png filter=lfs diff=lfs merge=lfs -text
7364
+ icml2026/example_paper.pdf filter=lfs diff=lfs merge=lfs -text
7365
+ icml2026/figs/logitsgap_vs_confidence_change.pdf filter=lfs diff=lfs merge=lfs -text
icml2026/algorithm.sty ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ % ALGORITHM STYLE -- Released 8 April 1996
2
+ % for LaTeX-2e
3
+ % Copyright -- 1994 Peter Williams
4
+ % E-mail Peter.Williams@dsto.defence.gov.au
5
+ \NeedsTeXFormat{LaTeX2e}
6
+ \ProvidesPackage{algorithm}
7
+ \typeout{Document Style `algorithm' - floating environment}
8
+
9
+ \RequirePackage{float}
10
+ \RequirePackage{ifthen}
11
+ \newcommand{\ALG@within}{nothing}
12
+ \newboolean{ALG@within}
13
+ \setboolean{ALG@within}{false}
14
+ \newcommand{\ALG@floatstyle}{ruled}
15
+ \newcommand{\ALG@name}{Algorithm}
16
+ \newcommand{\listalgorithmname}{List of \ALG@name s}
17
+
18
+ % Declare Options
19
+ % first appearance
20
+ \DeclareOption{plain}{
21
+ \renewcommand{\ALG@floatstyle}{plain}
22
+ }
23
+ \DeclareOption{ruled}{
24
+ \renewcommand{\ALG@floatstyle}{ruled}
25
+ }
26
+ \DeclareOption{boxed}{
27
+ \renewcommand{\ALG@floatstyle}{boxed}
28
+ }
29
+ % then numbering convention
30
+ \DeclareOption{part}{
31
+ \renewcommand{\ALG@within}{part}
32
+ \setboolean{ALG@within}{true}
33
+ }
34
+ \DeclareOption{chapter}{
35
+ \renewcommand{\ALG@within}{chapter}
36
+ \setboolean{ALG@within}{true}
37
+ }
38
+ \DeclareOption{section}{
39
+ \renewcommand{\ALG@within}{section}
40
+ \setboolean{ALG@within}{true}
41
+ }
42
+ \DeclareOption{subsection}{
43
+ \renewcommand{\ALG@within}{subsection}
44
+ \setboolean{ALG@within}{true}
45
+ }
46
+ \DeclareOption{subsubsection}{
47
+ \renewcommand{\ALG@within}{subsubsection}
48
+ \setboolean{ALG@within}{true}
49
+ }
50
+ \DeclareOption{nothing}{
51
+ \renewcommand{\ALG@within}{nothing}
52
+ \setboolean{ALG@within}{true}
53
+ }
54
+ \DeclareOption*{\edef\ALG@name{\CurrentOption}}
55
+
56
+ % ALGORITHM
57
+ %
58
+ \ProcessOptions
59
+ \floatstyle{\ALG@floatstyle}
60
+ \ifthenelse{\boolean{ALG@within}}{
61
+ \ifthenelse{\equal{\ALG@within}{part}}
62
+ {\newfloat{algorithm}{htbp}{loa}[part]}{}
63
+ \ifthenelse{\equal{\ALG@within}{chapter}}
64
+ {\newfloat{algorithm}{htbp}{loa}[chapter]}{}
65
+ \ifthenelse{\equal{\ALG@within}{section}}
66
+ {\newfloat{algorithm}{htbp}{loa}[section]}{}
67
+ \ifthenelse{\equal{\ALG@within}{subsection}}
68
+ {\newfloat{algorithm}{htbp}{loa}[subsection]}{}
69
+ \ifthenelse{\equal{\ALG@within}{subsubsection}}
70
+ {\newfloat{algorithm}{htbp}{loa}[subsubsection]}{}
71
+ \ifthenelse{\equal{\ALG@within}{nothing}}
72
+ {\newfloat{algorithm}{htbp}{loa}}{}
73
+ }{
74
+ \newfloat{algorithm}{htbp}{loa}
75
+ }
76
+ \floatname{algorithm}{\ALG@name}
77
+
78
+ \newcommand{\listofalgorithms}{\listof{algorithm}{\listalgorithmname}}
79
+
icml2026/algorithmic.sty ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ % ALGORITHMIC STYLE -- Released 8 APRIL 1996
2
+ % for LaTeX version 2e
3
+ % Copyright -- 1994 Peter Williams
4
+ % E-mail PeterWilliams@dsto.defence.gov.au
5
+ %
6
+ % Modified by Alex Smola (08/2000)
7
+ % E-mail Alex.Smola@anu.edu.au
8
+ %
9
+ \NeedsTeXFormat{LaTeX2e}
10
+ \ProvidesPackage{algorithmic}
11
+ \typeout{Document Style `algorithmic' - environment}
12
+ %
13
+ \RequirePackage{ifthen}
14
+ \RequirePackage{calc}
15
+ \newboolean{ALC@noend}
16
+ \setboolean{ALC@noend}{false}
17
+ \newcounter{ALC@line}
18
+ \newcounter{ALC@rem}
19
+ \newlength{\ALC@tlm}
20
+ %
21
+ \DeclareOption{noend}{\setboolean{ALC@noend}{true}}
22
+ %
23
+ \ProcessOptions
24
+ %
25
+ % ALGORITHMIC
26
+ \newcommand{\algorithmicrequire}{\textbf{Require:}}
27
+ \newcommand{\algorithmicensure}{\textbf{Ensure:}}
28
+ \newcommand{\algorithmiccomment}[1]{\{#1\}}
29
+ \newcommand{\algorithmicend}{\textbf{end}}
30
+ \newcommand{\algorithmicif}{\textbf{if}}
31
+ \newcommand{\algorithmicthen}{\textbf{then}}
32
+ \newcommand{\algorithmicelse}{\textbf{else}}
33
+ \newcommand{\algorithmicelsif}{\algorithmicelse\ \algorithmicif}
34
+ \newcommand{\algorithmicendif}{\algorithmicend\ \algorithmicif}
35
+ \newcommand{\algorithmicfor}{\textbf{for}}
36
+ \newcommand{\algorithmicforall}{\textbf{for all}}
37
+ \newcommand{\algorithmicdo}{\textbf{do}}
38
+ \newcommand{\algorithmicendfor}{\algorithmicend\ \algorithmicfor}
39
+ \newcommand{\algorithmicwhile}{\textbf{while}}
40
+ \newcommand{\algorithmicendwhile}{\algorithmicend\ \algorithmicwhile}
41
+ \newcommand{\algorithmicloop}{\textbf{loop}}
42
+ \newcommand{\algorithmicendloop}{\algorithmicend\ \algorithmicloop}
43
+ \newcommand{\algorithmicrepeat}{\textbf{repeat}}
44
+ \newcommand{\algorithmicuntil}{\textbf{until}}
45
+
46
+ %changed by alex smola
47
+ \newcommand{\algorithmicinput}{\textbf{input}}
48
+ \newcommand{\algorithmicoutput}{\textbf{output}}
49
+ \newcommand{\algorithmicset}{\textbf{set}}
50
+ \newcommand{\algorithmictrue}{\textbf{true}}
51
+ \newcommand{\algorithmicfalse}{\textbf{false}}
52
+ \newcommand{\algorithmicand}{\textbf{and\ }}
53
+ \newcommand{\algorithmicor}{\textbf{or\ }}
54
+ \newcommand{\algorithmicfunction}{\textbf{function}}
55
+ \newcommand{\algorithmicendfunction}{\algorithmicend\ \algorithmicfunction}
56
+ \newcommand{\algorithmicmain}{\textbf{main}}
57
+ \newcommand{\algorithmicendmain}{\algorithmicend\ \algorithmicmain}
58
+ %end changed by alex smola
59
+
60
+ \def\ALC@item[#1]{%
61
+ \if@noparitem \@donoparitem
62
+ \else \if@inlabel \indent \par \fi
63
+ \ifhmode \unskip\unskip \par \fi
64
+ \if@newlist \if@nobreak \@nbitem \else
65
+ \addpenalty\@beginparpenalty
66
+ \addvspace\@topsep \addvspace{-\parskip}\fi
67
+ \else \addpenalty\@itempenalty \addvspace\itemsep
68
+ \fi
69
+ \global\@inlabeltrue
70
+ \fi
71
+ \everypar{\global\@minipagefalse\global\@newlistfalse
72
+ \if@inlabel\global\@inlabelfalse \hskip -\parindent \box\@labels
73
+ \penalty\z@ \fi
74
+ \everypar{}}\global\@nobreakfalse
75
+ \if@noitemarg \@noitemargfalse \if@nmbrlist \refstepcounter{\@listctr}\fi \fi
76
+ \sbox\@tempboxa{\makelabel{#1}}%
77
+ \global\setbox\@labels
78
+ \hbox{\unhbox\@labels \hskip \itemindent
79
+ \hskip -\labelwidth \hskip -\ALC@tlm
80
+ \ifdim \wd\@tempboxa >\labelwidth
81
+ \box\@tempboxa
82
+ \else \hbox to\labelwidth {\unhbox\@tempboxa}\fi
83
+ \hskip \ALC@tlm}\ignorespaces}
84
+ %
85
+ \newenvironment{algorithmic}[1][0]{
86
+ \let\@item\ALC@item
87
+ \newcommand{\ALC@lno}{%
88
+ \ifthenelse{\equal{\arabic{ALC@rem}}{0}}
89
+ {{\footnotesize \arabic{ALC@line}:}}{}%
90
+ }
91
+ \let\@listii\@listi
92
+ \let\@listiii\@listi
93
+ \let\@listiv\@listi
94
+ \let\@listv\@listi
95
+ \let\@listvi\@listi
96
+ \let\@listvii\@listi
97
+ \newenvironment{ALC@g}{
98
+ \begin{list}{\ALC@lno}{ \itemsep\z@ \itemindent\z@
99
+ \listparindent\z@ \rightmargin\z@
100
+ \topsep\z@ \partopsep\z@ \parskip\z@\parsep\z@
101
+ \leftmargin 1em
102
+ \addtolength{\ALC@tlm}{\leftmargin}
103
+ }
104
+ }
105
+ {\end{list}}
106
+ \newcommand{\ALC@it}{\addtocounter{ALC@line}{1}\addtocounter{ALC@rem}{1}\ifthenelse{\equal{\arabic{ALC@rem}}{#1}}{\setcounter{ALC@rem}{0}}{}\item}
107
+ \newcommand{\ALC@com}[1]{\ifthenelse{\equal{##1}{default}}%
108
+ {}{\ \algorithmiccomment{##1}}}
109
+ \newcommand{\REQUIRE}{\item[\algorithmicrequire]}
110
+ \newcommand{\ENSURE}{\item[\algorithmicensure]}
111
+ \newcommand{\STATE}{\ALC@it}
112
+ \newcommand{\COMMENT}[1]{\algorithmiccomment{##1}}
113
+ %changes by alex smola
114
+ \newcommand{\INPUT}{\item[\algorithmicinput]}
115
+ \newcommand{\OUTPUT}{\item[\algorithmicoutput]}
116
+ \newcommand{\SET}{\item[\algorithmicset]}
117
+ % \newcommand{\TRUE}{\algorithmictrue}
118
+ % \newcommand{\FALSE}{\algorithmicfalse}
119
+ \newcommand{\AND}{\algorithmicand}
120
+ \newcommand{\OR}{\algorithmicor}
121
+ \newenvironment{ALC@func}{\begin{ALC@g}}{\end{ALC@g}}
122
+ \newenvironment{ALC@main}{\begin{ALC@g}}{\end{ALC@g}}
123
+ %end changes by alex smola
124
+ \newenvironment{ALC@if}{\begin{ALC@g}}{\end{ALC@g}}
125
+ \newenvironment{ALC@for}{\begin{ALC@g}}{\end{ALC@g}}
126
+ \newenvironment{ALC@whl}{\begin{ALC@g}}{\end{ALC@g}}
127
+ \newenvironment{ALC@loop}{\begin{ALC@g}}{\end{ALC@g}}
128
+ \newenvironment{ALC@rpt}{\begin{ALC@g}}{\end{ALC@g}}
129
+ \renewcommand{\\}{\@centercr}
130
+ \newcommand{\IF}[2][default]{\ALC@it\algorithmicif\ ##2\ \algorithmicthen%
131
+ \ALC@com{##1}\begin{ALC@if}}
132
+ \newcommand{\SHORTIF}[2]{\ALC@it\algorithmicif\ ##1\
133
+ \algorithmicthen\ {##2}}
134
+ \newcommand{\ELSE}[1][default]{\end{ALC@if}\ALC@it\algorithmicelse%
135
+ \ALC@com{##1}\begin{ALC@if}}
136
+ \newcommand{\ELSIF}[2][default]%
137
+ {\end{ALC@if}\ALC@it\algorithmicelsif\ ##2\ \algorithmicthen%
138
+ \ALC@com{##1}\begin{ALC@if}}
139
+ \newcommand{\FOR}[2][default]{\ALC@it\algorithmicfor\ ##2\ \algorithmicdo%
140
+ \ALC@com{##1}\begin{ALC@for}}
141
+ \newcommand{\FORALL}[2][default]{\ALC@it\algorithmicforall\ ##2\ %
142
+ \algorithmicdo%
143
+ \ALC@com{##1}\begin{ALC@for}}
144
+ \newcommand{\SHORTFORALL}[2]{\ALC@it\algorithmicforall\ ##1\ %
145
+ \algorithmicdo\ {##2}}
146
+ \newcommand{\WHILE}[2][default]{\ALC@it\algorithmicwhile\ ##2\ %
147
+ \algorithmicdo%
148
+ \ALC@com{##1}\begin{ALC@whl}}
149
+ \newcommand{\LOOP}[1][default]{\ALC@it\algorithmicloop%
150
+ \ALC@com{##1}\begin{ALC@loop}}
151
+ %changed by alex smola
152
+ \newcommand{\FUNCTION}[2][default]{\ALC@it\algorithmicfunction\ ##2\ %
153
+ \ALC@com{##1}\begin{ALC@func}}
154
+ \newcommand{\MAIN}[2][default]{\ALC@it\algorithmicmain\ ##2\ %
155
+ \ALC@com{##1}\begin{ALC@main}}
156
+ %end changed by alex smola
157
+ \newcommand{\REPEAT}[1][default]{\ALC@it\algorithmicrepeat%
158
+ \ALC@com{##1}\begin{ALC@rpt}}
159
+ \newcommand{\UNTIL}[1]{\end{ALC@rpt}\ALC@it\algorithmicuntil\ ##1}
160
+ \ifthenelse{\boolean{ALC@noend}}{
161
+ \newcommand{\ENDIF}{\end{ALC@if}}
162
+ \newcommand{\ENDFOR}{\end{ALC@for}}
163
+ \newcommand{\ENDWHILE}{\end{ALC@whl}}
164
+ \newcommand{\ENDLOOP}{\end{ALC@loop}}
165
+ \newcommand{\ENDFUNCTION}{\end{ALC@func}}
166
+ \newcommand{\ENDMAIN}{\end{ALC@main}}
167
+ }{
168
+ \newcommand{\ENDIF}{\end{ALC@if}\ALC@it\algorithmicendif}
169
+ \newcommand{\ENDFOR}{\end{ALC@for}\ALC@it\algorithmicendfor}
170
+ \newcommand{\ENDWHILE}{\end{ALC@whl}\ALC@it\algorithmicendwhile}
171
+ \newcommand{\ENDLOOP}{\end{ALC@loop}\ALC@it\algorithmicendloop}
172
+ \newcommand{\ENDFUNCTION}{\end{ALC@func}\ALC@it\algorithmicendfunction}
173
+ \newcommand{\ENDMAIN}{\end{ALC@main}\ALC@it\algorithmicendmain}
174
+ }
175
+ \renewcommand{\@toodeep}{}
176
+ \begin{list}{\ALC@lno}{\setcounter{ALC@line}{0}\setcounter{ALC@rem}{0}%
177
+ \itemsep\z@ \itemindent\z@ \listparindent\z@%
178
+ \partopsep\z@ \parskip\z@ \parsep\z@%
179
+ \labelsep 0.5em \topsep 0.2em%
180
+ \ifthenelse{\equal{#1}{0}}
181
+ {\labelwidth 0.5em }
182
+ {\labelwidth 1.2em }
183
+ \leftmargin\labelwidth \addtolength{\leftmargin}{\labelsep}
184
+ \ALC@tlm\labelsep
185
+ }
186
+ }
187
+ {\end{list}}
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
icml2026/appendix.tex ADDED
@@ -0,0 +1,1227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ \section{Theoretical Proofs}
2
+ \label{Appendix:Theoretical_Proofs}
3
+
4
+
5
+ \subsection{Temperature--Confidence Relation and Margin Bounds}
6
+ \label{subsec:confidence-relation}
7
+
8
+ \textbf{Problem and observation.} To reach a target top-class confidence $\hat p\in(0,1)$, how constrained is $T$? Empirically, fixing only $z_M$ leaves $T$ ill-determined; using the \emph{Margin} $m$ yields tight bounds. We now prove this, step by step.
9
+
10
+ \paragraph{Target confidence equation.} Requiring $p_{\phi,\max}=\hat p$ is equivalent to
11
+ \begin{align}
12
+ \frac{e^{z_M/T}}{\sum_{j=1}^K e^{z_j/T}}&=\hat p
13
+ &&\Longleftrightarrow&
14
+ \sum_{j\neq M} e^{(z_j-z_M)/T}&=\frac{1}{\hat p}-1\ :=\ S.
15
+ \label{eq:temp-conf}
16
+ \end{align}
17
+ Because $\hat p$ is the \emph{maximum} softmax probability, $\hat p\ge 1/K$, hence $S\le K{-}1$; moreover $S>0$ since $\hat p<1$. Thus $S\in(0,K{-}1]$, and if we assume a strict top-1 margin $m>0$ (no top-2 ties) then $\hat p>1/K$ and $S\in(0,K{-}1)$.
18
+
19
+ \paragraph{Unboundedness if only $z_M$ is known.}
20
+ Assume $z_j-z_M=-\delta$ for all $j\neq M$ with $\delta>0$. Then
21
+ \begin{align}
22
+ \sum_{j\neq M} e^{(z_j-z_M)/T}
23
+ &=\sum_{j\neq M} e^{-\delta/T}
24
+ =(K-1)\,e^{-\delta/T}
25
+ =S, \label{eq:unb-1}\\
26
+ \Rightarrow\quad T&=-\frac{\delta}{\log\!\left(\frac{S}{K-1}\right)}.
27
+ \label{eq:unb-2}
28
+ \end{align}
29
+ When $S<K{-}1$ (equivalently $\hat p>1/K$), $\log(S/(K{-}1))<0$, so as $\delta\in(0,\infty)$ varies, \eqref{eq:unb-2} sweeps $T\in(0,\infty)$. Thus
30
+ \[
31
+ \boxed{\text{Fixing }z_M\text{ alone leaves the feasible }T\text{ unbounded: }(0,\infty).}
32
+ \]
33
+
34
+ \paragraph{$m$-boundedness.}
35
+ Let $\mu\in\arg\max_{j\neq M} z_j$ denote a runner-up index and define the (nonnegative) margin $m:=z_M-z_\mu$. For any $j\notin\{M,\mu\}$,
36
+ \[
37
+ z_j-z_M\ \le\ z_\mu-z_M\ =\ -m
38
+ \quad\Longrightarrow\quad
39
+ e^{(z_j-z_M)/T}\ \le\ e^{-m/T}.
40
+ \]
41
+ Since $e^{(z_\mu-z_M)/T}=e^{-m/T}$, we have
42
+ \begin{align}
43
+ \sum_{j\neq M} e^{(z_j-z_M)/T}
44
+ &= e^{-m/T} + \sum_{j\notin\{M,\mu\}} e^{(z_j-z_M)/T} \nonumber\\
45
+ &\ge e^{-m/T}, \label{eq:gb-lower}\\
46
+ \sum_{j\neq M} e^{(z_j-z_M)/T}
47
+ &\le e^{-m/T} + (K-2)\,e^{-m/T}
48
+ = (K-1)\,e^{-m/T}. \label{eq:gb-upper}
49
+ \end{align}
50
+ Combining \eqref{eq:temp-conf}, \eqref{eq:gb-lower}, and \eqref{eq:gb-upper} yields
51
+ \begin{equation}
52
+ e^{-m/T}\ \le\ S\ \le\ (K-1)\,e^{-m/T},
53
+ \qquad S=\tfrac{1}{\hat p}-1\in(0,K{-}1].
54
+ \label{eq:gb-ineq-1}
55
+ \end{equation}
56
+ Equivalently,
57
+ \begin{equation}
58
+ -\log\!\Big(\tfrac{S}{K-1}\Big)\ \ge\ \frac{m}{T}\ \ge\ -\log S.
59
+ \label{eq:gb-ineq-5}
60
+ \end{equation}
61
+ Solving \eqref{eq:gb-ineq-5} for $T>0$ gives the $m$-bounded feasible set:
62
+ \[
63
+ \boxed{
64
+ \begin{cases}
65
+ \displaystyle
66
+ T\ \in\ \Bigl[\,\frac{m}{-\log\!\bigl(S/(K-1)\bigr)}\,,\,\frac{m}{-\log S}\,\Bigr],
67
+ & \text{if } 0<S<1\ \ (\hat p>1/2),\\[1.2ex]
68
+ \displaystyle
69
+ T\ \in\ \Bigl[\,\frac{m}{-\log\!\bigl(S/(K-1)\bigr)}\,,\,\infty\Bigr),
70
+ & \text{if } 1\le S<K-1\ \ (1/K<\hat p\le 1/2),\\[1.2ex]
71
+ \text{feasible iff } m=0, & \text{if } S=K-1\ \ (\hat p=1/K).
72
+ \end{cases}
73
+ }
74
+ \]
75
+ \emph{Interpretation.} Knowing the Margin $m$ pins down $T$ tightly. When the target confidence is above $1/2$, the feasible $T$ is a \emph{finite} interval whose width shrinks as $m$ grows. For lower target confidences ($\hat p\le 1/2$), one still gets a nontrivial \emph{lower} bound on $T$; a finite upper bound appears exactly when $S<1$ (i.e., $\hat p>1/2$). In particular, for $K=2$ the bounds coincide and $T=\frac{m}{-\log S}$ is uniquely determined.
76
+
77
+
78
+
79
+
80
+ \subsection{Charbonnier--SoftECE Upper-Bounds smCE}
81
+ \label{subsec:Charbonnier-soft-controls-smce}
82
+
83
+ \paragraph{Setup and goal.}
84
+ Let $p(x)\in[0,1]$ denote the predicted probability of correctness (top-class confidence) and
85
+ $a(x):=\mathbb{1}\{\hat y(x)=y\}\in\{0,1\}$ the correctness indicator.
86
+ We measure calibration via the \emph{smooth calibration error} (smCE),
87
+ the worst-case correlation between the residual $a(X)-p(X)$ and any $1$-Lipschitz probe of the prediction $p(X)$ (cf.\ forecasting(\!\cite{kakade2004deterministic}) and the ML calibration view of \cite{blasiok2023does}):
88
+ \begin{align*}
89
+ \mathrm{smCE}(f) &:= \sup_{\varphi\in\mathcal H}\;\Big|\;\mathbb{E}\big[(a(X)-p(X))\,\varphi\!\big(p(X)\big)\big]\;\Big|, \\
90
+ \mathcal H &:= \big\{\varphi:[0,1]\to[-1,1]\ \text{s.t.}\ \mathrm{Lip}(\varphi)\le 1\big\}.
91
+ \end{align*}
92
+ We study the \emph{Charbonnier--SoftECE} objective (a smoothed, Huberized absolute calibration error):
93
+ \[
94
+ \mathcal{H}_{\lambda,\delta}(f)
95
+ \;:=\;
96
+ \E_{X}\!\left[
97
+ \int_{0}^{1}
98
+ K_\lambda\!\big(p(X),u\big)\,\phi_\delta\!\big(a(X)-u\big)\;\rho(u)\,du
99
+ \right],
100
+ \qquad
101
+ \phi_\delta(r):=\sqrt{r^2+\delta^2},
102
+ \]
103
+ where $\rho$ is a reference density on $[0,1]$ and
104
+ \begin{equation}
105
+ \label{eq:kernel-normalization-rev}
106
+ K_\lambda(p,u)\;=\;\frac{k_\lambda(p-u)}{\int_0^1 k_\lambda(p-v)\,\rho(v)\,dv},
107
+ \qquad
108
+ k_\lambda(t):=e^{-\lambda t^2},\ \ \lambda>0,
109
+ \end{equation}
110
+ so that $\int_0^1 K_\lambda(p,u)\,\rho(u)\,du=1$ for every $p\in[0,1]$.
111
+ Assume \emph{boundedness and bounded-away-from-zero} of $\rho$: there exist constants $0<\rho_{\min}\le \rho(u)\le\rho_{\max}<\infty$ for all $u\in[0,1]$, and write $\kappa:=\rho_{\max}/\rho_{\min}$.
112
+
113
+ \paragraph{Main result.}
114
+ \begin{theorem}[Charbonnier--SoftECE upper-bounds smCE]
115
+ \label{thm:Charbonnier-soft-controls-smce-rev}
116
+ Under the assumptions above, for all classifiers $f$ and all $\delta\ge 0$,
117
+ \begin{equation}
118
+ \label{eq:master-bound-rev}
119
+ \mathrm{smCE}(f)\ \le\ \mathcal{H}_{\lambda,\delta}(f)\ +\ 2\,B_\lambda,
120
+ \qquad
121
+ B_\lambda\;:=\;\sup_{p\in[0,1]}\int_0^1 |p-u|\,K_\lambda(p,u)\,\rho(u)\,du.
122
+ \end{equation}
123
+ Moreover, for the Gaussian kernel $k_\lambda(t)=e^{-\lambda t^2}$,
124
+ \begin{equation}
125
+ \label{eq:Blambda-explicit}
126
+ B_\lambda\ \le\ \min\!\left\{\,1,\ \frac{2\,\kappa}{\sqrt{\pi}}\cdot\frac{1}{\sqrt{\lambda}\ \mathrm{erf}(\sqrt{\lambda})}\right\},
127
+ \end{equation}
128
+ and in particular for $\lambda\ge 1$,
129
+ \begin{equation}
130
+ \label{eq:Blambda-simplified}
131
+ B_\lambda\ \le\ \frac{C_\kappa}{\sqrt{\lambda}},
132
+ \qquad
133
+ C_\kappa\;:=\;\frac{2\,\kappa}{\sqrt{\pi}\ \mathrm{erf}(1)}\ \approx\ 1.339\,\kappa.
134
+ \end{equation}
135
+ \end{theorem}
136
+
137
+ \paragraph{Proof.}
138
+ For brevity write $p:=p(X)$ and $a:=a(X)$.
139
+ Fix any $\varphi\in\mathcal H$ with $\|\varphi\|_\infty\le 1$.
140
+ Introduce the (normalized) kernel smoothing operator
141
+ \[
142
+ (\mathsf T_\lambda\varphi)(p)\ :=\ \int_0^1 K_\lambda(p,u)\,\varphi(u)\,\rho(u)\,du.
143
+ \]
144
+
145
+ \emph{Decomposition.}
146
+ \begin{align}
147
+ \label{eq:decomp-rev}
148
+ \mathbb{E}[(a-p)\,\varphi(p)]
149
+ \;=\;
150
+ \mathbb{E}[(a-p)\,(\mathsf T_\lambda\varphi)(p)]
151
+ \;+\;
152
+ \mathbb{E}\big[(a-p)\,\{\varphi(p)-(\mathsf T_\lambda\varphi)(p)\}\big].
153
+ \end{align}
154
+
155
+ \emph{Approximation (mollification) error.}
156
+ By $\mathrm{Lip}(\varphi)\le 1$ and the triangle inequality,
157
+ \begin{align*}
158
+ \big|\varphi(p)-(\mathsf T_\lambda\varphi)(p)\big|
159
+ &=\left|\int_0^1 K_\lambda(p,u)\,\{\varphi(p)-\varphi(u)\}\,\rho(u)\,du\right|
160
+ \ \le\ \int_0^1 K_\lambda(p,u)\,|p-u|\,\rho(u)\,du.
161
+ \end{align*}
162
+ Taking the supremum over $p$ and $\varphi$ yields
163
+ \begin{equation}
164
+ \label{eq:epsLEB}
165
+ \sup_{\varphi\in\mathcal H}\ \sup_{p\in[0,1]}\big|\varphi(p)-(\mathsf T_\lambda\varphi)(p)\big|\ \le\ B_\lambda.
166
+ \end{equation}
167
+ Hence, using $|a-p|\le 1$,
168
+ \[
169
+ \Big|\mathbb{E}\big[(a-p)\,\{\varphi(p)-(\mathsf T_\lambda\varphi)(p)\}\big]\Big|
170
+ \ \le\ B_\lambda.
171
+ \]
172
+
173
+ \emph{Aligned main term.}
174
+ By Fubini/Tonelli (bounded integrands) and normalization $\int K_\lambda(p,u)\rho(u)\,du=1$,
175
+ \[
176
+ \mathbb{E}[(a-p)\,(\mathsf T_\lambda\varphi)(p)]
177
+ =\int_0^1 \varphi(u)\,\mathbb{E}\big[(a-p)\,K_\lambda(p,u)\big]\ \rho(u)\,du,
178
+ \]
179
+ and since $|\varphi(u)|\le 1$,
180
+ \begin{equation}
181
+ \label{eq:main-aligned}
182
+ \big|\mathbb{E}[(a-p)\,(\mathsf T_\lambda\varphi)(p)]\big|
183
+ \ \le\ \int_0^1 \Big|\,\mathbb{E}\big[(a-p)\,K_\lambda(p,u)\big]\,\Big|\,\rho(u)\,du.
184
+ \end{equation}
185
+ For each $u$, using $|x+y|\le |x|+|y|$ and $|a-p|\le |a-u|+|p-u|$, together with $\phi_\delta(r)\ge |r|$,
186
+ \begin{align}
187
+ \label{eq:triangle-rev}
188
+ \Big|\,\mathbb{E}\big[(a-p)\,K_\lambda(p,u)\big]\,\Big|
189
+ &\le \mathbb{E}\big[\,|a-p|\,K_\lambda(p,u)\big]\notag\\
190
+ &\le\ \mathbb{E}\big[\,\phi_\delta(a-u)\,K_\lambda(p,u)\big]\ +\ \mathbb{E}\big[\,|p-u|\,K_\lambda(p,u)\big].
191
+ \end{align}
192
+ Integrating \eqref{eq:triangle-rev} against $\rho(u)\,du$ and applying Fubini,
193
+ \begin{align*}
194
+ \int_0^1 \Big|\,\mathbb{E}\big[(a-p)\,K_\lambda(p,u)\big]\,\Big|\,\rho(u)\,du
195
+ &\ \le\ \mathbb{E}\!\left[\int_0^1 K_\lambda(p,u)\,\phi_\delta(a-u)\,\rho(u)\,du\right]\\
196
+ &\quad\ +\ \sup_{p}\int_0^1 |p-u|\,K_\lambda(p,u)\,\rho(u)\,du,
197
+ \end{align*}
198
+ i.e.,
199
+ \begin{equation}
200
+ \label{eq:aligned-bdd}
201
+ \big|\mathbb{E}[(a-p)\,(\mathsf T_\lambda\varphi)(p)]\big|
202
+ \ \le\ \mathcal{H}_{\lambda,\delta}(f)\ +\ B_\lambda.
203
+ \end{equation}
204
+
205
+ \emph{Conclusion.}
206
+ Combining \eqref{eq:epsLEB}, \eqref{eq:aligned-bdd} with \eqref{eq:decomp-rev} and taking the supremum over $\varphi\in\mathcal H$ gives
207
+ $\mathrm{smCE}(f)\le \mathcal{H}_{\lambda,\delta}(f)+2B_\lambda$.
208
+
209
+ \medskip
210
+ \noindent\emph{Explicit bounds for $B_\lambda$.}
211
+ By definition,
212
+ \[
213
+ B_\lambda=\sup_{p\in[0,1]}\ \frac{\int_0^1 |p-u|\,k_\lambda(p-u)\,\rho(u)\,du}{\int_0^1 k_\lambda(p-v)\,\rho(v)\,dv}.
214
+ \]
215
+ Using $\rho(u)\le \rho_{\max}$ in the numerator and $\rho(v)\ge \rho_{\min}$ in the denominator, and changing variables $t=p-u$ or $t=p-v$, we obtain for all $p\in[0,1]$:
216
+ \[
217
+ B_\lambda
218
+ \ \le\ \kappa\cdot
219
+ \frac{\int_{\mathbb{R}} |t|\,e^{-\lambda t^2}\,dt}
220
+ {\int_{p-1}^{p} e^{-\lambda t^2}\,dt}.
221
+ \]
222
+ Since $p\in[0,1]$, the denominator integrates over a length-$1$ interval contained in $[-1,1]$; by symmetry and unimodality of $t\mapsto e^{-\lambda t^2}$, the minimum over such intervals is attained at an endpoint, e.g.\ $[0,1]$. Hence
223
+ \[
224
+ B_\lambda
225
+ \ \le\ \kappa\cdot
226
+ \frac{\int_{\mathbb{R}} |t|\,e^{-\lambda t^2}\,dt}
227
+ {\int_{0}^{1} e^{-\lambda t^2}\,dt}
228
+ \ =\ \kappa\cdot
229
+ \frac{\tfrac{1}{\lambda}}
230
+ {\tfrac{\sqrt{\pi}}{2\sqrt{\lambda}}\ \mathrm{erf}(\sqrt{\lambda})}
231
+ \ =\ \frac{2\,\kappa}{\sqrt{\pi}}\cdot\frac{1}{\sqrt{\lambda}\ \mathrm{erf}(\sqrt{\lambda})}.
232
+ \]
233
+ Since $|p-u|\le 1$ and $\int K_\lambda\rho=1$, we also have $B_\lambda\le 1$.
234
+ For $\lambda\ge 1$, $\mathrm{erf}(\sqrt{\lambda})\ge \mathrm{erf}(1)$, yielding \eqref{eq:Blambda-simplified}.
235
+ \hfill$\square$
236
+
237
+ \paragraph{Interpretation and guidance.}
238
+ The guarantee \eqref{eq:master-bound-rev} decomposes into a \emph{model-dependent} term $\mathcal{H}_{\lambda,\delta}(f)$ and a \emph{design-only} kernel bias $B_\lambda$, the average \emph{soft-bin radius} around $p$. The Charbonnier envelope obeys $\phi_\delta(r)\ge |r|$, so replacing $|a-u|$ with $\phi_\delta(a-u)$ never weakens control of smCE and yields smooth gradients near $r=0$. For Gaussian kernels, $B_\lambda=\mathcal{O}(\kappa/\sqrt{\lambda})$ as in \eqref{eq:Blambda-simplified}, so increasing $\lambda$ monotonically tightens the bound; the cap $B_\lambda\le 1$ ensures uniform validity for all $\lambda>0$.
239
+ (Discrete soft-binned implementations—via Riemann-sum quadrature of the $u$-integral—inherit the same inequality up to a standard design-only quadrature error that vanishes as the grid is refined.)
240
+
241
+
242
+
243
+
244
+ \subsection{Charbonnier--SoftECE vs.\ NLL}
245
+ \label{subsec:Charbonnier-vs-nll}
246
+
247
+ We compare negative log-likelihood (NLL) with Charbonnier--SoftECE within the SMART family
248
+ $T(x)=h(m(x))$ that scales by the \emph{margin}
249
+ $m(x):=z_{(1)}(x)-z_{(2)}(x)\in\R_{\ge 0}$.
250
+ Throughout, assume
251
+ (i) $T(x)\in[T_{\min},T_{\max}]$ with $0<T_{\min}\le T_{\max}<\infty$,
252
+ (ii) $\mathbb{E}\|z(X)\|_\infty<\infty$, and
253
+ (iii) $\mathbb{P}(z_{(1)}=z_{(2)})=0$ (no top-2 ties a.s.).
254
+ Write $t(x):=z(x)/T(x)$, $q(x):=\softmax(t(x))$, $M(x):=\arg\max_k t_k(x)$,
255
+ $p(x):=q_{M(x)}(x)\in(0,1)$, and $Y^{\top}(x):=\mathbf{1}\{Y(x)=M(x)\}$.
256
+ Define the pointwise top-class probability $r_X(x):=\mathbb{P}\!\big(Y=M(x)\mid X=x\big)$ and the \emph{reliability} curve $r(p):=\mathbb{E}\!\big[r_X(X)\mid p(X)=p\big]$.
257
+ We measure calibration by the smooth calibration error (smCE)
258
+ \[
259
+ \mathrm{smCE}(f):=\sup_{\substack{\varphi:[0,1]\to[-1,1]\\ \mathrm{Lip}(\varphi)\le 1}}
260
+ \big|\mathbb{E}[(Y^{\top}-p)\varphi(p)]\big|.
261
+ \]
262
+
263
+ \paragraph{Charbonnier--SoftECE and its smCE control.}
264
+ Charbonnier--SoftECE is the objective
265
+ \[
266
+ \mathcal{H}_{\lambda,\delta}(f)
267
+ \ :=\
268
+ \E_{X}\!\left[\int_0^1 K_\lambda\!\big(p(X),u\big)\,
269
+ \phi_\delta\!\big(Y^{\top}(X)-u\big)\,\rho(u)\,du\right],
270
+ \qquad \phi_\delta(r):=\sqrt{r^2+\delta^2},
271
+ \]
272
+ with normalized kernel $K_\lambda$ as in \eqref{eq:kernel-normalization-rev} and a reference density
273
+ $\rho$ on $[0,1]$.
274
+ We \emph{use} (proved in Sec.~\ref{subsec:Charbonnier-soft-controls-smce}) the smCE control
275
+ \begin{equation}
276
+ \label{eq:smce-Charbonnier-master-again-nll}
277
+ \mathrm{smCE}(f)\ \le\ \mathcal{H}_{\lambda,\delta}(f)\ +\ 2\,B_\lambda,
278
+ \qquad
279
+ B_\lambda\ =\ \sup_{p}\int_0^1 |p-u|\,K_\lambda(p,u)\,\rho(u)\,du,
280
+ \end{equation}
281
+ with $B_\lambda=\mathcal{O}(\kappa/\sqrt{\lambda})$ for Gaussian kernels.
282
+
283
+ \paragraph{A SMART-feasible local scaling path.}
284
+ Fix a Borel margin slice $G\subset\R_{\ge 0}$ and $A:=\{x:\ m(x)\in G\}$.
285
+ For $s>0$, define the local scaling
286
+ \begin{align*}
287
+ T_s(x) &:= \begin{cases}T(x)/s,& x\in A,\\ T(x),& x\notin A,\end{cases} \\
288
+ t_s(x) &:= \frac{z(x)}{T_s(x)} = \begin{cases}s\,t(x),& x\in A,\\ t(x),& x\notin A,\end{cases} \\
289
+ q^{(s)} &:= \softmax(t_s), \quad p_s := q^{(s)}_{M}.
290
+ \end{align*}
291
+ Because uniform multiplication by $s>0$ preserves coordinate ordering, $M$ is unchanged for all $s>0$; (iii) rules out measure-zero ties at the boundary.
292
+
293
+ \begin{lemma}[Directional derivatives under local margin-dependent scaling]
294
+ \label{lem:dir-derivatives-nll}
295
+ Let $L_{\mathrm{nll}}(h):=\mathbb{E}[-\log q_Y(X)]$.
296
+ For any $C^1$ probe $\psi:[0,1]\to\R$ with $\mathrm{Lip}(\psi)\le 1$ and $\|\psi\|_\infty\le 1$,
297
+ the Gâteaux derivatives at $s=1$ exist and
298
+ \begin{align}
299
+ \left.\frac{d}{ds}L_{\mathrm{nll}}(h_s)\right|_{s=1}
300
+ &=\ \mathbb{E}\!\big[\mathbf{1}_A\,(\langle t\rangle_q - t_Y)\big],
301
+ \label{eq:dir-NLL}\\[-0.3em]
302
+ \left.\frac{d}{ds}\,\mathbb{E}\big[(Y^{\top}-p_s)\psi(p_s)\big]\right|_{s=1}
303
+ &=\ \mathbb{E}\!\Big[\mathbf{1}_A\;p\,\big(t_M-\langle t\rangle_q\big)\,
304
+ \big(\psi'(p)\,(r_X-p)-\psi(p)\big)\Big],
305
+ \label{eq:dir-calib-nll}
306
+ \end{align}
307
+ where $\langle t\rangle_q:=\sum_k q_k\,t_k$ and $r_X:=r_X(X)$.
308
+ \end{lemma}
309
+
310
+ \begin{proof}
311
+ On $A$, $\partial_s q_k^{(s)}=q_k^{(s)}(t_k-\langle t\rangle_{q^{(s)}})$, hence
312
+ $\partial_s(-\log q_Y^{(s)})=\langle t\rangle_{q^{(s)}}-t_Y$. Outside $A$ the derivative vanishes.
313
+ Dominated convergence applies since $\big|\partial_s(-\log q_Y^{(s)})\big|\le 2\|t\|_\infty$ and $\mathbb{E}\|t\|_\infty\le \mathbb{E}\|z\|_\infty/T_{\min}<\infty$, yielding \eqref{eq:dir-NLL}.
314
+ For $F_\psi(s):=\mathbb{E}[(Y^{\top}-p_s)\psi(p_s)]$, with $M$ fixed,
315
+ $\partial_s p_s=\partial_s q_M^{(s)}=q_M^{(s)}(t_M-\langle t\rangle_{q^{(s)}})=p_s(t_M-\langle t\rangle_{q^{(s)}})$.
316
+ Thus
317
+ \[
318
+ \partial_s\big((Y^{\top}-p_s)\psi(p_s)\big)
319
+ =\big(-\psi(p_s)+(Y^{\top}-p_s)\psi'(p_s)\big)\,\partial_s p_s.
320
+ \]
321
+ Conditioning on $X$ replaces $Y^{\top}$ by $r_X(X)$, whence \eqref{eq:dir-calib-nll} at $s=1$ after integration; dominated convergence holds because $p\,|t_M-\langle t\rangle_q|\le 2\|t\|_\infty$ and $|\psi'|\le 1$, $|\psi|\le 1$.
322
+ \end{proof}
323
+
324
+ \begin{lemma}[Margin lower bound for the top-logit advantage]
325
+ \label{lem:margin-advantage-nll}
326
+ On $\{M=\arg\max t\}$,
327
+ \begin{equation}
328
+ t_M-\langle t\rangle_q \ \ge\ (1-p)\,\big(t_M-t_{(2)}\big)
329
+ \ =\ (1-p)\,\frac{m}{T}.
330
+ \label{eq:adv-lb-margin-nll}
331
+ \end{equation}
332
+ \end{lemma}
333
+
334
+ \begin{proof}
335
+ $\langle t\rangle_q=p\,t_M+\sum_{j\neq M}q_j t_j\le p\,t_M+(1-p)\,t_{(2)}$; rearrange.
336
+ \end{proof}
337
+
338
+ \paragraph{A correct NLL directional upper bound (multi-class).}
339
+ Define the \emph{runner-up gap} $g(x):=t_{(1)}(x)-t_{(2)}(x)=m(x)/T(x)\ge 0$
340
+ and the \emph{non-top spread} $\Delta(x):=t_{(2)}(x)-t_{(K)}(x)\ge 0$.
341
+ For any $x$ with predicted index $M$ and confidence $p=q_M(x)$,
342
+ \begin{equation}
343
+ \label{eq:NLL-upper-correct}
344
+ \mathbb{E}\!\left[\langle t\rangle_q-t_Y\mid X=x\right]
345
+ \ \le\ \big(p-r_X(x)\big)\,g(x)\ +\ \big(1-r_X(x)\big)\,\Delta(x).
346
+ \end{equation}
347
+ In particular, for binary classification ($K=2$) one has $\Delta\equiv 0$ and \eqref{eq:NLL-upper-correct} reduces to
348
+ $\mathbb{E}[\langle t\rangle_q-t_Y\mid X]\ =\ (p-r_X)\,g$ (exact).
349
+
350
+ \begin{proof}[Derivation of \eqref{eq:NLL-upper-correct}]
351
+ With $\eta_k(x):=\mathbb{P}(Y{=}k\mid X{=}x)$,
352
+ \[
353
+ \mathbb{E}\!\left[\langle t\rangle_q-t_Y\mid X=x\right]
354
+ =\sum_k (q_k-\eta_k)\,t_k
355
+ =(p-r_X)\,(t_M-t_{(2)})+\sum_{j\neq M}(q_j-\eta_j)\,(t_j-t_{(2)}).
356
+ \]
357
+ Since $t_j-t_{(2)}\le 0$ and $\sum_{j\neq M}(\eta_j-q_j)_+\le \sum_{j\neq M}\eta_j=1-r_X$, the last sum is $\le (1-r_X)\,(t_{(2)}-t_{(K)})=(1-r_X)\,\Delta$.
358
+ \end{proof}
359
+
360
+ \paragraph{Consequences and a mild spread control.}
361
+ On a slice $A=\{m\in G\}$, assume the empirically checkable \emph{spread control}
362
+ \begin{equation}
363
+ \label{eq:spread-control-nll}
364
+ \Delta(x)\ \le\ \Delta_G\ <\ \infty\qquad \text{for all }x\in A.
365
+ \end{equation}
366
+ Then, combining \eqref{eq:NLL-upper-correct} with Lemma~\ref{lem:dir-derivatives-nll},
367
+ \begin{align}
368
+ \left.\frac{d}{ds}L_{\mathrm{nll}}(h_s)\right|_{s=1}
369
+ &=\mathbb{E}\big[\mathbf{1}_A(\langle t\rangle_q-t_Y)\big]
370
+ \ \le\ \mathbb{E}\!\big[\mathbf{1}_A \,(p-r_X)\,g\big]\ +\ \Delta_G\,\mu_A,
371
+ \label{eq:NLL-signed-with-spread}
372
+ \end{align}
373
+ where $\mu_A:=\mathbb{P}\{X\in A\}$.
374
+ In the binary case $\Delta\equiv 0$ and \eqref{eq:NLL-signed-with-spread} holds with equality.
375
+
376
+ \paragraph{Two-slice \emph{mismatch} under mild, empirically observed heterogeneity.}
377
+ We next give conditions under which a single SMART-feasible local move reduces NLL yet \emph{increases} smCE.
378
+
379
+ \emph{Assumptions (empirically checkable).}
380
+ Fix a \emph{compact} margin slice $G\subset[m_{\min},m_{\max}]$ and set $A:=\{x:\ m(x)\in G\}$.
381
+ Let $\gamma_{\min}:=\inf_{x\in A}\frac{m(x)}{T(x)}$ and $\gamma_{\max}:=\sup_{x\in A}\frac{m(x)}{T(x)}$ (finite and positive by $G$ compact and $T\in[T_{\min},T_{\max}]$).
382
+ Assume there exist disjoint compact intervals $J_{\mathrm{U}},J_{\mathrm{O}}\subset(p_0,1)$ with gap $\Delta>0$ and constants $\rho_{\mathrm{U}},\rho_{\mathrm{O}}>0$ such that
383
+ \[
384
+ r(p)-p\ \ge\ \rho_{\mathrm{U}}\quad\text{for }p\in J_{\mathrm{U}},\qquad
385
+ r(p)-p\ \le\ -\,\rho_{\mathrm{O}}\quad\text{for }p\in J_{\mathrm{O}}.
386
+ \]
387
+ Write
388
+ $\mu_{\mathrm{U}}:=\mathbb{P}\{\,p\in J_{\mathrm{U}},\ x\in A\,\}$,
389
+ $\mu_{\mathrm{O}}:=\mathbb{P}\{\,p\in J_{\mathrm{O}},\ x\in A\,\}$,
390
+ $\mu_{\mathrm{gap}}:=\mathbb{P}\{\,x\in A,\ p\notin J_{\mathrm{U}}\cup J_{\mathrm{O}}\,\}$,
391
+ and assume additionally:
392
+ \begin{itemize}
393
+ \item[(a)] (\emph{bounded conditional density of $p$ on $A$}) the conditional distribution of $p$ given $X\in A$ has a density $f_{p|A}$ on $(0,1)$ with $\|f_{p|A}\|_\infty\le D_G<\infty$. In particular, for any interval $I\subset(0,1)$, $\mathbb{P}\{p\in I,\,X\in A\}\le D_G\,|I|$.
394
+ \item[(b)] (\emph{slice-bounded advantage}) there exists $C_G<\infty$ with
395
+ $p(x)\big(t_M(x)-\langle t(x)\rangle_{q(x)}\big)\le C_G$ for $x\in A$ (e.g., it holds with $C_G:=2\operatorname*{ess\,sup}_{x\in A}\|t(x)\|_\infty$ whenever $t$ is essentially bounded on $A$).
396
+ \item[(c)] the spread control \eqref{eq:spread-control-nll} holds on $A$ with constant $\Delta_G$.
397
+ \end{itemize}
398
+
399
+ \begin{proposition}[Two-slice mismatch: NLL $\downarrow$ but smCE $\uparrow$ (multi-class)]
400
+ \label{prop:two-slice-mismatch-nll}
401
+ Consider the \emph{sharpening} direction $s\uparrow 1$ applied on the SMART-feasible set $A=\{m\in G\}$.
402
+ If
403
+ \begin{equation}
404
+ \label{eq:NLL-mismatch-condition}
405
+ \rho_{\mathrm{U}}\,\gamma_{\min}\,\mu_{\mathrm{U}}
406
+ \ >\ \gamma_{\max}\,\big(\rho_{\mathrm{O}}\,\mu_{\mathrm{O}}+\mu_{\mathrm{gap}}\big)\ +\ \Delta_G\,\mu_A,
407
+ \end{equation}
408
+ then $\left.\tfrac{d}{ds}L_{\mathrm{nll}}(h_s)\right|_{s=1}<0$ (NLL strictly decreases).
409
+ Moreover, for any $c\in(0,\min\{1,\Delta\})$ there exists a $1$-Lipschitz probe $\psi$ with
410
+ $\psi\equiv 0$ on $J_{\mathrm{U}}$, $\psi\equiv -c$ on $J_{\mathrm{O}}$, and with transitions confined to a band whose $A$-mass is at most $\varepsilon>0$, such that
411
+ \begin{equation}
412
+ \label{eq:calib-mismatch-deriv-nll}
413
+ \left.\frac{d}{ds}\mathbb{E}[(Y^{\top}-p_s)\psi(p_s)]\right|_{s=1}
414
+ \ \ge\ c\,\underline{p}_{\mathrm{O}}\,(1-\overline{p}_{\mathrm{O}})\,\gamma_{\min}\,\mu_{\mathrm{O}}
415
+ \ -\ (1+c)\,C_G\,\varepsilon,
416
+ \end{equation}
417
+ where $\underline{p}_{\mathrm{O}}:=\inf J_{\mathrm{O}}$ and $\overline{p}_{\mathrm{O}}:=\sup J_{\mathrm{O}}$.
418
+ Choosing $\varepsilon<\tfrac{c\,\underline{p}_{\mathrm{O}}(1-\overline{p}_{\mathrm{O}})\gamma_{\min}}{(1+c)\,C_G}\,\mu_{\mathrm{O}}$ makes the right-hand side strictly positive. Because on $J_{\mathrm{O}}$ one has $(r(p)-p)\psi(p)\ge c\,\rho_{\mathrm{O}}$ while $\psi\equiv 0$ on $J_{\mathrm{U}}$, the signed functional at $s=1$ obeys
419
+ \begin{equation}
420
+ \label{eq:baseline-positive-nll}
421
+ \mathbb{E}[(Y^{\top}-p)\psi(p)]
422
+ \ =\ \mathbb{E}[(r(p)-p)\psi(p)]
423
+ \ \ge\ c\,\rho_{\mathrm{O}}\,\mu_{\mathrm{O}}\ -\ c\,\varepsilon\ >\ 0,
424
+ \end{equation}
425
+ so a positive derivative implies a strict increase of its absolute value. Hence smCE strictly increases along $s\uparrow 1$.
426
+ \end{proposition}
427
+
428
+ \begin{proof}
429
+ By \eqref{eq:NLL-signed-with-spread} and splitting $A$ into the three regions,
430
+ \begin{align*}
431
+ \left.\frac{d}{ds}L_{\mathrm{nll}}(h_s)\right|_{s=1} &\le \mathbb{E}\!\big[\mathbf{1}_{A\cap\{p\in J_{\mathrm{U}}\}}(p-r_X)g\big] \\
432
+ &\quad + \mathbb{E}\!\big[\mathbf{1}_{A\cap\{p\in J_{\mathrm{O}}\}}(p-r_X)g\big] \\
433
+ &\quad + \mathbb{E}\!\big[\mathbf{1}_{A\cap\{p\notin J_{\mathrm{U}}\cup J_{\mathrm{O}}\}}(p-r_X)g\big] \\
434
+ &\quad + \Delta_G\,\mu_A.
435
+ \end{align*}
436
+ On $A\cap\{p\in J_{\mathrm{U}}\}$, $g\ge \gamma_{\min}$ and
437
+ $\mathbb{E}[p-r_X\mid p]=p-r(p)\le -\,\rho_{\mathrm{U}}$,
438
+ hence the contribution is $\le -\,\rho_{\mathrm{U}}\gamma_{\min}\mu_{\mathrm{U}}$.
439
+ On $A\cap\{p\in J_{\mathrm{O}}\}$, $g\le \gamma_{\max}$ and $\mathbb{E}[p-r_X\mid p]\ge \rho_{\mathrm{O}}$, giving at most $\gamma_{\max}\rho_{\mathrm{O}}\mu_{\mathrm{O}}$.
440
+ On the gap region, $|p-r_X|\le 1$ and $g\le \gamma_{\max}$, giving at most $\gamma_{\max}\,\mu_{\mathrm{gap}}$.
441
+ This yields strict negativity under \eqref{eq:NLL-mismatch-condition}.
442
+ For the probe, on $J_{\mathrm{O}}$ we have $\psi'(p)=0$ and $-\psi(p)=c$,
443
+ so by \eqref{eq:dir-calib-nll} and Lemma~\ref{lem:margin-advantage-nll},
444
+ \[
445
+ \left.\frac{d}{ds}\mathbb{E}[(Y^{\top}-p_s)\psi(p_s)]\right|_{s=1,\,p\in J_{\mathrm{O}}}
446
+ \ \ge\ c\,\underline{p}_{\mathrm{O}}\,(1-\overline{p}_{\mathrm{O}})\,\gamma_{\min}.
447
+ \]
448
+ On $J_{\mathrm{U}}$ the contribution is $0$ since $\psi\equiv 0$.
449
+ On the transition band (of $A$-mass $\varepsilon$), $|\psi'|\le 1$ and $|\psi|\le c$,
450
+ hence $|\psi'(p)(r_X-p)-\psi(p)|\le (1+c)$ while $p(t_M-\langle t\rangle_q)\le C_G$ on $A$ by (b).
451
+ Thus the transition contribution is at most $(1+c)\,C_G\,\varepsilon$ in magnitude, giving \eqref{eq:calib-mismatch-deriv-nll}.
452
+ Finally, \eqref{eq:baseline-positive-nll} holds since $\psi$ depends only on $p$ and $\mathbb{E}[Y^{\top}-p\mid p]=r(p)-p$.
453
+ By (a), we can realize the $1$-Lipschitz $\psi$ with linear ramps of total width at most $2c$, whence $\varepsilon\le 2D_G c$; shrinking $c$ if needed makes the stated choice of $\varepsilon$ feasible.
454
+ \end{proof}
455
+
456
+ \begin{lemma}[Small-$s$ realization for the mismatch]
457
+ \label{lem:small-s-nll}
458
+ Under Proposition~\ref{prop:two-slice-mismatch-nll}, there exists $s^\uparrow>1$ arbitrarily close to $1$ with
459
+ \[
460
+ L_{\mathrm{nll}}(h_{s^\uparrow})\ <\ L_{\mathrm{nll}}(h)
461
+ \qquad\text{and}\qquad
462
+ \mathrm{smCE}(f_{h_{s^\uparrow}})\ >\ \mathrm{smCE}(f_{h}).
463
+ \]
464
+ \end{lemma}
465
+
466
+ \begin{proof}
467
+ $L_{\mathrm{nll}}(h_s)$ is $C^1$ at $s=1$ by Lemma~\ref{lem:dir-derivatives-nll}, with strictly negative derivative; hence $L_{\mathrm{nll}}(h_{s^\uparrow})<L_{\mathrm{nll}}(h)$ for all $s^\uparrow>1$ sufficiently close to $1$.
468
+ For smCE, fix the $\psi$ from Proposition~\ref{prop:two-slice-mismatch-nll}; then $F_\psi(s):=\mathbb{E}[(Y^{\top}-p_s)\psi(p_s)]$ is $C^1$ with $F_\psi(1)>0$ and $F_\psi'(1)>0$, so $|F_\psi(s^\uparrow)|>|F_\psi(1)|$ for all $s^\uparrow>1$ close enough to $1$. Since $\mathrm{smCE}(f_{h_s})\ge |F_\psi(s)|$, it follows that $\mathrm{smCE}(f_{h_{s^\uparrow}})>\mathrm{smCE}(f_{h})$.
469
+ \end{proof}
470
+
471
+ \paragraph{Takeaway.}
472
+ Along SMART-feasible local scalings of the temperature map $T(x)=h(m(x))$, Charbonnier--SoftECE continues to control smCE via \eqref{eq:smce-Charbonnier-master-again-nll}, whereas NLL can be \emph{locally improved} (decreased) while smCE \emph{deteriorates} (increases) under mild, empirically checkable heterogeneity of confidence slices (Proposition~\ref{prop:two-slice-mismatch-nll}). The NLL directional formula is exact in binary classification; in multi-class settings the same conclusion holds under a weak spread control on non-top logits.
473
+
474
+
475
+
476
+ \section{The Use of Large Language Models}
477
+
478
+ During the preparation of this work, we utilized a Large Language Model (LLM) to assist with editorial refinement of the manuscript. The model's application was limited exclusively to improving textual quality and presentation, not for generating substantive research content. The LLM's contributions included:
479
+
480
+ \begin{itemize}
481
+ \item Enhancing sentence structure and paragraph organization to improve clarity, brevity, and scholarly tone.
482
+ \item Identifying and correcting errors in grammar, spelling, and punctuation.
483
+ \item Strengthening coherence and smoothing transitions throughout the text.
484
+ \end{itemize}
485
+
486
+
487
+ \section{Runtime Efficiency}
488
+ To verify the time efficiency of our method, we compare the runtime with baseline methods. The result is reported in Table~\ref{tab:imagenet_resnet_runtime}. TS optimizes a single scalar temperature via a few gradient steps or closed‐form updates, then applies this same factor to every logit, resulting in a negligible overhead (2.42\,s). SMART yields a small per‐sample inference cost and hence a modest total runtime (23.03\,s). Logits are input into PTS's small neural network for each sample to predict a bespoke temperature, incurring a larger computational cost than SMART. CTS is the most expensive at more than 1 hour with the highest variance, as it conducts an exhaustive grid search for 5 epochs over a dense temperature grid (e.g. 0.1 -10) for each of the 1 000 classes, leading to $O(C\times G\times N)$ evaluations (classes $\times$ grid points $\times$ samples). The spline‐based calibrator precomputes a monotonic mapping on the validation set and then applies a fast piecewise‐linear transform at test time, yielding intermediate overhead. These differences illustrate the trade‐off between expressive power and efficiency: TS is almost instantaneous, SMART adds only a small network‐forward cost per sample, PTS trades per‐sample flexibility for moderate cost, and CTS’s brute‐force search becomes prohibitive at scale.
489
+
490
+ \begin{table*}[ht]
491
+ \caption{\textbf{Average Runtime (s) on ImageNet} over 10 runs on a ResNet-50 model.}
492
+ \footnotesize
493
+ \label{tab:imagenet_resnet_runtime}
494
+ \begin{tabular*}{\columnwidth}{@{\extracolsep{\fill}}lccccc@{}}
495
+ \toprule
496
+ \textbf{Method} & TS & Spline & PTS & CTS & SMART \\
497
+ \midrule
498
+ Runtime (s) &
499
+ $2.42 \pm 0.1$ &
500
+ $28.51 \pm 0.9$ &
501
+ $1050.44 \pm 37.8$ &
502
+ $5457.55 \pm 125.5$ &
503
+ $23.03 \pm 0.41$ \\
504
+ \bottomrule
505
+ \end{tabular*}
506
+ % \vspace{-0.2in}
507
+ \end{table*}
508
+
509
+
510
+ % \section{margin Perspective on Calibration}
511
+ % \label{sec:logit_gap_perspective}
512
+
513
+ % Traditional calibration analysis evaluates models from an overall perspective, potentially masking important sample-specific miscalibration patterns. By examining calibration behavior across the continuous spectrum of margin values, we uncover fundamental insights about how neural networks distribute confidence and why existing calibration methods often fall short. This analysis provides crucial validation for our theoretical framework established in Section~\ref{subsec:theoretical_evidence} and design choices made in Section~\ref{subsec:our_scaling}.
514
+
515
+ % \begin{figure*}[ht]
516
+ % \centering
517
+ % \begin{subfigure}[b]{0.32\textwidth}
518
+ % \includegraphics[width=\textwidth]{figs/overall_reliability_imagenet_vit_b_16.pdf}
519
+ % \caption{Overall calibration for ImgNet}
520
+ % \label{fig:overall_imagenet_vit}
521
+ % \end{subfigure}
522
+ % \hfill
523
+ % \begin{subfigure}[b]{0.32\textwidth}
524
+ % \includegraphics[width=\textwidth]{figs/group_3_reliability_imagenet_vit_b_16.pdf}
525
+ % \caption{High margin samples}
526
+ % \label{fig:high_gap_imagenet_vit}
527
+ % \end{subfigure}
528
+ % \hfill
529
+ % \begin{subfigure}[b]{0.32\textwidth}
530
+ % \includegraphics[width=\textwidth]{figs/group_1_reliability_imagenet_vit_b_16.pdf}
531
+ % \caption{Low margin samples}
532
+ % \label{fig:low_gap_imagenet_vit}
533
+ % \end{subfigure}
534
+
535
+ % \begin{subfigure}[b]{0.32\textwidth}
536
+ % \includegraphics[width=\textwidth]{figs/overall_reliability_ciafr100_resnet50.pdf}
537
+ % \caption{Overall calibration for Cifar-100}
538
+ % \label{fig:overall_cifar_resnet}
539
+ % \end{subfigure}
540
+ % \hfill
541
+ % \begin{subfigure}[b]{0.32\textwidth}
542
+ % \includegraphics[width=\textwidth]{figs/group_3_reliability_ciafr100_resnet50.pdf}
543
+ % \caption{High margin samples Cifar-100}
544
+ % \label{fig:high_gap_cifar_resnet}
545
+ % \end{subfigure}
546
+ % \hfill
547
+ % \begin{subfigure}[b]{0.32\textwidth}
548
+ % \includegraphics[width=\textwidth]{figs/logitsgap_vs_confidence_change.pdf}
549
+ % \caption{margin vs. confidence change}
550
+ % \label{fig:gap_vs_change}
551
+ % \end{subfigure}
552
+
553
+ % \caption{\textbf{margin reveals hidden calibration patterns across the confidence spectrum.} Top row: ImageNet ViT-B/16 shows almost perfect but slightly under-confident overall calibration (a) but reveals systematic under-confidence in high margin samples (b) and almost well-calibrated but slightly under-confident low margin samples (c). Bottom row: CIFAR-100 ResNet-50 demonstrates that even with overall over-confidence (d), high margin samples remain under-confident (e). Panel (f) shows how different methods adjust confidence across margin values, with SMART providing targeted adjustments while TS and PTS show suboptimal patterns.}
554
+ % \label{fig:logit_gap_analysis}
555
+ % \end{figure*}
556
+
557
+ % \paragraph{Revealing Hidden Calibration Heterogeneity Through margin Groupings} Our reliability diagram analysis unveils a crucial insight that traditional overall calibration metrics obscure: models exhibit fundamentally different calibration behaviors across margin groups. This heterogeneity validates our theoretical framework from Section~\ref{subsec:theoretical_evidence} while revealing why sample-specific calibration approaches are essential for achieving truly reliable uncertainty estimates.
558
+
559
+ % Figure~\ref{fig:logit_gap_analysis} demonstrates this heterogeneity across different scenarios. For ImageNet with ViT-B/16, while overall calibration appears near-perfect (Figure~\ref{fig:overall_imagenet_vit}), decomposing by margin reveals distinct patterns: low gap samples achieve almost perfect but slightly under-confident calibration (Figure~\ref{fig:low_gap_imagenet_vit}), while high gap samples suffer from systematic miscalibration (Figure~\ref{fig:high_gap_imagenet_vit}). This pattern persists even under different overall calibration conditions, as shown in CIFAR-100 with ResNet-50 (Figures~\ref{fig:overall_cifar_resnet} and~\ref{fig:high_gap_cifar_resnet}), indicating that margin-based groupings reveal fundamental calibration characteristics that transcend dataset-specific or architecture-specific behaviors.
560
+
561
+ % \paragraph{The Under-Confidence Paradox in High margin Samples} Perhaps the most counterintuitive finding emerges from examining high margin samples across our reliability diagrams. Despite representing "easy" classifications with substantial margins between top predictions, these samples consistently exhibit under-confidence rather than the expected over-confidence. In Figure~\ref{fig:high_gap_imagenet_vit}, high gap samples from ImageNet ViT-B/16 show systematic under-confidence, with predicted confidence consistently lower than empirical accuracy. This pattern holds even when overall model behavior differs dramatically, as demonstrated in Figure~\ref{fig:high_gap_cifar_resnet} where CIFAR-100 ResNet-50 maintains under-confidence in high gap samples despite overall over-confidence.
562
+
563
+ % This paradox fundamentally challenges conventional intuitions about neural network confidence and validates our theoretical analysis from Section~\ref{subsec:theoretical_evidence}. High margin samples, despite being far from decision boundaries, require confidence enhancement rather than reduction. This phenomenon suggests that modern neural networks, when trained with standard cross-entropy objectives, develop conservative confidence estimates for samples with clear classification margins. The consistency of this pattern across different architectures and datasets indicates that this represents a fundamental characteristic of neural network training dynamics rather than an artifact of specific experimental conditions.
564
+
565
+ % \paragraph{Method-Specific Failures from the margin Perspective} The confidence adjustment patterns revealed in Figure~\ref{fig:gap_vs_change} expose fundamental limitations in existing calibration approaches when viewed through the margin lens. Temperature Scaling's uniform adjustment completely ignores the heterogeneous calibration needs we identified, applying identical modifications regardless of sample characteristics. This uniform approach proves particularly problematic because it fails to provide the targeted adjustments different gap groups require.
566
+
567
+ % More critically, PTS demonstrates the exact problems we highlighted in Section~\ref{subsec:our_scaling} regarding high-dimensional parameterization introducing noise. The method makes substantial, often counterproductive adjustments to low margin samples that, in cases like ImageNet ViT-B/16, already achieve good calibration and require minimal intervention. This unnecessary manipulation exemplifies how "the increased dimensionality introduces substantial noise for precise temperature parameterization," leading to degraded performance where careful preservation of existing calibration would be more appropriate.
568
+
569
+ % In contrast, SMART's learned adjustment pattern directly validates our design principles. For ImageNet ViT-B/16, SMART provides minimal adjustments to low gap samples that are already well-calibrated, while delivering targeted confidence increases to high gap samples suffering from under-confidence. This adaptive behavior emerges naturally from our lightweight scalar-to-scalar mapping, demonstrating how principled architectural choices translate into appropriate calibration strategies without requiring explicit programming of these patterns.
570
+
571
+ % \paragraph{Theoretical Validation and Design Implications} These empirical findings provide compelling validation for our theoretical framework established in Propositions~\ref{prop:unbound} and~\ref{prop:g-bound}. The systematic under-confidence in high margin samples directly supports our argument that temperature values should be bounded by margins rather than determined by global statistics or high-dimensional features. The fact that SMART automatically learns to provide confidence enhancement for high gap samples while preserving the calibration of well-adjusted low gap samples demonstrates the practical effectiveness of our theoretical bounds.
572
+
573
+
574
+
575
+
576
+
577
+
578
+
579
+ \section{The proposed SMART framework}
580
+ \label{Appendix:SMART_framework}
581
+
582
+ This section presents the detailed algorithmic implementation of SMART, providing a step-by-step procedure for applying margin-based temperature scaling with soft-binned ECE optimization.
583
+
584
+ % \begin{algorithm}[h]
585
+ % \caption{The proposed SMART framework}
586
+ % \label{alg:SMART}
587
+ % \begin{algorithmic}[1]
588
+ % \State \textbf{Input:} Validation logits and labels $\{\mathbf{z}_i, y_i\}_{i=1}^{N}$, temperature parameterization network $h_\phi(\cdot)$.
589
+
590
+ % \State Compute Margin $m_i = \mathbf{z}_{i,\text{max}} - \mathbf{z}_{i,\text{2nd}}$ for each sample $i$.
591
+ % \State Normalize: $\hat{m}_i = \frac{m_i - \mu_m}{\sigma_m}$
592
+
593
+ % \For {each epoch} %{$e = 1$ to $\text{epochs}$}
594
+ % \State Compute sample-wise temperature $T = h_\phi(\hat{m}_i)$ for each sample $i$.
595
+ % \State Compute calibrated logits $\hat{\mathbf{z}}_i = \mathbf{z}_i / T$ for each sample $i$.
596
+ % \State Compute loss $\mathcal{L}_i = \text{CharbonnierSmoothedSoftECE}(\hat{\mathbf{z}}_i, y_i)$ for each sample $i$.
597
+ % \State Update parameters $\phi$ using gradient descent from the overall loss $\mathcal{L}_{calib}=\sum_{i=1}^N\mathcal{L}_i$
598
+ % \EndFor
599
+
600
+ % \end{algorithmic}
601
+ % \end{algorithm}
602
+
603
+ \begin{algorithm}[ht]
604
+ \caption{SMART: Sample Margin-Aware Recalibration of Temperature}
605
+ \label{alg:smart}
606
+ \begin{algorithmic}[1]
607
+ \STATE \textbf{Input:} Validation logits and labels $\{\mathbf{z}_i, y_i\}_{i=1}^{N_{\text{val}}}$, temperature network $h_\phi(\cdot)$
608
+ \STATE Compute margins: $m_i = z_{i,\max} - z_{i,\text{2nd}}$ for each $i \in \{1, \ldots, N_{\text{val}}\}$
609
+ \FOR{epoch $= 1, \ldots, N_{\text{epochs}}$}
610
+ \STATE Predict temperatures: $T_i = h_\phi(m_i)$ for each $i$
611
+ \STATE Scale logits: $\tilde{\mathbf{z}}_i = \mathbf{z}_i / T_i$ for each $i$
612
+ \STATE Compute loss: $\mathcal{L}_i = \text{CharbonnierSoftECE}(\tilde{\mathbf{z}}_i, y_i)$ for each $i$ (Equation~\ref{eq:charbonnier_softece})
613
+ \STATE Update: $\phi \leftarrow \phi - \eta \nabla_\phi \sum_{i=1}^{N_{\text{val}}} \mathcal{L}_i$ via SGD
614
+ \ENDFOR
615
+ \STATE \textbf{Return:} Trained temperature network $h_\phi$
616
+ \end{algorithmic}
617
+ \end{algorithm}
618
+
619
+
620
+ \section{Full Calibration Performance}
621
+
622
+ Full calibration performance for Table \ref{table:comparison_ECE} is in Table \ref{table:comparison_ECE_full}.
623
+
624
+ \label{Appendix:full_calibration_performance}
625
+ \begin{table*}[ht]
626
+ \caption{\textbf{Comparison of Post-Hoc Calibration Methods Using ECE (\%, $\downarrow$, 15 bins) Across Various Datasets and Models} (mean $\pm$ std across 5 seeds). The best-performing method for each dataset-model combination is in bold, and our method is highlighted.}
627
+ \centering
628
+ \tiny
629
+ \setlength{\tabcolsep}{2pt}
630
+ {\fontsize{5pt}{6pt}\selectfont
631
+ \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}cccccccccccc}
632
+ \toprule
633
+ \textbf{Dataset} & \textbf{Model} & \textbf{Vanilla} & \textbf{TS} & \textbf{PTS} & \textbf{CTS} & \textbf{Spline} & \textbf{GC} & \textbf{ProCal} & \textbf{FC} & \textbf{SMART (ours)} \\
634
+ \midrule
635
+ \multirow{2}{*}{CIFAR-10}
636
+ & ResNet-50 & $4.34$ & $1.38 \pm 0.26$ & $1.10 \pm 0.21$ & $0.83 \pm 0.15$ & $1.52 \pm 0.03$ & $1.37 \pm 0.08$ & $4.17 \pm 0.12$ & $1.66 \pm 0.09$ & $\cellgray\mathbf{0.76 \pm 0.02}$ \\
637
+ & Wide-ResNet & $3.24$ & $0.93 \pm 0.20$ & $0.90 \pm 0.19$ & $0.81 \pm 0.17$ & $1.74 \pm 0.01$ & $0.89 \pm 0.06$ & $2.81 \pm 0.11$ & $1.12 \pm 0.07$ & $\cellgray\mathbf{0.43 \pm 0.05}$ \\
638
+ \midrule
639
+ \multirow{2}{*}{CIFAR-100}
640
+ & ResNet-50 & $17.53$ & $5.61 \pm 1.39$ & $1.96 \pm 0.48$ & $3.67 \pm 0.88$ & $3.48 \pm 0.00$ & $5.70 \pm 0.15$ & $9.71 \pm 0.18$ & $2.91 \pm 0.12$ & $\cellgray\mathbf{1.37 \pm 0.27}$ \\
641
+ & Wide-ResNet & $15.34$ & $4.50 \pm 0.62$ & $1.96 \pm 0.27$ & $3.01 \pm 0.42$ & $3.76 \pm 0.00$ & $4.55 \pm 0.13$ & $9.44 \pm 0.16$ & $4.49 \pm 0.14$ & $\cellgray\mathbf{1.80 \pm 0.10}$ \\
642
+ \midrule
643
+ \multirow{6}{*}{ImageNet-1K}
644
+ & ResNet-50 & $3.65$ & $2.17 \pm 0.03$ & $0.95 \pm 0.36$ & $2.17 \pm 0.78$ & $0.62 \pm 0.18$ & $2.44 \pm 0.12$ & $1.08 \pm 0.14$ & $1.71 \pm 0.08$ & $\cellgray\mathbf{0.52 \pm 0.12}$ \\
645
+ & DenseNet-121 & $2.53$ & $1.85 \pm 0.04$ & $1.02 \pm 0.46$ & $1.86 \pm 0.81$ & $0.81 \pm 0.35$ & $2.20 \pm 0.25$ & $1.52 \pm 0.21$ & $1.35 \pm 0.29$ & $\cellgray\mathbf{0.57 \pm 0.03}$ \\
646
+ & Wide-ResNet & $5.43$ & $2.89 \pm 0.11$ & $1.14 \pm 0.24$ & $3.27 \pm 0.69$ & $0.66 \pm 0.10$ & $3.66 \pm 0.16$ & $1.57 \pm 0.10$ & $1.62 \pm 0.09$ & $\cellgray\mathbf{0.52 \pm 0.07}$ \\
647
+ & Swin-B & $5.05$ & $3.91 \pm 0.07$ & $1.05 \pm 0.05$ & $1.53 \pm 0.08$ & $0.88 \pm 0.14$ & $4.95 \pm 0.17$ & $1.00 \pm 0.15$ & $5.05 \pm 0.06$ & $\cellgray\mathbf{0.46 \pm 0.03}$ \\
648
+ & ViT-B-16 & $5.62$ & $3.60 \pm 0.19$ & $1.23 \pm 0.29$ & $4.65 \pm 1.02$ & $0.91 \pm 0.31$ & $4.39 \pm 0.25$ & $0.97 \pm 0.30$ & $5.65 \pm 0.06$ & $\cellgray\mathbf{0.48 \pm 0.13}$ \\
649
+ & ViT-B-32 & $6.39$ & $3.93 \pm 0.02$ & $1.27 \pm 0.97$ & $2.12 \pm 1.59$ & $0.81 \pm 0.12$ & $4.67 \pm 0.13$ & $0.88 \pm 0.32$ & $6.39 \pm 0.06$ & $\mathbf{\cellgray{0.71 \pm 0.18}}$ \\
650
+ \midrule
651
+ \multirow{5}{*}{ImageNet-C}
652
+ & ResNet-50 & $13.82$ & $1.97 \pm 0.02$ & $1.12 \pm 0.13$ & $1.69 \pm 0.20$ & $5.61 \pm 0.15$ & $2.69 \pm 0.11$ & $5.79 \pm 0.19$ & $2.51 \pm 0.13$ & $\cellgray\mathbf{0.62 \pm 0.03}$ \\
653
+ & DenseNet-121 & $12.57$ & $1.58 \pm 0.00$ & $1.19 \pm 0.15$ & $1.44 \pm 0.19$ & $5.18 \pm 0.13$ & $2.01 \pm 0.09$ & $9.88 \pm 0.24$ & $9.44 \pm 0.31$ & $\cellgray\mathbf{0.63 \pm 0.01}$ \\
654
+ & Swin-B & $12.03$ & $5.82 \pm 0.05$ & $1.53 \pm 0.00$ & $3.05 \pm 0.01$ & $2.58 \pm 0.21$ & $6.92 \pm 0.18$ & $2.53 \pm 0.12$ & $5.18 \pm 0.17$ & $\cellgray\mathbf{1.23 \pm 0.04}$ \\
655
+ & ViT-B-16 & $8.28$ & $5.24 \pm 0.01$ & $1.27 \pm 0.05$ & $2.76 \pm 0.10$ & $1.71 \pm 0.22$ & $5.95 \pm 0.15$ & $1.96 \pm 0.14$ & $5.37 \pm 0.20$ & $\cellgray\mathbf{1.06 \pm 0.02}$ \\
656
+ & ViT-B-32 & $7.69$ & $5.10 \pm 0.00$ & $1.07 \pm 0.08$ & $2.97 \pm 0.24$ & $1.43 \pm 0.24$ & $6.40 \pm 0.16$ & $1.55 \pm 0.11$ & $5.50 \pm 0.18$ & $\cellgray\mathbf{0.96 \pm 0.01}$ \\
657
+ \midrule
658
+ \multirow{6}{*}{ImageNet-LT}
659
+ & ResNet-50 & $3.63$ & $2.01 \pm 0.02$ & $0.99 \pm 0.32$ & $2.17 \pm 0.68$ & $0.56 \pm 0.10$ & $2.20 \pm 0.17$ & $1.12 \pm 0.20$ & $1.80 \pm 0.23$ & $\cellgray\mathbf{0.56 \pm 0.04}$ \\
660
+ & DenseNet-121 & $2.50$ & $1.80 \pm 0.06$ & $1.20 \pm 0.26$ & $1.88 \pm 0.41$ & $\mathbf{0.79 \pm 0.07}$ & $2.05 \pm 0.11$ & $1.79 \pm 0.09$ & $1.76 \pm 0.50$ & $\cellgray{0.81 \pm 0.01}$ \\
661
+ & Wide-ResNet & $5.40$ & $2.99 \pm 0.05$ & $1.21 \pm 0.77$ & $2.87 \pm 1.79$ & $0.81 \pm 0.24$ & $3.59 \pm 0.18$ & $1.28 \pm 0.06$ & $1.68 \pm 0.10$ & $\cellgray\mathbf{0.53 \pm 0.02}$ \\
662
+ & Swin-B & $4.69$ & $3.98 \pm 0.12$ & $1.21 \pm 0.45$ & $1.50 \pm 0.56$ & $0.79 \pm 0.17$ & $4.79 \pm 0.27$ & $0.95 \pm 0.16$ & $4.82 \pm 0.10$ & $\cellgray\mathbf{0.58 \pm 0.01}$ \\
663
+ & ViT-B-16 & $5.58$ & $3.73 \pm 0.13$ & $1.14 \pm 0.47$ & $1.43 \pm 0.58$ & $0.66 \pm 0.05$ & $4.34 \pm 0.14$ & $0.77 \pm 0.14$ & $5.72 \pm 0.08$ & $\cellgray\mathbf{0.56 \pm 0.14}$ \\
664
+ & ViT-B-32 & $6.28$ & $3.98 \pm 0.06$ & $1.35 \pm 0.41$ & $2.12 \pm 0.63$ & $0.72 \pm 0.23$ & $4.76 \pm 0.08$ & $0.83 \pm 0.12$ & $6.26 \pm 0.03$ & $\mathbf{\cellgray{0.60 \pm 0.11}}$ \\
665
+ \midrule
666
+ \multirow{5}{*}{ImageNet-S}
667
+ & ResNet-50 & $22.32$ & $2.06 \pm 0.06$ & $1.69 \pm 0.27$ & $1.48 \pm 0.23$ & $9.76 \pm 0.22$ & $1.99 \pm 0.16$ & $9.52 \pm 0.31$ & $12.58 \pm 1.35$ & $\cellgray\mathbf{0.92 \pm 0.09}$ \\
668
+ & DenseNet-121 & $20.13$ & $1.67 \pm 0.28$ & $1.93 \pm 0.19$ & $1.16 \pm 0.11$ & $9.20 \pm 0.32$ & $1.77 \pm 0.15$ & $12.93 \pm 0.23$ & $22.67 \pm 1.07$ & $\cellgray\mathbf{0.59 \pm 0.25}$ \\
669
+ & Swin-B & $24.61$ & $6.50 \pm 0.05$ & $1.53 \pm 0.19$ & $3.62 \pm 0.45$ & $8.66 \pm 0.15$ & $6.92 \pm 0.35$ & $8.05 \pm 0.30$ & $1.70 \pm 0.06$ & $\cellgray\mathbf{1.26 \pm 0.05}$ \\
670
+ & ViT-B-16 & $16.57$ & $5.75 \pm 0.08$ & $1.33 \pm 0.21$ & $2.84 \pm 0.43$ & $5.70 \pm 0.19$ & $6.36 \pm 0.29$ & $5.67 \pm 0.38$ & $1.93 \pm 0.18$ & $\cellgray\mathbf{0.98 \pm 0.08}$ \\
671
+ & ViT-B-32 & $14.22$ & $4.99 \pm 0.15$ & $1.67 \pm 0.27$ & $3.25 \pm 0.50$ & $4.07 \pm 0.21$ & $6.23 \pm 0.16$ & $4.44 \pm 0.23$ & $1.56 \pm 0.09$ & $\cellgray\mathbf{0.87 \pm 0.18}$ \\
672
+ \bottomrule
673
+ \end{tabular*}
674
+ }
675
+ \label{table:comparison_ECE_full}
676
+ % \vspace{-0.2in}
677
+ \end{table*}
678
+
679
+ \section{Calibration Performance on Other Metrics}
680
+ \label{Appendix:Calibration_Performance_on_Other_Metrics}
681
+
682
+
683
+ \subsection{Accuracy Performance}
684
+
685
+ \begin{table*}[ht]
686
+ \caption{\textbf{Comparison of Classification Accuracy (\%) Across Calibration Methods (Seed 1–5 Averaged).}}
687
+ \centering
688
+ \scriptsize
689
+ \setlength{\tabcolsep}{3pt}
690
+ \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}ccccccccc}
691
+ \toprule
692
+ \textbf{Dataset} & \textbf{Model} & \textbf{Vanilla} & \textbf{TS} & \textbf{PTS} & \textbf{CTS} & \textbf{Spline} & \textbf{SMART} \\
693
+ \midrule
694
+ \multirow{2}{*}{CIFAR-10}
695
+ & ResNet-50 & 95.05\% & 95.05\% & 95.05\% & 94.88\% & 95.05\% & \cellgray{95.05\%} \\
696
+ & Wide-ResNet & 96.13\% & 96.13\% & 96.13\% & 96.09\% & 96.13\% & \cellgray{96.13\%} \\
697
+ \midrule
698
+ \multirow{2}{*}{CIFAR-100}
699
+ & ResNet-50 & 76.69\% & 76.69\% & 76.69\% & 76.38\% & 76.69\% & \cellgray{76.69\%} \\
700
+ & Wide-ResNet & 79.29\% & 79.29\% & 79.29\% & 79.28\% & 79.29\% & \cellgray{79.29\%} \\
701
+ \midrule
702
+ \multirow{6}{*}{ImageNet-1K}
703
+ & ResNet-50 & 76.16\% & 76.16\% & 76.16\% & 75.32\% & 76.17\% & \cellgray{76.16\%} \\
704
+ & DenseNet-121 & 74.44\% & 74.44\% & 74.44\% & 73.71\% & 74.43\% & \cellgray{74.44\%} \\
705
+ & Wide-ResNet & 78.46\% & 78.46\% & 78.46\% & 77.70\% & 78.46\% & \cellgray{78.46\%} \\
706
+ & Swin-B & 83.17\% & 83.17\% & 83.17\% & 82.80\% & 83.17\% & \cellgray{83.17\%} \\
707
+ & ViT-B-16 & 81.12\% & 81.12\% & 81.12\% & 79.64\% & 80.86\% & \cellgray{81.12\%} \\
708
+ & ViT-B-32 & 75.95\% & 75.95\% & 75.95\% & 75.14\% & 75.94\% & \cellgray{75.95\%} \\
709
+ \midrule
710
+ \multirow{5}{*}{ImageNet-C}
711
+ & ResNet-50 & 19.16\% & 19.16\% & 19.16\% & 19.34\% & 19.16\% & \cellgray{19.16\%} \\
712
+ & DenseNet-121 & 21.25\% & 21.25\% & 21.25\% & 21.36\% & 21.25\% & \cellgray{21.25\%} \\
713
+ & Swin-B & 40.83\% & 40.83\% & 40.83\% & 41.22\% & 40.83\% & \cellgray{40.83\%} \\
714
+ & ViT-B-16 & 41.07\% & 41.07\% & 41.07\% & 41.28\% & 41.07\% & \cellgray{41.07\%} \\
715
+ & ViT-B-32 & 37.82\% & 37.82\% & 24.56\% & 37.96\% & 37.85\% & \cellgray{37.82\%} \\
716
+ \midrule
717
+ \multirow{6}{*}{ImageNet-LT}
718
+ & ResNet-50 & 76.04\% & 76.04\% & 76.04\% & 75.43\% & 76.04\% & \cellgray{76.04\%} \\
719
+ & DenseNet-121 & 74.34\% & 74.34\% & 74.34\% & 73.88\% & 74.40\% & \cellgray{74.34\%} \\
720
+ & Wide-ResNet & 78.39\% & 78.39\% & 78.39\% & 77.67\% & 78.40\% & \cellgray{78.39\%} \\
721
+ & Swin-B & 82.95\% & 82.95\% & 82.95\% & 82.55\% & 82.94\% & \cellgray{82.95\%} \\
722
+ & ViT-B-16 & 80.95\% & 80.95\% & 80.95\% & 80.58\% & 81.00\% & \cellgray{80.95\%} \\
723
+ & ViT-B-32 & 75.89\% & 75.89\% & 75.89\% & 75.14\% & 75.92\% & \cellgray{75.89\%} \\
724
+ \midrule
725
+ \multirow{5}{*}{ImageNet-S}
726
+ & ResNet-50 & 24.09\% & 24.09\% & 24.09\% & 23.88\% & 24.09\% & \cellgray{24.09\%} \\
727
+ & DenseNet-121 & 24.30\% & 24.30\% & 24.30\% & 23.87\% & 31.55\% & \cellgray{24.30\%} \\
728
+ & Swin-B & 31.54\% & 31.54\% & 31.54\% & 31.65\% & 31.55\% & \cellgray{31.54\%} \\
729
+ & ViT-B-16 & 29.37\% & 29.37\% & 29.37\% & 29.51\% & 29.39\% & \cellgray{29.37\%} \\
730
+ & ViT-B-32 & 27.77\% & 27.77\% & 27.77\% & 27.76\% & 27.75\% & \cellgray{27.77\%} \\
731
+ \bottomrule
732
+ \end{tabular*}
733
+ \label{table:accuracy_comparison}
734
+ \end{table*}
735
+
736
+
737
+ \paragraph{Accuracy Preservation Analysis} Table \ref{table:accuracy_comparison} confirms that SMART achieves superior calibration while perfectly preserving classification accuracy—a fundamental advantage of post-hoc methods. Unlike CTS, which suffers accuracy drops up to 1.48 percentage points due to class-specific boundary alterations, or Spline's variable impacts on transformers, SMART's design ensures zero accuracy loss. By operating exclusively on the margin rather than full logit vectors, SMART focuses solely on confidence scaling without disturbing the relative ordering that determines predictions. This preservation holds even under severe distribution shifts like ImageNet-C and ImageNet-Sketch, where SMART simultaneously maintains base model accuracy while dramatically improving calibration. This dual guarantee makes SMART uniquely suitable for safety-critical applications requiring both correct predictions and reliable uncertainty estimates.
738
+
739
+
740
+
741
+
742
+
743
+ \subsection{AdaECE Performance}
744
+ \label{appendix:detailed_adaece_analysis}
745
+
746
+
747
+ \begin{table*}[ht]
748
+ \caption{\textbf{Comparison of AdaECE Calibration Methods Using AdaECE($\downarrow$, \%, 15bins) Across Various Datasets and Models (Seed 1--5 Averaged).}}
749
+ \centering
750
+ \scriptsize
751
+ \setlength{\tabcolsep}{3pt}
752
+ \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}cccccccc}
753
+ \toprule
754
+ \textbf{Dataset} & \textbf{Model} & \textbf{Vanilla} & \textbf{TS} & \textbf{PTS} & \textbf{CTS} & \textbf{Spline} & \textbf{SMART} \\
755
+ \midrule
756
+ \multirow{2}{*}{CIFAR-10}
757
+ & ResNet-50 & $4.33\pm0.0\%$ & $2.14\pm0.0\%$ & $0.83\pm28.6\%$ & $1.56\pm26.2\%$ & $2.14\pm1.1\%$ & $\cellgray\mathbf{0.99\pm4.3\%}$ \\
758
+ & Wide-ResNet & $3.24\pm0.0\%$ & $1.71\pm0.0\%$ & $0.89\pm21.9\%$ & $1.47\pm19.7\%$ & $2.30\pm0.4\%$ & $\cellgray\mathbf{0.50\pm12.2\%}$ \\
759
+ \midrule
760
+ \multirow{2}{*}{CIFAR-100}
761
+ & ResNet-50 & $17.53\pm0.0\%$ & $5.66\pm0.0\%$ & $1.91\pm35.3\%$ & $3.43\pm32.0\%$ & $3.55\pm0.0\%$ & $\cellgray\mathbf{2.27\pm25.2\%}$ \\
762
+ & Wide-ResNet & $15.34\pm0.0\%$ & $4.41\pm0.0\%$ & $1.69\pm13.0\%$ & $2.95\pm11.6\%$ & $3.95\pm0.1\%$ & $\cellgray\mathbf{1.83\pm2.1\%}$ \\
763
+ \midrule
764
+ \multirow{6}{*}{ImageNet-1K}
765
+ & ResNet-50 & $3.68\pm1.3\%$ & $2.13\pm0.5\%$ & $0.92\pm44.1\%$ & $2.21\pm39.8\%$ & $0.81\pm28.7\%$ & $\cellgray\mathbf{0.79\pm8.7\%}$ \\
766
+ & DenseNet-121 & $2.52\pm1.4\%$ & $1.74\pm1.8\%$ & $1.05\pm41.3\%$ & $1.78\pm38.0\%$ & $0.77\pm28.0\%$ & $\cellgray\mathbf{0.65\pm10.2\%}$ \\
767
+ & Wide-ResNet & $5.31\pm0.3\%$ & $2.87\pm2.8\%$ & $1.04\pm20.6\%$ & $3.24\pm18.0\%$ & $\mathbf{0.83\pm36.3\%}$ & $\cellgray{0.87\pm14.3\%}$\\
768
+ & Swin-B & $4.86\pm0.6\%$ & $4.50\pm1.0\%$ & $1.05\pm4.6\%$ & $1.59\pm5.1\%$ & $1.04\pm5.3\%$ & $\cellgray\mathbf{0.74\pm12.2\%}$\\
769
+ & ViT-B-16 & $5.57\pm1.2\%$ & $4.10\pm2.3\%$ & $1.09\pm29.7\%$ & $4.85\pm27.4\%$ & $1.07\pm29.2\%$ & $\cellgray\mathbf{0.79\pm15.4\%}$\\
770
+ & ViT-B-32 & $6.41\pm0.4\%$ & $3.92\pm1.7\%$ & $1.27\pm71.9\%$ & $1.90\pm66.4\%$ & $0.96\pm15.3\%$ & $\cellgray\mathbf{0.78\pm3.6\%}$ \\
771
+ \midrule
772
+ \multirow{5}{*}{ImageNet-C}
773
+ & ResNet-50 & $13.84\pm0.2\%$ & $2.02\pm1.7\%$ & $1.06\pm0.7\%$ & $1.76\pm0.6\%$ & $5.49\pm2.8\%$ & $\cellgray\mathbf{0.74\pm8.0\%}$ \\
774
+ & DenseNet-121 & $12.57\pm0.1\%$ & $1.64\pm0.7\%$ & $1.17\pm9.9\%$ & $1.48\pm8.2\%$ & $2.57\pm7.9\%$ & $\cellgray\mathbf{0.70\pm3.6\%}$ \\
775
+ & Swin-B & $11.98\pm0.1\%$ & $5.83\pm1.0\%$ & $1.58\pm0.0\%$ & $3.07\pm0.2\%$ & $5.13\pm2.3\%$ & $\cellgray\mathbf{1.31\pm2.9\%}$\\
776
+ & ViT-B-16 & $8.24\pm0.3\%$ & $5.25\pm0.9\%$ & $1.27\pm5.9\%$ & $2.77\pm5.3\%$ & $2.57\pm7.9\%$ & $\cellgray\mathbf{1.09\pm4.0\%}$\\
777
+ & ViT-B-32 & $7.66\pm0.2\%$ & $5.11\pm0.0\%$ & $1.07\pm4.3\%$ & $2.97\pm3.7\%$ & $1.45\pm16.8\%$ & $\cellgray\mathbf{1.01\pm4.2\%}$\\
778
+ \midrule
779
+ \multirow{6}{*}{ImageNet-LT}
780
+ & ResNet-50 & $3.54\pm0.9\%$ & $2.02\pm1.2\%$ & $0.92\pm35.5\%$ & $2.17\pm33.0\%$ & $0.71\pm20.7\%$ & $\cellgray\mathbf{0.67\pm3.3\%}$\\
781
+ & DenseNet-121 & $2.37\pm3.4\%$ & $1.74\pm2.1\%$ & $1.17\pm23.6\%$ & $1.86\pm21.3\%$ & $\mathbf{0.73\pm26.4\%}$ & $\cellgray{0.76\pm0.7\%}$\\
782
+ & Wide-ResNet & $5.22\pm0.4\%$ & $2.98\pm0.9\%$ & $1.22\pm62.4\%$ & $2.83\pm58.1\%$ & $0.79\pm18.1\%$ & $\cellgray\mathbf{0.98\pm4.4\%}$\\
783
+ & Swin-B & $4.69\pm0.6\%$ & $4.48\pm1.2\%$ & $1.43\pm19.1\%$ & $1.23\pm18.0\%$ & $0.95\pm6.7\%$ & $\cellgray\mathbf{0.74\pm31.3\%}$\\
784
+ & ViT-B-16 & $5.57\pm0.8\%$ & $4.18\pm2.9\%$ & $1.13\pm43.4\%$ & $1.06\pm40.1\%$ & $0.95\pm12.9\%$ & $\cellgray\mathbf{0.85\pm15.1\%}$\\
785
+ & ViT-B-32 & $6.26\pm0.6\%$ & $3.97\pm1.6\%$ & $1.30\pm31.1\%$ & $2.04\pm28.2\%$ & $0.86\pm26.5\%$ & $\cellgray\mathbf{0.84\pm10.1\%}$\\
786
+ \midrule
787
+ \multirow{5}{*}{ImageNet-S}
788
+ & ResNet-50 & $22.31\pm0.3\%$ & $2.01\pm2.9\%$ & $1.64\pm16.4\%$ & $1.51\pm14.7\%$ & $9.51\pm2.4\%$ & $\cellgray\mathbf{0.90\pm15.8\%}$\\
789
+ & DenseNet-121 & $20.15\pm0.5\%$ & $1.67\pm17.0\%$& $1.93\pm9.6\%$ & $1.16\pm8.3\%$ & $8.7\pm1.92\%$ & $\cellgray\mathbf{0.76\pm32.3\%}$\\
790
+ & Swin-B & $24.62\pm0.0\%$ & $6.40\pm0.5\%$ & $1.53\pm12.2\%$ & $3.57\pm11.1\%$ & $9.06\pm4.2\%$ & $\cellgray\mathbf{1.53\pm3.8\%}$\\
791
+ & ViT-B-16 & $16.57\pm0.2\%$ & $5.62\pm0.7\%$ & $1.33\pm8.7\%$ & $2.98\pm7.3\%$ & $8.66\pm1.9\%$ & $\cellgray\mathbf{1.08\pm4.3\%}$\\
792
+ & ViT-B-32 & $14.19\pm0.3\%$ & $4.98\pm2.9\%$ & $1.66\pm16.0\%$ & $3.23\pm14.1\%$ & $5.64\pm3.3\%$ & $\cellgray\mathbf{1.07\pm19.9\%}$\\
793
+ \bottomrule
794
+ \end{tabular*}
795
+ \label{table:adaece_comparison_updated}
796
+ \end{table*}
797
+
798
+
799
+ This section provides an in-depth analysis of calibration performance using AdaECE across different datasets and model architectures, complementing the results presented in Section~\ref{Sec:Calibration_performance}. Adaptive-ECE is a measure of calibration performance that addresses the bias of equal-width binning scheme of ECE. It adapts the bin-size to the number of samples and ensures that each bin is evenly distributed with samples. The formula for Adaptive-ECE is as follows:
800
+ \begin{equation}
801
+ \text{Adaptive-ECE} = \sum_{i=1}^{\mathbb{B}} \frac{|B_i|}{N}|I_i - C_i| \text{ s.t. } \forall i, j \cdot |B_i| = |B_j|
802
+ \end{equation}
803
+ AdaECE offers a more rigorous assessment of calibration quality than standard ECE by adapting bin boundaries to ensure uniform sample distribution, preventing calibration errors from being masked in sparsely populated confidence regions. Table \ref{table:adaece_comparison_updated} presents comprehensive AdaECE results across all evaluated datasets and architectures. SMART consistently outperforms competing methods under this metric, achieving the lowest AdaECE on 24 of 26 dataset-architecture combinations.
804
+
805
+
806
+ \begin{figure}[ht]
807
+ \centering
808
+ \includegraphics[width=\textwidth]{figs/adaece_cifar_figure.pdf}
809
+ \caption{\textbf{AdaECE comparison on CIFAR datasets.} SMART consistently achieves superior calibration on both CIFAR-10 and CIFAR-100 across multiple architectures. From left to right are Cifar10 ResNet-50/Wide-ResNet, Cifar100 ResNet-50/Wide-ResNet.}
810
+ \label{fig:adaece_cifar}
811
+ \end{figure}
812
+
813
+
814
+ \paragraph{CIFAR Performance Analysis.} SMART demonstrates exceptional calibration on CIFAR datasets in Figure~\ref{fig:adaece_cifar}, achieving the lowest AdaECE with notably stable variance compared to competitors. The key insight emerges when comparing CIFAR-10 to CIFAR-100: while global methods like TS suffer dramatic degradation as class count increases, SMART maintains robust performance. PTS shows competitive results but with substantially higher variance, indicating reliability issues. Spline struggles particularly with CIFAR-100's complex confidence landscape, revealing how non-parametric methods become less effective as classification complexity increases.
815
+
816
+ \begin{figure}[ht]
817
+ \centering
818
+ \includegraphics[width=\textwidth]{figs/adaece_imagenet_figure.pdf}
819
+ \caption{\textbf{AdaECE($\downarrow$, \%, 15bins) comparison on ImageNet-1K.} SMART delivers consistent calibration across diverse architectures, from CNNs to vision transformers. From left to right are ResNet-50, DenseNet-121, Wide-ResNet, Swin-B, ViT-B-16, ViT-B-32.}
820
+ \label{fig:adaece_imagenet}
821
+ \end{figure}
822
+
823
+ \paragraph{Large-Scale Classification on ImageNet.} In Figure~\ref{fig:adaece_imagenet}, The ImageNet results reveal a crucial architectural insight: SMART maintains consistent performance across both CNN and transformer designs, while traditional methods like TS and CTS show pronounced degradation on transformers. This architectural robustness highlights SMART's ability to capture fundamental uncertainty signals through the margin regardless of model inductive biases. PTS exhibits extreme variance, confirming that high-dimensional parameterizations struggle with reliability when learning complex temperature mappings, particularly on large-scale datasets.
824
+
825
+ \begin{figure}[ht]
826
+ \centering
827
+ \includegraphics[width=\textwidth]{figs/adaece_imagenet_c_figure.pdf}
828
+ \caption{\textbf{AdaECE($\downarrow$, \%, 15bins) comparison on ImageNet-C.} SMART maintains exceptional calibration under corruption, while Spline and TS-based methods demonstrate significant degradation. From left to right are ResNet-50, DenseNet-121, Swin-B, ViT-B-16, ViT-B-32.}
829
+ \label{fig:adaece_imagenet_c}
830
+ \end{figure}
831
+
832
+ \paragraph{Robustness to Input Corruption.} As shown in Figure~\ref{fig:adaece_imagenet_c}, SMART's resilience under corruption provides compelling evidence for the stability of decision boundary information. While Spline performs competitively on clean ImageNet, it deteriorates dramatically under corruption with values 5-7$\times$ higher than SMART. This collapse reveals a fundamental limitation: non-parametric methods overfit to validation distributions and fail when input characteristics change. SMART's focus on decision boundary uncertainty via the margin remains informative even when input distributions shift substantially.
833
+
834
+ \begin{figure}[ht]
835
+ \centering
836
+ \includegraphics[width=\textwidth]{figs/adaece_imagenet_lt_figure.pdf}
837
+ \caption{\textbf{AdaECE($\downarrow$, \%, 15bins) comparison on ImageNet-LT.} SMART maintains strong calibration under long-tailed class distributions, particularly on CNN architectures. From left to right are ResNet-50, DenseNet-121, Wide-ResNet, Swin-B, ViT-B-16, ViT-B-32.}
838
+ \label{fig:adaece_imagenet_lt}
839
+ \end{figure}
840
+
841
+ \paragraph{Long-Tailed Distribution Calibration.} As shown in Figure~\ref{fig:adaece_imagenet_lt}, The ImageNet-LT results reveal that class imbalance presents a fundamentally different calibration challenge than input corruption. Interestingly, Spline performs competitively here, suggesting non-parametric methods can handle statistical imbalances better than distributional shifts. However, CTS underperforms despite being explicitly designed for per-class variations, demonstrating that simply applying different temperatures per class is insufficient for complex imbalanced scenarios.
842
+
843
+ \begin{figure}[ht]
844
+ \centering
845
+ \includegraphics[width=\textwidth]{figs/adaece_imagenet_sketch_figure.pdf}
846
+ \caption{\textbf{AdaECE($\downarrow$, \%, 15bins) comparison on ImageNet-Sketch.} SMART maintains exceptional calibration under extreme domain shift, while Spline struggles significantly. From left to right are ResNet-50, DenseNet-121, Swin-B, ViT-B-16, ViT-B-32.}
847
+ \label{fig:adaece_imagenet_sketch}
848
+ \end{figure}
849
+
850
+ \paragraph{Extreme Domain Shift Calibration.} The sketch-based domain shift represents the most challenging calibration scenario in Figure~\ref{fig:adaece_imagenet_sketch} , where SMART demonstrates its most dramatic advantage. Spline's collapse here reinforces the brittleness of non-parametric methods under distribution shifts, while SMART's consistent performance across all architectures provides strong evidence that margin information captures robust uncertainty signals that transcend specific input characteristics or domains.
851
+
852
+
853
+
854
+ % \section{In-training Bin Size}
855
+
856
+ % \begin{figure}[ht]
857
+ % \centering
858
+ % \includegraphics[width=0.7\textwidth]{figs/bin_count_smart.pdf}
859
+ % \caption{\textbf{Ablation Study for in‐training Soft‐ECE bin count}}
860
+ % \captionsetup{justification=raggedright,singlelinecheck=false}
861
+ % \centering
862
+ % \label{fig:bin_count_sensitivity}
863
+ % \end{figure}
864
+
865
+
866
+ % \paragraph{Effect of in-training Bin Size on SMART Calibration.}
867
+ % We examine how the choice of histogram bin count during SMART's in-training ECE estimation influences final calibration performance. SMART exhibits good robustness to this hyperparameter across these architectures and datasets. For CIFAR-10 with ResNet-50, the calibration error remains virtually unchanged across all tested bin counts (5-25), demonstrating exceptional stability. ImageNet with ResNet-50 shows modest sensitivity, with performance gradually improving as bin count increases, before stabilizing around 20 bins. ViT-B/16 on ImageNet displays more pronounced variability, exhibiting a performance peak at 10 bins before recovering at 15 bins. This architecture-dependent behavior aligns with our theoretical understanding of the bias-variance trade-off in the Soft-ECE objective: convolutional architectures demonstrate greater stability to binning discretization compared to transformer models, likely due to their inherently different confidence distribution characteristics. The overall bin-count insensitivity of SMART reinforces our method's practical utility—practitioners can generally select a moderate bin count (15-20) without extensive tuning. This robustness stems from the Soft-ECE's smoothing effect through membership functions, which distributes calibration signals across neighboring bins and creates a more continuous optimization landscape that remains stable across different discretization levels.
868
+
869
+ \section{Comparison Of Various Training-Time Calibration Methods On Other Metrics}
870
+ \label{appendix:training_time_calibration}
871
+
872
+ This section presents a comprehensive evaluation of SMART when combined with various training-time calibration methods across multiple metrics, extending the ECE analysis provided in Section~\ref{sec:training_time_calibration}. We examine SMART's performance using AdaECE, Classwise ECE (CECE), Negative Log-Likelihood (NLL), and classification accuracy.
873
+
874
+ \subsection{Accuracy Preservation}
875
+
876
+ \begin{table*}[ht]
877
+ \centering
878
+ \caption{\textbf{Comparison of Train-time Calibration Methods Using Accuracy($\uparrow$, \%) Across Various Datasets and Models.} Results demonstrate that SMART preserves the original model accuracy across all training methods. Results are from the best run of 5 seeds.}
879
+ \label{table:accuracy_compare_with_training_time_methods}
880
+ \scriptsize
881
+ \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}cccccccccccccc}
882
+ \toprule
883
+ \textbf{Dataset} & \textbf{Model} &\multicolumn{2}{c}{\textbf{NLL}} &\multicolumn{2}{c}{\textbf{Brier Loss}} &\multicolumn{2}{c}{\textbf{MMCE}} &\multicolumn{2}{c}{\textbf{LS-0.05}} &\multicolumn{2}{c}{\textbf{FLSD-53}} &\multicolumn{2}{c}{\textbf{FL-3}} \\
884
+ & & base & ours & base & ours & base & ours & base & ours & base & ours & base & ours \\
885
+ \midrule
886
+ \multirow{4}{*}{CIFAR10}
887
+ & ResNet-50 & 95.1 & \cellgray{95.1} & 95.0 & \cellgray{95.0} & 95.0 & \cellgray{95.0} & 94.7 & \cellgray{94.7} & 95.0 & \cellgray{95.0} & 94.8 & \cellgray{94.8} \\
888
+ & ResNet-110 & 95.1 & \cellgray{95.1} & 94.5 & \cellgray{94.5} & 94.6 & \cellgray{94.6} & 94.5 & \cellgray{94.5} & 94.6 & \cellgray{94.6} & 94.9 & \cellgray{94.9} \\
889
+ & DenseNet-121 & 95.0 & \cellgray{95.0} & 94.9 & \cellgray{94.9} & 94.6 & \cellgray{94.6} & 94.9 & \cellgray{94.9} & 94.6 & \cellgray{94.6} & 94.7 & \cellgray{94.7} \\
890
+ & Wide-ResNet & 96.1 & \cellgray{96.1} & 95.9 & \cellgray{95.9} & 96.1 & \cellgray{96.1} & 95.8 & \cellgray{95.8} & 96.0 & \cellgray{96.0} & 95.9 & \cellgray{95.9} \\
891
+ \midrule
892
+ \multirow{4}{*}{CIFAR100}
893
+ & ResNet-50 & 76.7 & \cellgray{76.7} & 76.6 & \cellgray{76.6} & 76.8 & \cellgray{76.8} & 76.6 & \cellgray{76.6} & 76.8 & \cellgray{76.8} & 77.3 & \cellgray{77.3} \\
894
+ & ResNet-110 & 77.3 & \cellgray{77.3} & 74.9 & \cellgray{74.9} & 76.9 & \cellgray{76.9} & 76.6 & \cellgray{76.6} & 77.5 & \cellgray{77.5} & 77.1 & \cellgray{77.1} \\
895
+ & DenseNet-121 & 75.5 & \cellgray{75.5} & 76.3 & \cellgray{76.3} & 76.0 & \cellgray{76.0} & 75.9 & \cellgray{75.9} & 77.3 & \cellgray{77.3} & 76.8 & \cellgray{76.8} \\
896
+ & Wide-ResNet & 79.3 & \cellgray{79.3} & 79.4 & \cellgray{79.4} & 79.3 & \cellgray{79.3} & 78.8 & \cellgray{78.8} & 79.9 & \cellgray{79.9} & 80.3 & \cellgray{80.3} \\
897
+ \bottomrule
898
+ \end{tabular*}
899
+ \vspace{-0.1in}
900
+ \end{table*}
901
+
902
+
903
+ \paragraph{Accuracy Analysis} As shown in Table~\ref{table:accuracy_compare_with_training_time_methods}, SMART consistently preserves the classification accuracy of all base models across all training-time calibration methods. This is a critical property of post-hoc calibration methods, as improving confidence estimates should not come at the cost of predictive performance. The perfect accuracy preservation is by design, as SMART's temperature scaling mechanism operates solely on the scaling of logits without altering their relative ordering, thus maintaining the same class predictions. This contrasts with some training-time methods that may involve trade-offs between accuracy and calibration quality during the model optimization process. The preservation of accuracy across diverse architectures and datasets further validates SMART's practical utility as a calibration method that can be safely applied in real-world scenarios where maintaining predictive performance is essential.
904
+
905
+ \subsection{AdaECE Performance}
906
+
907
+ \begin{table*}[ht]
908
+ \centering
909
+ \caption{\textbf{Comparison of Train-time Calibration Methods Using AdaECE($\downarrow$, \%, 15bins) Across Various Datasets and Models.} The best-performing method for each dataset-model combination is in bold, and our method (SMART) is highlighted. Results are from the best run of 5 seeds.}
910
+ \label{table:adaece_compare_with_training_time_methods}
911
+ \scriptsize
912
+ \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}cccccccccccccc}
913
+ \toprule
914
+ \textbf{Dataset} & \textbf{Model} &\multicolumn{2}{c}{\textbf{NLL}} &\multicolumn{2}{c}{\textbf{Brier Loss}} &\multicolumn{2}{c}{\textbf{MMCE}} &\multicolumn{2}{c}{\textbf{LS-0.05}} &\multicolumn{2}{c}{\textbf{FLSD-53}} &\multicolumn{2}{c}{\textbf{FL-3}} \\
915
+ & & base & ours & base & ours & base & ours & base & ours & base & ours & base & ours \\
916
+ \midrule
917
+ \multirow{4}{*}{CIFAR10}
918
+ & ResNet-50 & 4.33 & \cellgray{\textbf{0.80}} & 1.74 & \cellgray{\textbf{1.01}} & 4.55 & \cellgray{\textbf{0.67}} & 3.88 & \cellgray{\textbf{2.18}} & 1.56 & \cellgray{\textbf{0.45}} & 1.95 & \cellgray{\textbf{0.48}} \\
919
+ & ResNet-110 & 4.40 & \cellgray{\textbf{1.22}} & 2.61 & \cellgray{\textbf{0.56}} & 5.07 & \cellgray{\textbf{0.93}} & 4.46 & \cellgray{\textbf{3.66}} & 2.07 & \cellgray{\textbf{0.40}} & 1.64 & \cellgray{\textbf{0.52}} \\
920
+ & DenseNet-121 & 4.49 & \cellgray{\textbf{0.61}} & 2.01 & \cellgray{\textbf{0.51}} & 5.10 & \cellgray{\textbf{0.96}} & 4.40 & \cellgray{\textbf{2.95}} & 1.38 & \cellgray{\textbf{0.62}} & 1.23 & \cellgray{\textbf{0.83}} \\
921
+ & Wide-ResNet & 3.24 & \cellgray{\textbf{0.44}} & 1.70 & \cellgray{\textbf{0.44}} & 3.29 & \cellgray{\textbf{0.53}} & 4.27 & \cellgray{\textbf{0.97}} & 1.52 & \cellgray{\textbf{0.44}} & 1.84 & \cellgray{\textbf{0.59}} \\
922
+ \midrule
923
+ \multirow{4}{*}{CIFAR100}
924
+ & ResNet-50 & 17.53 & \cellgray{\textbf{1.00}} & 6.54 & \cellgray{\textbf{1.41}} & 15.31 & \cellgray{\textbf{1.08}} & 7.63 & \cellgray{\textbf{1.75}} & 4.40 & \cellgray{\textbf{1.35}} & 5.08 & \cellgray{\textbf{0.95}} \\
925
+ & ResNet-110 & 19.06 & \cellgray{\textbf{1.67}} & 7.73 & \cellgray{\textbf{0.93}} & 19.13 & \cellgray{\textbf{1.98}} & 11.07 & \cellgray{\textbf{2.72}} & 8.54 & \cellgray{\textbf{0.93}} & 8.65 & \cellgray{\textbf{1.22}} \\
926
+ & DenseNet-121 & 20.99 & \cellgray{\textbf{2.23}} & 5.04 & \cellgray{\textbf{1.02}} & 19.10 & \cellgray{\textbf{1.73}} & 12.83 & \cellgray{\textbf{1.96}} & 3.54 & \cellgray{\textbf{0.93}} & 4.14 & \cellgray{\textbf{0.97}} \\
927
+ & Wide-ResNet & 15.34 & \cellgray{\textbf{1.55}} & 4.28 & \cellgray{\textbf{0.97}} & 13.16 & \cellgray{\textbf{1.12}} & 5.13 & \cellgray{\textbf{2.11}} & 2.77 & \cellgray{\textbf{0.75}} & 2.07 & \cellgray{\textbf{1.15}} \\
928
+ \bottomrule
929
+ \end{tabular*}
930
+ \vspace{-0.1in}
931
+ \end{table*}
932
+
933
+ \paragraph{AdaECE Analysis} The adaptive ECE results in Table~\ref{table:adaece_compare_with_training_time_methods} provide further validation of SMART's effectiveness when combined with various training-time calibration methods. AdaECE, which uses adaptive binning to ensure equal sample counts in each bin, offers a more robust calibration measure than standard ECE by eliminating potential biases from uneven confidence distributions. SMART consistently improves AdaECE across all training methods, with particularly dramatic improvements for models trained with NLL and MMCE, where we observe reductions of up to 18$\times$ (17.53\% → 1.00\% for CIFAR-100 ResNet-50).
934
+
935
+ The most substantial AdaECE improvements occur on CIFAR-100, which has ten times more classes than CIFAR-10 and thus represents a more challenging calibration scenario. This suggests that SMART's effectiveness scales favorably with task complexity. Even for models already trained with calibration-oriented objectives like Focal Loss or FLSD, SMART provides further substantial improvements, indicating that its margin-based temperature adjustment captures complementary information to these training-time approaches. Notably, the combination of SMART with FLSD-53 achieves some of the lowest overall AdaECE values (e.g., 0.40\% on CIFAR-10 ResNet-110), suggesting a particularly effective synergy between these methods.
936
+
937
+ \subsection{Classwise ECE Performance}
938
+
939
+ \begin{table*}[ht]
940
+ \centering
941
+ \caption{\textbf{Comparison of Train-time Calibration Methods Using Classwise ECE($\downarrow$, \%, 15bins) Across Various Datasets and Models.} The best-performing method for each dataset-model combination is in bold, and our method (SMART) is highlighted. Results are from the best run of 5 seeds.}
942
+ \label{table:cece_compare_with_training_time_methods}
943
+ \scriptsize
944
+ \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}cccccccccccccc}
945
+ \toprule
946
+ \textbf{Dataset} & \textbf{Model} &\multicolumn{2}{c}{\textbf{NLL}} &\multicolumn{2}{c}{\textbf{Brier Loss}} &\multicolumn{2}{c}{\textbf{MMCE}} &\multicolumn{2}{c}{\textbf{LS-0.05}} &\multicolumn{2}{c}{\textbf{FLSD-53}} &\multicolumn{2}{c}{\textbf{FL-3}} \\
947
+ & & base & ours & base & ours & base & ours & base & ours & base & ours & base & ours \\
948
+ \midrule
949
+ \multirow{4}{*}{CIFAR10}
950
+ & ResNet-50 & 0.91 & \cellgray{\textbf{0.43}} & 0.46 & \cellgray{\textbf{0.40}} & 0.94 & \cellgray{\textbf{0.51}} & 0.71 & \cellgray{\textbf{0.51}} & 0.42 & \cellgray{\textbf{0.37}} & 0.43 & \cellgray{\textbf{0.38}} \\
951
+ & ResNet-110 & 0.92 & \cellgray{\textbf{0.49}} & 0.59 & \cellgray{\textbf{0.45}} & 1.04 & \cellgray{\textbf{0.54}} & 0.66 & \cellgray{\textbf{0.54}} & 0.47 & \cellgray{\textbf{0.41}} & 0.44 & \cellgray{\textbf{0.38}} \\
952
+ & DenseNet-121 & 0.92 & \cellgray{\textbf{0.45}} & 0.46 & \cellgray{\textbf{0.41}} & 1.04 & \cellgray{\textbf{0.59}} & 0.60 & \cellgray{\textbf{0.50}} & 0.41 & \cellgray{\textbf{0.38}} & 0.42 & \cellgray{\textbf{0.35}} \\
953
+ & Wide-ResNet & 0.68 & \cellgray{\textbf{0.37}} & 0.44 & \cellgray{\textbf{0.39}} & 0.70 & \cellgray{\textbf{0.38}} & 0.79 & \cellgray{\textbf{0.40}} & 0.41 & \cellgray{\textbf{0.29}} & 0.44 & \cellgray{\textbf{0.34}} \\
954
+ \midrule
955
+ \multirow{4}{*}{CIFAR100}
956
+ & ResNet-50 & 0.38 & \cellgray{\textbf{0.21}} & 0.22 & \cellgray{\textbf{0.20}} & 0.34 & \cellgray{\textbf{0.20}} & 0.23 & \cellgray{\textbf{0.21}} & 0.20 & \cellgray{\textbf{0.20}} & 0.20 & \cellgray{\textbf{0.20}} \\
957
+ & ResNet-110 & 0.41 & \cellgray{\textbf{0.20}} & 0.24 & \cellgray{\textbf{0.21}} & 0.42 & \cellgray{\textbf{0.21}} & 0.26 & \cellgray{\textbf{0.20}} & 0.24 & \cellgray{\textbf{0.20}} & 0.24 & \cellgray{\textbf{0.21}} \\
958
+ & DenseNet-121 & 0.45 & \cellgray{\textbf{0.23}} & 0.20 & \cellgray{\textbf{0.20}} & 0.42 & \cellgray{\textbf{0.23}} & 0.29 & \cellgray{\textbf{0.21}} & \textbf{0.19} & \cellgray{0.20} & 0.20 & \cellgray{\textbf{0.20}} \\
959
+ & Wide-ResNet & 0.34 & \cellgray{\textbf{0.19}} & 0.19 & \cellgray{\textbf{0.19}} & 0.30 & \cellgray{\textbf{0.19}} & 0.21 & \cellgray{\textbf{0.20}} & 0.18 & \cellgray{\textbf{0.18}} & 0.18 & \cellgray{\textbf{0.18}} \\
960
+ \bottomrule
961
+ \end{tabular*}
962
+ \vspace{-0.1in}
963
+ \end{table*}
964
+
965
+ \paragraph{CECE Analysis} Classwise ECE (CECE) provides insights into calibration performance at the individual class level rather than aggregated across all classes. The formula for classwise ECE is:
966
+
967
+ \begin{equation}
968
+ \text{Classwise-ECE} = \frac{1}{\mathcal{K}} \sum_{i=1}^{B} \sum_{j=1}^{\mathcal{K}} \frac{|B_{i,j}|}{N} |I_{i,j} - C_{i,j}|
969
+ \end{equation}
970
+
971
+ where the calibration error is computed separately for each class $j$ across all bins $i$, then averaged across all $\mathcal{K}$ classes. This metric is particularly valuable for understanding whether calibration improvements are uniformly distributed across classes or concentrated in specific categories.
972
+
973
+ Table~\ref{table:cece_compare_with_training_time_methods} demonstrates SMART's ability to improve per-class calibration across almost all training methods and architectures. The improvements are particularly prominent for models trained with NLL and MMCE, where CECE values are typically reduced by 50\% or more after applying SMART (e.g., from 0.91\% to 0.43\% for CIFAR-10 ResNet-50). This substantial improvement suggests that SMART's margin-based temperature scaling effectively addresses class-specific miscalibration patterns that may arise during training with these standard objectives.
974
+
975
+ Interestingly, CECE values are consistently lower on CIFAR-100 compared to CIFAR-10 despite the higher class count, which contrasts with the pattern observed for ECE and AdaECE. This phenomenon occurs because CECE averages calibration errors across classes, and with 100 classes, individual class miscalibrations tend to average out more effectively than with only 10 classes. Additionally, the higher granularity of class divisions in CIFAR-100 may lead to more balanced per-class confidence distributions, making the averaging effect more pronounced.
976
+
977
+ For models already trained with calibration-oriented losses like FLSD-53 and FL-3, SMART provides more modest improvements in CECE, and in a few cases maintains the same level of performance. This suggests that these training-time methods are already effective at addressing per-class calibration issues through their specialized loss formulations that inherently consider class-wise balance. However, SMART can still provide complementary benefits in most scenarios, particularly for classes that may remain poorly calibrated even after specialized training procedures.
978
+
979
+ \subsection{Negative Log-Likelihood Performance}
980
+
981
+ \begin{table*}[ht]
982
+ \centering
983
+ \caption{\textbf{Comparison of Train-time Calibration Methods Using NLL($\downarrow$, \%) Across Various Datasets and Models.} The best-performing method for each dataset-model combination is in bold, and our method (SMART) is highlighted. Results are from the best run of 5 seeds.}
984
+ \label{table:nll_compare_with_training_time_methods}
985
+ \scriptsize
986
+ \setlength{\tabcolsep}{5pt}
987
+ \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}cccccccccccccc}
988
+ \toprule
989
+ \textbf{Dataset} & \textbf{Model} &
990
+ \multicolumn{2}{c}{\textbf{NLL}} &
991
+ \multicolumn{2}{c}{\textbf{Brier Loss}} &
992
+ \multicolumn{2}{c}{\textbf{MMCE}} &
993
+ \multicolumn{2}{c}{\textbf{LS-0.05}} &
994
+ \multicolumn{2}{c}{\textbf{FLSD-53}} &
995
+ \multicolumn{2}{c}{\textbf{FL-3}} \\
996
+ & & \textbf{Base} & \textbf{Ours} &
997
+ \textbf{Base} & \textbf{Ours} &
998
+ \textbf{Base} & \textbf{Ours} &
999
+ \textbf{Base} & \textbf{Ours} &
1000
+ \textbf{Base} & \textbf{Ours} &
1001
+ \textbf{Base} & \textbf{Ours} \\
1002
+ \midrule
1003
+ \multirow{4}{*}{CIFAR-10}
1004
+ & ResNet-50 & 41.2 & \cellgray \textbf{19.7} & 18.7 & \cellgray \textbf{18.4} & 44.8 & \cellgray \textbf{21.0} & 27.7 & \cellgray \textbf{27.7} & 17.6 & \cellgray \textbf{17.1} & 18.4 & \cellgray \textbf{17.9} \\
1005
+ & ResNet-110 & 47.5 & \cellgray \textbf{22.5} & 20.4 & \cellgray \textbf{19.4} & 55.7 & \cellgray \textbf{23.6} & 29.9 & \cellgray \textbf{29.4} & 18.5 & \cellgray \textbf{17.9} & 17.8 & \cellgray \textbf{17.3} \\
1006
+ & DenseNet-121 & 42.9 & \cellgray \textbf{20.8} & 19.1 & \cellgray \textbf{18.6} & 52.1 & \cellgray \textbf{24.1} & 28.7 & \cellgray \textbf{28.7} & 18.4 & \cellgray \textbf{18.1} & 18.0 & \cellgray \textbf{17.9} \\
1007
+ & Wide-ResNet & 26.8 & \cellgray \textbf{14.9} & 15.9 & \cellgray \textbf{15.4} & 28.5 & \cellgray \textbf{15.9} & 21.7 & \cellgray \textbf{19.9} & 14.6 & \cellgray \textbf{13.7} & 15.2 & \cellgray \textbf{14.9} \\
1008
+ \midrule
1009
+ \multirow{4}{*}{CIFAR-100}
1010
+ & ResNet-50 & 153.7 & \cellgray \textbf{105.3} & 99.6 & \cellgray \textbf{99.5} & 125.3 & \cellgray \textbf{100.7} & 121.0 & \cellgray \textbf{120.1} & 88.0 & \cellgray 88.4 & 87.5 & \cellgray 88.1 \\
1011
+ & ResNet-110 & 179.2 & \cellgray \textbf{104.0} & 110.7 & \cellgray \textbf{110.0} & 180.6 & \cellgray \textbf{106.1} & 133.1 & \cellgray \textbf{128.8} & 89.9 & \cellgray \textbf{88.3} & 90.9 & \cellgray \textbf{90.0} \\
1012
+ & DenseNet-121 & 205.6 & \cellgray \textbf{119.1} & 98.3 & \cellgray 98.9 & 166.6 & \cellgray \textbf{112.6} & 142.0 & \cellgray \textbf{134.3} & 85.5 & \cellgray 86.5 & 87.1 & \cellgray 87.3 \\
1013
+ & Wide-ResNet & 140.1 & \cellgray \textbf{95.2} & 84.6 & \cellgray 84.9 & 119.6 & \cellgray \textbf{94.1} & 108.1 & \cellgray \textbf{106.5} & 76.9 & \cellgray 77.4 & 74.7 & \cellgray 75.8 \\
1014
+ \bottomrule
1015
+ \end{tabular*}
1016
+ \end{table*}
1017
+
1018
+
1019
+
1020
+ \paragraph{NLL Analysis} NLL is a probabilistic metric that measures both calibration quality and discriminative power. Table~\ref{table:nll_compare_with_training_time_methods} shows that SMART improves NLL for most models, with the most significant gains observed for NLL, MMCE, and LS-0.05 trained models. The improvements are particularly striking for CIFAR-10, where NLL is reduced by up to 60\% after applying SMART (e.g., 41.22 → 19.70 for ResNet-50 with NLL).
1021
+
1022
+ However, a different pattern emerges for models trained with specialized losses like FLSD-53 and FL-3 on CIFAR-100, where SMART sometimes leads to slight increases in NLL despite improvements in calibration metrics like ECE and AdaECE. This suggests that these specialized training losses optimize directly for NLL-like objectives, creating a scenario where SMART's temperature scaling might slightly disturb the carefully optimized probability distributions. Nevertheless, the overall trend across metrics indicates that SMART maintains or improves model performance in the vast majority of cases.
1023
+
1024
+ % \subsection{Comparative Analysis Across Metrics}
1025
+
1026
+ % Examining the results across all metrics provides a comprehensive view of SMART's effectiveness when combined with training-time calibration methods. Several key insights emerge:
1027
+
1028
+ % \begin{enumerate}
1029
+ % \item \textbf{Complementary Benefits:} SMART provides substantial improvements across almost all combinations of architectures, datasets, and training methods, indicating that its margin-based temperature scaling captures calibration signals complementary to those targeted by training-time approaches.
1030
+
1031
+ % \item \textbf{Most Effective Combinations:} The combinations of SMART with FLSD-53 and FL-3 often achieve the best overall calibration performance, suggesting a particularly effective synergy between these focal-loss based training methods and SMART's post-hoc adjustments.
1032
+
1033
+ % \item \textbf{Architectural Differences:} Wide-ResNet consistently shows the best calibration performance across most metrics and training methods when combined with SMART, possibly due to its architectural properties that produce more informative margins.
1034
+
1035
+ % \item \textbf{Scale with Task Complexity:} The relative improvements from applying SMART are generally larger on CIFAR-100 than CIFAR-10, suggesting that SMART's benefits scale favorably with task complexity and class count.
1036
+ % \end{enumerate}
1037
+
1038
+ % These findings further validate SMART as a versatile, effective calibration method that can be applied as a complementary step to various training-time calibration approaches, providing additional performance improvements with minimal computational overhead and without compromising accuracy.
1039
+
1040
+
1041
+
1042
+ \section{Calibration Performance Under Specific Corruption Types}
1043
+ \label{appendix:corruption_analysis}
1044
+
1045
+ To provide deeper insights into SMART's robustness across different corruption scenarios, we examine the calibration error reduction achieved by various methods on individual corruption types in ImageNet-C. We analyze performance across two architectures (ResNet-50 and ViT-B/16) and two metrics (ECE and AdaECE), providing a comprehensive view of how different calibration approaches respond to specific distribution shifts. This granular analysis helps understand which corruption types pose the greatest calibration challenges and how architectural differences influence calibration robustness.
1046
+
1047
+ \begin{figure}[ht]
1048
+ \centering
1049
+ \includegraphics[width=0.95\textwidth]{figs/resnet50_ece_reduced_error.pdf}
1050
+ \caption{\textbf{ECE reduction($\uparrow$, \%, 15bins) across corruption types for ResNet-50.} SMART consistently achieves superior calibration improvements across diverse corruption scenarios, demonstrating exceptional robustness to distribution shifts.}
1051
+ \label{fig:resnet50_ece_corruption_analysis}
1052
+ \end{figure}
1053
+
1054
+ \paragraph{ResNet-50 ECE Analysis} The corruption-specific analysis reveals that SMART demonstrates remarkable consistency, achieving the highest ECE reduction across most corruption categories with improvements often exceeding 20\%. The inclusion of Spline calibration exposes a critical limitation of non-parametric methods: extreme brittleness under distribution shifts. While Spline achieves competitive results on certain corruptions like Snow, it completely fails on others such as Brightness and Contrast, highlighting how non-parametric approaches overfit to validation characteristics and break down when faced with novel corruptions.
1055
+
1056
+ This contrasts sharply with SMART's robust performance across all corruption types. The key insight is that SMART's margin indicator captures decision boundary information that remains meaningful regardless of input degradation type—whether geometric distortions, noise, or digital artifacts. Temperature Scaling and other global methods show predictable limitations on uniform corruptions, while parametric methods like PTS exhibit moderate consistency but still significant variability. SMART's sample-specific adaptation based on decision boundary information provides the most reliable calibration improvements, making it uniquely suitable for real-world scenarios where corruption characteristics are unpredictable.
1057
+
1058
+ \begin{figure}[ht]
1059
+ \centering
1060
+ \includegraphics[width=0.95\textwidth]{figs/resnet50_adaece_reduced_error.pdf}
1061
+ \caption{\textbf{AdaECE reduction($\uparrow$, \%, 15bins) across corruption types for ResNet-50.} SMART maintains consistent superiority across corruption types under adaptive binning, confirming robust calibration improvements independent of evaluation methodology.}
1062
+ \label{fig:resnet50_adaece_corruption_analysis}
1063
+ \end{figure}
1064
+
1065
+ \paragraph{ResNet-50 AdaECE Analysis} The AdaECE results closely mirror the ECE patterns, confirming that SMART's calibration improvements are fundamental rather than evaluation artifacts. SMART achieves the highest reduction rates across most corruptions, with particularly strong performance on geometric distortions approaching 25\% improvement. Spline's brittleness persists under adaptive binning—performing reasonably on weather corruptions but failing on uniform transforms, confirming that its limitations stem from overfitting rather than evaluation methodology. The near-identical performance rankings across both metrics demonstrate that SMART's margin approach captures robust calibration signals regardless of how calibration quality is measured.
1066
+
1067
+ \begin{figure}[ht]
1068
+ \centering
1069
+ \includegraphics[width=0.95\textwidth]{figs/vit_b_16_ece_reduced_error.pdf}
1070
+ \caption{\textbf{ECE reduction($\uparrow$, \%, 15bins) across corruption types for ViT-B/16.} Transformer architectures exhibit distinct calibration challenges under corruption, with global methods often failing while SMART maintains consistent improvements.}
1071
+ \label{fig:vit_ece_corruption_analysis}
1072
+ \end{figure}
1073
+
1074
+ \paragraph{ViT-B/16 ECE Analysis} The transformer results reveal striking architectural differences in calibration behavior under corruption. Most notably, Temperature Scaling frequently worsens calibration, showing negative improvements on multiple corruption types including Shot Noise, Speckle Noise, Snow, Brightness, Pixelate, Jpeg Compression, Saturate and Spatter. This demonstrates that transformers' attention mechanisms and different inductive biases make them fundamentally incompatible with global temperature adjustments under distribution shifts.
1075
+
1076
+ SMART maintains consistent positive improvements across all corruption types, though generally more modest than with ResNet-50. This architectural difference suggests that while transformers are inherently better calibrated, they also present unique challenges that require more sophisticated approaches than global scaling. The convergence of all methods on Fog corruption (around 25\% improvement) indicates that certain atmospheric corruptions create calibration conditions where architectural differences become less relevant.
1077
+
1078
+ A key insight emerges: the margin's decision boundary information remains meaningful across architectures, while global statistics become unreliable for transformers under corruption. PTS and CTS show more consistent improvements than TS, but SMART's sample-specific adaptation consistently outperforms all alternatives, confirming its architectural robustness.
1079
+
1080
+ \begin{figure}[ht]
1081
+ \centering
1082
+ \includegraphics[width=0.95\textwidth]{figs/vit_b_16_adaece_reduced_error.pdf}
1083
+ \caption{\textbf{AdaECE reduction($\uparrow$, \%, 15bins) across corruption types for ViT-B/16.} Transformer calibration patterns remain consistent under adaptive binning, confirming architectural-specific calibration challenges and SMART's robustness.}
1084
+ \label{fig:vit_adaece_corruption_analysis}
1085
+ \end{figure}
1086
+
1087
+ \paragraph{ViT-B/16 AdaECE Analysis} The AdaECE results closely replicate the ECE patterns, confirming that transformer calibration behaviors are fundamental architectural characteristics rather than evaluation artifacts. Temperature Scaling's negative performance persists under adaptive binning, while SMART maintains consistent positive improvements across all corruption types. This metric independence demonstrates that SMART's margin approach captures robust decision boundary information that remains effective regardless of how calibration quality is measured.
1088
+
1089
+ \section{Margin Perspective on Calibration}
1090
+ \label{sec:logit_gap_perspective}
1091
+
1092
+
1093
+ \begin{figure*}[ht]
1094
+ \centering
1095
+ \begin{subfigure}[b]{0.32\textwidth}
1096
+ \includegraphics[width=\textwidth]{figs/overall_reliability_imagenet_vit_b_16.pdf}
1097
+ \caption{Overall calibration for ImgNet}
1098
+ \label{fig:overall_imagenet_vit}
1099
+ \end{subfigure}
1100
+ \hfill
1101
+ \begin{subfigure}[b]{0.32\textwidth}
1102
+ \includegraphics[width=\textwidth]{figs/group_3_reliability_imagenet_vit_b_16.pdf}
1103
+ \caption{High margin samples}
1104
+ \label{fig:high_gap_imagenet_vit}
1105
+ \end{subfigure}
1106
+ \hfill
1107
+ \begin{subfigure}[b]{0.32\textwidth}
1108
+ \includegraphics[width=\textwidth]{figs/group_1_reliability_imagenet_vit_b_16.pdf}
1109
+ \caption{Low margin samples}
1110
+ \label{fig:low_gap_imagenet_vit}
1111
+ \end{subfigure}
1112
+
1113
+ \begin{subfigure}[b]{0.32\textwidth}
1114
+ \includegraphics[width=\textwidth]{figs/overall_reliability_ciafr100_resnet50.pdf}
1115
+ \caption{Overall calibration for Cifar-100}
1116
+ \label{fig:overall_cifar_resnet}
1117
+ \end{subfigure}
1118
+ \hfill
1119
+ \begin{subfigure}[b]{0.32\textwidth}
1120
+ \includegraphics[width=\textwidth]{figs/group_3_reliability_ciafr100_resnet50.pdf}
1121
+ \caption{High margin samples Cifar-100}
1122
+ \label{fig:high_gap_cifar_resnet}
1123
+ \end{subfigure}
1124
+ \hfill
1125
+ \begin{subfigure}[b]{0.32\textwidth}
1126
+ \includegraphics[width=\textwidth]{figs/logitsgap_vs_confidence_change.pdf}
1127
+ \caption{Margin vs. confidence change}
1128
+ \label{fig:gap_vs_change}
1129
+ \end{subfigure}
1130
+
1131
+ \caption{\textbf{Margin reveals hidden calibration patterns across the confidence spectrum.} ImageNet ViT-B/16 shows near-perfect overall calibration (a) but reveals systematic under-confidence in high margin samples (b) and well-calibrated low margin samples (c). CIFAR-100 ResNet-50 demonstrates that even with overall over-confidence (d), high margin samples remain under-confident (e). Panel (f) shows SMART provides targeted adjustments whilst TS and PTS show suboptimal patterns.}
1132
+ \label{fig:logit_gap_analysis}
1133
+ \end{figure*}
1134
+
1135
+ Traditional calibration analysis evaluates models from an overall perspective, potentially masking important sample-specific miscalibration patterns. By examining calibration behaviour across margin values, we uncover fundamental insights about how neural networks distribute confidence and validate our method visually.
1136
+
1137
+ Figure~\ref{fig:logit_gap_analysis} demonstrates heterogeneity across margin groups. For ImageNet with ViT-B/16, whilst overall calibration appears near-perfect (Figure~\ref{fig:overall_imagenet_vit}), decomposing by margin reveals distinct patterns: low margin samples achieve good calibration (Figure~\ref{fig:low_gap_imagenet_vit}), whilst high margin samples show systematic under-confidence (Figure~\ref{fig:high_gap_imagenet_vit}). This pattern persists across different conditions, as shown in CIFAR-100 with ResNet-50 (Figures~\ref{fig:overall_cifar_resnet} and~\ref{fig:high_gap_cifar_resnet}), indicating that margin-based groupings reveal fundamental calibration characteristics transcending dataset-specific or architecture-specific behaviors.
1138
+
1139
+ \paragraph{The Under-Confidence Paradox in High Margin Samples} Perhaps the most counterintuitive finding emerges from examining high margin samples. Despite representing easy classifications with substantial separation between top predictions, these samples consistently exhibit under-confidence rather than expected over-confidence. High margin samples from ImageNet ViT-B/16 show systematic under-confidence, with predicted confidence consistently lower than empirical accuracy (Figure~\ref{fig:high_gap_imagenet_vit}). This pattern persists even when overall model behaviour differs dramatically, as CIFAR-100 ResNet-50 maintains under-confidence in high margin samples despite overall over-confidence (Figure~\ref{fig:high_gap_cifar_resnet}).
1140
+
1141
+ \paragraph{Method-Specific Failures from the Margin Perspective} The confidence adjustment patterns in Figure~\ref{fig:gap_vs_change} expose fundamental limitations in existing approaches. Temperature Scaling's uniform adjustment completely ignores heterogeneous calibration needs across margin groups, applying identical modifications regardless of sample characteristics. More critically, PTS makes substantial adjustments to low margin samples that already achieve good calibration and require minimal intervention. This unnecessary manipulation exemplifies how increased dimensionality introduces noise for precise temperature parameterisation. In contrast, SMART provides minimal adjustments to low margin samples that are already well-calibrated, whilst delivering targeted confidence increases to high margin samples suffering from under-confidence. This adaptive behavior emerges naturally from our lightweight margin-to-temperature mapping, demonstrating how principled architectural choices translate into appropriate calibration strategies.
1142
+
1143
+
1144
+ % \section{Additional Visualization of SmoothSoftECE}
1145
+ % \label{app:hubersoeftece-viz}
1146
+
1147
+ % \begin{figure}[t]
1148
+ % \centering
1149
+ % \begin{minipage}{0.48\linewidth}
1150
+ % \centering
1151
+ % \includegraphics[width=\linewidth]{figs/test_loss_convergence_vit_b_16.pdf}
1152
+ % \end{minipage}\hfill
1153
+ % \begin{minipage}{0.48\linewidth}
1154
+ % \centering
1155
+ % \includegraphics[width=\linewidth]{figs/gradient_norm_evolution_vit_b_16.pdf}
1156
+ % \end{minipage}
1157
+ % \caption{Post-hoc calibration on ImageNet with ViT-B/16: test loss (left) and gradient norm (right) over training epochs for NLL, SoftECE, and SmoothSoftECE.}
1158
+ % \label{fig:vitb16-hubersoeftece}
1159
+ % \end{figure}
1160
+
1161
+ % Figure~\ref{fig:vitb16-hubersoeftece} illustrates how the three objectives behave during optimization for a ViT-B/16 calibrator on ImageNet. The left panel shows that NLL rapidly plateaus at a comparatively high value, while SoftECE continues to decrease but remains consistently above SmoothSoftECE. SmoothSoftECE converges faster and reaches the lowest final loss. The right panel plots the corresponding gradient norms: SoftECE exhibits large and persistent oscillations, suggesting noisy and unstable gradients; NLL’s gradient norm decays smoothly but, consistent with the loss curve, does not lead to substantial improvement in the calibration objective. In contrast, SmoothSoftECE shows a more gradual and stable decay of the gradient norm, indicating a better-conditioned optimization process. These curves are representative of typical runs and are meant to provide intuition rather than a separate benchmark.
1162
+
1163
+
1164
+
1165
+
1166
+
1167
+ \subsection{Sensitivity to Hyperparameters $\lambda$ and $\delta$}
1168
+ \label{subsec:hyperparameter_sensitivity}
1169
+
1170
+ We examine the sensitivity of SMART's performance to the bandwidth parameter $\lambda$ and Charbonnier smoothing parameter $\delta$ in Equation~\eqref{eq:charbonnier_softece}. Tables~\ref{tab:hyperparam_resnet50} and~\ref{tab:hyperparam_vitb16} report ECE (15 bins) on ImageNet for ResNet-50 and ViT-B/16 across different $(\lambda, \delta)$ combinations.
1171
+
1172
+ \begin{table}[h]
1173
+ \centering
1174
+ \caption{ECE (\%, $\downarrow$, 15 bins) on ImageNet ResNet-50 for different $(\lambda, \delta)$ combinations.}
1175
+ \label{tab:hyperparam_resnet50}
1176
+ \small
1177
+ \begin{tabular}{@{}lcccc@{}}
1178
+ \toprule
1179
+ $\lambda \backslash \delta$ & 0.001 & 0.010 & 0.100 & 1.000 \\
1180
+ \midrule
1181
+ 0.01 & 0.66 & 0.83 & 1.02 & 0.67 \\
1182
+ \cellgray 0.05 & \cellgray 0.61 & \cellgray 0.66 & \cellgray 0.67 & \cellgray 0.66 \\
1183
+ 0.10 & 0.66 & 3.11 & 0.71 & 0.72 \\
1184
+ 0.50 & 0.85 & 0.95 & 1.29 & 1.26 \\
1185
+ 1.00 & 0.79 & 1.15 & 2.49 & 2.51 \\
1186
+ \bottomrule
1187
+ \end{tabular}
1188
+ \end{table}
1189
+
1190
+ \begin{table}[h]
1191
+ \centering
1192
+ \caption{ECE (\%, $\downarrow$, 15 bins) on ImageNet ViT-B/16 for different $(\lambda, \delta)$ combinations.}
1193
+ \label{tab:hyperparam_vitb16}
1194
+ \small
1195
+ \begin{tabular}{@{}lcccc@{}}
1196
+ \toprule
1197
+ $\lambda \backslash \delta$ & 0.001 & 0.010 & 0.100 & 1.000 \\
1198
+ \midrule
1199
+ 0.01 & 1.32 & 0.84 & 0.78 & 0.85 \\
1200
+ \cellgray 0.05 & \cellgray 0.84 & \cellgray 0.80 & \cellgray 0.89 & \cellgray 0.86 \\
1201
+ 0.10 & 0.99 & 0.97 & 0.81 & 2.26 \\
1202
+ 0.50 & 2.09 & 2.02 & 2.06 & 2.05 \\
1203
+ 1.00 & 2.04 & 2.48 & 2.56 & 2.56 \\
1204
+ \bottomrule
1205
+ \end{tabular}
1206
+ \end{table}
1207
+
1208
+ The results demonstrate that performance remains stable within a reasonable range of values. For $\lambda \in \{0.01, 0.05, 0.10\}$, ECE varies by less than 0.2\% across different $\delta$ choices, indicating robustness to the Charbonnier smoothing parameter. Larger values ($\lambda \geq 0.50$) lead to degraded performance due to over-localization of kernel weights, creating high variance in calibration estimates. Our choice of $\lambda=0.05$ and $\delta=0.001$ (highlighted rows) provides consistent performance across both CNN and transformer architectures, though the method is not particularly sensitive to $\delta$ within the range $[0.001, 0.100]$ when $\lambda$ is appropriately chosen.
1209
+
1210
+ \section{Additional Analysis of the Margin--Temperature Relationship}
1211
+ \label{app:margin_temperature}
1212
+
1213
+ \begin{figure}[t]
1214
+ \centering
1215
+ \begin{minipage}{0.48\linewidth}
1216
+ \centering
1217
+ \includegraphics[width=\linewidth]{figs/logitsgap_temperature_density_map_resnet50.pdf}
1218
+ \end{minipage}\hfill
1219
+ \begin{minipage}{0.48\linewidth}
1220
+ \centering
1221
+ \includegraphics[width=\linewidth]{figs/logitsgap_temperature_density_map_vit_b_16.pdf}
1222
+ \end{minipage}
1223
+ \caption{Empirical margin--temperature relationship learned by Left: ImageNet with a ResNet-50 backbone, where the mapping is approximately linear and monotone increasing (Pearson $r=0.94$). Right: ImageNet with a ViT-B/16 backbone, where the mapping becomes non-monotonic with a pronounced U-shaped pattern (Pearson $r=-0.63$ for the best linear fit).}
1224
+ \label{fig:margin_temperature_appendix}
1225
+ \end{figure}
1226
+
1227
+ Figure~\ref{fig:margin_temperature_appendix} illustrates that the learned margin--temperature mapping is not constrained to be monotonic. For ImageNet ResNet-50, the mapping closely follows an increasing linear trend: samples with larger logit margins receive higher temperatures (softer probabilities), while low-margin samples are assigned temperatures closer to one. In contrast, on ImageNet with ViT-B/16 the mapping is clearly non-monotonic, with an approximately U-shaped dependence on the margin. This behavior indicates that the relationship between margin and miscalibration is architecture- and dataset-dependent; SMART adapts to these differences rather than enforcing a fixed monotone form, and understanding the underlying theoretical reasons is left for future work.
icml2026/example_paper.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e8fe0e952de8702ca4697dba09ca52e83bd649767b92a8340d34a591caa4d1b
3
+ size 193509
icml2026/fancyhdr.sty ADDED
@@ -0,0 +1,864 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %%
2
+ %% This is file `fancyhdr.sty',
3
+ %% generated with the docstrip utility.
4
+ %%
5
+ %% The original source files were:
6
+ %%
7
+ %% fancyhdr.dtx (with options: `fancyhdr')
8
+ %%
9
+ %% This is a generated file.
10
+ %%
11
+ %% This file may be distributed and/or modified under the conditions of
12
+ %% the LaTeX Project Public License, either version 1.3 of this license
13
+ %% or (at your option) any later version. The latest version of this
14
+ %% license is in:
15
+ %%
16
+ %% http://www.latex-project.org/lppl.txt
17
+ %%
18
+ %% and version 1.3 or later is part of all distributions of LaTeX version
19
+ %% 2005/12/01 or later.
20
+ %%
21
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
22
+ \NeedsTeXFormat{LaTeX2e}[2018-04-01]
23
+ \ProvidesPackage{fancyhdr}%
24
+ [2025/02/07 v5.2
25
+ Extensive control of page headers and footers]%
26
+ % Copyright (C) 1994-2025 by Pieter van Oostrum <pieter@vanoostrum.org>
27
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
28
+ \ifdefined\NewDocumentCommand\else\RequirePackage{xparse}\fi
29
+ \newif\iff@nch@check
30
+ \f@nch@checktrue
31
+ \DeclareOption{nocheck}{%
32
+ \f@nch@checkfalse
33
+ }
34
+ \let\f@nch@gbl\relax
35
+ \newif\iff@nch@compatViii
36
+ \DeclareOption{compatV3}{%
37
+ \PackageWarningNoLine{fancyhdr}{The `compatV3' option is deprecated.\MessageBreak
38
+ It will disappear in one of the following releases.\MessageBreak
39
+ Please change your document to work\MessageBreak
40
+ without this option}
41
+ \let\f@nch@gbl\global
42
+ \f@nch@compatViiitrue
43
+ }
44
+ \newif\iff@nch@twoside
45
+ \f@nch@twosidefalse
46
+ \DeclareOption{twoside}{%
47
+ \if@twoside\else\f@nch@twosidetrue\fi
48
+ }
49
+ \newcommand\f@nch@def[2]{%
50
+ \def\temp@a{#2}\ifx\temp@a\@empty\f@nch@gbl\def#1{}%
51
+ \else\f@nch@gbl\def#1{#2\strut}\fi}
52
+ \DeclareOption{myheadings}{%
53
+ \@ifundefined{chapter}{%
54
+ \def\ps@myheadings{\ps@f@nch@fancyproto \let\@mkboth\@gobbletwo
55
+ \fancyhf{}
56
+ \fancyhead[LE,RO]{\thepage}%
57
+ \fancyhead[RE]{\slshape\leftmark}%
58
+ \fancyhead[LO]{\slshape\rightmark}%
59
+ \let\sectionmark\@gobble
60
+ \let\subsectionmark\@gobble
61
+ }%
62
+ }%
63
+ {\def\ps@myheadings{\ps@f@nch@fancyproto \let\@mkboth\@gobbletwo
64
+ \fancyhf{}
65
+ \fancyhead[LE,RO]{\thepage}%
66
+ \fancyhead[RE]{\slshape\leftmark}%
67
+ \fancyhead[LO]{\slshape\rightmark}%
68
+ \let\chaptermark\@gobble
69
+ \let\sectionmark\@gobble
70
+ }%
71
+ }%
72
+ }
73
+ \DeclareOption{headings}{%
74
+ \@ifundefined{chapter}{%
75
+ \if@twoside
76
+ \def\ps@headings{\ps@f@nch@fancyproto \def\@mkboth{\protect\markboth}
77
+ \fancyhf{}
78
+ \fancyhead[LE,RO]{\thepage}%
79
+ \fancyhead[RE]{\slshape\leftmark}%
80
+ \fancyhead[LO]{\slshape\rightmark}%
81
+ \def\sectionmark##1{%
82
+ \markboth{\MakeUppercase{%
83
+ \ifnum \c@secnumdepth >\z@ \thesection\quad \fi##1}}{}}%
84
+ \def\subsectionmark##1{%
85
+ \markright{%
86
+ \ifnum \c@secnumdepth >\@ne \thesubsection\quad \fi##1}}%
87
+ }%
88
+ \else
89
+ \def\ps@headings{\ps@f@nch@fancyproto \def\@mkboth{\protect\markboth}
90
+ \fancyhf{}
91
+ \fancyhead[LE,RO]{\thepage}%
92
+ \fancyhead[RE]{\slshape\leftmark}%
93
+ \fancyhead[LO]{\slshape\rightmark}%
94
+ \def\sectionmark##1{%
95
+ \markright {\MakeUppercase{%
96
+ \ifnum \c@secnumdepth >\z@ \thesection\quad \fi##1}}}%
97
+ \let\subsectionmark\@gobble % Not needed but inserted for safety
98
+ }%
99
+ \fi
100
+ }{\if@twoside
101
+ \def\ps@headings{\ps@f@nch@fancyproto \def\@mkboth{\protect\markboth}
102
+ \fancyhf{}
103
+ \fancyhead[LE,RO]{\thepage}%
104
+ \fancyhead[RE]{\slshape\leftmark}%
105
+ \fancyhead[LO]{\slshape\rightmark}%
106
+ \def\chaptermark##1{%
107
+ \markboth{\MakeUppercase{%
108
+ \ifnum \c@secnumdepth >\m@ne \if@mainmatter
109
+ \@chapapp\ \thechapter. \ \fi\fi##1}}{}}%
110
+ \def\sectionmark##1{%
111
+ \markright {\MakeUppercase{%
112
+ \ifnum \c@secnumdepth >\z@ \thesection. \ \fi##1}}}%
113
+ }%
114
+ \else
115
+ \def\ps@headings{\ps@f@nch@fancyproto \def\@mkboth{\protect\markboth}
116
+ \fancyhf{}
117
+ \fancyhead[LE,RO]{\thepage}%
118
+ \fancyhead[RE]{\slshape\leftmark}%
119
+ \fancyhead[LO]{\slshape\rightmark}%
120
+ \def\chaptermark##1{%
121
+ \markright{\MakeUppercase{%
122
+ \ifnum \c@secnumdepth >\m@ne \if@mainmatter
123
+ \@chapapp\ \thechapter. \ \fi\fi##1}}}%
124
+ \let\sectionmark\@gobble % Not needed but inserted for safety
125
+ }%
126
+ \fi
127
+ }%
128
+ }
129
+ \ProcessOptions*
130
+ \newcommand{\f@nch@forc}[3]{\expandafter\f@nchf@rc\expandafter#1\expandafter{#2}{#3}}
131
+ \newcommand{\f@nchf@rc}[3]{\def\temp@ty{#2}\ifx\@empty\temp@ty\else
132
+ \f@nch@rc#1#2\f@nch@rc{#3}\fi}
133
+ \long\def\f@nch@rc#1#2#3\f@nch@rc#4{\def#1{#2}#4\f@nchf@rc#1{#3}{#4}}
134
+ \newcommand{\f@nch@for}[3]{\edef\@fortmp{#2}%
135
+ \expandafter\@forloop#2,\@nil,\@nil\@@#1{#3}}
136
+ \newcommand\f@nch@default[3]{%
137
+ \edef\temp@a{\lowercase{\edef\noexpand\temp@a{#3}}}\temp@a \def#1{}%
138
+ \f@nch@forc\tmpf@ra{#2}%
139
+ {\expandafter\f@nch@ifin\tmpf@ra\temp@a{\edef#1{#1\tmpf@ra}}{}}%
140
+ \ifx\@empty#1\def#1{#2}\fi}
141
+ \newcommand{\f@nch@ifin}[4]{%
142
+ \edef\temp@a{#2}\def\temp@b##1#1##2\temp@b{\def\temp@b{##1}}%
143
+ \expandafter\temp@b#2#1\temp@b\ifx\temp@a\temp@b #4\else #3\fi}
144
+ \newcommand{\fancyhead}[2][]{\f@nch@fancyhf\fancyhead h[#1]{#2}}%
145
+ \newcommand{\fancyfoot}[2][]{\f@nch@fancyhf\fancyfoot f[#1]{#2}}%
146
+ \newcommand{\fancyhf}[2][]{\f@nch@fancyhf\fancyhf {}[#1]{#2}}%
147
+ \newcommand{\fancyheadoffset}[2][]{\f@nch@fancyhfoffs\fancyheadoffset h[#1]{#2}}%
148
+ \newcommand{\fancyfootoffset}[2][]{\f@nch@fancyhfoffs\fancyfootoffset f[#1]{#2}}%
149
+ \newcommand{\fancyhfoffset}[2][]{\f@nch@fancyhfoffs\fancyhfoffset {}[#1]{#2}}%
150
+ \def\f@nch@fancyhf@Echeck#1{%
151
+ \if@twoside\else
152
+ \iff@nch@twoside\else
153
+ \if\f@nch@@eo e%
154
+ \PackageWarning{fancyhdr} {\string#1's `E' option without twoside option is useless.\MessageBreak
155
+ Please consider using the `twoside' option}%
156
+ \fi\fi\fi
157
+ }
158
+ \long\def\f@nch@fancyhf#1#2[#3]#4{%
159
+ \def\temp@c{}%
160
+ \f@nch@forc\tmpf@ra{#3}%
161
+ {\expandafter\f@nch@ifin\tmpf@ra{eolcrhf,EOLCRHF}%
162
+ {}{\edef\temp@c{\temp@c\tmpf@ra}}}%
163
+ \ifx\@empty\temp@c\else \PackageError{fancyhdr}{Illegal char `\temp@c' in
164
+ \string#1 argument: [#3]}{}%
165
+ \fi \f@nch@for\temp@c{#3}%
166
+ {\f@nch@default\f@nch@@eo{eo}\temp@c
167
+ \f@nch@fancyhf@Echeck{#1}%
168
+ \f@nch@default\f@nch@@lcr{lcr}\temp@c
169
+ \f@nch@default\f@nch@@hf{hf}{#2\temp@c}%
170
+ \f@nch@forc\f@nch@eo\f@nch@@eo
171
+ {\f@nch@forc\f@nch@lcr\f@nch@@lcr
172
+ {\f@nch@forc\f@nch@hf\f@nch@@hf
173
+ {\expandafter\f@nch@def\csname
174
+ f@nch@\f@nch@eo\f@nch@lcr\f@nch@hf\endcsname {#4}}}}}}
175
+ \def\f@nch@fancyhfoffs#1#2[#3]#4{%
176
+ \def\temp@c{}%
177
+ \f@nch@forc\tmpf@ra{#3}%
178
+ {\expandafter\f@nch@ifin\tmpf@ra{eolrhf,EOLRHF}%
179
+ {}{\edef\temp@c{\temp@c\tmpf@ra}}}%
180
+ \ifx\@empty\temp@c\else \PackageError{fancyhdr}{Illegal char `\temp@c' in
181
+ \string#1 argument: [#3]}{}%
182
+ \fi \f@nch@for\temp@c{#3}%
183
+ {\f@nch@default\f@nch@@eo{eo}\temp@c
184
+ \f@nch@fancyhf@Echeck{#1}%
185
+ \f@nch@default\f@nch@@lcr{lr}\temp@c
186
+ \f@nch@default\f@nch@@hf{hf}{#2\temp@c}%
187
+ \f@nch@forc\f@nch@eo\f@nch@@eo
188
+ {\f@nch@forc\f@nch@lcr\f@nch@@lcr
189
+ {\f@nch@forc\f@nch@hf\f@nch@@hf
190
+ {\expandafter\setlength\csname
191
+ f@nch@offset@\f@nch@eo\f@nch@lcr\f@nch@hf\endcsname {#4}}}}}%
192
+ \f@nch@setoffs}
193
+ \NewDocumentCommand {\fancyheadwidth}{ s O{} O{} m }
194
+ {\f@nch@fancyhfwidth{#1}\fancyheadwidth h[#2][#3]{#4}}%
195
+ \NewDocumentCommand {\fancyfootwidth}{ s O{} O{} m }
196
+ {\f@nch@fancyhfwidth{#1}\fancyfootwidth f[#2][#3]{#4}}%
197
+ \NewDocumentCommand {\fancyhfwidth} { s O{} O{} m }
198
+ {\f@nch@fancyhfwidth{#1}\fancyhfwidth {}[#2][#3]{#4}}%
199
+ \def\f@nch@fancyhfwidth#1#2#3[#4][#5]#6{%
200
+ \setlength\@tempdima{#6}%
201
+ \def\temp@c{}%
202
+ \f@nch@forc\tmpf@ra{#4}%
203
+ {\expandafter\f@nch@ifin\tmpf@ra{eolcrhf,EOLCRHF}%
204
+ {}{\edef\temp@c{\temp@c\tmpf@ra}}}%
205
+ \ifx\@empty\temp@c\else \PackageError{fancyhdr}{Illegal char `\temp@c' in
206
+ \string#2 argument: [#4]}{}%
207
+ \fi
208
+ \f@nch@for\temp@c{#4}%
209
+ {\f@nch@default\f@nch@@eo{eo}\temp@c
210
+ \f@nch@fancyhf@Echeck{#2}%
211
+ \f@nch@default\f@nch@@lcr{lcr}\temp@c
212
+ \f@nch@default\f@nch@@hf{hf}{#3\temp@c}%
213
+ \f@nch@forc\f@nch@eo\f@nch@@eo
214
+ {\f@nch@forc\f@nch@lcr\f@nch@@lcr
215
+ {\f@nch@forc\f@nch@hf\f@nch@@hf
216
+ {%
217
+ \IfBooleanTF{#1}{%
218
+ \expandafter\edef\csname
219
+ f@nch@width@\f@nch@eo\f@nch@lcr\f@nch@hf\endcsname{\the\@tempdima}%
220
+ }%
221
+ {%
222
+ \expandafter\def\csname
223
+ f@nch@width@\f@nch@eo\f@nch@lcr\f@nch@hf\endcsname{#6}%
224
+ }%
225
+ \csname f@nchdrwdt@align@v@\f@nch@hf\endcsname
226
+ \edef\f@nch@align@@h{\f@nch@lcr}%
227
+ \def\temp@a{#5}%
228
+ \ifx\temp@a\@empty \else \f@nchdrwdt@align#5\@nil{#2}\fi
229
+ \expandafter\edef\csname
230
+ f@nch@align@\f@nch@eo\f@nch@lcr\f@nch@hf\endcsname
231
+ {\f@nch@align@@v\f@nch@align@@h}}}}}}
232
+ \def\f@nch@width@elh{\headwidth}
233
+ \def\f@nch@width@ech{\headwidth}
234
+ \def\f@nch@width@erh{\headwidth}
235
+ \def\f@nch@width@olh{\headwidth}
236
+ \def\f@nch@width@och{\headwidth}
237
+ \def\f@nch@width@orh{\headwidth}
238
+ \def\f@nch@width@elf{\headwidth}
239
+ \def\f@nch@width@ecf{\headwidth}
240
+ \def\f@nch@width@erf{\headwidth}
241
+ \def\f@nch@width@olf{\headwidth}
242
+ \def\f@nch@width@ocf{\headwidth}
243
+ \def\f@nch@width@orf{\headwidth}
244
+ \def\f@nch@align@elh{bl}
245
+ \def\f@nch@align@ech{bc}
246
+ \def\f@nch@align@erh{br}
247
+ \def\f@nch@align@olh{bl}
248
+ \def\f@nch@align@och{bc}
249
+ \def\f@nch@align@orh{br}
250
+ \def\f@nch@align@elf{tl}
251
+ \def\f@nch@align@ecf{tc}
252
+ \def\f@nch@align@erf{tr}
253
+ \def\f@nch@align@olf{tl}
254
+ \def\f@nch@align@ocf{tc}
255
+ \def\f@nch@align@orf{tr}
256
+ \def\f@nchdrwdt@align@v@h{\def\f@nch@align@@v{b}}%
257
+ \def\f@nchdrwdt@align@v@f{\def\f@nch@align@@v{t}}%
258
+ \long\def\f@nchdrwdt@align#1#2\@nil#3{%
259
+ \f@nch@ifin{#1}{TtcbB-}{%
260
+ \f@nch@ifin{#1}{-}{}{\def\f@nch@align@@v{#1}}%
261
+ \def\@tempa{#2}%
262
+ \ifx\@tempa\@empty \else \def\f@nch@align@@h{#2}\fi
263
+ }%
264
+ {\def\f@nch@align@@h{#1}}%
265
+ \expandafter\f@nch@ifin\expandafter{\f@nch@align@@h}{lcrj}{}%
266
+ {\PackageError{fancyhdr}
267
+ {\string#3: Illegal char `\f@nch@align@@h'\MessageBreak
268
+ in alignment argument}{}}%
269
+ }
270
+ \newcommand{\lhead}[2][\f@nch@olh]%
271
+ {\f@nch@def\f@nch@olh{#2}\f@nch@def\f@nch@elh{#1}}
272
+ \newcommand{\chead}[2][\f@nch@och]%
273
+ {\f@nch@def\f@nch@och{#2}\f@nch@def\f@nch@ech{#1}}
274
+ \newcommand{\rhead}[2][\f@nch@orh]%
275
+ {\f@nch@def\f@nch@orh{#2}\f@nch@def\f@nch@erh{#1}}
276
+ \newcommand{\lfoot}[2][\f@nch@olf]%
277
+ {\f@nch@def\f@nch@olf{#2}\f@nch@def\f@nch@elf{#1}}
278
+ \newcommand{\cfoot}[2][\f@nch@ocf]%
279
+ {\f@nch@def\f@nch@ocf{#2}\f@nch@def\f@nch@ecf{#1}}
280
+ \newcommand{\rfoot}[2][\f@nch@orf]%
281
+ {\f@nch@def\f@nch@orf{#2}\f@nch@def\f@nch@erf{#1}}
282
+ \newlength{\f@nch@headwidth} \let\headwidth\f@nch@headwidth
283
+ \newlength{\f@nch@offset@elh}
284
+ \newlength{\f@nch@offset@erh}
285
+ \newlength{\f@nch@offset@olh}
286
+ \newlength{\f@nch@offset@orh}
287
+ \newlength{\f@nch@offset@elf}
288
+ \newlength{\f@nch@offset@erf}
289
+ \newlength{\f@nch@offset@olf}
290
+ \newlength{\f@nch@offset@orf}
291
+ \newcommand{\headrulewidth}{0.4pt}
292
+ \newcommand{\footrulewidth}{0pt}
293
+ \@ifundefined{headruleskip}%
294
+ {\newcommand{\headruleskip}{0pt}}{}
295
+ \@ifundefined{footruleskip}%
296
+ {\newcommand{\footruleskip}{.3\normalbaselineskip}}{}
297
+ \newcommand{\plainheadrulewidth}{0pt}
298
+ \newcommand{\plainfootrulewidth}{0pt}
299
+ \newif\if@fancyplain \@fancyplainfalse
300
+ \def\fancyplain#1#2{\if@fancyplain#1\else#2\fi}
301
+ \headwidth=-123456789sp
302
+ \let\f@nch@raggedleft\raggedleft
303
+ \let\f@nch@raggedright\raggedright
304
+ \let\f@nch@centering\centering
305
+ \let\f@nch@everypar\everypar
306
+ \ifdefined\ExplSyntaxOn
307
+ \ExplSyntaxOn
308
+ \providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion}
309
+ \IfFormatAtLeastTF{2021-06-01}{
310
+ \def\f@nch@saveclr@parhook #1{
311
+ \expandafter\let\csname f@nch@__hook~#1\expandafter\endcsname
312
+ \csname __hook~#1\endcsname
313
+ \expandafter\let\csname f@nch@__hook_toplevel~#1\expandafter\endcsname
314
+ \csname __hook_toplevel~#1\endcsname
315
+ \expandafter\let\csname f@nch@__hook_next~#1\expandafter\endcsname
316
+ \csname __hook_next~#1\endcsname
317
+ \expandafter\let\csname f@nch@g__hook_#1_code_prop\expandafter\endcsname
318
+ \csname g__hook_#1_code_prop\endcsname
319
+ \RemoveFromHook{#1}[*]
320
+ \ClearHookNext{#1}
321
+ }
322
+ \def\f@nch@restore@parhook #1{
323
+ \global\expandafter\let\csname __hook~#1\expandafter\endcsname
324
+ \csname f@nch@__hook~#1\endcsname
325
+ \global\expandafter\let\csname __hook_toplevel~#1\expandafter\endcsname
326
+ \csname f@nch@__hook_toplevel~#1\endcsname
327
+ \global\expandafter\let\csname __hook_next~#1\expandafter\endcsname
328
+ \csname f@nch@__hook_next~#1\endcsname
329
+ \global\expandafter\let\csname g__hook_#1_code_prop\expandafter\endcsname
330
+ \csname f@nch@g__hook_#1_code_prop\endcsname
331
+ }
332
+ \def\f@nch@resetpar{
333
+ \f@nch@everypar{}
334
+ \f@nch@saveclr@parhook{para/before}
335
+ \f@nch@saveclr@parhook{para/begin}
336
+ \f@nch@saveclr@parhook{para/end}
337
+ \f@nch@saveclr@parhook{para/after}
338
+ }
339
+ \def\f@nch@restorepar{
340
+ \f@nch@restore@parhook{para/before}
341
+ \f@nch@restore@parhook{para/begin}
342
+ \f@nch@restore@parhook{para/end}
343
+ \f@nch@restore@parhook{para/after}
344
+ }
345
+ }{
346
+ \def\f@nch@resetpar{
347
+ \f@nch@everypar{}
348
+ }
349
+ \def\f@nch@restorepar{}
350
+ }
351
+ \ExplSyntaxOff
352
+ \else
353
+ \def\f@nch@resetpar{%
354
+ \f@nch@everypar{}%
355
+ }
356
+ \def\f@nch@restorepar{}
357
+ \fi
358
+ \newcommand\f@nch@noUppercase[2][]{#2}
359
+ \def\f@nch@reset{\f@nch@resetpar\restorecr\endlinechar=13
360
+ \catcode`\\=0\catcode`\{=1\catcode`\}=2\catcode`\$=3\catcode`\&=4
361
+ \catcode`\#=6\catcode`\^=7\catcode`\_=8\catcode`\ =10\catcode`\@=11
362
+ \catcode`\:=11\catcode`\~=13\catcode`\%=14
363
+ \catcode0=15 %NULL
364
+ \catcode9=10 %TAB
365
+ \let\\\@normalcr \let\raggedleft\f@nch@raggedleft
366
+ \let\raggedright\f@nch@raggedright \let\centering\f@nch@centering
367
+ \def\baselinestretch{1}%
368
+ \hsize=\headwidth
369
+ \def\nouppercase##1{{%
370
+ \let\uppercase\relax\let\MakeUppercase\f@nch@noUppercase
371
+ \expandafter\let\csname MakeUppercase \endcsname\relax
372
+ \expandafter\def\csname MakeUppercase\space\space\space\endcsname
373
+ [####1]####2{####2}%
374
+ ##1}}%
375
+ \@ifundefined{@normalsize} {\normalsize} % for ucthesis.cls
376
+ {\@normalsize}%
377
+ }
378
+ \newcommand*{\fancycenter}[1][1em]{%
379
+ \@ifnextchar[{\f@nch@center{#1}}{\f@nch@center{#1}[3]}%
380
+ }
381
+ \def\f@nch@center#1[#2]#3#4#5{%
382
+ \def\@tempa{#4}\ifx\@tempa\@empty
383
+ \hbox to\linewidth{\color@begingroup{#3}\hfil {#5}\color@endgroup}%
384
+ \else
385
+ \setlength\@tempdima{#1}%
386
+ \setlength{\@tempdimb}{#2\@tempdima}%
387
+ \@tempdimc \@tempdimb \advance\@tempdimc -\@tempdima
388
+ \setlength\@tempskipa{\@tempdimb \@plus 1fil \@minus \@tempdimc}%
389
+ \@tempskipb\@tempskipa
390
+ \def\@tempa{#3}\ifx\@tempa\@empty
391
+ \addtolength\@tempskipa{\z@ \@minus \@tempdima}%
392
+ \fi
393
+ \def\@tempa{#5}\ifx\@tempa\@empty % empty right
394
+ \addtolength\@tempskipb{\z@ \@minus \@tempdima}%
395
+ \fi
396
+ \settowidth{\@tempdimb}{#3}%
397
+ \settowidth{\@tempdimc}{#5}%
398
+ \ifdim\@tempdimb>\@tempdimc
399
+ \advance\@tempdimb -\@tempdimc
400
+ \addtolength\@tempskipb{\@tempdimb \@minus \@tempdimb}%
401
+ \else
402
+ \advance\@tempdimc -\@tempdimb
403
+ \addtolength\@tempskipa{\@tempdimc \@minus \@tempdimc}%
404
+ \fi
405
+ \hbox to\linewidth{\color@begingroup{#3}\hskip \@tempskipa
406
+ {#4}\hskip \@tempskipb {#5}\color@endgroup}%
407
+ \fi
408
+ }
409
+ \newcommand{\f@nch@headinit}{}
410
+ \newcommand{\fancyheadinit}[1]{%
411
+ \def\f@nch@headinit{#1}%
412
+ }
413
+ \newcommand{\f@nch@footinit}{}
414
+ \newcommand{\fancyfootinit}[1]{%
415
+ \def\f@nch@footinit{#1}%
416
+ }
417
+ \newcommand{\fancyhfinit}[1]{%
418
+ \def\f@nch@headinit{#1}%
419
+ \def\f@nch@footinit{#1}%
420
+ }
421
+ \ifdefined\NewMirroredHookPair
422
+ \NewMirroredHookPair{fancyhdr/before}{fancyhdr/after}
423
+ \NewMirroredHookPair{fancyhdr/head/begin}{fancyhdr/head/end}
424
+ \NewMirroredHookPair{fancyhdr/foot/begin}{fancyhdr/foot/end}
425
+ \fi
426
+ \newlength\f@nch@height
427
+ \newlength\f@nch@footalignment
428
+ \newif\iff@nch@footalign\f@nch@footalignfalse
429
+ \newcommand{\fancyfootalign}[1]{%
430
+ \def\temp@a{#1}%
431
+ \ifx\temp@a\@empty
432
+ \f@nch@footalignfalse
433
+ \else
434
+ \f@nch@footaligntrue
435
+ \setlength\f@nch@footalignment{#1}%
436
+ \fi
437
+ }
438
+ \newcommand\fancyhdrsettoheight[2]{%
439
+ \expandafter\ifx\csname f@nch@#2\endcsname\fancyhdrsettoheight
440
+ \else\PackageError{fancyhdr}{Unknown parameter #2 in \string\fancyhdrsettoheight}{}\fi
441
+ \setbox\@tempboxa\hbox{{\f@nch@checkfalse\csname @#2\endcsname}}%
442
+ \setlength{#1}\f@nch@height
443
+ \setbox\@tempboxa\box\voidb@x
444
+ }
445
+ \let\f@nch@oddhead\fancyhdrsettoheight
446
+ \let\f@nch@evenhead\fancyhdrsettoheight
447
+ \let\f@nch@oddfoot\fancyhdrsettoheight
448
+ \let\f@nch@evenfoot\fancyhdrsettoheight
449
+ \newcommand\f@nch@vbox[2]{%
450
+ \setbox0\vbox{#2}%
451
+ \global\f@nch@height=\ht0
452
+ \ifdim\ht0>#1\relax
453
+ \iff@nch@check
454
+ \dimen0=#1\advance\dimen0-\ht0
455
+ \PackageWarning{fancyhdr}{%
456
+ \string#1 is too small (\the#1): \MessageBreak
457
+ Make it at least \the\ht0, for example:\MessageBreak
458
+ \string\setlength{\string#1}{\the\ht0}%
459
+ \iff@nch@compatViii .\MessageBreak
460
+ We now make it that large for the rest of the document.\MessageBreak
461
+ This may cause the page layout to be inconsistent, however
462
+ \fi
463
+ \ifx#1\headheight .\MessageBreak
464
+ You might also make \topmargin smaller:\MessageBreak
465
+ \string\addtolength{\string\topmargin}{\the\dimen0}%
466
+ \fi
467
+ \@gobble
468
+ }%
469
+ \iff@nch@compatViii
470
+ \dimen0=#1\relax
471
+ \global#1=\ht0\relax
472
+ \ht0=\dimen0 %
473
+ \else
474
+ \ht0=#1\relax
475
+ \fi
476
+ \else
477
+ \ht0=#1\relax
478
+ \fi
479
+ \fi
480
+ \box0}
481
+ \newcommand\f@nch@head[6]{%
482
+ \f@nch@reset
483
+ \ifdefined\UseHook\UseHook{fancyhdr/before}\UseHook{fancyhdr/head/begin}\fi
484
+ \f@nch@headinit\relax
485
+ #1%
486
+ \hbox to\headwidth{%
487
+ \f@nch@vbox\headheight{%
488
+ \f@nch@hfbox{#2}{#3}{#4}{#6}{h}%
489
+ \vskip\headruleskip\relax
490
+ \headrule
491
+ }%
492
+ }%
493
+ #5%
494
+ \ifdefined\UseHook\UseHook{fancyhdr/head/end}\UseHook{fancyhdr/after}\fi
495
+ \f@nch@restorepar
496
+ }
497
+ \newcommand\f@nch@foot[6]{%
498
+ \f@nch@reset
499
+ \ifdefined\UseHook\UseHook{fancyhdr/before}\UseHook{fancyhdr/foot/begin}\fi
500
+ \f@nch@footinit\relax
501
+ #1%
502
+ \hbox to\headwidth{%
503
+ \f@nch@vbox\footskip{%
504
+ \setbox0=\vbox{\footrule}\unvbox0
505
+ \vskip\footruleskip
506
+ \f@nch@hfbox{#2}{#3}{#4}{#6}{f}%
507
+ \iff@nch@footalign \vskip\f@nch@footalignment \fi
508
+ }%
509
+ }%
510
+ #5%
511
+ \ifdefined\UseHook\UseHook{fancyhdr/foot/end}\UseHook{fancyhdr/after}\fi
512
+ \f@nch@restorepar
513
+ }
514
+ \newlength\f@nch@widthL
515
+ \newlength\f@nch@widthC
516
+ \newlength\f@nch@widthR
517
+ \newcommand\f@nch@hfbox[5]{%
518
+ \setlength\f@nch@widthL{\csname f@nch@width@#4l#5\endcsname}%
519
+ \setlength\f@nch@widthC{\csname f@nch@width@#4c#5\endcsname}%
520
+ \setlength\f@nch@widthR{\csname f@nch@width@#4r#5\endcsname}%
521
+ \let\@tempa\f@nch@hfbox@center
522
+ \ifdim \dimexpr \f@nch@widthL+\f@nch@widthC+\f@nch@widthR>\headwidth
523
+ \else
524
+ \ifdim \dimexpr \f@nch@widthL+0.5\f@nch@widthC>0.5\headwidth
525
+ \let \@tempa\f@nch@hfbox@fit
526
+ \fi
527
+ \ifdim \dimexpr \f@nch@widthR+0.5\f@nch@widthC>0.5\headwidth
528
+ \let \@tempa\f@nch@hfbox@fit
529
+ \fi
530
+ \fi
531
+ \@tempa{#1}{#2}{#3}#4#5%
532
+ }
533
+ \newcommand\f@nch@hfbox@center[5]{%
534
+ \hbox to \headwidth{%
535
+ \rlap{\f@nch@parbox{#1}\f@nch@widthL{#4}l{#5}}%
536
+ \hfill
537
+ \f@nch@parbox{#2}\f@nch@widthC{#4}c{#5}%
538
+ \hfill
539
+ \llap{\f@nch@parbox{#3}\f@nch@widthR{#4}r{#5}}%
540
+ }%
541
+ }
542
+ \newcommand\f@nch@hfbox@fit[5]{%
543
+ \hbox to \headwidth{%
544
+ \f@nch@parbox{#1}\f@nch@widthL{#4}l{#5}%
545
+ \hfill
546
+ \f@nch@parbox{#2}\f@nch@widthC{#4}c{#5}%
547
+ \hfill
548
+ \f@nch@parbox{#3}\f@nch@widthR{#4}r{#5}%
549
+ }%
550
+ }%
551
+ \newcommand\f@nch@parbox[5]{%
552
+ \expandafter\expandafter\expandafter\f@nch@parbox@align
553
+ \csname f@nch@align@#3#4#5\endcsname
554
+ \parbox[\f@nch@align@@v]{#2}%
555
+ {%
556
+ \f@nch@align@@pre
557
+ \f@nch@align@@h\leavevmode\ignorespaces#1%
558
+ \f@nch@align@@post
559
+ }%
560
+ }
561
+ \newcommand\f@nch@parbox@align[2]{%
562
+ \def\f@nch@align@@pre{}%
563
+ \def\f@nch@align@@post{}%
564
+ \csname f@nch@parbox@align@v#1\endcsname
565
+ \csname f@nch@parbox@align@h#2\endcsname
566
+ }
567
+ \def\f@nch@parbox@align@vT{\def\f@nch@align@@v{t}\def\f@nch@align@@pre{\vspace{0pt}}}
568
+ \def\f@nch@parbox@align@vt{\def\f@nch@align@@v{t}}
569
+ \def\f@nch@parbox@align@vc{\def\f@nch@align@@v{c}}
570
+ \def\f@nch@parbox@align@vb{\def\f@nch@align@@v{b}}
571
+ \def\f@nch@parbox@align@vB{\def\f@nch@align@@v{b}\def\f@nch@align@@post{\vspace{0pt}}}
572
+ \def\f@nch@parbox@align@hl{\def\f@nch@align@@h{\raggedright}}
573
+ \def\f@nch@parbox@align@hc{\def\f@nch@align@@h{\centering}}
574
+ \def\f@nch@parbox@align@hr{\def\f@nch@align@@h{\raggedleft}}
575
+ \def\f@nch@parbox@align@hj{\def\f@nch@align@@h{}}
576
+ \@ifundefined{@chapapp}{\let\@chapapp\chaptername}{}%
577
+ \def\f@nch@initialise{%
578
+ \@ifundefined{chapter}%
579
+ {\def\sectionmark##1{\markboth{\MakeUppercase{\ifnum \c@secnumdepth>\z@
580
+ \thesection\hskip 1em\relax
581
+ \fi ##1}}{}}%
582
+ \def\subsectionmark##1{\markright {\ifnum \c@secnumdepth >\@ne
583
+ \thesubsection\hskip 1em\relax \fi ##1}}}%
584
+ {\def\chaptermark##1{\markboth {\MakeUppercase{\ifnum
585
+ \c@secnumdepth>\m@ne \@chapapp\ \thechapter. \ \fi ##1}}{}}%
586
+ \def\sectionmark##1{\markright{\MakeUppercase{\ifnum \c@secnumdepth >\z@
587
+ \thesection. \ \fi ##1}}}%
588
+ }%
589
+ \def\headrule{{\if@fancyplain\let\headrulewidth\plainheadrulewidth\fi
590
+ \hrule\@height\headrulewidth\@width\headwidth
591
+ \vskip-\headrulewidth}}%
592
+ \def\footrule{{\if@fancyplain\let\footrulewidth\plainfootrulewidth\fi
593
+ \hrule\@width\headwidth\@height\footrulewidth}}%
594
+ \def\headrulewidth{0.4pt}%
595
+ \def\footrulewidth{0pt}%
596
+ \def\headruleskip{0pt}%
597
+ \def\footruleskip{0.3\normalbaselineskip}%
598
+ \fancyhf{}%
599
+ \if@twoside
600
+ \fancyhead[el,or]{\fancyplain{}{\slshape\rightmark}}%
601
+ \fancyhead[er,ol]{\fancyplain{}{\slshape\leftmark}}%
602
+ \else
603
+ \fancyhead[l]{\fancyplain{}{\slshape\rightmark}}%
604
+ \fancyhead[r]{\fancyplain{}{\slshape\leftmark}}%
605
+ \fi
606
+ \fancyfoot[c]{\rmfamily\thepage}% page number
607
+ }
608
+ \f@nch@initialise
609
+ \def\ps@f@nch@fancyproto{%
610
+ \ifdim\headwidth<0sp
611
+ \global\advance\headwidth123456789sp\global\advance\headwidth\textwidth
612
+ \fi
613
+ \gdef\ps@f@nch@fancyproto{\@fancyplainfalse\ps@f@nch@fancycore}%
614
+ \@fancyplainfalse\ps@f@nch@fancycore
615
+ }%
616
+ \@namedef{f@nch@ps@f@nch@fancyproto-is-fancyhdr}{}
617
+ \def\ps@fancy{\ps@f@nch@fancyproto}
618
+ \@namedef{f@nch@ps@fancy-is-fancyhdr}{}
619
+ \def\ps@fancyplain{\ps@f@nch@fancyproto \let\ps@plain\ps@plain@fancy}
620
+ \def\ps@plain@fancy{\@fancyplaintrue\ps@f@nch@fancycore}
621
+ \let\f@nch@ps@empty\ps@empty
622
+ \def\ps@f@nch@fancycore{%
623
+ \f@nch@ps@empty
624
+ \def\@mkboth{\protect\markboth}%
625
+ \def\f@nch@oddhead{\f@nch@head\f@nch@Oolh\f@nch@olh\f@nch@och\f@nch@orh\f@nch@Oorh{o}}%
626
+ \def\@oddhead{%
627
+ \iff@nch@twoside
628
+ \ifodd\c@page
629
+ \f@nch@oddhead
630
+ \else
631
+ \@evenhead
632
+ \fi
633
+ \else
634
+ \f@nch@oddhead
635
+ \fi
636
+ }
637
+ \def\f@nch@oddfoot{\f@nch@foot\f@nch@Oolf\f@nch@olf\f@nch@ocf\f@nch@orf\f@nch@Oorf{o}}%
638
+ \def\@oddfoot{%
639
+ \iff@nch@twoside
640
+ \ifodd\c@page
641
+ \f@nch@oddfoot
642
+ \else
643
+ \@evenfoot
644
+ \fi
645
+ \else
646
+ \f@nch@oddfoot
647
+ \fi
648
+ }
649
+ \def\@evenhead{\f@nch@head\f@nch@Oelh\f@nch@elh\f@nch@ech\f@nch@erh\f@nch@Oerh{e}}%
650
+ \def\@evenfoot{\f@nch@foot\f@nch@Oelf\f@nch@elf\f@nch@ecf\f@nch@erf\f@nch@Oerf{e}}%
651
+ }
652
+ \def\f@nch@Oolh{\if@reversemargin\hss\else\relax\fi}
653
+ \def\f@nch@Oorh{\if@reversemargin\relax\else\hss\fi}
654
+ \let\f@nch@Oelh\f@nch@Oorh
655
+ \let\f@nch@Oerh\f@nch@Oolh
656
+ \let\f@nch@Oolf\f@nch@Oolh
657
+ \let\f@nch@Oorf\f@nch@Oorh
658
+ \let\f@nch@Oelf\f@nch@Oelh
659
+ \let\f@nch@Oerf\f@nch@Oerh
660
+ \def\f@nch@offsolh{\headwidth=\textwidth\advance\headwidth\f@nch@offset@olh
661
+ \advance\headwidth\f@nch@offset@orh\hskip-\f@nch@offset@olh}
662
+ \def\f@nch@offselh{\headwidth=\textwidth\advance\headwidth\f@nch@offset@elh
663
+ \advance\headwidth\f@nch@offset@erh\hskip-\f@nch@offset@elh}
664
+ \def\f@nch@offsolf{\headwidth=\textwidth\advance\headwidth\f@nch@offset@olf
665
+ \advance\headwidth\f@nch@offset@orf\hskip-\f@nch@offset@olf}
666
+ \def\f@nch@offself{\headwidth=\textwidth\advance\headwidth\f@nch@offset@elf
667
+ \advance\headwidth\f@nch@offset@erf\hskip-\f@nch@offset@elf}
668
+ \def\f@nch@setoffs{%
669
+ \f@nch@gbl\let\headwidth\f@nch@headwidth
670
+ \f@nch@gbl\def\f@nch@Oolh{\f@nch@offsolh}%
671
+ \f@nch@gbl\def\f@nch@Oelh{\f@nch@offselh}%
672
+ \f@nch@gbl\def\f@nch@Oorh{\hss}%
673
+ \f@nch@gbl\def\f@nch@Oerh{\hss}%
674
+ \f@nch@gbl\def\f@nch@Oolf{\f@nch@offsolf}%
675
+ \f@nch@gbl\def\f@nch@Oelf{\f@nch@offself}%
676
+ \f@nch@gbl\def\f@nch@Oorf{\hss}%
677
+ \f@nch@gbl\def\f@nch@Oerf{\hss}%
678
+ }
679
+ \newif\iff@nch@footnote
680
+ \AtBeginDocument{%
681
+ \let\latex@makecol\@makecol
682
+ \def\@makecol{\ifvoid\footins\f@nch@footnotefalse\else\f@nch@footnotetrue\fi
683
+ \let\f@nch@topfloat\@toplist\let\f@nch@botfloat\@botlist\latex@makecol}%
684
+ }
685
+ \newcommand\iftopfloat[2]{\ifx\f@nch@topfloat\@empty #2\else #1\fi}%
686
+ \newcommand\ifbotfloat[2]{\ifx\f@nch@botfloat\@empty #2\else #1\fi}%
687
+ \newcommand\iffloatpage[2]{\if@fcolmade #1\else #2\fi}%
688
+ \newcommand\iffootnote[2]{\iff@nch@footnote #1\else #2\fi}%
689
+ \ifx\@temptokenb\undefined \csname newtoks\endcsname\@temptokenb\fi
690
+ \newif\iff@nch@pagestyle@star
691
+ \newcommand\fancypagestyle{%
692
+ \@ifstar{\f@nch@pagestyle@startrue\f@nch@pagestyle}%
693
+ {\f@nch@pagestyle@starfalse\f@nch@pagestyle}%
694
+ }
695
+ \newcommand\f@nch@pagestyle[1]{%
696
+ \@ifnextchar[{\f@nch@@pagestyle{#1}}{\f@nch@@pagestyle{#1}[f@nch@fancyproto]}%
697
+ }
698
+ \long\def\f@nch@@pagestyle#1[#2]#3{%
699
+ \@ifundefined{ps@#2}{%
700
+ \PackageError{fancyhdr}{\string\fancypagestyle: Unknown base page style `#2'}{}%
701
+ }{%
702
+ \@ifundefined{f@nch@ps@#2-is-fancyhdr}{%
703
+ \PackageError{fancyhdr}{\string\fancypagestyle: Base page style `#2' is not fancyhdr-based}{}%
704
+ }%
705
+ {%
706
+ \f@nch@pagestyle@setup
707
+ \def\temp@b{\@namedef{ps@#1}}%
708
+ \expandafter\temp@b\expandafter{\the\@temptokenb
709
+ \let\f@nch@gbl\relax\@nameuse{ps@#2}#3\relax}%
710
+ \@namedef{f@nch@ps@#1-is-fancyhdr}{}%
711
+ }%
712
+ }%
713
+ }
714
+ \newcommand\f@nch@pagestyle@setup{%
715
+ \iff@nch@pagestyle@star
716
+ \iff@nch@check\@temptokenb={\f@nch@checktrue}\else\@temptokenb={\f@nch@checkfalse}\fi
717
+ \@tfor\temp@a:=
718
+ \f@nch@olh\f@nch@och\f@nch@orh\f@nch@elh\f@nch@ech\f@nch@erh
719
+ \f@nch@olf\f@nch@ocf\f@nch@orf\f@nch@elf\f@nch@ecf\f@nch@erf
720
+ \f@nch@width@elh\f@nch@width@ech\f@nch@width@erh\f@nch@width@olh
721
+ \f@nch@width@och\f@nch@width@orh\f@nch@width@elf\f@nch@width@ecf
722
+ \f@nch@width@erf\f@nch@width@olf\f@nch@width@ocf\f@nch@width@orf
723
+ \f@nch@align@elh\f@nch@align@ech\f@nch@align@erh\f@nch@align@olh
724
+ \f@nch@align@och\f@nch@align@orh\f@nch@align@elf\f@nch@align@ecf
725
+ \f@nch@align@erf\f@nch@align@olf\f@nch@align@ocf\f@nch@align@orf
726
+ \f@nch@Oolh\f@nch@Oorh\f@nch@Oelh\f@nch@Oerh
727
+ \f@nch@Oolf\f@nch@Oorf\f@nch@Oelf\f@nch@Oerf
728
+ \f@nch@headinit\f@nch@footinit
729
+ \headrule\headrulewidth\footrule\footrulewidth
730
+ \do {%
731
+ \toks@=\expandafter\expandafter\expandafter{\temp@a}%
732
+ \toks@=\expandafter\expandafter\expandafter{%
733
+ \expandafter\expandafter\expandafter\def
734
+ \expandafter\expandafter\temp@a\expandafter{\the\toks@}}%
735
+ \edef\temp@b{\@temptokenb={\the\@temptokenb\the\toks@}}%
736
+ \temp@b
737
+ }%
738
+ \@tfor\temp@a:=
739
+ \f@nch@offset@olh\f@nch@offset@orh\f@nch@offset@elh\f@nch@offset@erh
740
+ \f@nch@offset@olf\f@nch@offset@orf\f@nch@offset@elf\f@nch@offset@erf
741
+ \do {%
742
+ \toks@=\expandafter\expandafter\expandafter{\expandafter\the\temp@a}%
743
+ \toks@=\expandafter\expandafter\expandafter{%
744
+ \expandafter\expandafter\expandafter\setlength
745
+ \expandafter\expandafter\temp@a\expandafter{\the\toks@}}%
746
+ \edef\temp@b{\@temptokenb={\the\@temptokenb\the\toks@}}%
747
+ \temp@b
748
+ }%
749
+ \else
750
+ \@temptokenb={}%
751
+ \fi
752
+ }
753
+ \newcommand\fancypagestyleassign[2]{%
754
+ \@ifundefined{ps@#2}{%
755
+ \PackageError{fancyhdr}{\string\fancypagestyleassign: Unknown page style `#2'}{}%
756
+ }{%
757
+ \expandafter\let
758
+ \csname ps@#1\expandafter\endcsname
759
+ \csname ps@#2\endcsname
760
+ \@ifundefined{f@nch@ps@#2-is-fancyhdr}{%
761
+ \expandafter\let\csname f@nch@ps@#1-is-fancyhdr\endcsname\@undefined
762
+ }{%
763
+ \@namedef{f@nch@ps@#1-is-fancyhdr}{}%
764
+ }%
765
+ }%
766
+ }
767
+ \fancypagestyle*{fancydefault}{\f@nch@initialise}
768
+ \def\f@nchdrbox@topstrut{\vrule height\ht\strutbox width\z@}
769
+ \def\f@nchdrbox@botstrut{\vrule depth\dp\strutbox width\z@}
770
+ \def\f@nchdrbox@nostrut{\noalign{\vspace{0pt}}\let\f@nchdrbox@@crstrut\f@nchdrbox@botstrut}
771
+ \NewDocumentCommand{\fancyhdrbox}{ O{cl} o m }{%
772
+ \begingroup
773
+ \let\f@nchdrbox@@pre\f@nchdrbox@topstrut
774
+ \let\f@nchdrbox@@postx\f@nchdrbox@botstrut
775
+ \let\f@nchdrbox@@posty\relax
776
+ \let\f@nchdrbox@@crstrut\strut
777
+ \IfNoValueTF{#2}%
778
+ {\let\f@nchdrbox@@halignto\@empty}%
779
+ {\setlength\@tempdima{#2}%
780
+ \def\f@nchdrbox@@halignto{to\@tempdima}}%
781
+ \def\@tempa{#1}%
782
+ \ifx\@tempa\@empty
783
+ \f@nchdrbox@align cl\@nil{#3}%
784
+ \else
785
+ \f@nchdrbox@align #1\@nil{#3}%
786
+ \fi
787
+ \endgroup
788
+ }
789
+ \protected\def\f@nchdrbox@cr{%
790
+ {\ifnum0=`}\fi\@ifstar\@f@nchdrbox@xcr\@f@nchdrbox@xcr}
791
+
792
+ \def\@f@nchdrbox@xcr{%
793
+ \unskip\f@nchdrbox@@crstrut
794
+ \@ifnextchar[\@f@nchdrbox@argc{\ifnum0=`{\fi}\cr}%
795
+ }
796
+
797
+ \def\@f@nchdrbox@argc[#1]{%
798
+ \ifnum0=`{\fi}%
799
+ \ifdim #1>\z@
800
+ \unskip\@f@nchdrbox@xargc{#1}%
801
+ \else
802
+ \@f@nchdrbox@yargc{#1}%
803
+ \fi}
804
+
805
+ \def\@f@nchdrbox@xargc#1{\@tempdima #1\advance\@tempdima \dp \strutbox
806
+ \vrule \@height\z@ \@depth\@tempdima \@width\z@ \cr}
807
+
808
+ \def\@f@nchdrbox@yargc#1{\cr\noalign{\setlength\@tempdima{#1}\vskip\@tempdima}}
809
+ \def\f@nchdrbox@T{\let\f@nchdrbox@@pre\f@nchdrbox@nostrut
810
+ \f@nchdrbox@t}
811
+ \def\f@nchdrbox@t{\def\f@nchdrbox@@v{t}\def\f@nchdrbox@@h{l}}
812
+ \def\f@nchdrbox@c{\def\f@nchdrbox@@v{c}\def\f@nchdrbox@@h{c}}
813
+ \def\f@nchdrbox@b{\def\f@nchdrbox@@v{b}\def\f@nchdrbox@@h{l}}
814
+ \def\f@nchdrbox@B{\let\f@nchdrbox@@postx\relax
815
+ \def\f@nchdrbox@@posty{\vspace{0pt}}%
816
+ \f@nchdrbox@b}
817
+ \long\def\f@nchdrbox@align#1#2\@nil#3{%
818
+ \f@nch@ifin{#1}{TtcbB}{%
819
+ \@nameuse{f@nchdrbox@#1}%
820
+ \def\@tempa{#2}%
821
+ \ifx\@tempa\@empty\else \def\f@nchdrbox@@h{#2}\fi
822
+ }%
823
+ {\def\f@nchdrbox@@v{c}\def\f@nchdrbox@@h{#1}}%
824
+ \expandafter\f@nch@ifin\expandafter{\f@nchdrbox@@h}{lcr}{}%
825
+ {\PackageError{fancyhdr}{\string\fancyhdrbox: Illegal char `\f@nchdrbox@@h'\MessageBreak
826
+ in alignment argument}{}}%
827
+ \let\\\f@nchdrbox@cr
828
+ \setbox0=\if \f@nchdrbox@@v t\vtop
829
+ \else \vbox
830
+ \fi
831
+ {%
832
+ \ialign \f@nchdrbox@@halignto
833
+ \bgroup \relax
834
+ {\if \f@nchdrbox@@h l\hskip 1sp\else \hfil \fi
835
+ \ignorespaces ##\unskip
836
+ \if\f@nchdrbox@@h r\else \hfil \fi
837
+ }%
838
+ \tabskip\z@skip \cr
839
+ \f@nchdrbox@@pre
840
+ #3\unskip \f@nchdrbox@@postx
841
+ \crcr
842
+ \egroup
843
+ \f@nchdrbox@@posty
844
+ }%
845
+ \if\f@nchdrbox@@v c\@tempdima=\ht0\advance\@tempdima\dp0%
846
+ \ht0=0.5\@tempdima\dp0=0.5\@tempdima\fi
847
+ \leavevmode \box0
848
+ }
849
+ \@ifclassloaded{newlfm}
850
+ {
851
+ \let\ps@@empty\f@nch@ps@empty
852
+ \AtBeginDocument{%
853
+ \renewcommand{\@zfancyhead}[5]{\relax\hbox to\headwidth{\f@nch@reset
854
+ \@zfancyvbox\headheight{\hbox
855
+ {\rlap{\parbox[b]{\headwidth}{\raggedright\f@nch@olh}}\hfill
856
+ \parbox[b]{\headwidth}{\centering\f@nch@olh}\hfill
857
+ \llap{\parbox[b]{\headwidth}{\raggedleft\f@nch@orh}}}%
858
+ \zheadrule}}\relax}%
859
+ }
860
+ }
861
+ {}
862
+ \endinput
863
+ %%
864
+ %% End of file `fancyhdr.sty'.
icml2026/figs/adaece_cifar_figure.pdf ADDED
Binary file (11.6 kB). View file
 
icml2026/figs/adaece_imagenet_c_figure.pdf ADDED
Binary file (12.2 kB). View file
 
icml2026/figs/adaece_imagenet_figure.pdf ADDED
Binary file (13.8 kB). View file
 
icml2026/figs/adaece_imagenet_lt_figure.pdf ADDED
Binary file (13.7 kB). View file
 
icml2026/figs/adaece_imagenet_sketch_figure.pdf ADDED
Binary file (12.6 kB). View file
 
icml2026/figs/adaece_main_figure.pdf ADDED
Binary file (14.9 kB). View file
 
icml2026/figs/bin_count_smart.pdf ADDED
Binary file (16.5 kB). View file
 
icml2026/figs/calibration_methods_comparison_imagenet_vit_b_32.pdf ADDED
Binary file (18.7 kB). View file
 
icml2026/figs/calibration_plot_a.pdf ADDED
Binary file (16.1 kB). View file
 
icml2026/figs/calibration_plot_b.pdf ADDED
Binary file (10.8 kB). View file
 
icml2026/figs/combined_charts.pdf ADDED
Binary file (22.5 kB). View file
 
icml2026/figs/combined_reliability_plot.pdf ADDED
Binary file (15.6 kB). View file
 
icml2026/figs/ece_bins.png ADDED
icml2026/figs/gradient_norm_evolution_vit_b_16.pdf ADDED
Binary file (20.7 kB). View file
 
icml2026/figs/group_1_reliability_imagenet_vit_b_16.pdf ADDED
Binary file (12.7 kB). View file
 
icml2026/figs/group_3_reliability.pdf ADDED
Binary file (12.5 kB). View file
 
icml2026/figs/group_3_reliability_ciafr100_resnet50.pdf ADDED
Binary file (12.5 kB). View file
 
icml2026/figs/group_3_reliability_imagenet_vit_b_16.pdf ADDED
Binary file (12.6 kB). View file
 
icml2026/figs/group_5_reliability.pdf ADDED
Binary file (12.5 kB). View file
 
icml2026/figs/group_8_reliability.pdf ADDED
Binary file (12.5 kB). View file
 
icml2026/figs/hardness_vs_margin_cifar10_airplane_vs_automobile_filtered.pdf ADDED
Binary file (39.1 kB). View file
 
icml2026/figs/logitsgap_temperature_density_map_resnet50.pdf ADDED
Binary file (36.8 kB). View file
 
icml2026/figs/logitsgap_temperature_density_map_vit_b_16.pdf ADDED
Binary file (38.8 kB). View file
 
icml2026/figs/logitsgap_vs_confidence_change.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:761bf2e01ccfe34bc0fe0026e0541276d3011c3293463727f89ad03bdd844fef
3
+ size 1905210
icml2026/figs/metrics_imagenet_resnet50.pdf ADDED
Binary file (13.1 kB). View file
 
icml2026/figs/mismatch_ce_softece.pdf ADDED
Binary file (34.7 kB). View file
 
icml2026/figs/numerical_conf.pdf ADDED
Binary file (69.2 kB). View file
 
icml2026/figs/numerical_margin.pdf ADDED
Binary file (66 kB). View file
 
icml2026/figs/numerical_max_logit.pdf ADDED
Binary file (69.7 kB). View file
 
icml2026/figs/numerical_normed_max_logit.pdf ADDED
Binary file (70 kB). View file
 
icml2026/figs/overall_reliability.pdf ADDED
Binary file (12.6 kB). View file
 
icml2026/figs/overall_reliability_ciafr100_resnet50.pdf ADDED
Binary file (12.7 kB). View file
 
icml2026/figs/overall_reliability_imagenet_vit_b_16.pdf ADDED
Binary file (12.7 kB). View file
 
icml2026/figs/resnet50_adaece_reduced_error.pdf ADDED
Binary file (17.5 kB). View file
 
icml2026/figs/resnet50_ece_reduced_error.pdf ADDED
Binary file (17.4 kB). View file
 
icml2026/figs/sgd_loss_comparison_imagenet_vit_b_32.pdf ADDED
Binary file (19.6 kB). View file
 
icml2026/figs/train_loss_convergence_vit_b_16.pdf ADDED
Binary file (18.8 kB). View file
 
icml2026/figs/validation_and_bin_sensitivity.pdf ADDED
Binary file (21.1 kB). View file
 
icml2026/figs/validation_size_vs_losses.pdf ADDED
Binary file (15.7 kB). View file
 
icml2026/figs/vector_vs_scalar_loss_curves.pdf ADDED
Binary file (23.1 kB). View file
 
icml2026/figs/vit_b_16_adaece_reduced_error.pdf ADDED
Binary file (17.5 kB). View file
 
icml2026/figs/vit_b_16_ece_reduced_error.pdf ADDED
Binary file (17.5 kB). View file
 
icml2026/icml2026.bib ADDED
@@ -0,0 +1,1223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @misc{zwaan2019bridging,
2
+ title={Bridging the gap between uncertainty, confidence and diagnostic accuracy: calibration is key},
3
+ author={Zwaan, Laura and Hautz, Wolf E},
4
+ journal={BMJ quality \& safety},
5
+ volume={28},
6
+ number={5},
7
+ pages={352--355},
8
+ year={2019},
9
+ publisher={BMJ Publishing Group Ltd}
10
+ }
11
+
12
+
13
+
14
+
15
+
16
+ @inproceedings{luo2025beyond,
17
+ added-at = {2025-12-05T00:00:00.000+0100},
18
+ author = {Luo, Haoyang and Tao, Linwei and Dong, Minjing and Xu, Chang},
19
+ biburl = {https://www.bibsonomy.org/bibtex/2ff6f9571f60a72e2d6b71dcae9c0d0f9/dblp},
20
+ booktitle = {ICML},
21
+ ee = {https://openreview.net/forum?id=zDZkyvZqFR},
22
+ interhash = {58681d87ddf6d793599ce25fe4bdffed},
23
+ intrahash = {ff6f9571f60a72e2d6b71dcae9c0d0f9},
24
+ keywords = {dblp},
25
+ publisher = {OpenReview.net},
26
+ timestamp = {2025-12-08T09:10:01.000+0100},
27
+ title = {Beyond One-Hot Labels: Semantic Mixing for Model Calibration.},
28
+ url = {http://dblp.uni-trier.de/db/conf/icml/icml2025.html#LuoTD025},
29
+ year = 2025
30
+ }
31
+
32
+
33
+ @inproceedings{tao2023dual,
34
+ title={Dual focal loss for calibration},
35
+ author={Tao, Linwei and Dong, Minjing and Xu, Chang},
36
+ booktitle={International Conference on Machine Learning},
37
+ pages={33833--33849},
38
+ year={2023},
39
+ organization={PMLR}
40
+ }
41
+
42
+ @inproceedings{gupta2021calibration,
43
+ title={Calibration of neural networks using splines},
44
+ author={Gupta, Kartik and Rahimi, Amir and Ajanthan, Thalaiyasingam and Mensink, Thomas and Sminchisescu, Cristian and Hartley, Richard},
45
+ booktitle={International Conference on Learning Representations},
46
+ year={2021}
47
+ }
48
+
49
+ @article{yang2023beyond,
50
+ title={Beyond probability partitions: Calibrating neural networks with semantic aware grouping},
51
+ author={Yang, Jia-Qi and Zhan, De-Chuan and Gan, Le},
52
+ journal={Advances in Neural Information Processing Systems},
53
+ volume={36},
54
+ pages={58448--58460},
55
+ year={2023}
56
+ }
57
+ @inproceedings{hendrycks2019benchmarking,
58
+ title={Benchmarking Neural Network Robustness to Common Corruptions and Perturbations},
59
+ author={Hendrycks, Dan and Dietterich, Thomas},
60
+ booktitle={International Conference on Learning Representations (ICLR)},
61
+ year={2019}
62
+ }
63
+ @inproceedings{kakade2004deterministic,
64
+ title={Deterministic calibration and Nash equilibrium},
65
+ author={Kakade, Sham M and Foster, Dean P},
66
+ booktitle={International Conference on Computational Learning Theory},
67
+ pages={33--48},
68
+ year={2004},
69
+ organization={Springer}
70
+ }
71
+ @inproceedings{dosovitskiy2021an,
72
+ title={An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale},
73
+ author={Dosovitskiy, Alexey and Beyer, Lucas and Kolesnikov, Alexander and Weissenborn, Dirk and Zhai, Xiaohua and Unterthiner, Thomas and Dehghani, Mostafa and Minderer, Matthias and Heigold, Georg and Gelly, Sylvain and Uszkoreit, Jakob and Houlsby, Neil},
74
+ booktitle={International Conference on Learning Representations},
75
+ year={2021}
76
+ }
77
+ @article{blasiok2023does,
78
+ title={When does optimizing a proper loss yield calibration?},
79
+ author={Blasiok, Jaroslaw and Gopalan, Parikshit and Hu, Lunjia and Nakkiran, Preetum},
80
+ journal={Advances in Neural Information Processing Systems},
81
+ volume={36},
82
+ pages={72071--72095},
83
+ year={2023}
84
+ }
85
+ @inproceedings{liu2019large,
86
+ title={Large-scale long-tailed recognition in an open world},
87
+ author={Liu, Ziwei and Miao, Zhongqi and Zhan, Xiaohang and Wang, Jiayun and Gong, Boqing and Yu, Stella X},
88
+ booktitle={Proceedings of the IEEE/CVF conference on computer vision and pattern recognition},
89
+ pages={2537--2546},
90
+ year={2019}
91
+ }
92
+ @inproceedings{liu2021swin,
93
+ title={Swin transformer: Hierarchical vision transformer using shifted windows},
94
+ author={Liu, Ze and Lin, Yutong and Cao, Yue and Hu, Han and Wei, Yixuan and Zhang, Zheng and Lin, Stephen and Guo, Baining},
95
+ booktitle={Proceedings of the IEEE/CVF international conference on computer vision},
96
+ pages={10012--10022},
97
+ year={2021}
98
+ }
99
+ @article{paszke2019pytorch,
100
+ title={Pytorch: An imperative style, high-performance deep learning library},
101
+ author={Paszke, Adam and Gross, Sam and Massa, Francisco and Lerer, Adam and Bradbury, James and Chanan, Gregory and Killeen, Trevor and Lin, Zeming and Gimelshein, Natalia and Antiga, Luca and others},
102
+ journal={Advances in neural information processing systems},
103
+ volume={32},
104
+ year={2019}
105
+ }
106
+ @article{wang2019learning,
107
+ title={Learning robust global representations by penalizing local predictive power},
108
+ author={Wang, Haohan and Ge, Songwei and Lipton, Zachary and Xing, Eric P},
109
+ journal={Advances in neural information processing systems},
110
+ volume={32},
111
+ year={2019}
112
+ }
113
+ @article{xiong2024proximity,
114
+ title={Proximity-informed calibration for deep neural networks},
115
+ author={Xiong, Miao and Deng, Ailin and Koh, Pang Wei W and Wu, Jiaying and Li, Shen and Xu, Jianqing and Hooi, Bryan},
116
+ journal={Advances in Neural Information Processing Systems},
117
+ volume={36},
118
+ pages={68511--68538},
119
+ year={2024}
120
+ }
121
+ @inproceedings{tao2025feature,
122
+ title={Feature clipping for uncertainty calibration},
123
+ author={Tao, Linwei and Dong, Minjing and Xu, Chang},
124
+ booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
125
+ volume={39},
126
+ number={19},
127
+ pages={20841--20849},
128
+ year={2025}
129
+ }
130
+
131
+ @inproceedings{frenkel2021network,
132
+ title={Network calibration by class-based temperature scaling},
133
+ author={Frenkel, Lior and Goldberger, Jacob},
134
+ booktitle={2021 29th European Signal Processing Conference (EUSIPCO)},
135
+ pages={1486--1490},
136
+ year={2021},
137
+ organization={IEEE}
138
+ }
139
+ @inproceedings{tomani2022parameterized,
140
+ title={Parameterized temperature scaling for boosting the expressive power in post-hoc uncertainty calibration},
141
+ author={Tomani, Christian and Cremers, Daniel and Buettner, Florian},
142
+ booktitle={European conference on computer vision},
143
+ pages={555--569},
144
+ year={2022},
145
+ organization={Springer}
146
+ }
147
+ @article{goodfellow2014explaining,
148
+ title={Explaining and harnessing adversarial examples},
149
+ author={Goodfellow, Ian J and Shlens, Jonathon and Szegedy, Christian},
150
+ journal={arXiv preprint arXiv:1412.6572},
151
+ year={2014}
152
+ }
153
+ @inproceedings{ding2021local,
154
+ title={Local Temperature Scaling for Probability Calibration},
155
+ author={Ding, Zhipeng and Han, Xu and Liu, Peirong and Niethammer, Marc},
156
+ booktitle={International Conference on Computer Vision},
157
+ year={2021}
158
+ }
159
+ @inproceedings{hendrycksaugmix,
160
+ title={AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty},
161
+ author={Hendrycks, Dan and Mu, Norman and Cubuk, Ekin Dogus and Zoph, Barret and Gilmer, Justin and Lakshminarayanan, Balaji},
162
+ booktitle={International Conference on Learning Representations},
163
+ year={2019}
164
+ }
165
+ @inproceedings{wei2022mitigating,
166
+ title={Mitigating neural network overconfidence with logit normalization},
167
+ author={Wei, Hongxin and Xie, Renchunzi and Cheng, Hao and Feng, Lei and An, Bo and Li, Yixuan},
168
+ booktitle={International conference on machine learning},
169
+ pages={23631--23644},
170
+ year={2022},
171
+ organization={PMLR}
172
+ }
173
+
174
+ @article{feng2019trust,
175
+ title={Can We Trust You? On Calibration of a Probabilistic Object Detector for Autonomous Driving},
176
+ author={Di Feng and Lars Rosenbaum and Claudius Glaeser and Fabian Timm and Klaus C. J. Dietmayer},
177
+ journal={ArXiv},
178
+ year={2019},
179
+ volume={abs/1909.12358},
180
+ url={https://api.semanticscholar.org/CorpusID:203591605}
181
+ }
182
+
183
+
184
+ @inproceedings{caruana2015intelligible,
185
+ title={Intelligible models for healthcare: Predicting pneumonia risk and hospital 30-day readmission},
186
+ author={Caruana, Rich and Lou, Yin and Gehrke, Johannes and Koch, Paul and Sturm, Marc and Elhadad, Noemie},
187
+ booktitle={Proceedings of the 21th ACM SIGKDD international conference on knowledge discovery and data mining},
188
+ pages={1721--1730},
189
+ year={2015}
190
+ }
191
+ @article{cortes1995support,
192
+ title={Support-vector networks},
193
+ author={Cortes, Corinna and Vapnik, Vladimir},
194
+ journal={Machine learning},
195
+ volume={20},
196
+ number={3},
197
+ pages={273--297},
198
+ year={1995},
199
+ publisher={Springer}
200
+ }
201
+ @article{hadsell2006dimensionality,
202
+ title={Dimensionality reduction by learning an invariant mapping},
203
+ author={Hadsell, Raia and Chopra, Sumit and LeCun, Yann},
204
+ journal={IEEE transactions on pattern analysis and machine intelligence},
205
+ volume={28},
206
+ number={11},
207
+ pages={185--190},
208
+ year={2006},
209
+ publisher={IEEE}
210
+ }
211
+ @inproceedings{schroff2015facenet,
212
+ title={FaceNet: A unified embedding for face recognition and clustering},
213
+ author={Schroff, Florian and Kalenichenko, Dmitry and Philbin, James},
214
+ booktitle={Proceedings of the IEEE conference on computer vision and pattern recognition},
215
+ pages={815--823},
216
+ year={2015}
217
+ }
218
+ @article{weston2011wsabie,
219
+ title={Wsabie: Scaling up to large vocabulary image annotation},
220
+ author={Weston, Jason and Bengio, Samy},
221
+ journal={Journal of machine learning research},
222
+ volume={12},
223
+ number={Feb},
224
+ pages={2177--2204},
225
+ year={2011}
226
+ }
227
+ @article{gruber2022better,
228
+ title={Better uncertainty calibration via proper scores for classification and beyond},
229
+ author={Gruber, Sebastian and Buettner, Florian},
230
+ journal={Advances in Neural Information Processing Systems},
231
+ volume={35},
232
+ pages={8618--8632},
233
+ year={2022}
234
+ }
235
+ @article{popordanoska2022consistent,
236
+ title={A consistent and differentiable lp canonical calibration error estimator},
237
+ author={Popordanoska, Teodora and Sayer, Raphael and Blaschko, Matthew},
238
+ journal={Advances in Neural Information Processing Systems},
239
+ volume={35},
240
+ pages={7933--7946},
241
+ year={2022}
242
+ }
243
+ @article{lin2013network,
244
+ title={Network in network},
245
+ author={Lin, Min and Chen, Qiang and Yan, Shuicheng},
246
+ journal={arXiv preprint arXiv:1312.4400},
247
+ year={2013}
248
+ }
249
+ @techreport{joachims1996probabilistic,
250
+ title={A Probabilistic Analysis of the Rocchio Algorithm with TFIDF for Text Categorization.},
251
+ author={Joachims, Thorsten},
252
+ year={1996},
253
+ institution={Carnegie-mellon univ pittsburgh pa dept of computer science}
254
+ }
255
+ @misc{
256
+ ghosh2022adafocal,
257
+ title={AdaFocal: Calibration-aware Adaptive Focal Loss},
258
+ author={Arindam Ghosh and Thomas Schaaf and Matthew R. Gormley},
259
+ year={2022},
260
+ url={https://openreview.net/forum?id=CoMOKHYWf2}
261
+ }
262
+ @incollection{prechelt1998early,
263
+ title={Early stopping-but when?},
264
+ author={Prechelt, Lutz},
265
+ booktitle={Neural Networks: Tricks of the trade},
266
+ pages={55--69},
267
+ year={1998},
268
+ publisher={Springer}
269
+ }
270
+
271
+ @inproceedings{deng2009imagenet,
272
+ title={Imagenet: A large-scale hierarchical image database},
273
+ author={Deng, Jia and Dong, Wei and Socher, Richard and Li, Li-Jia and Li, Kai and Fei-Fei, Li},
274
+ booktitle={2009 IEEE conference on computer vision and pattern recognition},
275
+ pages={248--255},
276
+ year={2009},
277
+ organization={Ieee}
278
+ }
279
+ @inproceedings{huang2017densely,
280
+ title={Densely connected convolutional networks},
281
+ author={Huang, Gao and Liu, Zhuang and Van Der Maaten, Laurens and Weinberger, Kilian Q},
282
+ booktitle={Proceedings of the IEEE conference on computer vision and pattern recognition},
283
+ pages={4700--4708},
284
+ year={2017}
285
+ }
286
+ @article{muller2019does,
287
+ title={When does label smoothing help?},
288
+ author={M{\"u}ller, Rafael and Kornblith, Simon and Hinton, Geoffrey E},
289
+ journal={Advances in neural information processing systems},
290
+ volume={32},
291
+ year={2019}
292
+ }
293
+
294
+
295
+ @article{brier1950verification,
296
+ title={VERIFICATION OF FORECASTS EXPRESSED IN TERMS OF PROBABILITY},
297
+ author={Glenn W. Brier},
298
+ journal={Monthly Weather Review},
299
+ year={1950},
300
+ volume={78},
301
+ pages={1-3},
302
+ url={https://api.semanticscholar.org/CorpusID:122906757}
303
+ }
304
+
305
+
306
+ @InProceedings{kumar2018trainable,
307
+ title = {Trainable Calibration Measures for Neural Networks from Kernel Mean Embeddings},
308
+ author = {Kumar, Aviral and Sarawagi, Sunita and Jain, Ujjwal},
309
+ booktitle = {Proceedings of the 35th International Conference on Machine Learning},
310
+ pages = {2805--2814},
311
+ year = {2018},
312
+ editor = {Dy, Jennifer and Krause, Andreas},
313
+ volume = {80},
314
+ series = {Proceedings of Machine Learning Research},
315
+ month = {10--15 Jul},
316
+ publisher = {PMLR},
317
+ pdf = {http://proceedings.mlr.press/v80/kumar18a/kumar18a.pdf},
318
+ url = {https://proceedings.mlr.press/v80/kumar18a.html},
319
+ abstract = {Modern neural networks have recently been found to be poorly calibrated, primarily in the direction of over-confidence. Methods like entropy penalty and temperature smoothing improve calibration by clamping confidence, but in doing so compromise the many legitimately confident predictions. We propose a more principled fix that minimizes an explicit calibration error during training. We present MMCE, a RKHS kernel based measure of calibration that is efficiently trainable alongside the negative likelihood loss without careful hyper-parameter tuning. Theoretically too, MMCE is a sound measure of calibration that is minimized at perfect calibration, and whose finite sample estimates are consistent and enjoy fast convergence rates. Extensive experiments on several network architectures demonstrate that MMCE is a fast, stable, and accurate method to minimize calibration error while maximally preserving the number of high confidence predictions.}
320
+ }
321
+
322
+ @article{zagoruyko2016wide,
323
+ title={Wide residual networks},
324
+ author={Zagoruyko, Sergey and Komodakis, Nikos},
325
+ journal={arXiv preprint arXiv:1605.07146},
326
+ year={2016}
327
+ }
328
+ @inproceedings{he2016deep,
329
+ title={Deep residual learning for image recognition},
330
+ author={He, Kaiming and Zhang, Xiangyu and Ren, Shaoqing and Sun, Jian},
331
+ booktitle={Proceedings of the IEEE conference on computer vision and pattern recognition},
332
+ pages={770--778},
333
+ year={2016}
334
+ }
335
+ @article{krizhevsky2009learning,
336
+ title={Learning multiple layers of features from tiny images},
337
+ author={Krizhevsky, Alex and Hinton, Geoffrey and others},
338
+ year={2009},
339
+ publisher={Citeseer}
340
+ }
341
+ @inproceedings{szegedy2016rethinking,
342
+ title={Rethinking the inception architecture for computer vision},
343
+ author={Szegedy, Christian and Vanhoucke, Vincent and Ioffe, Sergey and Shlens, Jon and Wojna, Zbigniew},
344
+ booktitle={Proceedings of the IEEE conference on computer vision and pattern recognition},
345
+ pages={2818--2826},
346
+ year={2016}
347
+ }
348
+
349
+ @article{jang2016categorical,
350
+ title={Categorical reparameterization with gumbel-softmax},
351
+ author={Jang, Eric and Gu, Shixiang and Poole, Ben},
352
+ journal={arXiv preprint arXiv:1611.01144},
353
+ year={2016}
354
+ }
355
+ @incollection{miikkulainen2019evolving,
356
+ title={Evolving deep neural networks},
357
+ author={Miikkulainen, Risto and Liang, Jason and Meyerson, Elliot and Rawal, Aditya and Fink, Daniel and Francon, Olivier and Raju, Bala and Shahrzad, Hormoz and Navruzyan, Arshak and Duffy, Nigel and others},
358
+ booktitle={Artificial intelligence in the age of neural networks and brain computing},
359
+ pages={293--312},
360
+ year={2019},
361
+ publisher={Elsevier}
362
+ }
363
+ @inproceedings{naeini2015obtaining,
364
+ title={Obtaining well calibrated probabilities using bayesian binning},
365
+ author={Naeini, Mahdi Pakdaman and Cooper, Gregory and Hauskrecht, Milos},
366
+ booktitle={Twenty-Ninth AAAI Conference on Artificial Intelligence},
367
+ year={2015}
368
+ }
369
+ @InProceedings{pmlr-v119-li20c,
370
+ title = {Neural Architecture Search in A Proxy Validation Loss Landscape},
371
+ author = {Li, Yanxi and Dong, Minjing and Wang, Yunhe and Xu, Chang},
372
+ booktitle = {Proceedings of the 37th International Conference on Machine Learning},
373
+ pages = {5853--5862},
374
+ year = {2020},
375
+ editor = {III, Hal Daumé and Singh, Aarti},
376
+ volume = {119},
377
+ series = {Proceedings of Machine Learning Research},
378
+ month = {13--18 Jul},
379
+ publisher = {PMLR},
380
+ pdf = {http://proceedings.mlr.press/v119/li20c/li20c.pdf},
381
+ url = {https://proceedings.mlr.press/v119/li20c.html},
382
+ abstract = {This paper searches for the optimal neural architecture by minimizing a proxy of validation loss. Existing neural architecture search (NAS) methods used to discover the optimal neural architecture that best fits the validation examples given the up-to-date network weights. However, back propagation with a number of validation examples could be time consuming, especially when it needs to be repeated many times in NAS. Though these intermediate validation results are invaluable, they would be wasted if we cannot use them to predict the future from the past. In this paper, we propose to approximate the validation loss landscape by learning a mapping from neural architectures to their corresponding validate losses. The optimal neural architecture thus can be easily identified as the minimum of this proxy validation loss landscape. A novel sampling strategy is further developed for an efficient approximation of the loss landscape. Theoretical analysis indicates that the validation loss estimator learnt with our sampling strategy can reach a lower error rate and a lower label complexity compared with a uniform sampling. Experimental results on benchmarks demonstrate that the architecture searched by the proposed algorithm can achieve a satisfactory accuracy with less time cost.}
383
+ }
384
+
385
+ @inproceedings{guo2017calibration,
386
+ title={On calibration of modern neural networks},
387
+ author={Guo, Chuan and Pleiss, Geoff and Sun, Yu and Weinberger, Kilian Q},
388
+ booktitle={International conference on machine learning},
389
+ pages={1321--1330},
390
+ year={2017},
391
+ organization={PMLR}
392
+ }
393
+ @article{minderer2021revisiting,
394
+ title={Revisiting the calibration of modern neural networks},
395
+ author={Minderer, Matthias and Djolonga, Josip and Romijnders, Rob and Hubis, Frances and Zhai, Xiaohua and Houlsby, Neil and Tran, Dustin and Lucic, Mario},
396
+ journal={Advances in Neural Information Processing Systems},
397
+ volume={34},
398
+ pages={15682--15694},
399
+ year={2021}
400
+ }
401
+ @article{bojarski2016end,
402
+ title={End to end learning for self-driving cars},
403
+ author={Bojarski, Mariusz and Del Testa, Davide and Dworakowski, Daniel and Firner, Bernhard and Flepp, Beat and Goyal, Prasoon and Jackel, Lawrence D and Monfort, Mathew and Muller, Urs and Zhang, Jiakai and others},
404
+ journal={arXiv preprint arXiv:1604.07316},
405
+ year={2016}
406
+ }
407
+ @article{esteva2017dermatologist,
408
+ title={Dermatologist-level classification of skin cancer with deep neural networks},
409
+ author={Esteva, Andre and Kuprel, Brett and Novoa, Roberto A and Ko, Justin and Swetter, Susan M and Blau, Helen M and Thrun, Sebastian},
410
+ journal={nature},
411
+ volume={542},
412
+ number={7639},
413
+ pages={115--118},
414
+ year={2017},
415
+ publisher={Nature Publishing Group}
416
+ }
417
+ @article{sonderby2020metnet,
418
+ title={Metnet: A neural weather model for precipitation forecasting},
419
+ author={S{\o}nderby, Casper Kaae and Espeholt, Lasse and Heek, Jonathan and Dehghani, Mostafa and Oliver, Avital and Salimans, Tim and Agrawal, Shreya and Hickey, Jason and Kalchbrenner, Nal},
420
+ journal={arXiv preprint arXiv:2003.12140},
421
+ year={2020}
422
+ }
423
+ @article{degroot1983comparison,
424
+ title={The comparison and evaluation of forecasters},
425
+ author={DeGroot, Morris H and Fienberg, Stephen E},
426
+ journal={Journal of the Royal Statistical Society: Series D (The Statistician)},
427
+ volume={32},
428
+ number={1-2},
429
+ pages={12--22},
430
+ year={1983},
431
+ publisher={Wiley Online Library}
432
+ }
433
+
434
+ @article{goodfellow2013multi,
435
+ title={Multi-digit number recognition from street view imagery using deep convolutional neural networks},
436
+ author={Goodfellow, Ian J and Bulatov, Yaroslav and Ibarz, Julian and Arnoud, Sacha and Shet, Vinay},
437
+ journal={arXiv preprint arXiv:1312.6082},
438
+ year={2013}
439
+ }
440
+ @inproceedings{ding2020revisiting,
441
+ title={Revisiting the evaluation of uncertainty estimation and its application to explore model complexity-uncertainty trade-off},
442
+ author={Ding, Yukun and Liu, Jinglan and Xiong, Jinjun and Shi, Yiyu},
443
+ booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops},
444
+ pages={4--5},
445
+ year={2020}
446
+ }
447
+ @article{kumar2019verified,
448
+ title={Verified uncertainty calibration},
449
+ author={Kumar, Ananya and Liang, Percy S and Ma, Tengyu},
450
+ journal={Advances in Neural Information Processing Systems},
451
+ volume={32},
452
+ year={2019}
453
+ }
454
+ @inproceedings{nixon2019measuring,
455
+ title={Measuring Calibration in Deep Learning.},
456
+ author={Nixon, Jeremy and Dusenberry, Michael W and Zhang, Linchuan and Jerfel, Ghassen and Tran, Dustin},
457
+ booktitle={CVPR Workshops},
458
+ volume={2},
459
+ year={2019}
460
+ }
461
+ @article{hendrycks2018benchmarking,
462
+ title={Benchmarking neural network robustness to common corruptions and surface variations},
463
+ author={Hendrycks, Dan and Dietterich, Thomas G},
464
+ journal={arXiv preprint arXiv:1807.01697},
465
+ year={2018}
466
+ }
467
+ @article{ovadia2019can,
468
+ title={Can you trust your model's uncertainty? evaluating predictive uncertainty under dataset shift},
469
+ author={Ovadia, Yaniv and Fertig, Emily and Ren, Jie and Nado, Zachary and Sculley, David and Nowozin, Sebastian and Dillon, Joshua and Lakshminarayanan, Balaji and Snoek, Jasper},
470
+ journal={Advances in neural information processing systems},
471
+ volume={32},
472
+ year={2019}
473
+ }
474
+ @inproceedings{wenger2020non,
475
+ title={Non-parametric calibration for classification},
476
+ author={Wenger, Jonathan and Kjellstr{\"o}m, Hedvig and Triebel, Rudolph},
477
+ booktitle={International Conference on Artificial Intelligence and Statistics},
478
+ pages={178--190},
479
+ year={2020},
480
+ organization={PMLR}
481
+ }
482
+ @inproceedings{kull2017beta,
483
+ title={Beta calibration: a well-founded and easily implemented improvement on logistic calibration for binary classifiers},
484
+ author={Kull, Meelis and Silva Filho, Telmo and Flach, Peter},
485
+ booktitle={Artificial Intelligence and Statistics},
486
+ pages={623--631},
487
+ year={2017},
488
+ organization={PMLR}
489
+ }
490
+
491
+ @article{karandikar2021soft,
492
+ title={Soft calibration objectives for neural networks},
493
+ author={Karandikar, Archit and Cain, Nicholas and Tran, Dustin and Lakshminarayanan, Balaji and Shlens, Jonathon and Mozer, Michael C and Roelofs, Becca},
494
+ journal={Advances in Neural Information Processing Systems},
495
+ volume={34},
496
+ pages={29768--29779},
497
+ year={2021}
498
+ }
499
+ @article{hui2020evaluation,
500
+ title={Evaluation of neural architectures trained with square loss vs cross-entropy in classification tasks},
501
+ author={Hui, Like and Belkin, Mikhail},
502
+ journal={arXiv preprint arXiv:2006.07322},
503
+ year={2020}
504
+ }
505
+ @inproceedings{platt1999probabilistic,
506
+ abstract = {The output of a classifier should be a calibrated posterior probability to enable post-processing. Standard SVMs do not provide such probabilities. One method to create probabilities is to directly train a kernel classifier with a logit link function and a regularized maximum likelihood score. However, training with a maximum likelihood score will produce non-sparse kernel machines. Instead, we train an SVM, then train the parameters of an additional sigmoid function to map the SVM outputs into probabilities. This chapter compares classification error rate and likelihood scores for an SVM plus sigmoid versus a kernel method trained with a regularized likelihood error function. These methods are tested on three data-mining-style data sets. The SVM+sigmoid yields probabilities of comparable quality to the regularized maximum likelihood kernel method, while still retaining the sparseness of the SVM.},
507
+ added-at = {2012-07-13T11:59:27.000+0200},
508
+ author = {Platt, John C.},
509
+ biburl = {https://www.bibsonomy.org/bibtex/21a15c25b220dac6b6f222c18fc7e91d2/jabreftest},
510
+ booktitle = {Advances in Large Margin Classifiers},
511
+ citeseerurl = {http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.41.1639},
512
+ file = {Platt1999.pdf:1999/Platt1999.pdf:PDF},
513
+ groups = {public},
514
+ interhash = {c5df9f9137085cad9cafce3c347b2508},
515
+ intrahash = {1a15c25b220dac6b6f222c18fc7e91d2},
516
+ keywords = {},
517
+ pages = {61--74},
518
+ publisher = {MIT Press},
519
+ timestamp = {2012-07-13T11:59:27.000+0200},
520
+ title = {Probabilistic Outputs for Support Vector Machines and Comparisons to Regularized Likelihood Methods},
521
+ username = {jabreftest},
522
+ year = 1999
523
+ }
524
+
525
+
526
+ @inproceedings{chen2020simple,
527
+ title={A simple framework for contrastive learning of visual representations},
528
+ author={Chen, Ting and Kornblith, Simon and Norouzi, Mohammad and Hinton, Geoffrey},
529
+ booktitle={International conference on machine learning},
530
+ pages={1597--1607},
531
+ year={2020},
532
+ organization={PMLR}
533
+ }
534
+ @article{hinton2015distilling,
535
+ title={Distilling the knowledge in a neural network},
536
+ author={Hinton, Geoffrey and Vinyals, Oriol and Dean, Jeff and others},
537
+ journal={arXiv preprint arXiv:1503.02531},
538
+ volume={2},
539
+ number={7},
540
+ year={2015}
541
+ }
542
+
543
+ @article{zadrozny2001obtaining,
544
+ title={Obtaining calibrated probability estimates from decision trees and naive bayesian classifiers},
545
+ author={Zadrozny, Bianca and Elkan, Charles},
546
+ journal={18th International Conferrence on Machine Learning},
547
+ year={2001}
548
+ }
549
+
550
+ @inproceedings{zadrozny2002transforming,
551
+ title={Transforming classifier scores into accurate multiclass probability estimates},
552
+ author={Zadrozny, Bianca and Elkan, Charles},
553
+ booktitle={Proceedings of the eighth ACM SIGKDD international conference on Knowledge discovery and data mining},
554
+ pages={694--699},
555
+ year={2002}
556
+ }
557
+ @article{nguyen2015posterior,
558
+ title={Posterior calibration and exploratory analysis for natural language processing models},
559
+ author={Nguyen, Khanh and O'Connor, Brendan},
560
+ journal={arXiv preprint arXiv:1508.05154},
561
+ year={2015}
562
+ }
563
+ @article{kull2019beyond,
564
+ title={Beyond temperature scaling: Obtaining well-calibrated multi-class probabilities with dirichlet calibration},
565
+ author={Kull, Meelis and Perello Nieto, Miquel and K{\"a}ngsepp, Markus and Silva Filho, Telmo and Song, Hao and Flach, Peter},
566
+ journal={Advances in neural information processing systems},
567
+ volume={32},
568
+ year={2019}
569
+ }
570
+ @inproceedings{vaicenavicius2019evaluating,
571
+ title={Evaluating model calibration in classification},
572
+ author={Vaicenavicius, Juozas and Widmann, David and Andersson, Carl and Lindsten, Fredrik and Roll, Jacob and Sch{\"o}n, Thomas},
573
+ booktitle={The 22nd International Conference on Artificial Intelligence and Statistics},
574
+ pages={3459--3467},
575
+ year={2019},
576
+ organization={PMLR}
577
+ }
578
+ @article{widmann2019calibration,
579
+ title={Calibration tests in multi-class classification: A unifying framework},
580
+ author={Widmann, David and Lindsten, Fredrik and Zachariah, Dave},
581
+ journal={Advances in Neural Information Processing Systems},
582
+ volume={32},
583
+ year={2019}
584
+ }
585
+
586
+ @inproceedings{roelofs2022mitigating,
587
+ title={Mitigating bias in calibration error estimation},
588
+ author={Roelofs, Rebecca and Cain, Nicholas and Shlens, Jonathon and Mozer, Michael C},
589
+ booktitle={International Conference on Artificial Intelligence and Statistics},
590
+ pages={4036--4054},
591
+ year={2022},
592
+ organization={PMLR}
593
+ }
594
+ @article{wang2022yolov7,
595
+ title={YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors},
596
+ author={Wang, Chien-Yao and Bochkovskiy, Alexey and Liao, Hong-Yuan Mark},
597
+ journal={arXiv preprint arXiv:2207.02696},
598
+ year={2022}
599
+ }
600
+ @inproceedings{wortsman2022model,
601
+ title={Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time},
602
+ author={Wortsman, Mitchell and Ilharco, Gabriel and Gadre, Samir Ya and Roelofs, Rebecca and Gontijo-Lopes, Raphael and Morcos, Ari S and Namkoong, Hongseok and Farhadi, Ali and Carmon, Yair and Kornblith, Simon and others},
603
+ booktitle={International Conference on Machine Learning},
604
+ pages={23965--23998},
605
+ year={2022},
606
+ organization={PMLR}
607
+ }
608
+ @article{yu2022coca,
609
+ title={Coca: Contrastive captioners are image-text foundation models},
610
+ author={Yu, Jiahui and Wang, Zirui and Vasudevan, Vijay and Yeung, Legg and Seyedhosseini, Mojtaba and Wu, Yonghui},
611
+ journal={arXiv preprint arXiv:2205.01917},
612
+ year={2022}
613
+ }
614
+ @inproceedings{brock2021high,
615
+ title={High-performance large-scale image recognition without normalization},
616
+ author={Brock, Andy and De, Soham and Smith, Samuel L and Simonyan, Karen},
617
+ booktitle={International Conference on Machine Learning},
618
+ pages={1059--1071},
619
+ year={2021},
620
+ organization={PMLR}
621
+ }
622
+ @inproceedings{pham2021meta,
623
+ title={Meta pseudo labels},
624
+ author={Pham, Hieu and Dai, Zihang and Xie, Qizhe and Le, Quoc V},
625
+ booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
626
+ pages={11557--11568},
627
+ year={2021}
628
+ }
629
+ @article{wang2021you,
630
+ title={You only learn one representation: Unified network for multiple tasks},
631
+ author={Wang, Chien-Yao and Yeh, I-Hau and Liao, Hong-Yuan Mark},
632
+ journal={arXiv preprint arXiv:2105.04206},
633
+ year={2021}
634
+ }
635
+ @inproceedings{qiao2021detectors,
636
+ title={Detectors: Detecting objects with recursive feature pyramid and switchable atrous convolution},
637
+ author={Qiao, Siyuan and Chen, Liang-Chieh and Yuille, Alan},
638
+ booktitle={Proceedings of the IEEE/CVF conference on computer vision and pattern recognition},
639
+ pages={10213--10224},
640
+ year={2021}
641
+ }
642
+ @article{zhou2021probabilistic,
643
+ title={Probabilistic two-stage detection},
644
+ author={Zhou, Xingyi and Koltun, Vladlen and Kr{\"a}henb{\"u}hl, Philipp},
645
+ journal={arXiv preprint arXiv:2103.07461},
646
+ year={2021}
647
+ }
648
+ @article{gupta2020calibration,
649
+ title={Calibration of neural networks using splines},
650
+ author={Gupta, Kartik and Rahimi, Amir and Ajanthan, Thalaiyasingam and Mensink, Thomas and Sminchisescu, Cristian and Hartley, Richard},
651
+ journal={arXiv preprint arXiv:2006.12800},
652
+ year={2020}
653
+ }
654
+ @article{krishnan2020improving,
655
+ title={Improving model calibration with accuracy versus uncertainty optimization},
656
+ author={Krishnan, Ranganath and Tickoo, Omesh},
657
+ journal={Advances in Neural Information Processing Systems},
658
+ volume={33},
659
+ pages={18237--18248},
660
+ year={2020}
661
+ }
662
+ @article{mukhoti2020calibrating,
663
+ title={Calibrating deep neural networks using focal loss},
664
+ author={Mukhoti, Jishnu and Kulharia, Viveka and Sanyal, Amartya and Golodetz, Stuart and Torr, Philip and Dokania, Puneet},
665
+ journal={Advances in Neural Information Processing Systems},
666
+ volume={33},
667
+ pages={15288--15299},
668
+ year={2020}
669
+ }
670
+
671
+ @inproceedings{lin2017focal,
672
+ title={Focal loss for dense object detection},
673
+ author={Lin, Tsung-Yi and Goyal, Priya and Girshick, Ross and He, Kaiming and Doll{\'a}r, Piotr},
674
+ booktitle={Proceedings of the IEEE international conference on computer vision},
675
+ pages={2980--2988},
676
+ year={2017}
677
+ }
678
+ @article{thulasidasan2019mixup,
679
+ title={On mixup training: Improved calibration and predictive uncertainty for deep neural networks},
680
+ author={Thulasidasan, Sunil and Chennupati, Gopinath and Bilmes, Jeff A and Bhattacharya, Tanmoy and Michalak, Sarah},
681
+ journal={Advances in Neural Information Processing Systems},
682
+ volume={32},
683
+ year={2019}
684
+ }
685
+ @article{hendrycks2019augmix,
686
+ title={Augmix: A simple data processing method to improve robustness and uncertainty},
687
+ author={Hendrycks, Dan and Mu, Norman and Cubuk, Ekin D and Zoph, Barret and Gilmer, Justin and Lakshminarayanan, Balaji},
688
+ journal={arXiv preprint arXiv:1912.02781},
689
+ year={2019}
690
+ }
691
+ @article{lakshminarayanan2017simple,
692
+ title={Simple and scalable predictive uncertainty estimation using deep ensembles},
693
+ author={Lakshminarayanan, Balaji and Pritzel, Alexander and Blundell, Charles},
694
+ journal={Advances in neural information processing systems},
695
+ volume={30},
696
+ year={2017}
697
+ }
698
+ @article{wen2020batchensemble,
699
+ title={Batchensemble: an alternative approach to efficient ensemble and lifelong learning},
700
+ author={Wen, Yeming and Tran, Dustin and Ba, Jimmy},
701
+ journal={arXiv preprint arXiv:2002.06715},
702
+ year={2020}
703
+ }
704
+ @inproceedings{dusenberry2020efficient,
705
+ title={Efficient and scalable bayesian neural nets with rank-1 factors},
706
+ author={Dusenberry, Michael and Jerfel, Ghassen and Wen, Yeming and Ma, Yian and Snoek, Jasper and Heller, Katherine and Lakshminarayanan, Balaji and Tran, Dustin},
707
+ booktitle={International conference on machine learning},
708
+ pages={2782--2792},
709
+ year={2020},
710
+ organization={PMLR}
711
+ }
712
+ @article{bai2021understanding,
713
+ title={Understanding and improving early stopping for learning with noisy labels},
714
+ author={Bai, Yingbin and Yang, Erkun and Han, Bo and Yang, Yanhua and Li, Jiatong and Mao, Yinian and Niu, Gang and Liu, Tongliang},
715
+ journal={Advances in Neural Information Processing Systems},
716
+ volume={34},
717
+ pages={24392--24403},
718
+ year={2021}
719
+ }
720
+
721
+
722
+
723
+
724
+
725
+ @inproceedings{lopez2017gradient,
726
+ title={Gradient episodic memory for continual learning},
727
+ author={Lopez-Paz, David and Ranzato, Marc'Aurelio},
728
+ booktitle={Advances in neural information processing systems},
729
+ year={2017}
730
+ }
731
+
732
+ @inproceedings{AGEM,
733
+ title={Efficient Lifelong Learning with A-GEM},
734
+ author={Chaudhry, Arslan and Ranzato, Marc’Aurelio and Rohrbach, Marcus and Elhoseiny, Mohamed},
735
+ booktitle={International Conference on Learning Representations},
736
+ year={2018}
737
+ }
738
+
739
+ @article{guo2019learning,
740
+ title={Learning with Long-term Remembering: Following the Lead of Mixed Stochastic Gradient},
741
+ author={Guo, Yunhui and Liu, Mingrui and Yang, Tianbao and Rosing, Tajana},
742
+ journal={arXiv preprint arXiv:1909.11763},
743
+ year={2019}
744
+ }
745
+
746
+ @article{riemer2018learning,
747
+ title={Learning to learn without forgetting by maximizing transfer and minimizing interference},
748
+ author={Riemer, Matthew and Cases, Ignacio and Ajemian, Robert and Liu, Miao and Rish, Irina and Tu, Yuhai and Tesauro, Gerald},
749
+ journal={arXiv preprint arXiv:1810.11910},
750
+ year={2018}
751
+ }
752
+
753
+ @article{kirkpatrick2017overcoming,
754
+ title={Overcoming catastrophic forgetting in neural networks},
755
+ author={Kirkpatrick, James and Pascanu, Razvan and Rabinowitz, Neil and Veness, Joel and Desjardins, Guillaume and Rusu, Andrei A and Milan, Kieran and Quan, John and Ramalho, Tiago and Grabska-Barwinska, Agnieszka and others},
756
+ journal={Proceedings of the national academy of sciences},
757
+ year={2017},
758
+ }
759
+
760
+ @article{zenke2017continual,
761
+ title={Continual learning through synaptic intelligence},
762
+ author={Zenke, Friedemann and Poole, Ben and Ganguli, Surya},
763
+ journal={Proceedings of machine learning research},
764
+ year={2017},
765
+ }
766
+
767
+ @article{wah2011caltech,
768
+ title={The caltech-ucsd birds-200-2011 dataset},
769
+ author={Wah, Catherine and Branson, Steve and Welinder, Peter and Perona, Pietro and Belongie, Serge},
770
+ year={2011},
771
+ publisher={California Institute of Technology}
772
+ }
773
+
774
+ @inproceedings{lampert2009learning,
775
+ title={Learning to detect unseen object classes by between-class attribute transfer},
776
+ author={Lampert, Christoph H and Nickisch, Hannes and Harmeling, Stefan},
777
+ booktitle={2009 IEEE Conference on Computer Vision and Pattern Recognition},
778
+ year={2009},
779
+ }
780
+
781
+ @article{french1999catastrophic,
782
+ title={Catastrophic forgetting in connectionist networks},
783
+ author={French, Robert M},
784
+ journal={Trends in cognitive sciences},
785
+ year={1999},
786
+ }
787
+
788
+ @inproceedings{ioffe2015batch,
789
+ title={Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift},
790
+ author={Ioffe, Sergey and Szegedy, Christian},
791
+ booktitle={International Conference on Machine Learning},
792
+ year={2015}
793
+ }
794
+
795
+ @inproceedings{chaudhry2018riemannian,
796
+ title={Riemannian walk for incremental learning: Understanding forgetting and intransigence},
797
+ author={Chaudhry, Arslan and Dokania, Puneet K and Ajanthan, Thalaiyasingam and Torr, Philip HS},
798
+ booktitle={Proceedings of the European Conference on Computer Vision (ECCV)},
799
+ year={2018}
800
+ }
801
+
802
+ @article{de2019continual,
803
+ title={Continual learning: A comparative study on how to defy forgetting in classification tasks},
804
+ author={De Lange, Matthias and Aljundi, Rahaf and Masana, Marc and Parisot, Sarah and Jia, Xu and Leonardis, Ales and Slabaugh, Gregory and Tuytelaars, Tinne},
805
+ journal={arXiv preprint arXiv:1909.08383},
806
+ year={2019}
807
+ }
808
+ @inproceedings{li2016learning,
809
+ author = {Li, Zhizhong and Hoiem, Derek},
810
+ title = {Learning Without Forgetting},
811
+ booktitle = {European Conference on Computer Vision},
812
+ year = {2016},
813
+ }
814
+
815
+ @inproceedings{Chaudhry2018,
816
+ author = {Chaudhry, Arslan and Dokania, Puneet K and Ajanthan, Thalaiyasingam and Torr, Philip HS},
817
+ title = {Riemannian walk for incremental learning: Understanding forgetting and intransigence},
818
+ booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
819
+ year = {2018},
820
+ }
821
+
822
+ @inproceedings{dhar2019learning,
823
+ author = {Dhar, Prithviraj and Singh, Rajat Vikram and Peng, Kuan-Chuan and Wu, Ziyan and Chellappa, Rama},
824
+ title = {Learning without memorizing},
825
+ booktitle = {Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
826
+ year = {2019},
827
+ }
828
+
829
+ @inproceedings{mallya2018piggyback,
830
+ author = {Mallya, Arun and Davis, Dillon and Lazebnik, Svetlana},
831
+ title = {Piggyback: Adapting a single network to multiple tasks by learning to mask weights},
832
+ booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
833
+ year = {2018},
834
+ }
835
+
836
+ @article{yoon2017lifelong,
837
+ author = {Yoon, Jaehong and Yang, Eunho and Lee, Jeongtae and Hwang, Sung Ju},
838
+ title = {Lifelong learning with dynamically expandable networks},
839
+ journal = {arXiv preprint arXiv:1708.01547},
840
+ year = {2017},
841
+ }
842
+
843
+ @article{lin2019multi,
844
+ author = {Lin, Jiabin and Liu, Hai-Lin and Xue, Bing and Zhang, Mengjie and Gu, Fangqing},
845
+ title = {Multi-objective Multi-tasking Optimization Based on Incremental Learning},
846
+ journal = {IEEE Transactions on Evolutionary Computation},
847
+ year = {2019},
848
+ }
849
+
850
+ @inproceedings{lin2019pareto,
851
+ author = {Lin, Xi and Zhen, Hui-Ling and Li, Zhenhua and Zhang, Qing-Fu and Kwong, Sam},
852
+ title = {Pareto Multi-Task Learning},
853
+ booktitle = {Advances in Neural Information Processing Systems},
854
+ year = {2019},
855
+ }
856
+
857
+ @inproceedings{sener2018multi,
858
+ author = {Sener, Ozan and Koltun, Vladlen},
859
+ title = {Multi-task learning as multi-objective optimization},
860
+ booktitle = {Advances in Neural Information Processing Systems},
861
+ year = {2018},
862
+ }
863
+
864
+ @article{ring1997child,
865
+ author = {Ring, Mark B},
866
+ title = {CHILD: A first step towards continual learning},
867
+ journal = {Machine Learning},
868
+ year = {1997},
869
+ }
870
+
871
+ @inproceedings{thrun1998lifelong,
872
+ author = {Thrun, Sebastian},
873
+ title = {Lifelong learning algorithms},
874
+ booktitle = {Learning to learn},
875
+ publisher = {Springer},
876
+ year = {1998},
877
+ }
878
+
879
+ @inproceedings{aljundi2018memory,
880
+ title={Memory aware synapses: Learning what (not) to forget},
881
+ author={Aljundi, Rahaf and Babiloni, Francesca and Elhoseiny, Mohamed and Rohrbach, Marcus and Tuytelaars, Tinne},
882
+ booktitle={Proceedings of the European Conference on Computer Vision (ECCV)},
883
+ year={2018}
884
+ }
885
+
886
+ @article{farajtabar2019orthogonal,
887
+ author = {Farajtabar, Mehrdad and Azizan, Navid and Mott, Alex and Li, Ang},
888
+ title = {Orthogonal Gradient Descent for Continual Learning},
889
+ journal = {arXiv preprint arXiv:1910.07104},
890
+ year = {2019},
891
+ }
892
+
893
+ @article{tetko1995neural,
894
+ author = {Tetko, Igor V and Livingstone, David J and Luik, Alexander I},
895
+ title = {Neural network studies. 1. Comparison of overfitting and overtraining},
896
+ journal = {Journal of chemical information and computer sciences},
897
+ year = {1995},
898
+ }
899
+
900
+ @article{dietterich1995overfitting,
901
+ author = {Dietterich, Tom},
902
+ title = {Overfitting and undercomputing in machine learning},
903
+ journal = {ACM computing surveys (CSUR)},
904
+ year = {1995},
905
+ }
906
+
907
+ @inproceedings{castro2018end,
908
+ author = {Castro, Francisco M and Mar{\'\i}n-Jim{\'e}nez, Manuel J and Guil, Nicol{\'a}s and Schmid, Cordelia and Alahari, Karteek},
909
+ title = {End-to-end incremental learning},
910
+ booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
911
+ year = {2018},
912
+ }
913
+
914
+ @InProceedings{belouadah2019il2m,
915
+ author = {Belouadah, Eden and Popescu, Adrian},
916
+ title = {Il2m: Class incremental learning with dual memory},
917
+ booktitle = {Proceedings of the IEEE International Conference on Computer Vision},
918
+ year = {2019},
919
+ }
920
+
921
+ @InProceedings{hou2018lifelong,
922
+ author = {Hou, Saihui and Pan, Xinyu and Change Loy, Chen and Wang, Zilei and Lin, Dahua},
923
+ title = {Lifelong learning via progressive distillation and retrospection},
924
+ booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
925
+ year = {2018},
926
+ }
927
+
928
+ @Article{maaten2008visualizing,
929
+ author = {Maaten, Laurens van der and Hinton, Geoffrey},
930
+ title = {Visualizing data using t-SNE},
931
+ journal = {Journal of machine learning research},
932
+ year = {2008},
933
+ }
934
+
935
+ @Article{chaudhry2019on,
936
+ title={On tiny episodic memories in continual learning},
937
+ author={Chaudhry, Arslan and Rohrbach, Marcus and Elhoseiny, Mohamed and Ajanthan, Thalaiyasingam and Dokania, Puneet K and Torr, Philip HS and Ranzato, Marc'Aurelio},
938
+ journal={arXiv preprint arXiv:1902.10486},
939
+ year={2019}
940
+ }
941
+
942
+ @inproceedings{rolnick2018experience,
943
+ title={Experience replay for continual learning},
944
+ author={Rolnick, David and Ahuja, Arun and Schwarz, Jonathan and Lillicrap, Timothy and Wayne, Gregory},
945
+ booktitle={Advances in Neural Information Processing Systems},
946
+ year={2019}
947
+ }
948
+
949
+ @inproceedings{deng2018arcface,
950
+ title={Arcface: Additive angular margin loss for deep face recognition},
951
+ author={Deng, Jiankang and Guo, Jia and Xue, Niannan and Zafeiriou, Stefanos},
952
+ booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
953
+ year={2019}
954
+ }
955
+
956
+ @inproceedings{liu2016large-margin,
957
+ title={Large-margin softmax loss for convolutional neural networks.},
958
+ author={Liu, Weiyang and Wen, Yandong and Yu, Zhiding and Yang, Meng},
959
+ booktitle={ICML},
960
+ year={2016}
961
+ }
962
+
963
+ @InProceedings{Yang2014,
964
+ author = {Yongxin Yang and Timothy M. Hospedales},
965
+ booktitle = {International Conference on Learning Representations},
966
+ title = {A Unified Perspective on Multi-Domain and Multi-Task Learning},
967
+ year = {2014},
968
+ }
969
+
970
+ @InProceedings{DBLP:conf/icml/LiuWYY16,
971
+ author = {Weiyang Liu and Yandong Wen and Zhiding Yu and Meng Yang},
972
+ booktitle = {Proceedings of the 33nd International Conference on Machine Learning, {ICML} 2016, New York City, NY, USA, June 19-24, 2016},
973
+ title = {Large-Margin Softmax Loss for Convolutional Neural Networks},
974
+ year = {2016},
975
+ }
976
+
977
+ @inproceedings{nam2015,
978
+ title={Learning multi-domain convolutional neural networks for visual tracking},
979
+ author={Nam, Hyeonseob and Han, Bohyung},
980
+ booktitle={Proceedings of the IEEE conference on computer vision and pattern recognition},
981
+ year={2016}
982
+ }
983
+
984
+ @InProceedings{Tang2020,
985
+ author = {Hui Tang and Kui Jia},
986
+ booktitle = {The Thirty-Fourth {AAAI} Conference on Artificial Intelligence, {AAAI} 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, {IAAI} 2020, The Tenth {AAAI} Symposium on Educational Advances in Artificial Intelligence, {EAAI} 2020, New York, NY, USA, February 7-12, 2020},
987
+ title = {Discriminative Adversarial Domain Adaptation},
988
+ year = {2020},
989
+ }
990
+
991
+ @Article{Rebuffi2016,
992
+ author = {Sylvestre{-}Alvise Rebuffi and Alexander Kolesnikov and Christoph H. Lampert},
993
+ journal = {CoRR},
994
+ title = {iCaRL: Incremental Classifier and Representation Learning},
995
+ year = {2016},
996
+ }
997
+
998
+ @Article{Pellegrini2019,
999
+ title={Latent replay for real-time continual learning},
1000
+ author={Pellegrini, Lorenzo and Graffieti, Gabrile and Lomonaco, Vincenzo and Maltoni, Davide},
1001
+ journal={arXiv preprint arXiv:1912.01100},
1002
+ year={2019}
1003
+ }
1004
+
1005
+ @Article{Ven2018,
1006
+ title={Generative replay with feedback connections as a general strategy for continual learning},
1007
+ author={van de Ven, Gido M and Tolias, Andreas S},
1008
+ journal={arXiv preprint arXiv:1809.10635},
1009
+ year={2018}
1010
+ }
1011
+
1012
+ @Article{Shen2020,
1013
+ title={Generative Feature Replay with Orthogonal Weight Modification for Continual Learning},
1014
+ author={Shen, Gehui and Zhang, Song and Chen, Xiang and Deng, Zhi-Hong},
1015
+ journal={arXiv preprint arXiv:2005.03490},
1016
+ year={2020}
1017
+ }
1018
+
1019
+ @inproceedings{Lesort2018,
1020
+ title={Marginal replay vs conditional replay for continual learning},
1021
+ author={Lesort, Timoth{\'e}e and Gepperth, Alexander and Stoian, Andrei and Filliat, David},
1022
+ booktitle={International Conference on Artificial Neural Networks},
1023
+ year={2019},
1024
+ }
1025
+
1026
+ @InProceedings{DBLP:conf/cvpr/LiuWYLRS17,
1027
+ author = {Weiyang Liu and Yandong Wen and Zhiding Yu and Ming Li and Bhiksha Raj and Le Song},
1028
+ booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition, {CVPR} 2017, Honolulu, HI, USA, July 21-26, 2017},
1029
+ title = {SphereFace: Deep Hypersphere Embedding for Face Recognition},
1030
+ year = {2017},
1031
+ }
1032
+
1033
+ @InProceedings{DBLP:conf/cvpr/WangWZJGZL018,
1034
+ author = {Hao Wang and Yitong Wang and Zheng Zhou and Xing Ji and Dihong Gong and Jingchao Zhou and Zhifeng Li and Wei Liu},
1035
+ booktitle = {2018 {IEEE} Conference on Computer Vision and Pattern Recognition, {CVPR} 2018, Salt Lake City, UT, USA, June 18-22, 2018},
1036
+ title = {CosFace: Large Margin Cosine Loss for Deep Face Recognition},
1037
+ year = {2018},
1038
+ }
1039
+
1040
+ @Article{DBLP:journals/spl/WangCLL18,
1041
+ author = {Feng Wang and Jian Cheng and Weiyang Liu and Haijun Liu},
1042
+ journal = {{IEEE} Signal Process. Lett.},
1043
+ title = {Additive Margin Softmax for Face Verification},
1044
+ year = {2018},
1045
+ }
1046
+
1047
+ @Article{Hinton2015,
1048
+ author = {Geoffrey E. Hinton and Oriol Vinyals and Jeffrey Dean},
1049
+ journal = {CoRR},
1050
+ title = {Distilling the Knowledge in a Neural Network},
1051
+ year = {2015},
1052
+ }
1053
+
1054
+ @Article{Chaudhry2019,
1055
+ author = {Arslan Chaudhry and Marcus Rohrbach and Mohamed Elhoseiny and Thalaiyasingam Ajanthan and Puneet K. Dokania and Philip H. S. Torr and Marc'Aurelio Ranzato},
1056
+ title = {On Tiny Episodic Memories in Continual Learning},
1057
+ journal={arXiv preprint arXiv:1902.10486},
1058
+ year={2019}
1059
+ }
1060
+
1061
+ @Article{Peng2016,
1062
+ author = {Nanyun Peng and Mark Dredze},
1063
+ journal = {CoRR},
1064
+ title = {Multi-task Multi-domain Representation Learning for Sequence Tagging},
1065
+ year = {2016},
1066
+ }
1067
+
1068
+ @Article{Fourure2017,
1069
+ author = {Damien Fourure and R{\'{e}}mi Emonet and {\'{E}}lisa Fromont and Damien Muselet and Natalia Neverova and Alain Tr{\'{e}}meau and Christian Wolf},
1070
+ journal = {Neurocomputing},
1071
+ title = {Multi-task, multi-domain learning: Application to semantic segmentation and pose regression},
1072
+ year = {2017},
1073
+ }
1074
+
1075
+ @InProceedings{deng2018visual,
1076
+ author = {Deng, Chaorui and Wu, Qi and Wu, Qingyao and Hu, Fuyuan and Lyu, Fan and Tan, Mingkui},
1077
+ booktitle = {Proceedings of the IEEE conference on computer vision and pattern recognition},
1078
+ title = {Visual grounding via accumulated attention},
1079
+ year = {2018},
1080
+ pages = {7746--7755},
1081
+ }
1082
+
1083
+ @Article{lyu2019attend,
1084
+ author = {Lyu, Fan and Wu, Qi and Hu, Fuyuan and Wu, Qingyao and Tan, Mingkui},
1085
+ journal = {IEEE Transactions on Multimedia},
1086
+ title = {Attend and imagine: Multi-label image classification with visual attention and recurrent neural networks},
1087
+ year = {2019},
1088
+ pages = {1971--1981},
1089
+ publisher = {IEEE},
1090
+ }
1091
+
1092
+ @Article{lyu2020vtgraphnet,
1093
+ author = {Lyu, Fan and Feng, Wei and Wang, Song},
1094
+ journal = {Neurocomputing},
1095
+ title = {vtGraphNet: Learning weakly-supervised scene graph for complex visual grounding},
1096
+ year = {2020},
1097
+ pages = {51--60},
1098
+ publisher = {Elsevier},
1099
+ }
1100
+ @article{bohdal2021meta,
1101
+ title={Meta-calibration: Meta-learning of model calibration using differentiable expected calibration error},
1102
+ author={Bohdal, Ondrej and Yang, Yongxin and Hospedales, Timothy},
1103
+ journal={arXiv preprint arXiv:2106.09613},
1104
+ year={2021}
1105
+ }
1106
+ @article{wang2020uncertainty,
1107
+ title={Uncertainty Estimation and Calibration with Finite-State Probabilistic RNNs},
1108
+ author={Wang, Cheng and Lawrence, Carolin and Niepert, Mathias},
1109
+ journal={arXiv preprint arXiv:2011.12010},
1110
+ year={2020}
1111
+ }
1112
+
1113
+ @article{bartlett2006convexity,
1114
+ title={Convexity, classification, and risk bounds},
1115
+ author={Bartlett, Peter L and Jordan, Michael I and McAuliffe, Jon D},
1116
+ journal={Journal of the American Statistical Association},
1117
+ volume={101},
1118
+ number={473},
1119
+ pages={138--156},
1120
+ year={2006},
1121
+ publisher={Taylor \& Francis}
1122
+ }
1123
+
1124
+ @article{tewari2007consistency,
1125
+ title={On the Consistency of Multiclass Classification Methods.},
1126
+ author={Tewari, Ambuj and Bartlett, Peter L},
1127
+ journal={Journal of Machine Learning Research},
1128
+ volume={8},
1129
+ number={5},
1130
+ year={2007}
1131
+ }
1132
+
1133
+ @inproceedings{charoenphakdee2021focal,
1134
+ title={On focal loss for class-posterior probability estimation: A theoretical perspective},
1135
+ author={Charoenphakdee, Nontawat and Vongkulbhisal, Jayakorn and Chairatanakul, Nuttapong and Sugiyama, Masashi},
1136
+ booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
1137
+ pages={5202--5211},
1138
+ year={2021}
1139
+ }
1140
+
1141
+ @article{wang2021rethinking,
1142
+ title={Rethinking calibration of deep neural networks: Do not be afraid of overconfidence},
1143
+ author={Wang, Deng-Bao and Feng, Lei and Zhang, Min-Ling},
1144
+ journal={Advances in Neural Information Processing Systems},
1145
+ volume={34},
1146
+ pages={11809--11820},
1147
+ year={2021}
1148
+ }
1149
+
1150
+ @inproceedings{tian2019fcos,
1151
+ title={Fcos: Fully convolutional one-stage object detection},
1152
+ author={Tian, Zhi and Shen, Chunhua and Chen, Hao and He, Tong},
1153
+ booktitle={Proceedings of the IEEE/CVF international conference on computer vision},
1154
+ pages={9627--9636},
1155
+ year={2019}
1156
+ }
1157
+
1158
+ @inproceedings{he2017mask,
1159
+ title={Mask r-cnn},
1160
+ author={He, Kaiming and Gkioxari, Georgia and Doll{\'a}r, Piotr and Girshick, Ross},
1161
+ booktitle={Proceedings of the IEEE international conference on computer vision},
1162
+ pages={2961--2969},
1163
+ year={2017}
1164
+ }
1165
+
1166
+ @inproceedings{long2015fully,
1167
+ title={Fully convolutional networks for semantic segmentation},
1168
+ author={Long, Jonathan and Shelhamer, Evan and Darrell, Trevor},
1169
+ booktitle={Proceedings of the IEEE conference on computer vision and pattern recognition},
1170
+ pages={3431--3440},
1171
+ year={2015}
1172
+ }
1173
+
1174
+ @article{cheng2021per,
1175
+ title={Per-pixel classification is not all you need for semantic segmentation},
1176
+ author={Cheng, Bowen and Schwing, Alex and Kirillov, Alexander},
1177
+ journal={Advances in Neural Information Processing Systems},
1178
+ volume={34},
1179
+ pages={17864--17875},
1180
+ year={2021}
1181
+ }
1182
+
1183
+ @article{joo2020revisiting,
1184
+ title={Revisiting explicit regularization in neural networks for well-calibrated predictive uncertainty},
1185
+ author={Joo, Taejong and Chung, Uijung},
1186
+ journal={arXiv preprint arXiv:2006.06399},
1187
+ year={2020}
1188
+ }
1189
+
1190
+ @Comment{jabref-meta: databaseType:bibtex;}
1191
+ @article{rahaman2021uncertainty,
1192
+ title={Uncertainty quantification and deep ensembles},
1193
+ author={Rahaman, Rahul and others},
1194
+ journal={Advances in Neural Information Processing Systems},
1195
+ volume={34},
1196
+ pages={20063--20075},
1197
+ year={2021}
1198
+ }
1199
+ @inproceedings{zhang2020mix,
1200
+ title={Mix-n-match: Ensemble and compositional methods for uncertainty calibration in deep learning},
1201
+ author={Zhang, Jize and Kailkhura, Bhavya and Han, T Yong-Jin},
1202
+ booktitle={International conference on machine learning},
1203
+ pages={11117--11128},
1204
+ year={2020},
1205
+ organization={PMLR}
1206
+ }
1207
+ @inproceedings{niculescu2005predicting,
1208
+ title={Predicting good probabilities with supervised learning},
1209
+ author={Niculescu-Mizil, Alexandru and Caruana, Rich},
1210
+ booktitle={Proceedings of the 22nd international conference on Machine learning},
1211
+ pages={625--632},
1212
+ year={2005}
1213
+ }
1214
+
1215
+ @article{zhang2004statistical,
1216
+ title={Statistical analysis of some multi-category large margin classification methods},
1217
+ author={Zhang, Tong},
1218
+ journal={Journal of Machine Learning Research},
1219
+ volume={5},
1220
+ number={Oct},
1221
+ pages={1225--1251},
1222
+ year={2004}
1223
+ }
icml2026/icml2026.bst ADDED
@@ -0,0 +1,1443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %% File: `icml2025.bst'
2
+ %% A modification of `plainnl.bst' for use with natbib package
3
+ %%
4
+ %% Copyright 2010 Hal Daum\'e III
5
+ %% Modified by J. Fürnkranz
6
+ %% - Changed labels from (X and Y, 2000) to (X & Y, 2000)
7
+ %% - Changed References to last name first and abbreviated first names.
8
+ %% Modified by Iain Murray 2018 (who suggests adopting a standard .bst in future...)
9
+ %% - Made it actually use abbreviated first names
10
+ %%
11
+ %% Copyright 1993-2007 Patrick W Daly
12
+ %% Max-Planck-Institut f\"ur Sonnensystemforschung
13
+ %% Max-Planck-Str. 2
14
+ %% D-37191 Katlenburg-Lindau
15
+ %% Germany
16
+ %% E-mail: daly@mps.mpg.de
17
+ %%
18
+ %% This program can be redistributed and/or modified under the terms
19
+ %% of the LaTeX Project Public License Distributed from CTAN
20
+ %% archives in directory macros/latex/base/lppl.txt; either
21
+ %% version 1 of the License, or any later version.
22
+ %%
23
+ % Version and source file information:
24
+ % \ProvidesFile{icml2010.mbs}[2007/11/26 1.93 (PWD)]
25
+ %
26
+ % BibTeX `plainnat' family
27
+ % version 0.99b for BibTeX versions 0.99a or later,
28
+ % for LaTeX versions 2.09 and 2e.
29
+ %
30
+ % For use with the `natbib.sty' package; emulates the corresponding
31
+ % member of the `plain' family, but with author-year citations.
32
+ %
33
+ % With version 6.0 of `natbib.sty', it may also be used for numerical
34
+ % citations, while retaining the commands \citeauthor, \citefullauthor,
35
+ % and \citeyear to print the corresponding information.
36
+ %
37
+ % For version 7.0 of `natbib.sty', the KEY field replaces missing
38
+ % authors/editors, and the date is left blank in \bibitem.
39
+ %
40
+ % Includes field EID for the sequence/citation number of electronic journals
41
+ % which is used instead of page numbers.
42
+ %
43
+ % Includes fields ISBN and ISSN.
44
+ %
45
+ % Includes field URL for Internet addresses.
46
+ %
47
+ % Includes field DOI for Digital Object Idenfifiers.
48
+ %
49
+ % Works best with the url.sty package of Donald Arseneau.
50
+ %
51
+ % Works with identical authors and year are further sorted by
52
+ % citation key, to preserve any natural sequence.
53
+ %
54
+ ENTRY
55
+ { address
56
+ author
57
+ booktitle
58
+ chapter
59
+ doi
60
+ eid
61
+ edition
62
+ editor
63
+ howpublished
64
+ institution
65
+ isbn
66
+ issn
67
+ journal
68
+ key
69
+ month
70
+ note
71
+ number
72
+ organization
73
+ pages
74
+ publisher
75
+ school
76
+ series
77
+ title
78
+ type
79
+ url
80
+ volume
81
+ year
82
+ }
83
+ {}
84
+ { label extra.label sort.label short.list }
85
+
86
+ INTEGERS { output.state before.all mid.sentence after.sentence after.block }
87
+
88
+ FUNCTION {init.state.consts}
89
+ { #0 'before.all :=
90
+ #1 'mid.sentence :=
91
+ #2 'after.sentence :=
92
+ #3 'after.block :=
93
+ }
94
+
95
+ STRINGS { s t }
96
+
97
+ FUNCTION {output.nonnull}
98
+ { 's :=
99
+ output.state mid.sentence =
100
+ { ", " * write$ }
101
+ { output.state after.block =
102
+ { add.period$ write$
103
+ newline$
104
+ "\newblock " write$
105
+ }
106
+ { output.state before.all =
107
+ 'write$
108
+ { add.period$ " " * write$ }
109
+ if$
110
+ }
111
+ if$
112
+ mid.sentence 'output.state :=
113
+ }
114
+ if$
115
+ s
116
+ }
117
+
118
+ FUNCTION {output}
119
+ { duplicate$ empty$
120
+ 'pop$
121
+ 'output.nonnull
122
+ if$
123
+ }
124
+
125
+ FUNCTION {output.check}
126
+ { 't :=
127
+ duplicate$ empty$
128
+ { pop$ "empty " t * " in " * cite$ * warning$ }
129
+ 'output.nonnull
130
+ if$
131
+ }
132
+
133
+ FUNCTION {fin.entry}
134
+ { add.period$
135
+ write$
136
+ newline$
137
+ }
138
+
139
+ FUNCTION {new.block}
140
+ { output.state before.all =
141
+ 'skip$
142
+ { after.block 'output.state := }
143
+ if$
144
+ }
145
+
146
+ FUNCTION {new.sentence}
147
+ { output.state after.block =
148
+ 'skip$
149
+ { output.state before.all =
150
+ 'skip$
151
+ { after.sentence 'output.state := }
152
+ if$
153
+ }
154
+ if$
155
+ }
156
+
157
+ FUNCTION {not}
158
+ { { #0 }
159
+ { #1 }
160
+ if$
161
+ }
162
+
163
+ FUNCTION {and}
164
+ { 'skip$
165
+ { pop$ #0 }
166
+ if$
167
+ }
168
+
169
+ FUNCTION {or}
170
+ { { pop$ #1 }
171
+ 'skip$
172
+ if$
173
+ }
174
+
175
+ FUNCTION {new.block.checka}
176
+ { empty$
177
+ 'skip$
178
+ 'new.block
179
+ if$
180
+ }
181
+
182
+ FUNCTION {new.block.checkb}
183
+ { empty$
184
+ swap$ empty$
185
+ and
186
+ 'skip$
187
+ 'new.block
188
+ if$
189
+ }
190
+
191
+ FUNCTION {new.sentence.checka}
192
+ { empty$
193
+ 'skip$
194
+ 'new.sentence
195
+ if$
196
+ }
197
+
198
+ FUNCTION {new.sentence.checkb}
199
+ { empty$
200
+ swap$ empty$
201
+ and
202
+ 'skip$
203
+ 'new.sentence
204
+ if$
205
+ }
206
+
207
+ FUNCTION {field.or.null}
208
+ { duplicate$ empty$
209
+ { pop$ "" }
210
+ 'skip$
211
+ if$
212
+ }
213
+
214
+ FUNCTION {emphasize}
215
+ { duplicate$ empty$
216
+ { pop$ "" }
217
+ { "\emph{" swap$ * "}" * }
218
+ if$
219
+ }
220
+
221
+ INTEGERS { nameptr namesleft numnames }
222
+
223
+ FUNCTION {format.names}
224
+ { 's :=
225
+ #1 'nameptr :=
226
+ s num.names$ 'numnames :=
227
+ numnames 'namesleft :=
228
+ { namesleft #0 > }
229
+ { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't :=
230
+ nameptr #1 >
231
+ { namesleft #1 >
232
+ { ", " * t * }
233
+ { numnames #2 >
234
+ { "," * }
235
+ 'skip$
236
+ if$
237
+ t "others" =
238
+ { " et~al." * }
239
+ { " and " * t * }
240
+ if$
241
+ }
242
+ if$
243
+ }
244
+ 't
245
+ if$
246
+ nameptr #1 + 'nameptr :=
247
+ namesleft #1 - 'namesleft :=
248
+ }
249
+ while$
250
+ }
251
+
252
+ FUNCTION {format.key}
253
+ { empty$
254
+ { key field.or.null }
255
+ { "" }
256
+ if$
257
+ }
258
+
259
+ FUNCTION {format.authors}
260
+ { author empty$
261
+ { "" }
262
+ { author format.names }
263
+ if$
264
+ }
265
+
266
+ FUNCTION {format.editors}
267
+ { editor empty$
268
+ { "" }
269
+ { editor format.names
270
+ editor num.names$ #1 >
271
+ { " (eds.)" * }
272
+ { " (ed.)" * }
273
+ if$
274
+ }
275
+ if$
276
+ }
277
+
278
+ FUNCTION {format.isbn}
279
+ { isbn empty$
280
+ { "" }
281
+ { new.block "ISBN " isbn * }
282
+ if$
283
+ }
284
+
285
+ FUNCTION {format.issn}
286
+ { issn empty$
287
+ { "" }
288
+ { new.block "ISSN " issn * }
289
+ if$
290
+ }
291
+
292
+ FUNCTION {format.url}
293
+ { url empty$
294
+ { "" }
295
+ { new.block "URL \url{" url * "}" * }
296
+ if$
297
+ }
298
+
299
+ FUNCTION {format.doi}
300
+ { doi empty$
301
+ { "" }
302
+ { new.block "\doi{" doi * "}" * }
303
+ if$
304
+ }
305
+
306
+ FUNCTION {format.title}
307
+ { title empty$
308
+ { "" }
309
+ { title "t" change.case$ }
310
+ if$
311
+ }
312
+
313
+ FUNCTION {format.full.names}
314
+ {'s :=
315
+ #1 'nameptr :=
316
+ s num.names$ 'numnames :=
317
+ numnames 'namesleft :=
318
+ { namesleft #0 > }
319
+ { s nameptr
320
+ "{vv~}{ll}" format.name$ 't :=
321
+ nameptr #1 >
322
+ {
323
+ namesleft #1 >
324
+ { ", " * t * }
325
+ {
326
+ numnames #2 >
327
+ { "," * }
328
+ 'skip$
329
+ if$
330
+ t "others" =
331
+ { " et~al." * }
332
+ { " and " * t * }
333
+ if$
334
+ }
335
+ if$
336
+ }
337
+ 't
338
+ if$
339
+ nameptr #1 + 'nameptr :=
340
+ namesleft #1 - 'namesleft :=
341
+ }
342
+ while$
343
+ }
344
+
345
+ FUNCTION {author.editor.full}
346
+ { author empty$
347
+ { editor empty$
348
+ { "" }
349
+ { editor format.full.names }
350
+ if$
351
+ }
352
+ { author format.full.names }
353
+ if$
354
+ }
355
+
356
+ FUNCTION {author.full}
357
+ { author empty$
358
+ { "" }
359
+ { author format.full.names }
360
+ if$
361
+ }
362
+
363
+ FUNCTION {editor.full}
364
+ { editor empty$
365
+ { "" }
366
+ { editor format.full.names }
367
+ if$
368
+ }
369
+
370
+ FUNCTION {make.full.names}
371
+ { type$ "book" =
372
+ type$ "inbook" =
373
+ or
374
+ 'author.editor.full
375
+ { type$ "proceedings" =
376
+ 'editor.full
377
+ 'author.full
378
+ if$
379
+ }
380
+ if$
381
+ }
382
+
383
+ FUNCTION {output.bibitem}
384
+ { newline$
385
+ "\bibitem[" write$
386
+ label write$
387
+ ")" make.full.names duplicate$ short.list =
388
+ { pop$ }
389
+ { * }
390
+ if$
391
+ "]{" * write$
392
+ cite$ write$
393
+ "}" write$
394
+ newline$
395
+ ""
396
+ before.all 'output.state :=
397
+ }
398
+
399
+ FUNCTION {n.dashify}
400
+ { 't :=
401
+ ""
402
+ { t empty$ not }
403
+ { t #1 #1 substring$ "-" =
404
+ { t #1 #2 substring$ "--" = not
405
+ { "--" *
406
+ t #2 global.max$ substring$ 't :=
407
+ }
408
+ { { t #1 #1 substring$ "-" = }
409
+ { "-" *
410
+ t #2 global.max$ substring$ 't :=
411
+ }
412
+ while$
413
+ }
414
+ if$
415
+ }
416
+ { t #1 #1 substring$ *
417
+ t #2 global.max$ substring$ 't :=
418
+ }
419
+ if$
420
+ }
421
+ while$
422
+ }
423
+
424
+ FUNCTION {format.date}
425
+ { year duplicate$ empty$
426
+ { "empty year in " cite$ * warning$
427
+ pop$ "" }
428
+ 'skip$
429
+ if$
430
+ month empty$
431
+ 'skip$
432
+ { month
433
+ " " * swap$ *
434
+ }
435
+ if$
436
+ extra.label *
437
+ }
438
+
439
+ FUNCTION {format.btitle}
440
+ { title emphasize
441
+ }
442
+
443
+ FUNCTION {tie.or.space.connect}
444
+ { duplicate$ text.length$ #3 <
445
+ { "~" }
446
+ { " " }
447
+ if$
448
+ swap$ * *
449
+ }
450
+
451
+ FUNCTION {either.or.check}
452
+ { empty$
453
+ 'pop$
454
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
455
+ if$
456
+ }
457
+
458
+ FUNCTION {format.bvolume}
459
+ { volume empty$
460
+ { "" }
461
+ { "volume" volume tie.or.space.connect
462
+ series empty$
463
+ 'skip$
464
+ { " of " * series emphasize * }
465
+ if$
466
+ "volume and number" number either.or.check
467
+ }
468
+ if$
469
+ }
470
+
471
+ FUNCTION {format.number.series}
472
+ { volume empty$
473
+ { number empty$
474
+ { series field.or.null }
475
+ { output.state mid.sentence =
476
+ { "number" }
477
+ { "Number" }
478
+ if$
479
+ number tie.or.space.connect
480
+ series empty$
481
+ { "there's a number but no series in " cite$ * warning$ }
482
+ { " in " * series * }
483
+ if$
484
+ }
485
+ if$
486
+ }
487
+ { "" }
488
+ if$
489
+ }
490
+
491
+ FUNCTION {format.edition}
492
+ { edition empty$
493
+ { "" }
494
+ { output.state mid.sentence =
495
+ { edition "l" change.case$ " edition" * }
496
+ { edition "t" change.case$ " edition" * }
497
+ if$
498
+ }
499
+ if$
500
+ }
501
+
502
+ INTEGERS { multiresult }
503
+
504
+ FUNCTION {multi.page.check}
505
+ { 't :=
506
+ #0 'multiresult :=
507
+ { multiresult not
508
+ t empty$ not
509
+ and
510
+ }
511
+ { t #1 #1 substring$
512
+ duplicate$ "-" =
513
+ swap$ duplicate$ "," =
514
+ swap$ "+" =
515
+ or or
516
+ { #1 'multiresult := }
517
+ { t #2 global.max$ substring$ 't := }
518
+ if$
519
+ }
520
+ while$
521
+ multiresult
522
+ }
523
+
524
+ FUNCTION {format.pages}
525
+ { pages empty$
526
+ { "" }
527
+ { pages multi.page.check
528
+ { "pp.\ " pages n.dashify tie.or.space.connect }
529
+ { "pp.\ " pages tie.or.space.connect }
530
+ if$
531
+ }
532
+ if$
533
+ }
534
+
535
+ FUNCTION {format.eid}
536
+ { eid empty$
537
+ { "" }
538
+ { "art." eid tie.or.space.connect }
539
+ if$
540
+ }
541
+
542
+ FUNCTION {format.vol.num.pages}
543
+ { volume field.or.null
544
+ number empty$
545
+ 'skip$
546
+ { "\penalty0 (" number * ")" * *
547
+ volume empty$
548
+ { "there's a number but no volume in " cite$ * warning$ }
549
+ 'skip$
550
+ if$
551
+ }
552
+ if$
553
+ pages empty$
554
+ 'skip$
555
+ { duplicate$ empty$
556
+ { pop$ format.pages }
557
+ { ":\penalty0 " * pages n.dashify * }
558
+ if$
559
+ }
560
+ if$
561
+ }
562
+
563
+ FUNCTION {format.vol.num.eid}
564
+ { volume field.or.null
565
+ number empty$
566
+ 'skip$
567
+ { "\penalty0 (" number * ")" * *
568
+ volume empty$
569
+ { "there's a number but no volume in " cite$ * warning$ }
570
+ 'skip$
571
+ if$
572
+ }
573
+ if$
574
+ eid empty$
575
+ 'skip$
576
+ { duplicate$ empty$
577
+ { pop$ format.eid }
578
+ { ":\penalty0 " * eid * }
579
+ if$
580
+ }
581
+ if$
582
+ }
583
+
584
+ FUNCTION {format.chapter.pages}
585
+ { chapter empty$
586
+ 'format.pages
587
+ { type empty$
588
+ { "chapter" }
589
+ { type "l" change.case$ }
590
+ if$
591
+ chapter tie.or.space.connect
592
+ pages empty$
593
+ 'skip$
594
+ { ", " * format.pages * }
595
+ if$
596
+ }
597
+ if$
598
+ }
599
+
600
+ FUNCTION {format.in.ed.booktitle}
601
+ { booktitle empty$
602
+ { "" }
603
+ { editor empty$
604
+ { "In " booktitle emphasize * }
605
+ { "In " format.editors * ", " * booktitle emphasize * }
606
+ if$
607
+ }
608
+ if$
609
+ }
610
+
611
+ FUNCTION {empty.misc.check}
612
+ { author empty$ title empty$ howpublished empty$
613
+ month empty$ year empty$ note empty$
614
+ and and and and and
615
+ key empty$ not and
616
+ { "all relevant fields are empty in " cite$ * warning$ }
617
+ 'skip$
618
+ if$
619
+ }
620
+
621
+ FUNCTION {format.thesis.type}
622
+ { type empty$
623
+ 'skip$
624
+ { pop$
625
+ type "t" change.case$
626
+ }
627
+ if$
628
+ }
629
+
630
+ FUNCTION {format.tr.number}
631
+ { type empty$
632
+ { "Technical Report" }
633
+ 'type
634
+ if$
635
+ number empty$
636
+ { "t" change.case$ }
637
+ { number tie.or.space.connect }
638
+ if$
639
+ }
640
+
641
+ FUNCTION {format.article.crossref}
642
+ { key empty$
643
+ { journal empty$
644
+ { "need key or journal for " cite$ * " to crossref " * crossref *
645
+ warning$
646
+ ""
647
+ }
648
+ { "In \emph{" journal * "}" * }
649
+ if$
650
+ }
651
+ { "In " }
652
+ if$
653
+ " \citet{" * crossref * "}" *
654
+ }
655
+
656
+ FUNCTION {format.book.crossref}
657
+ { volume empty$
658
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
659
+ "In "
660
+ }
661
+ { "Volume" volume tie.or.space.connect
662
+ " of " *
663
+ }
664
+ if$
665
+ editor empty$
666
+ editor field.or.null author field.or.null =
667
+ or
668
+ { key empty$
669
+ { series empty$
670
+ { "need editor, key, or series for " cite$ * " to crossref " *
671
+ crossref * warning$
672
+ "" *
673
+ }
674
+ { "\emph{" * series * "}" * }
675
+ if$
676
+ }
677
+ 'skip$
678
+ if$
679
+ }
680
+ 'skip$
681
+ if$
682
+ " \citet{" * crossref * "}" *
683
+ }
684
+
685
+ FUNCTION {format.incoll.inproc.crossref}
686
+ { editor empty$
687
+ editor field.or.null author field.or.null =
688
+ or
689
+ { key empty$
690
+ { booktitle empty$
691
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
692
+ crossref * warning$
693
+ ""
694
+ }
695
+ { "In \emph{" booktitle * "}" * }
696
+ if$
697
+ }
698
+ { "In " }
699
+ if$
700
+ }
701
+ { "In " }
702
+ if$
703
+ " \citet{" * crossref * "}" *
704
+ }
705
+
706
+ FUNCTION {article}
707
+ { output.bibitem
708
+ format.authors "author" output.check
709
+ author format.key output
710
+ new.block
711
+ format.title "title" output.check
712
+ new.block
713
+ crossref missing$
714
+ { journal emphasize "journal" output.check
715
+ eid empty$
716
+ { format.vol.num.pages output }
717
+ { format.vol.num.eid output }
718
+ if$
719
+ format.date "year" output.check
720
+ }
721
+ { format.article.crossref output.nonnull
722
+ eid empty$
723
+ { format.pages output }
724
+ { format.eid output }
725
+ if$
726
+ }
727
+ if$
728
+ format.issn output
729
+ format.doi output
730
+ format.url output
731
+ new.block
732
+ note output
733
+ fin.entry
734
+ }
735
+
736
+ FUNCTION {book}
737
+ { output.bibitem
738
+ author empty$
739
+ { format.editors "author and editor" output.check
740
+ editor format.key output
741
+ }
742
+ { format.authors output.nonnull
743
+ crossref missing$
744
+ { "author and editor" editor either.or.check }
745
+ 'skip$
746
+ if$
747
+ }
748
+ if$
749
+ new.block
750
+ format.btitle "title" output.check
751
+ crossref missing$
752
+ { format.bvolume output
753
+ new.block
754
+ format.number.series output
755
+ new.sentence
756
+ publisher "publisher" output.check
757
+ address output
758
+ }
759
+ { new.block
760
+ format.book.crossref output.nonnull
761
+ }
762
+ if$
763
+ format.edition output
764
+ format.date "year" output.check
765
+ format.isbn output
766
+ format.doi output
767
+ format.url output
768
+ new.block
769
+ note output
770
+ fin.entry
771
+ }
772
+
773
+ FUNCTION {booklet}
774
+ { output.bibitem
775
+ format.authors output
776
+ author format.key output
777
+ new.block
778
+ format.title "title" output.check
779
+ howpublished address new.block.checkb
780
+ howpublished output
781
+ address output
782
+ format.date output
783
+ format.isbn output
784
+ format.doi output
785
+ format.url output
786
+ new.block
787
+ note output
788
+ fin.entry
789
+ }
790
+
791
+ FUNCTION {inbook}
792
+ { output.bibitem
793
+ author empty$
794
+ { format.editors "author and editor" output.check
795
+ editor format.key output
796
+ }
797
+ { format.authors output.nonnull
798
+ crossref missing$
799
+ { "author and editor" editor either.or.check }
800
+ 'skip$
801
+ if$
802
+ }
803
+ if$
804
+ new.block
805
+ format.btitle "title" output.check
806
+ crossref missing$
807
+ { format.bvolume output
808
+ format.chapter.pages "chapter and pages" output.check
809
+ new.block
810
+ format.number.series output
811
+ new.sentence
812
+ publisher "publisher" output.check
813
+ address output
814
+ }
815
+ { format.chapter.pages "chapter and pages" output.check
816
+ new.block
817
+ format.book.crossref output.nonnull
818
+ }
819
+ if$
820
+ format.edition output
821
+ format.date "year" output.check
822
+ format.isbn output
823
+ format.doi output
824
+ format.url output
825
+ new.block
826
+ note output
827
+ fin.entry
828
+ }
829
+
830
+ FUNCTION {incollection}
831
+ { output.bibitem
832
+ format.authors "author" output.check
833
+ author format.key output
834
+ new.block
835
+ format.title "title" output.check
836
+ new.block
837
+ crossref missing$
838
+ { format.in.ed.booktitle "booktitle" output.check
839
+ format.bvolume output
840
+ format.number.series output
841
+ format.chapter.pages output
842
+ new.sentence
843
+ publisher "publisher" output.check
844
+ address output
845
+ format.edition output
846
+ format.date "year" output.check
847
+ }
848
+ { format.incoll.inproc.crossref output.nonnull
849
+ format.chapter.pages output
850
+ }
851
+ if$
852
+ format.isbn output
853
+ format.doi output
854
+ format.url output
855
+ new.block
856
+ note output
857
+ fin.entry
858
+ }
859
+
860
+ FUNCTION {inproceedings}
861
+ { output.bibitem
862
+ format.authors "author" output.check
863
+ author format.key output
864
+ new.block
865
+ format.title "title" output.check
866
+ new.block
867
+ crossref missing$
868
+ { format.in.ed.booktitle "booktitle" output.check
869
+ format.bvolume output
870
+ format.number.series output
871
+ format.pages output
872
+ address empty$
873
+ { organization publisher new.sentence.checkb
874
+ organization output
875
+ publisher output
876
+ format.date "year" output.check
877
+ }
878
+ { address output.nonnull
879
+ format.date "year" output.check
880
+ new.sentence
881
+ organization output
882
+ publisher output
883
+ }
884
+ if$
885
+ }
886
+ { format.incoll.inproc.crossref output.nonnull
887
+ format.pages output
888
+ }
889
+ if$
890
+ format.isbn output
891
+ format.doi output
892
+ format.url output
893
+ new.block
894
+ note output
895
+ fin.entry
896
+ }
897
+
898
+ FUNCTION {conference} { inproceedings }
899
+
900
+ FUNCTION {manual}
901
+ { output.bibitem
902
+ format.authors output
903
+ author format.key output
904
+ new.block
905
+ format.btitle "title" output.check
906
+ organization address new.block.checkb
907
+ organization output
908
+ address output
909
+ format.edition output
910
+ format.date output
911
+ format.url output
912
+ new.block
913
+ note output
914
+ fin.entry
915
+ }
916
+
917
+ FUNCTION {mastersthesis}
918
+ { output.bibitem
919
+ format.authors "author" output.check
920
+ author format.key output
921
+ new.block
922
+ format.title "title" output.check
923
+ new.block
924
+ "Master's thesis" format.thesis.type output.nonnull
925
+ school "school" output.check
926
+ address output
927
+ format.date "year" output.check
928
+ format.url output
929
+ new.block
930
+ note output
931
+ fin.entry
932
+ }
933
+
934
+ FUNCTION {misc}
935
+ { output.bibitem
936
+ format.authors output
937
+ author format.key output
938
+ title howpublished new.block.checkb
939
+ format.title output
940
+ howpublished new.block.checka
941
+ howpublished output
942
+ format.date output
943
+ format.issn output
944
+ format.url output
945
+ new.block
946
+ note output
947
+ fin.entry
948
+ empty.misc.check
949
+ }
950
+
951
+ FUNCTION {phdthesis}
952
+ { output.bibitem
953
+ format.authors "author" output.check
954
+ author format.key output
955
+ new.block
956
+ format.btitle "title" output.check
957
+ new.block
958
+ "PhD thesis" format.thesis.type output.nonnull
959
+ school "school" output.check
960
+ address output
961
+ format.date "year" output.check
962
+ format.url output
963
+ new.block
964
+ note output
965
+ fin.entry
966
+ }
967
+
968
+ FUNCTION {proceedings}
969
+ { output.bibitem
970
+ format.editors output
971
+ editor format.key output
972
+ new.block
973
+ format.btitle "title" output.check
974
+ format.bvolume output
975
+ format.number.series output
976
+ address output
977
+ format.date "year" output.check
978
+ new.sentence
979
+ organization output
980
+ publisher output
981
+ format.isbn output
982
+ format.doi output
983
+ format.url output
984
+ new.block
985
+ note output
986
+ fin.entry
987
+ }
988
+
989
+ FUNCTION {techreport}
990
+ { output.bibitem
991
+ format.authors "author" output.check
992
+ author format.key output
993
+ new.block
994
+ format.title "title" output.check
995
+ new.block
996
+ format.tr.number output.nonnull
997
+ institution "institution" output.check
998
+ address output
999
+ format.date "year" output.check
1000
+ format.url output
1001
+ new.block
1002
+ note output
1003
+ fin.entry
1004
+ }
1005
+
1006
+ FUNCTION {unpublished}
1007
+ { output.bibitem
1008
+ format.authors "author" output.check
1009
+ author format.key output
1010
+ new.block
1011
+ format.title "title" output.check
1012
+ new.block
1013
+ note "note" output.check
1014
+ format.date output
1015
+ format.url output
1016
+ fin.entry
1017
+ }
1018
+
1019
+ FUNCTION {default.type} { misc }
1020
+
1021
+
1022
+ MACRO {jan} {"January"}
1023
+
1024
+ MACRO {feb} {"February"}
1025
+
1026
+ MACRO {mar} {"March"}
1027
+
1028
+ MACRO {apr} {"April"}
1029
+
1030
+ MACRO {may} {"May"}
1031
+
1032
+ MACRO {jun} {"June"}
1033
+
1034
+ MACRO {jul} {"July"}
1035
+
1036
+ MACRO {aug} {"August"}
1037
+
1038
+ MACRO {sep} {"September"}
1039
+
1040
+ MACRO {oct} {"October"}
1041
+
1042
+ MACRO {nov} {"November"}
1043
+
1044
+ MACRO {dec} {"December"}
1045
+
1046
+
1047
+
1048
+ MACRO {acmcs} {"ACM Computing Surveys"}
1049
+
1050
+ MACRO {acta} {"Acta Informatica"}
1051
+
1052
+ MACRO {cacm} {"Communications of the ACM"}
1053
+
1054
+ MACRO {ibmjrd} {"IBM Journal of Research and Development"}
1055
+
1056
+ MACRO {ibmsj} {"IBM Systems Journal"}
1057
+
1058
+ MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
1059
+
1060
+ MACRO {ieeetc} {"IEEE Transactions on Computers"}
1061
+
1062
+ MACRO {ieeetcad}
1063
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
1064
+
1065
+ MACRO {ipl} {"Information Processing Letters"}
1066
+
1067
+ MACRO {jacm} {"Journal of the ACM"}
1068
+
1069
+ MACRO {jcss} {"Journal of Computer and System Sciences"}
1070
+
1071
+ MACRO {scp} {"Science of Computer Programming"}
1072
+
1073
+ MACRO {sicomp} {"SIAM Journal on Computing"}
1074
+
1075
+ MACRO {tocs} {"ACM Transactions on Computer Systems"}
1076
+
1077
+ MACRO {tods} {"ACM Transactions on Database Systems"}
1078
+
1079
+ MACRO {tog} {"ACM Transactions on Graphics"}
1080
+
1081
+ MACRO {toms} {"ACM Transactions on Mathematical Software"}
1082
+
1083
+ MACRO {toois} {"ACM Transactions on Office Information Systems"}
1084
+
1085
+ MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
1086
+
1087
+ MACRO {tcs} {"Theoretical Computer Science"}
1088
+
1089
+
1090
+ READ
1091
+
1092
+ FUNCTION {sortify}
1093
+ { purify$
1094
+ "l" change.case$
1095
+ }
1096
+
1097
+ INTEGERS { len }
1098
+
1099
+ FUNCTION {chop.word}
1100
+ { 's :=
1101
+ 'len :=
1102
+ s #1 len substring$ =
1103
+ { s len #1 + global.max$ substring$ }
1104
+ 's
1105
+ if$
1106
+ }
1107
+
1108
+ FUNCTION {format.lab.names}
1109
+ { 's :=
1110
+ s #1 "{vv~}{ll}" format.name$
1111
+ s num.names$ duplicate$
1112
+ #2 >
1113
+ { pop$ " et~al." * }
1114
+ { #2 <
1115
+ 'skip$
1116
+ { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
1117
+ { " et~al." * }
1118
+ { " \& " * s #2 "{vv~}{ll}" format.name$ * }
1119
+ if$
1120
+ }
1121
+ if$
1122
+ }
1123
+ if$
1124
+ }
1125
+
1126
+ FUNCTION {author.key.label}
1127
+ { author empty$
1128
+ { key empty$
1129
+ { cite$ #1 #3 substring$ }
1130
+ 'key
1131
+ if$
1132
+ }
1133
+ { author format.lab.names }
1134
+ if$
1135
+ }
1136
+
1137
+ FUNCTION {author.editor.key.label}
1138
+ { author empty$
1139
+ { editor empty$
1140
+ { key empty$
1141
+ { cite$ #1 #3 substring$ }
1142
+ 'key
1143
+ if$
1144
+ }
1145
+ { editor format.lab.names }
1146
+ if$
1147
+ }
1148
+ { author format.lab.names }
1149
+ if$
1150
+ }
1151
+
1152
+ FUNCTION {author.key.organization.label}
1153
+ { author empty$
1154
+ { key empty$
1155
+ { organization empty$
1156
+ { cite$ #1 #3 substring$ }
1157
+ { "The " #4 organization chop.word #3 text.prefix$ }
1158
+ if$
1159
+ }
1160
+ 'key
1161
+ if$
1162
+ }
1163
+ { author format.lab.names }
1164
+ if$
1165
+ }
1166
+
1167
+ FUNCTION {editor.key.organization.label}
1168
+ { editor empty$
1169
+ { key empty$
1170
+ { organization empty$
1171
+ { cite$ #1 #3 substring$ }
1172
+ { "The " #4 organization chop.word #3 text.prefix$ }
1173
+ if$
1174
+ }
1175
+ 'key
1176
+ if$
1177
+ }
1178
+ { editor format.lab.names }
1179
+ if$
1180
+ }
1181
+
1182
+ FUNCTION {calc.short.authors}
1183
+ { type$ "book" =
1184
+ type$ "inbook" =
1185
+ or
1186
+ 'author.editor.key.label
1187
+ { type$ "proceedings" =
1188
+ 'editor.key.organization.label
1189
+ { type$ "manual" =
1190
+ 'author.key.organization.label
1191
+ 'author.key.label
1192
+ if$
1193
+ }
1194
+ if$
1195
+ }
1196
+ if$
1197
+ 'short.list :=
1198
+ }
1199
+
1200
+ FUNCTION {calc.label}
1201
+ { calc.short.authors
1202
+ short.list
1203
+ "("
1204
+ *
1205
+ year duplicate$ empty$
1206
+ short.list key field.or.null = or
1207
+ { pop$ "" }
1208
+ 'skip$
1209
+ if$
1210
+ *
1211
+ 'label :=
1212
+ }
1213
+
1214
+ FUNCTION {sort.format.names}
1215
+ { 's :=
1216
+ #1 'nameptr :=
1217
+ ""
1218
+ s num.names$ 'numnames :=
1219
+ numnames 'namesleft :=
1220
+ { namesleft #0 > }
1221
+ {
1222
+ s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't :=
1223
+ nameptr #1 >
1224
+ {
1225
+ " " *
1226
+ namesleft #1 = t "others" = and
1227
+ { "zzzzz" * }
1228
+ { numnames #2 > nameptr #2 = and
1229
+ { "zz" * year field.or.null * " " * }
1230
+ 'skip$
1231
+ if$
1232
+ t sortify *
1233
+ }
1234
+ if$
1235
+ }
1236
+ { t sortify * }
1237
+ if$
1238
+ nameptr #1 + 'nameptr :=
1239
+ namesleft #1 - 'namesleft :=
1240
+ }
1241
+ while$
1242
+ }
1243
+
1244
+ FUNCTION {sort.format.title}
1245
+ { 't :=
1246
+ "A " #2
1247
+ "An " #3
1248
+ "The " #4 t chop.word
1249
+ chop.word
1250
+ chop.word
1251
+ sortify
1252
+ #1 global.max$ substring$
1253
+ }
1254
+
1255
+ FUNCTION {author.sort}
1256
+ { author empty$
1257
+ { key empty$
1258
+ { "to sort, need author or key in " cite$ * warning$
1259
+ ""
1260
+ }
1261
+ { key sortify }
1262
+ if$
1263
+ }
1264
+ { author sort.format.names }
1265
+ if$
1266
+ }
1267
+
1268
+ FUNCTION {author.editor.sort}
1269
+ { author empty$
1270
+ { editor empty$
1271
+ { key empty$
1272
+ { "to sort, need author, editor, or key in " cite$ * warning$
1273
+ ""
1274
+ }
1275
+ { key sortify }
1276
+ if$
1277
+ }
1278
+ { editor sort.format.names }
1279
+ if$
1280
+ }
1281
+ { author sort.format.names }
1282
+ if$
1283
+ }
1284
+
1285
+ FUNCTION {author.organization.sort}
1286
+ { author empty$
1287
+ { organization empty$
1288
+ { key empty$
1289
+ { "to sort, need author, organization, or key in " cite$ * warning$
1290
+ ""
1291
+ }
1292
+ { key sortify }
1293
+ if$
1294
+ }
1295
+ { "The " #4 organization chop.word sortify }
1296
+ if$
1297
+ }
1298
+ { author sort.format.names }
1299
+ if$
1300
+ }
1301
+
1302
+ FUNCTION {editor.organization.sort}
1303
+ { editor empty$
1304
+ { organization empty$
1305
+ { key empty$
1306
+ { "to sort, need editor, organization, or key in " cite$ * warning$
1307
+ ""
1308
+ }
1309
+ { key sortify }
1310
+ if$
1311
+ }
1312
+ { "The " #4 organization chop.word sortify }
1313
+ if$
1314
+ }
1315
+ { editor sort.format.names }
1316
+ if$
1317
+ }
1318
+
1319
+
1320
+ FUNCTION {presort}
1321
+ { calc.label
1322
+ label sortify
1323
+ " "
1324
+ *
1325
+ type$ "book" =
1326
+ type$ "inbook" =
1327
+ or
1328
+ 'author.editor.sort
1329
+ { type$ "proceedings" =
1330
+ 'editor.organization.sort
1331
+ { type$ "manual" =
1332
+ 'author.organization.sort
1333
+ 'author.sort
1334
+ if$
1335
+ }
1336
+ if$
1337
+ }
1338
+ if$
1339
+ " "
1340
+ *
1341
+ year field.or.null sortify
1342
+ *
1343
+ " "
1344
+ *
1345
+ cite$
1346
+ *
1347
+ #1 entry.max$ substring$
1348
+ 'sort.label :=
1349
+ sort.label *
1350
+ #1 entry.max$ substring$
1351
+ 'sort.key$ :=
1352
+ }
1353
+
1354
+ ITERATE {presort}
1355
+
1356
+ SORT
1357
+
1358
+ STRINGS { longest.label last.label next.extra }
1359
+
1360
+ INTEGERS { longest.label.width last.extra.num number.label }
1361
+
1362
+ FUNCTION {initialize.longest.label}
1363
+ { "" 'longest.label :=
1364
+ #0 int.to.chr$ 'last.label :=
1365
+ "" 'next.extra :=
1366
+ #0 'longest.label.width :=
1367
+ #0 'last.extra.num :=
1368
+ #0 'number.label :=
1369
+ }
1370
+
1371
+ FUNCTION {forward.pass}
1372
+ { last.label label =
1373
+ { last.extra.num #1 + 'last.extra.num :=
1374
+ last.extra.num int.to.chr$ 'extra.label :=
1375
+ }
1376
+ { "a" chr.to.int$ 'last.extra.num :=
1377
+ "" 'extra.label :=
1378
+ label 'last.label :=
1379
+ }
1380
+ if$
1381
+ number.label #1 + 'number.label :=
1382
+ }
1383
+
1384
+ FUNCTION {reverse.pass}
1385
+ { next.extra "b" =
1386
+ { "a" 'extra.label := }
1387
+ 'skip$
1388
+ if$
1389
+ extra.label 'next.extra :=
1390
+ extra.label
1391
+ duplicate$ empty$
1392
+ 'skip$
1393
+ { "{\natexlab{" swap$ * "}}" * }
1394
+ if$
1395
+ 'extra.label :=
1396
+ label extra.label * 'label :=
1397
+ }
1398
+
1399
+ EXECUTE {initialize.longest.label}
1400
+
1401
+ ITERATE {forward.pass}
1402
+
1403
+ REVERSE {reverse.pass}
1404
+
1405
+ FUNCTION {bib.sort.order}
1406
+ { sort.label 'sort.key$ :=
1407
+ }
1408
+
1409
+ ITERATE {bib.sort.order}
1410
+
1411
+ SORT
1412
+
1413
+ FUNCTION {begin.bib}
1414
+ { preamble$ empty$
1415
+ 'skip$
1416
+ { preamble$ write$ newline$ }
1417
+ if$
1418
+ "\begin{thebibliography}{" number.label int.to.str$ * "}" *
1419
+ write$ newline$
1420
+ "\providecommand{\natexlab}[1]{#1}"
1421
+ write$ newline$
1422
+ "\providecommand{\url}[1]{\texttt{#1}}"
1423
+ write$ newline$
1424
+ "\expandafter\ifx\csname urlstyle\endcsname\relax"
1425
+ write$ newline$
1426
+ " \providecommand{\doi}[1]{doi: #1}\else"
1427
+ write$ newline$
1428
+ " \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi"
1429
+ write$ newline$
1430
+ }
1431
+
1432
+ EXECUTE {begin.bib}
1433
+
1434
+ EXECUTE {init.state.consts}
1435
+
1436
+ ITERATE {call.type$}
1437
+
1438
+ FUNCTION {end.bib}
1439
+ { newline$
1440
+ "\end{thebibliography}" write$ newline$
1441
+ }
1442
+
1443
+ EXECUTE {end.bib}