Skip to main content
QUICK REVIEW

[Paper Review] Conformal testing in a binary model situation

Vladimir Vovk|arXiv (Cornell University)|Apr 5, 2021
Statistical Methods and InferenceMathematics20 references5 citations
TL;DR

This paper proposes a more efficient conformal test martingale for binary data under an unknown changepoint in Bernoulli parameters, using a Sleeper/Chooser betting strategy over a grid of calibration functions. It achieves significantly higher evidence against the IID null hypothesis—reaching final values of ~7.85×10¹⁹⁴—compared to standard conformal martingales, approaching the theoretical infimum likelihood ratio benchmark.

ABSTRACT

Conformal testing is a way of testing the IID assumption based on conformal prediction. The topic of this note is computational evaluation of the performance of conformal testing in a model situation in which IID binary observations generated from a Bernoulli distribution are followed by IID binary observations generated from another Bernoulli distribution, with the parameters of the distributions and changepoint unknown. Existing conformal test martingales can be used for this task and work well in simple cases, but their efficiency can be improved greatly.

Motivation & Objective

  • To evaluate and improve the efficiency of conformal test martingales in a binary model with an unknown changepoint in Bernoulli parameters.
  • To develop a practical, non-optimized conformal test martingale that performs close to the theoretical optimal infimum likelihood ratio.
  • To demonstrate that randomized, grid-based conformal betting strategies can outperform existing conformal test martingales without requiring knowledge of the true data-generating process.
  • To provide a scalable, computationally feasible method for online hypothesis testing under the IID assumption in binary sequences.
  • To establish a foundation for extending efficient conformal testing to other parametric models such as Gaussian and exponential families.

Proposed method

  • Uses a Sleeper/Chooser algorithm that distributes initial capital across betting functions $ f_{a,b}(p) $ indexed by grid points $ (a,b) imes ext{G}^2 $, where $ a,b o rac{1}{G}, rac{2}{G}, ..., rac{G-1}{G} $.
  • Employs a Markov chain with absorbing states $ (a,b) imes ext{G}^2 $ and a sleeping state $ oxempty $, where with probability $ R $, capital is reallocated to active betting accounts.
  • Applies the identity conformity measure and a randomized betting function $ f_{a,b}(p) $, defined piecewise to favor deviations from uniform p-values.
  • Maintains test martingale $ S_n $ as the sum of the sleeping account and all active $ S_{a,b} $, updated sequentially with $ S_{a,b} o S_{a,b} f_{a,b}(p_n) $.
  • Uses a grid size $ G = 100 $ and decay parameter $ R = 0.001 $, ensuring exploration of diverse calibration functions while preserving stability.
  • The resulting martingale is a randomized, nonnegative process starting at 1, with expected value 1 under the IID null hypothesis, making it a valid test martingale.

Experimental results

Research questions

  • RQ1How efficiently can conformal test martingales detect a changepoint in binary sequences when the pre- and post-change parameters are unknown?
  • RQ2Can a conformal test martingale be designed to approach the theoretical performance limit of the infimum likelihood ratio without requiring knowledge of the true data-generating process?
  • RQ3What is the impact of using a grid-based, randomized betting strategy (Sleeper/Chooser) on the final evidence against the IID assumption in binary data?
  • RQ4How does the performance of the proposed conformal martingale compare to existing methods like the Simple Jumper and safe e-value in terms of final martingale value?
  • RQ5To what extent can the optimal conformal martingale be approximated using a natural, non-optimized strategy in the absence of full model knowledge?

Key findings

  • The proposed Sleeper/Chooser conformal test martingale achieves a final value of approximately $ 7.85 \times 10^{194} $, significantly outperforming the Simple Jumper martingale (final value ~$ 10^{10} $) and approaching the theoretical infimum likelihood ratio.
  • The infimum likelihood ratio process, which serves as a performance benchmark, achieves a final value of approximately $ 10^{258.93} $, indicating that the proposed method comes within a factor of ~10⁶⁰ of the theoretical optimum.
  • The likelihood ratio process under the true model grows rapidly after the changepoint, but is not a valid test martingale under the full IID null hypothesis.
  • The proposed method's performance is robust to parameter choice: using $ R = 0.001 $ and $ G = 100 $ yields strong evidence without overfitting.
  • The final value of the proposed conformal martingale is over 100 times larger than that of the conformal e-pseudomartingale, demonstrating a substantial improvement in efficiency.
  • The log-scale trajectory of the new martingale is visually closer to the optimal infimum likelihood ratio than to the Simple Jumper, confirming its superior performance in detecting the changepoint.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.