We consider the classical problem of constructing a (1−δ)-valid confidence interval from i.i.d. observations of an unknown probability measure η under the heavy-tailed moment constraint Eη∣X∣1+ε≤B. The natural statistic in this class is the moment-constrained Kullback--Leibler projection KLinf, which also governs regret lower bounds in heavy-tailed bandits, error exponents of tests for the mean, and empirical likelihood. Existing anytime confidence intervals, such as \cite{thesis} contain a 2log(n+1) dependence on the sample size n. Relaxing the anytime requirement, we obtain sample size-free confidence intervals which are provably stable and optimal, in the sense that they match the lower bound asymptotically, and have optimal width (log(1/δ)/n)min{1/2,ε/(1+ε)}. We employ a combinatorial argument, in contrast to Robbins-type regret minimization methods, to obtain bounds on the moment generating function of nKLinf. These results extend to multiple constraints under mild conditions. Further, we use techniques from \cite{manole2023martingale} to improve the anytime confidence interval length to O(loglogn). Our experiments show that the resultant confidence intervals are considerably narrower than the existing interval estimation methods in most settings, and remain competitive with them in others.
Figures & tables
Name
Description
Reference
Confidence intervals
In,δ
KLinf with threshold bδ
Corollary 6
Cat
Catoni-type interval ( 89 ), scale tuned to n
Catoni (2012) ; Wang and Ramdas (2023)
BFLS
centred at a Catoni-type estimator
Bhatt et al. (2022)
CJLX
centred at a Catoni-type estimator
Chen et al. (2021)
TM
centred at a truncated mean
Bubeck et al. (2013)
Table 1: The methods compared in Section 7 .
Figure 1: Endpoints on one path of Pareto data with shape 1.5 , whose mean is 3 . (a) Confidence intervals. (b) Confidence sequences. The shaded regions are In,δ and In,δseq . The endpoints of the other methods are drawn only where they differ from ±M . The median-of-means interval is equal to [−M,M] throughout and is not drawn.
Figure 2: Confidence intervals: width against the sample size n=1,…,104 , on logarithmic axes. Panels (a)–(c) and (e)–(g) have p=1.25 and share their vertical axis, and panels (d) and (h) have p=2 . The curves of the other methods start where their width becomes smaller than the trivial width 2M . Figure 4 shows all eighteen distributions.
Confidence intervals
Confidence sequences
Distribution
In,δ
Cat
BFLS
CJLX
TM
MoM
In,δseq
In,δold
WR
FBLS
p=1.25 , trivial width 8.386
Pareto( 1.3 )
1.572
2.052
2.938
5.358
6.425
8.386
1.851
2.029
2.936
2.310
Pareto( 1.5 )
0.816
2.009
2.674
3.811
4.750
8.386
1.021
1.156
2.798
2.259
Fréchet( 1.4 )
1.139
2.016
2.938
4.515
5.482
8.386
1.393
1.557
2.939
2.271
1+σt1.5
0.949
2.017
2.938
5.382
6.645
8.386
1.199
1.367
2.949
2.270
Table 2: Widths at n=104 for nine of the distributions. Within each row, the narrowest confidence interval and the narrowest confidence sequence are in bold. The names of the methods are those of Table 1 . In the rows 1+σtν , the observations are 1+σZ , where Z has the Student t distribution with ν degrees of freedom and the scale σ is such that E∣X∣p=B (Table 3 ); in the lognormal rows, σ is the shape parameter. Table 5 contains all of the settings.
Figure 3: Confidence sequences. (a) The two thresholds at δ=0.05 ; the dotted line marks n=170 . (b) The ratio of the width of In,δseq to that of In,δold . (c) The ratio of the width of In,δseq to that of the narrower of WR and FBLS. In (b) and (c), there is one curve for each distribution, and values below one mean that In,δseq is narrower. The dotted line marks n=104 , beyond which the widths are computed at 40 sample sizes. The curves are smoothed over a window of ±12% in n , which is slightly more than one epoch of the construction in Section 5 . Figure 5 shows the widths of all of the sequences for all eighteen distributions.
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
Name
Distribution of Z
p
loc
σ
Mean
Pareto( 1.3 )
Pareto, shape 1.3 , scale 1
1.25
0
0.3094
1.3408
Pareto( 1.5 )
Pareto, shape 1.5 , scale 1
1.25
0
1
3
Pareto( 2.5 )
Pareto, shape 2.5 , scale 1
1.25
0
2.4082
4.0137
1+σt1.3
Student t1.3
1.25
1
0.3823
1
1+σt1.5
Student t1.5
1.25
1
1.2659
1
1+σt1.8
Student t1.8
1.25
1
2.0410
1
Appendix
Table 3: The distributions used in Section 7 . Each of them has E∣X∣p=B=6 , so that M=4.193 for p=1.25 and M=2.449 for p=2 .
Figure 4: Confidence intervals: width against n for all eighteen distributions. Panels (a)–(o) have p=1.25 and panels (p)–(r) have p=2 . The curves of the other methods start where their width becomes smaller than the trivial width. The small steps in panels (j) and (k) are due to sample sizes at which the acceptance set of In,δ is empty for one of the 500 paths, so that the full range is reported.
Figure 5: Confidence sequences: width against n for all eighteen distributions. Panels (a)–(o) have p=1.25 and panels (p)–(r) have p=2 . The dotted vertical line marks n=104 , beyond which the widths are computed at 40 sample sizes.
Confidence intervals
Confidence sequences
Distribution
In,δ
Cat
BFLS
CJLX
TM
MoM
In,δseq
In,δold
WR
FBLS
p=1.25 , trivial width 8.386
Pareto( 1.3 )
2.655
3.073
5.583
7.883
8.373
8.386
3.115
3.244
4.063
3.464
Pareto( 1.5 )
1.643
2.885
4.150
6.169
6.923
8.386
2.030
2.140
3.509
3.139
Pareto( 2.5 )
0.508
1.708
2.959
5.114
5.676
8.386
0.693
0.749
2.264
1.917
1+σt1.3
2.512
3.070
5.592
8.160
8.386
8.386
2.957
3.082
4.068
3.461
Appendix
Table 4: Widths at n=103 . The conventions are those of Table 2 .
Confidence intervals
Confidence sequences
Distribution
In,δ
Cat
BFLS
CJLX
TM
MoM
In,δseq
In,δold
WR
FBLS
p=1.25 , trivial width 8.386
Pareto( 1.3 )
1.572
2.052
2.938
5.358
6.425
8.386
1.851
2.029
2.936
2.310
Pareto( 1.5 )
0.816
2.009
2.674
3.811
4.750
8.386
1.021
1.156
2.798
2.259
Pareto( 2.5 )
0.181
1.166
1.614
2.830
3.632
8.386
0.250
0.300
1.666
1.297
1+σt1.3
1.478
2.055
2.938
5.383
6.639
8.386
1.743
1.913
2.937
2.311
Appendix
Table 5: Widths at n=104 . The conventions are those of Table 2 .
Distribution
In,δseq
In,δold
WR
FBLS
p=1.25 , trivial width 8.386
Pareto( 1.3 )
1.097
1.250
2.146
1.529
Pareto( 1.5 )
0.499
0.598
2.130
1.505
Pareto( 2.5 )
0.087
0.114
1.245
0.911
1+σt1.3
1.030
1.175
2.148
1.537
1+σt1.5
0.568
0.687
2.141
1.510
Appendix
Table 6: Widths of the confidence sequences at n=105 , from 200 paths. The conventions are those of Table 2 .
Confidence intervals
Confidence sequences
Distribution
In,δ
Cat
BFLS
CJLX
TM
MoM
In,δseq
In,δold
WR
FBLS
p=1.25
Pareto( 1.3 )
1
1
1
1
1
1
1
1
1
1
Pareto( 1.5 )
1
1
1
1
1
0.998
1
0.998
0.996
1
Pareto( 2.5 )
0.996
1
1
1
1
1
1
1
1
1
1+σt1.3
1
1
1
1
1
1
1
1
1
1
Appendix
Table 7: Coverage in every setting. For the confidence intervals, the smallest observed coverage over n≤104 . For the confidence sequences, the observed probability that the sequence contains the mean at all n≤104 . The entry 1 means that the mean was contained on all of the 500 paths.
Figure 6: Effect of the threshold. (a) The threshold bδ of ( 14 ) for a fixed sample size, and the thresholds βn(δ) of ( 30 ) and βold(n,δ) of ( 3 ) for all sample sizes, at δ=0.05 . (b) The ratio of the width of In,δold to that of In,δ , with one curve for each distribution. The steps in two of the curves have the same cause as those in Figure 4 .
Figure 7: Loose moment bound: widths with the exact bound B (solid) and with the bound B′=2B (dashed), on the same paths. (a), (b) Confidence intervals: In,δ and its two closest competitors; the values for the others are in Table 5 . (c), (d) Confidence sequences. The curves of In,δseq are smoothed as in Figure 3 .
Figure 8: Loose moment bounds: widths for the exact bound B and for the bounds B′=2B , 5B and 10B , on the same paths. Top: confidence intervals, In,δ and three of its competitors. Bottom: confidence sequences. The curves of In,δseq are smoothed as in Figure 3 .
Confidence intervals
Confidence sequences
Distribution
In,δ
Cat
BFLS
CJLX
TM
MoM
In,δseq
In,δold
WR
FBLS
B′=2B , trivial width 14.601
Pareto( 1.5 )
2.454
3.559
5.115
8.907
10.385
14.601
2.890
3.171
5.114
4.009
1+σt2.5
2.136
3.503
5.115
9.375
12.017
14.601
2.524
2.783
5.126
3.941
B′=5B , trivial width 30.390
Pareto( 1.5 )
6.355
7.484
10.647
19.513
24.752
30.390
7.358
7.999
10.630
8.416
Appendix
Table 8: Widths at n=104 with the loose bounds B′=2B , 5B and 10B , on the paths of the corresponding settings with the exact bound. The conventions are those of Table 2 , and the rows for B′=2B repeat those of Table 5 .
Pareto( 1.5 ), p=1.25
1+σt4 , p=2
Method
102
103
104
105
path
102
103
104
105
path
In,δ
6.40
8.05
14.9
84.4
13.5
6.15
9.83
19.0
129
17.8
Cat
0.31
0.26
1.37
11.2
4.90
0.39
0.45
0.96
6.77
5.13
BFLS
0.72
0.81
1.23
5.56
8.52
0.69
0.88
0.94
3.44
8.43
CJLX
–
0.27
0.65
4.91
2.30
0.19
0.33
0.40
2.66
3.24
TM
0.02
0.03
0.17
1.76
1.00
0.02
0.02
0.05
0.35
0.26
Appendix
Table 9: Run time on one thread. The columns 102,…,105 give the time in milliseconds to compute the interval at this sample size from scratch, and the columns “path” give the total time in seconds to compute it at every n≤104 along one path. The entry for CJLX at n=102 is missing because its interval is then the full range. The names of the methods are those of Table 1 .