pith. sign in

arxiv: 2606.25601 · v1 · pith:2T3MXJLBnew · submitted 2026-06-24 · 📊 stat.ML · cs.IT· cs.LG· math.IT· math.ST· stat.TH

Statistically Valid Hyperparameter Selection: From Tuning to Guarantees

Pith reviewed 2026-06-25 20:19 UTC · model grok-4.3

classification 📊 stat.ML cs.ITcs.LGmath.ITmath.STstat.TH
keywords hyperparameter selectionmultiple hypothesis testingfinite-sample guaranteesstatistical reliabilitylearn-then-testp-valuese-valuesrisk bounds
0
0 comments X

The pith

Hyperparameter selection can be performed with explicit finite-sample guarantees on reliability by framing it as multiple hypothesis testing.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper presents the learn-then-test paradigm as a way to turn hyperparameter selection into a multiple hypothesis testing problem over a fixed candidate set. This setup lets users pick hyperparameters that meet chosen reliability criteria, such as bounds on average or quantile risk, while controlling the probability that the guarantee fails. Traditional grid search or optimization methods offer no such formal control, so the framework supplies the missing statistical assurances for deployment decisions. The approach relies on constructing valid p-values or e-values for each candidate and then applying a multiple-testing correction that holds in finite samples.

Core claim

The learn-then-test (LTT) paradigm formulates hyperparameter selection as multiple hypothesis testing over a candidate set of hyperparameters. This enables the selection of hyperparameters that provably satisfy application-specific reliability requirements such as bounds on average risk, quantile risk, or information-theoretic constraints, with explicit, finite-sample control of error probabilities. The supporting statistical machinery, namely p-values, e-values, and concentration inequalities, is developed from first principles.

What carries the argument

The learn-then-test (LTT) paradigm, which formulates hyperparameter selection as multiple hypothesis testing over a candidate set to enforce reliability constraints.

If this is right

  • Hyperparameters can be selected to satisfy a bound on average risk with an explicit finite-sample error probability.
  • The same selection procedure applies to quantile risk and information-theoretic reliability constraints.
  • The guarantees hold without asymptotic approximations and extend to any setting where valid p-values or e-values are available for the reliability metric.
  • The method separates the computation of per-candidate statistics from the final multiple-testing correction.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The framework could be applied to other discrete selection tasks such as choosing among model architectures or data preprocessing pipelines.
  • In regulated domains the explicit error control may support documentation required for safety certification.
  • Efficiency gains may come from designing candidate sets or testing procedures that exploit structure in the hyperparameter space.

Load-bearing premise

Valid p-values or e-values can be computed for each hyperparameter candidate with respect to the chosen reliability metric and the multiple-testing procedure controls the relevant error rates.

What would settle it

A repeated experiment in which the selected hyperparameter violates the target reliability bound at a frequency higher than the error rate claimed by the procedure.

Figures

Figures reproduced from arXiv: 2606.25601 by Amirmohammad Farzaneh, Osvaldo Simeone.

Figure 1.1
Figure 1.1. Figure 1.1: Illustration of post-training hyperparameter selection in a modern [PITH_FULL_IMAGE:figures/full_fig_p007_1_1.png] view at source ↗
Figure 1.2
Figure 1.2. Figure 1.2: Illustration of the effect of the decoding temperature on the [PITH_FULL_IMAGE:figures/full_fig_p009_1_2.png] view at source ↗
Figure 1.3
Figure 1.3. Figure 1.3: Example of a learning-enabled wireless communication system [PITH_FULL_IMAGE:figures/full_fig_p010_1_3.png] view at source ↗
Figure 1.4
Figure 1.4. Figure 1.4: (a) Empirical versus true risk as a function of the hyperparame [PITH_FULL_IMAGE:figures/full_fig_p013_1_4.png] view at source ↗
Figure 1.5
Figure 1.5. Figure 1.5: Distribution of the risk R(λˆ) for the selected hyperparameter λˆ over repeated training-calibration data splits. The dashed line marks the target risk α = 0.2. The blue curve corresponds to a statistically valid selection rule, whose violation probability P(R(λˆ) > α) is controlled below threshold δ = 0.1 as per (1.4). The orange curve corresponds to conventional HPO based on empirical risk minimization… view at source ↗
Figure 2.1
Figure 2.1. Figure 2.1: Illustration of multiple hypothesis testing (MHT) for the example [PITH_FULL_IMAGE:figures/full_fig_p026_2_1.png] view at source ↗
Figure 2.2
Figure 2.2. Figure 2.2: Schematic illustration of family-wise error rate (FWER) control [PITH_FULL_IMAGE:figures/full_fig_p028_2_2.png] view at source ↗
Figure 2.3
Figure 2.3. Figure 2.3: Reliable hyperparameter selection as MHT. Each hyperparam [PITH_FULL_IMAGE:figures/full_fig_p030_2_3.png] view at source ↗
Figure 2.4
Figure 2.4. Figure 2.4: Illustration of the superuniformity property ( [PITH_FULL_IMAGE:figures/full_fig_p031_2_4.png] view at source ↗
Figure 2.5
Figure 2.5. Figure 2.5: E-calibrators from the family (2.49) for several values of κ ∈ (0, 1). Each curve maps a p-value p to an e-value according to (2.49). The figure illustrates that no single value of κ dominates uniformly over the entire range p ∈ [0, 1]: calibrators with larger κ produce larger e-values for very small p-values, while smaller κ yields larger e-values for moderate p-values. The validity of test (2.50) follo… view at source ↗
Figure 2.6
Figure 2.6. Figure 2.6: Schematic illustration of FDR control in hyperparameter selec [PITH_FULL_IMAGE:figures/full_fig_p044_2_6.png] view at source ↗
Figure 3.1
Figure 3.1. Figure 3.1: Distribution of the empirical risk of the hyperparameters selected [PITH_FULL_IMAGE:figures/full_fig_p050_3_1.png] view at source ↗
Figure 3.2
Figure 3.2. Figure 3.2: Representative Fashion-MNIST images from the independent [PITH_FULL_IMAGE:figures/full_fig_p051_3_2.png] view at source ↗
Figure 3.3
Figure 3.3. Figure 3.3: Distribution of individual packet delays observed on a single run [PITH_FULL_IMAGE:figures/full_fig_p052_3_3.png] view at source ↗
Figure 3.4
Figure 3.4. Figure 3.4: Distribution of the average delay obtained by the hyperparame [PITH_FULL_IMAGE:figures/full_fig_p053_3_4.png] view at source ↗
Figure 4.1
Figure 4.1. Figure 4.1: Illustration of the inversion-based p-value construction ( [PITH_FULL_IMAGE:figures/full_fig_p057_4_1.png] view at source ↗
Figure 4.2
Figure 4.2. Figure 4.2: Illustration of mean versus quantile risk control for a wireless [PITH_FULL_IMAGE:figures/full_fig_p059_4_2.png] view at source ↗
Figure 4.3
Figure 4.3. Figure 4.3: Distribution of packet delays obtained using hyperparameters [PITH_FULL_IMAGE:figures/full_fig_p060_4_3.png] view at source ↗
Figure 4.4
Figure 4.4. Figure 4.4: Illustration of the Information Bottleneck setup (Tishby et al., [PITH_FULL_IMAGE:figures/full_fig_p061_4_4.png] view at source ↗
Figure 4.5
Figure 4.5. Figure 4.5: Joint distribution of relevance and compression for the hyperpa [PITH_FULL_IMAGE:figures/full_fig_p063_4_5.png] view at source ↗
Figure 5.1
Figure 5.1. Figure 5.1: Example of multi-objective reliability requirements in a wireless [PITH_FULL_IMAGE:figures/full_fig_p067_5_1.png] view at source ↗
Figure 5.2
Figure 5.2. Figure 5.2: Illustration of the Pareto frontier in a two-objective setting with [PITH_FULL_IMAGE:figures/full_fig_p069_5_2.png] view at source ↗
Figure 5.4
Figure 5.4. Figure 5.4: Joint distribution of the risks (R1(λˆ), R2(λˆ)) of the selected hy￾perparameter over 100 calibration splits in the wireless scheduling setting of Sec. 3.2, for three methods: (a) LTT controlling only R1(λ); (b) LTT control￾ling only R2(λ); and (c) PT controlling both R1(λ) and R2(λ) simultaneously. Dashed lines mark the reliability thresholds α1 and α2. The shaded region beyond the threshold lines corre… view at source ↗
Figure 5.5
Figure 5.5. Figure 5.5: Illustration of a reliability graph (RG) for prompt template se [PITH_FULL_IMAGE:figures/full_fig_p076_5_5.png] view at source ↗
Figure 5.7
Figure 5.7. Figure 5.7: Distribution of the length of the shortest certified prompt tem [PITH_FULL_IMAGE:figures/full_fig_p079_5_7.png] view at source ↗
Figure 6.1
Figure 6.1. Figure 6.1: Conceptual comparison of LTT and aLTT. (a) LTT is a single [PITH_FULL_IMAGE:figures/full_fig_p085_6_1.png] view at source ↗
Figure 6.2
Figure 6.2. Figure 6.2: Illustration of the operations performed within a single round [PITH_FULL_IMAGE:figures/full_fig_p086_6_2.png] view at source ↗
Figure 6.3
Figure 6.3. Figure 6.3: True positive rate (TPR) as a function of the number of testing [PITH_FULL_IMAGE:figures/full_fig_p094_6_3.png] view at source ↗
Figure 7.1
Figure 7.1. Figure 7.1: Illustration of the two data sources in the autoevaluation set [PITH_FULL_IMAGE:figures/full_fig_p098_7_1.png] view at source ↗
Figure 7.2
Figure 7.2. Figure 7.2: Comparison of R-Eval, R-AutoEval (with reliance factor [PITH_FULL_IMAGE:figures/full_fig_p108_7_2.png] view at source ↗
read the original abstract

Hyperparameter selection is a critical step in the deployment of modern artificial intelligence systems, given the need to tune degrees of freedom such as inference-time parameters, implementation-level settings, and thresholds driving decision rules. Despite its practical importance, hyperparameter selection is typically performed using best-effort empirical methods such as grid search or Bayesian optimization, which provide no formal statistical guarantees on reliability or safety. This monograph presents a unified statistical framework for reliable hyperparameter selection, centered on the learn-then-test (LTT) paradigm, which formulates the problem as multiple hypothesis testing over a candidate set of hyperparameters. The framework enables the selection of hyperparameters that provably satisfy application-specific reliability requirements -- such as bounds on average risk, quantile risk, or information-theoretic constraints -- with explicit, finite-sample control of error probabilities. The supporting statistical machinery, namely p-values, e-values, and concentration inequalities, is developed from first principles in a dedicated appendix.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

2 major / 2 minor

Summary. The manuscript introduces the learn-then-test (LTT) paradigm, which recasts hyperparameter selection as multiple hypothesis testing over a fixed candidate set. For each candidate, valid p-values or e-values are constructed relative to a chosen reliability metric (average risk, quantile risk, or information-theoretic constraint); a multiple-testing procedure then yields a selected set of hyperparameters that provably meet the reliability requirement with explicit finite-sample error control. The required p-value/e-value constructions and concentration inequalities are stated to be supplied from first principles in a dedicated appendix.

Significance. If the p-value and e-value constructions are valid, the framework supplies the first unified, finite-sample guarantee for hyperparameter selection across multiple risk types. This directly addresses the absence of statistical validity in current tuning practice and is relevant for safety-critical deployments. The explicit development of the statistical machinery from first principles is a positive feature that supports verification and extension.

major comments (2)
  1. [Appendix] Appendix (p-value constructions for quantile risk): the manuscript asserts that valid p-values are supplied for the quantile-risk metric, but the specific concentration inequality or test statistic used to obtain finite-sample validity under the null is not stated in the main text or summarized; this construction is load-bearing for the claim that the framework covers quantile risk with explicit error control.
  2. [§3] §3 (multiple-testing step): the error-rate guarantee is stated to follow from any valid multiple-testing procedure, yet the manuscript does not specify which procedure (e.g., Bonferroni, closed testing, or e-value-based) is recommended when the reliability metric is information-theoretic; without this, the finite-sample claim for that metric remains incomplete.
minor comments (2)
  1. [Abstract] The abstract refers to 'a dedicated appendix' without a label (e.g., Appendix A); add the label and a one-sentence pointer from the main text to the relevant constructions.
  2. [§2] Notation for the reliability metrics (average risk, quantile risk, information-theoretic) should be introduced once in §2 and used consistently thereafter to avoid ambiguity when the same symbol appears in different contexts.

Simulated Author's Rebuttal

2 responses · 0 unresolved

We thank the referee for the positive assessment of the LTT framework and for the constructive comments on clarity. We address each major comment below and will revise the manuscript to incorporate the suggested improvements.

read point-by-point responses
  1. Referee: [Appendix] Appendix (p-value constructions for quantile risk): the manuscript asserts that valid p-values are supplied for the quantile-risk metric, but the specific concentration inequality or test statistic used to obtain finite-sample validity under the null is not stated in the main text or summarized; this construction is load-bearing for the claim that the framework covers quantile risk with explicit error control.

    Authors: We agree that a high-level summary of the quantile-risk p-value construction would improve readability. The appendix derives these p-values from a concentration inequality applied to the empirical quantile estimator (a Hoeffding-style bound adapted to order statistics). In the revision we will add a one-paragraph summary of the test statistic and inequality in Section 2, while retaining the full derivation in the appendix. revision: yes

  2. Referee: [§3] §3 (multiple-testing step): the error-rate guarantee is stated to follow from any valid multiple-testing procedure, yet the manuscript does not specify which procedure (e.g., Bonferroni, closed testing, or e-value-based) is recommended when the reliability metric is information-theoretic; without this, the finite-sample claim for that metric remains incomplete.

    Authors: The framework is intentionally procedure-agnostic provided the chosen multiple-testing method controls the target error rate. To complete the finite-sample claim for the information-theoretic metric, the revision will explicitly recommend the Bonferroni correction (or its e-value counterpart) applied to the p-values/e-values constructed in the appendix; this choice directly yields finite-sample family-wise error control. We will also note that stronger procedures such as closed testing may be substituted when available. revision: yes

Circularity Check

0 steps flagged

No significant circularity identified

full rationale

The paper's central derivation formulates hyperparameter selection as multiple hypothesis testing over a candidate set and states that the supporting p-values, e-values, and concentration inequalities are developed from first principles in a dedicated appendix. No load-bearing step reduces a claimed prediction or guarantee to a fitted input, self-citation, or ansatz by construction. The framework is presented as self-contained against external statistical benchmarks, with the multiple-testing control and reliability metrics derived independently of the target selection result.

Axiom & Free-Parameter Ledger

0 free parameters · 0 axioms · 0 invented entities

Abstract provides no concrete free parameters, axioms, or invented entities; ledger left empty pending full text.

pith-pipeline@v0.9.1-grok · 5703 in / 963 out tokens · 28655 ms · 2026-06-25T20:19:14.385502+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

13 extracted references · 9 canonical work pages · 5 internal anchors

  1. [1]

    Deep Variational Information Bottleneck

    Abdi, H.and L. J.Williams(2010). “Principalcomponentanalysis”. In:Wiley interdisciplinary reviews: computational statistics2.4, pp. 433–459. Alemi, A. A. et al. (2016). “Deep variational information bottleneck”. In: arXiv preprint arXiv:1612.00410. Amodei, D. et al. (2016). “Concrete problems in AI safety”. In:arXiv preprint arXiv:1606.06565. Angelopoulos...

  2. [2]

    Mutual information neural estimation

    Belghazi, M. I. et al. (2018). “Mutual information neural estimation”. In: International conference on machine learning. PMLR, pp. 531–540. Benjamini, Y. and Y. Hochberg (1995). “Controlling the false discovery rate: a practical and powerful approach to multiple testing”. In:Journal of the Royal statistical society: series B (Methodological)57.1, pp. 289–...

  3. [3]

    Probability inequalities for the sum of independent random variables

    Bennett, G. (1962). “Probability inequalities for the sum of independent random variables”. In:Journal of the American Statistical Association 57.297, pp. 33–45. Bennis, M., M. Debbah, and H. V. Poor (2018). “Ultrareliable and low- latency wireless communication: Tail, risk, and scale”. In:Proceedings of the IEEE106.10, pp. 1834–1853. Bergstra, J. and Y. ...

  4. [4]

    On the Opportunities and Risks of Foundation Models

    Bernstein, S. (1924). “On a modification of Chebyshev’s inequality and of the error formula of Laplace”. In:Ann. Sci. Inst. Sav. Ukraine, Sect. Math 1.4, pp. 38–49. Bommasani, R. (2021). “On the opportunities and risks of foundation mod- els”. In:arXiv preprint arXiv:2108.07258. Bonferroni, C. (1936). “Teoria statistica delle classi e calcolo delle proba-...

  5. [5]

    Comparing three learn- then-test paradigms in a multivariate normal means problem

    IEEE, pp. 1742–1751. Chakraborty, A., J. Lee, and E. Katsevich (2026). “Comparing three learn- then-test paradigms in a multivariate normal means problem”. In:arXiv preprint arXiv:2601.07764. Chernoff,H. (1952). “Ameasureofasymptoticefficiencyfortestsofahypoth- esis based on the sum of observations”. In:The Annals of Mathematical Statistics, pp. 493–507. ...

  6. [6]

    Deep neural networks for youtube recommendations

    Covington, P., J. Adams, and E. Sargin (2016). “Deep neural networks for youtube recommendations”. In:Proceedings of the 10th ACM conference on recommender systems, pp. 191–198. Dean, J. and L. A. Barroso (2013). “The tail at scale”. In:Communications of the ACM56.2, pp. 74–80. Deb, K. (2011). “Multi-objective optimisation using evolutionary algorithms: a...

  7. [7]

    Mask r-cnn

    Hastie, T., R. Tibshirani, J. Friedman, et al. (2009).The elements of statis- tical learning. He, K. et al. (2017). “Mask r-cnn”. In:Proceedings of the IEEE international conference on computer vision, pp. 2961–2969. Ho, J., A. Jain, and P. Abbeel (2020). “Denoising diffusion probabilistic mod- els”. In:Advances in neural information processing systems33,...

  8. [8]

    Training Compute-Optimal Large Language Models

    Ho, J. et al. (2022). “Video diffusion models”. In:Advances in neural infor- mation processing systems35, pp. 8633–8646. Hoeffding, W. (1963). “Probability inequalities for sums of bounded ran- dom variables”. In:Journal of the American statistical association58.301, pp. 13–30. Hoffmann, J. et al. (2022). “Training compute-optimal large language mod- els”...

  9. [9]

    Hypothesis testing with e-values

    Ramdas, A. and R. Wang (2025). “Hypothesis testing with e-values”. In: Foundations and Trends®in Statistics1.1-2, pp. 1–390. Ramdas, A. et al. (2019). “A sequential algorithm for false discovery rate control on directed acyclic graphs”. In:Biometrika106.1, pp. 69–86. Ramdas, A. et al. (2023). “Game-theoretic statistics and safe anytime-valid inference”. I...

  10. [10]

    Randomization inference: Theory and applications

    Thomson/Brooks/Cole Belmont, CA. Ritzwoller, D. M., J. P. Romano, and A. M. Shaikh (2024). “Randomization inference: Theory and applications”. In:arXiv preprint arXiv:2406.09521. Sant Ana, P. M. de and N. Marchenko (2020). “Radio access scheduling using CMA-ES for optimized QoS in wireless networks”. In:2020 IEEE Globecom Workshops (GC Wkshps. IEEE, pp. 1...

  11. [11]

    Recursivedeepmodelsforsemanticcompositionality over a sentiment treebank

    Socher,R.etal.(2013).“Recursivedeepmodelsforsemanticcompositionality over a sentiment treebank”. In:Proceedings of the 2013 conference on empirical methods in natural language processing, pp. 1631–1642. Song,Y.etal.(2026).“DemystifyingPredictionPoweredInference”.In:arXiv preprint arXiv:2601.20819. Stefani, A. G. et al. (2014). “Confidence intervals for th...

  12. [12]

    The information bottleneck method

    MIT press Cambridge. Tibshirani, R. (1996). “Regression shrinkage and selection via the lasso”. In: Journal of the Royal Statistical Society Series B: Statistical Methodology 58.1, pp. 267–288. 143 Tishby, N., F. C. Pereira, and W. Bialek (2000). “The information bottleneck method”. In:arXiv preprint physics/0004057. Valcarce, A. (2020). “Wireless Suite: ...

  13. [13]

    Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms

    Cambridge university press. Ville, J. (1939).Étude critique de la notion de collectif. Paris: Gauthier- Villars. Vovk, V. and R. Wang (2021). “E-values: Calibration, combination and ap- plications”. In:The Annals of Statistics49.3, pp. 1736–1754.doi:10 . 1214/20-AOS2020.url:https://doi.org/10.1214/20-AOS2020. Wang, R. and A. Ramdas (Jan. 2022). “False Dis...