CINXE.COM
Diagnostic Runtime Monitoring with Martingales
<!DOCTYPE html> <html lang="en"> <head> <meta content="text/html; charset=utf-8" http-equiv="content-type"/> <title>Diagnostic Runtime Monitoring with Martingales</title> <!--Generated on Wed Jul 31 17:02:27 2024 by LaTeXML (version 0.8.8) http://dlmf.nist.gov/LaTeXML/.--> <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"/> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"/> <link href="/static/browse/0.3.4/css/ar5iv.0.7.9.min.css" rel="stylesheet" type="text/css"/> <link href="/static/browse/0.3.4/css/ar5iv-fonts.0.7.9.min.css" rel="stylesheet" type="text/css"/> <link href="/static/browse/0.3.4/css/latexml_styles.css" rel="stylesheet" type="text/css"/> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.3.3/html2canvas.min.js"></script> <script src="/static/browse/0.3.4/js/addons_new.js"></script> <script src="/static/browse/0.3.4/js/feedbackOverlay.js"></script> <base href="/html/2407.21748v1/"/></head> <body> <nav class="ltx_page_navbar"> <nav class="ltx_TOC"> <ol class="ltx_toclist"> <li class="ltx_tocentry ltx_tocentry_section"><a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S1" title="In Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_title"><span class="ltx_tag ltx_tag_ref">1 </span>Introduction</span></a></li> <li class="ltx_tocentry ltx_tocentry_section"> <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S2" title="In Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_title"><span class="ltx_tag ltx_tag_ref">2 </span>Background and Related Work</span></a> <ol class="ltx_toclist ltx_toclist_section"> <li class="ltx_tocentry ltx_tocentry_subsection"> <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S2.SS1" title="In 2 Background and Related Work ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_title"><span class="ltx_tag ltx_tag_ref">2.1 </span>Distribution Shift Detection</span></a> <ol class="ltx_toclist ltx_toclist_subsection"> <li class="ltx_tocentry ltx_tocentry_paragraph"><a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S2.SS1.SSS0.Px1" title="In 2.1 Distribution Shift Detection ‣ 2 Background and Related Work ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_title">Traditional Approaches.</span></a></li> <li class="ltx_tocentry ltx_tocentry_paragraph"><a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S2.SS1.SSS0.Px2" title="In 2.1 Distribution Shift Detection ‣ 2 Background and Related Work ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_title">Martingale-Based Approaches.</span></a></li> </ol> </li> <li class="ltx_tocentry ltx_tocentry_subsection"><a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S2.SS2" title="In 2 Background and Related Work ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_title"><span class="ltx_tag ltx_tag_ref">2.2 </span>System Fault Diagnosis</span></a></li> </ol> </li> <li class="ltx_tocentry ltx_tocentry_section"> <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S3" title="In Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_title"><span class="ltx_tag ltx_tag_ref">3 </span>Identifying Types of Distribution Shift</span></a> <ol class="ltx_toclist ltx_toclist_section"> <li class="ltx_tocentry ltx_tocentry_subsection"><a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S3.SS1" title="In 3 Identifying Types of Distribution Shift ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_title"><span class="ltx_tag ltx_tag_ref">3.1 </span>Problem Setup</span></a></li> <li class="ltx_tocentry ltx_tocentry_subsection"><a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S3.SS2" title="In 3 Identifying Types of Distribution Shift ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_title"><span class="ltx_tag ltx_tag_ref">3.2 </span>Proposed Framework</span></a></li> </ol> </li> <li class="ltx_tocentry ltx_tocentry_section"><a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S4" title="In Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_title"><span class="ltx_tag ltx_tag_ref">4 </span>Experiments</span></a></li> <li class="ltx_tocentry ltx_tocentry_section"><a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S5" title="In Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_title"><span class="ltx_tag ltx_tag_ref">5 </span>Conclusion</span></a></li> <li class="ltx_tocentry ltx_tocentry_section"><a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S6" title="In Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_title"><span class="ltx_tag ltx_tag_ref">6 </span>Overview: Types of Distribution Shift</span></a></li> <li class="ltx_tocentry ltx_tocentry_section"><a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S7" title="In Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_title"><span class="ltx_tag ltx_tag_ref">7 </span>X-Plane Experiment Details</span></a></li> <li class="ltx_tocentry ltx_tocentry_section"><a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S8" title="In Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_title"><span class="ltx_tag ltx_tag_ref">8 </span>Free-Flyer Hardware Experiments</span></a></li> </ol></nav> </nav> <div class="ltx_page_main"> <div class="ltx_page_content"> <article class="ltx_document ltx_authors_1line"> <div class="ltx_para" id="p1"> <span class="ltx_ERROR undefined" id="p1.1">\tocauthor</span> <p class="ltx_p" id="p1.2">Ali Hindy, Rachel Luo, Somrita Banerjee, Jonathan Kuck, Edward Schmerling, and Marco Pavone <span class="ltx_note ltx_role_institutetext" id="p1.2.1"><sup class="ltx_note_mark">1</sup><span class="ltx_note_outer"><span class="ltx_note_content"><sup class="ltx_note_mark">1</sup><span class="ltx_note_type">institutetext: </span>Stanford University, Stanford, CA, USA, <br class="ltx_break"/><span class="ltx_note ltx_role_email" id="p1.2.1.1"><sup class="ltx_note_mark">1</sup><span class="ltx_note_outer"><span class="ltx_note_content"><sup class="ltx_note_mark">1</sup><span class="ltx_note_type">email: </span>{ahindy, rsluo, somrita, schmrlng, pavone}@stanford.edu</span></span></span>, </span></span></span><span class="ltx_note ltx_role_institutetext" id="p1.2.2"><sup class="ltx_note_mark">2</sup><span class="ltx_note_outer"><span class="ltx_note_content"><sup class="ltx_note_mark">2</sup><span class="ltx_note_type">institutetext: </span>Dexterity AI, Redwood City, CA, USA, <span class="ltx_note ltx_role_email" id="p1.2.2.1"><sup class="ltx_note_mark">2</sup><span class="ltx_note_outer"><span class="ltx_note_content"><sup class="ltx_note_mark">2</sup><span class="ltx_note_type">email: </span>jonathan@dexterity.ai</span></span></span></span></span></span> </p> </div> <h1 class="ltx_title ltx_title_document"> Diagnostic Runtime Monitoring with Martingales </h1> <div class="ltx_authors"> <span class="ltx_creator ltx_role_author"> <span class="ltx_personname">Ali Hindy </span><span class="ltx_author_notes">11</span></span> <span class="ltx_author_before"> </span><span class="ltx_creator ltx_role_author"> <span class="ltx_personname">Rachel Luo </span><span class="ltx_author_notes">11</span></span> <span class="ltx_author_before"> </span><span class="ltx_creator ltx_role_author"> <span class="ltx_personname">Somrita Banerjee </span><span class="ltx_author_notes">11</span></span> <span class="ltx_author_before"> </span><span class="ltx_creator ltx_role_author"> <span class="ltx_personname">Jonathan Kuck </span><span class="ltx_author_notes">22</span></span> <span class="ltx_author_before"> </span><span class="ltx_creator ltx_role_author"> <span class="ltx_personname">Edward Schmerling </span><span class="ltx_author_notes">11</span></span> <span class="ltx_author_before"> </span><span class="ltx_creator ltx_role_author"> <span class="ltx_personname">Marco Pavone </span><span class="ltx_author_notes">The NASA University Leadership Initiative (grant #80NSSC20M0163) provided funds to assist the authors with their research, but this article solely reflects the opinions and conclusions of its authors and not any NASA entity.11</span></span> </div> <div class="ltx_abstract"> <h6 class="ltx_title ltx_title_abstract">Abstract</h6> <p class="ltx_p" id="id1.id1">Machine learning systems deployed in safety-critical robotics settings must be robust to distribution shifts. However, system designers must understand the <span class="ltx_text ltx_font_italic" id="id1.id1.1">cause</span> of a distribution shift in order to implement the appropriate intervention or mitigation strategy and prevent system failure. In this paper, we present a novel framework for diagnosing distribution shifts in a streaming fashion by deploying multiple stochastic martingales simultaneously. We show that knowledge of the underlying cause of a distribution shift can lead to proper interventions over the lifecycle of a deployed system. Our experimental framework can easily be adapted to different types of distribution shifts, models, and datasets. We find that our method outperforms existing work on diagnosing distribution shifts in terms of speed, accuracy, and flexibility, and validate the efficiency of our model in both simulated and live hardware settings.</p> </div> <div class="ltx_classification"> <h6 class="ltx_title ltx_title_classification">keywords: </h6>distribution shift, online monitoring </div> <section class="ltx_section" id="S1"> <h2 class="ltx_title ltx_title_section"> <span class="ltx_tag ltx_tag_section">1 </span>Introduction</h2> <div class="ltx_para" id="S1.p1"> <p class="ltx_p" id="S1.p1.1">Modern learning-enabled systems deployed in the real world are susceptible to failure if they encounter test-time inputs that do not follow the same distribution as the training-time inputs. However, the complexity of these learned systems leads to significant challenges in diagnosing problems that arise during operation <cite class="ltx_cite ltx_citemacro_citep">(Nandi and Toliyat, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib19" title="">1999</a>)</cite>. Runtime monitors can alert users when issues arise, but pinpointing the underlying cause of the issue is difficult. For instance, a problem could stem from a suboptimal training process, during which the model was not exposed to a sufficiently diverse or representative dataset, leading to poor generalization capabilities. Alternatively, the problem might originate from the operational environment, where real-time conditions differ from those encountered during training (e.g. due to sensor degradation or environmental changes).</p> </div> <figure class="ltx_figure" id="S1.F1"><img alt="Refer to caption" class="ltx_graphics ltx_centering ltx_img_square" height="452" id="S1.F1.g1" src="x1.png" width="415"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S1.F1.2.1.1" style="font-size:90%;">Figure 1</span>: </span><span class="ltx_text" id="S1.F1.3.2" style="font-size:90%;">Overview of our high-level approach. Learning-enabled robotics systems are trained on data from a finite set of environments. When deployed, these systems may operate in distribution-shifted conditions, resulting in erroneous predictions. Our method issues an alert if conditions change, and alerts users of a probable underlying cause. Knowledge of the underlying cause informs the choice of the proper intervention method to restore system performance.</span></figcaption> </figure> <div class="ltx_para" id="S1.p2"> <p class="ltx_p" id="S1.p2.1">As an example, consider a camera-driven robot such as an autonomous aircraft using a PID controller to taxi along the centerline of a runway, where learned models estimate the cross-track and heading errors relative to that centerline. In this setting, problems that could cause the robot to fail include new situations that the robot has not previously encountered (e.g. the autonomous aircraft taking off from a runway at a new airport), or sensor degradation. In the case of new situations that the robot has not previously encountered, there is an offline problem (i.e. the unrepresentative training data), and we expect the distribution of both the system inputs and system outputs to change. For example, a new airport will look different than the original airport, so the input images will change; the width of the new runway will be different, so the distribution of deviations from the centerline will also change. In the case of sensor degradation, there is an online operational problem (the system that’s running has changed), and we expect the distribution of system inputs to change, but not the distribution of system outputs. The input images may look grainier, but the distribution of the cross-track and heading errors will remain the same.</p> </div> <div class="ltx_para" id="S1.p3"> <p class="ltx_p" id="S1.p3.1">In the example described above, using two runtime monitors that issue alerts in case of distribution shift — one over the system inputs and one over the system outputs — could differentiate between the two types of problems. More generally, if system designers identify that certain features correspond to specific issues, they can strategically place targeted runtime monitors over those features. This approach facilitates a more efficient troubleshooting process, since the activated monitors provide useful insights into which aspects of the system are contributing to the issue. By quickly detecting the cause of an issue, an appropriate intervention can then be applied. For example, in the case of a new runway at a new airport, the appropriate intervention is to collect additional data and perform weighted retraining. In the case of sensor degradation, the appropriate intervention is to replace the sensor.</p> </div> <div class="ltx_para" id="S1.p4"> <p class="ltx_p" id="S1.p4.1">In this work, we present a framework for determining the cause of a distribution shift, using multiple martingale-based runtime monitors based on the method described in <cite class="ltx_cite ltx_citemacro_cite">Luo et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib17" title="">2023</a>)</cite>. As in <cite class="ltx_cite ltx_citemacro_citep">(Luo et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib17" title="">2023</a>)</cite>, we focus on episodic situations (e.g. for a plane repeatedly taxiing down a runway during a continuous deployment, each taxiing sequence can be considered an episode drawn from a task distribution). Our method can be applied to any online learning setting, such as deploying autonomous vehicles, recognizing spoken language, or evaluating the performance of large language models. An overview of our system is shown in Figure <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S1.F1" title="Figure 1 ‣ 1 Introduction ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">1</span></a>.</p> </div> <div class="ltx_para" id="S1.p5"> <p class="ltx_p" id="S1.p5.1">The contributions of our work are as follows: 1) We introduce a method that quickly alerts users when a distribution shift has occurred and enables rapid diagnosis of the underlying problem. 2) Our approach detects the cause of a distribution shift faster than prior work, and leads to better outcomes over the lifecycle of a robot. 3) We empirically evaluate our approach on photorealistic simulations of an autonomous aircraft taxiing down a runway with a camera perception module and in hardware on a free-flyer space robotics testbed for vision-based navigation. In these experiments, our method detects the cause of a distribution shift up to five times faster than prior work, and our method is effective at eliminating system failures due to causal misidentification experienced by a baseline system.</p> </div> </section> <section class="ltx_section" id="S2"> <h2 class="ltx_title ltx_title_section"> <span class="ltx_tag ltx_tag_section">2 </span>Background and Related Work</h2> <section class="ltx_subsection" id="S2.SS1"> <h3 class="ltx_title ltx_title_subsection"> <span class="ltx_tag ltx_tag_subsection">2.1 </span>Distribution Shift Detection</h3> <section class="ltx_paragraph" id="S2.SS1.SSS0.Px1"> <h4 class="ltx_title ltx_title_paragraph">Traditional Approaches. </h4> <div class="ltx_para" id="S2.SS1.SSS0.Px1.p1"> <p class="ltx_p" id="S2.SS1.SSS0.Px1.p1.1">The challenge of detecting distribution shift has been explored by both the machine learning and statistics communities. Traditional approaches typically rely on statistical hypothesis testing to assess whether the test-time distribution differs from the training distribution. Most of these methods focus on covariate shift, where the distribution of input data changes while the conditional distribution of labels given inputs remains constant <cite class="ltx_cite ltx_citemacro_citep">(Gretton et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib5" title="">2012</a>; Rabanser et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib23" title="">2019</a>; Kulinski et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib13" title="">2020</a>; Kamulete, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib10" title="">2021</a>; Chang et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib2" title="">2021</a>)</cite>. Some methods have also been proposed for label shift, where the distribution of labels changes but the conditional distribution of inputs given labels remains the same. For example, <cite class="ltx_cite ltx_citemacro_citep">(Alexandari et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib1" title="">2020</a>)</cite> propose a maximum likelihood algorithm for detecting and correcting label shift; <cite class="ltx_cite ltx_citemacro_citep">(Rabanser et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib23" title="">2019</a>)</cite> use an efficient weight estimator to provide a generalization bound for the label shift problem; <cite class="ltx_cite ltx_citemacro_citep">(Lipton et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib16" title="">2018</a>)</cite> introduce black box predictors and a score-based test statistic for detecting label shift. However, these methods are generally designed for offline (batch) scenarios, and applying them online in a robotics setting may either compromise their statistical guarantee or lead to statistical inefficiency. Furthermore, these methods focus on detecting only a single type of distribution shift.</p> </div> </section> <section class="ltx_paragraph" id="S2.SS1.SSS0.Px2"> <h4 class="ltx_title ltx_title_paragraph">Martingale-Based Approaches. </h4> <div class="ltx_para" id="S2.SS1.SSS0.Px2.p1"> <p class="ltx_p" id="S2.SS1.SSS0.Px2.p1.1">A martingale (Definition <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S2.Thmtheorem1" title="Definition 2.1 (Martingale). ‣ Martingale-Based Approaches. ‣ 2.1 Distribution Shift Detection ‣ 2 Background and Related Work ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">2.1</span></a>) is a stochastic process (a sequence of random variables) where the conditional expectation of the next value, given all previous values, is the same as the most recent value <cite class="ltx_cite ltx_citemacro_citep">(Williams, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib34" title="">1991</a>)</cite>. Doob’s Inequality (Proposition <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#Thmthm1" title="Proposition 1 (Doob’s Inequality). ‣ Martingale-Based Approaches. ‣ 2.1 Distribution Shift Detection ‣ 2 Background and Related Work ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">1</span></a>), states that the probability that a martingale grows very large is very small <cite class="ltx_cite ltx_citemacro_citep">(Williams, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib34" title="">1991</a>)</cite>.</p> </div> <div class="ltx_theorem ltx_theorem_definition" id="S2.Thmtheorem1"> <h6 class="ltx_title ltx_runin ltx_title_theorem"> <span class="ltx_tag ltx_tag_theorem"><span class="ltx_text ltx_font_bold" id="S2.Thmtheorem1.1.1.1">Definition 2.1</span></span><span class="ltx_text ltx_font_bold" id="S2.Thmtheorem1.2.2"> </span>(Martingale)<span class="ltx_text ltx_font_bold" id="S2.Thmtheorem1.3.3">.</span> </h6> <div class="ltx_para" id="S2.Thmtheorem1.p1"> <p class="ltx_p" id="S2.Thmtheorem1.p1.5"><span class="ltx_text ltx_font_italic" id="S2.Thmtheorem1.p1.5.5">A martingale is a sequence of random variables <math alttext="M_{1}" class="ltx_Math" display="inline" id="S2.Thmtheorem1.p1.1.1.m1.1"><semantics id="S2.Thmtheorem1.p1.1.1.m1.1a"><msub id="S2.Thmtheorem1.p1.1.1.m1.1.1" xref="S2.Thmtheorem1.p1.1.1.m1.1.1.cmml"><mi id="S2.Thmtheorem1.p1.1.1.m1.1.1.2" xref="S2.Thmtheorem1.p1.1.1.m1.1.1.2.cmml">M</mi><mn id="S2.Thmtheorem1.p1.1.1.m1.1.1.3" xref="S2.Thmtheorem1.p1.1.1.m1.1.1.3.cmml">1</mn></msub><annotation-xml encoding="MathML-Content" id="S2.Thmtheorem1.p1.1.1.m1.1b"><apply id="S2.Thmtheorem1.p1.1.1.m1.1.1.cmml" xref="S2.Thmtheorem1.p1.1.1.m1.1.1"><csymbol cd="ambiguous" id="S2.Thmtheorem1.p1.1.1.m1.1.1.1.cmml" xref="S2.Thmtheorem1.p1.1.1.m1.1.1">subscript</csymbol><ci id="S2.Thmtheorem1.p1.1.1.m1.1.1.2.cmml" xref="S2.Thmtheorem1.p1.1.1.m1.1.1.2">𝑀</ci><cn id="S2.Thmtheorem1.p1.1.1.m1.1.1.3.cmml" type="integer" xref="S2.Thmtheorem1.p1.1.1.m1.1.1.3">1</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S2.Thmtheorem1.p1.1.1.m1.1c">M_{1}</annotation><annotation encoding="application/x-llamapun" id="S2.Thmtheorem1.p1.1.1.m1.1d">italic_M start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT</annotation></semantics></math>, <math alttext="M_{2}" class="ltx_Math" display="inline" id="S2.Thmtheorem1.p1.2.2.m2.1"><semantics id="S2.Thmtheorem1.p1.2.2.m2.1a"><msub id="S2.Thmtheorem1.p1.2.2.m2.1.1" xref="S2.Thmtheorem1.p1.2.2.m2.1.1.cmml"><mi id="S2.Thmtheorem1.p1.2.2.m2.1.1.2" xref="S2.Thmtheorem1.p1.2.2.m2.1.1.2.cmml">M</mi><mn id="S2.Thmtheorem1.p1.2.2.m2.1.1.3" xref="S2.Thmtheorem1.p1.2.2.m2.1.1.3.cmml">2</mn></msub><annotation-xml encoding="MathML-Content" id="S2.Thmtheorem1.p1.2.2.m2.1b"><apply id="S2.Thmtheorem1.p1.2.2.m2.1.1.cmml" xref="S2.Thmtheorem1.p1.2.2.m2.1.1"><csymbol cd="ambiguous" id="S2.Thmtheorem1.p1.2.2.m2.1.1.1.cmml" xref="S2.Thmtheorem1.p1.2.2.m2.1.1">subscript</csymbol><ci id="S2.Thmtheorem1.p1.2.2.m2.1.1.2.cmml" xref="S2.Thmtheorem1.p1.2.2.m2.1.1.2">𝑀</ci><cn id="S2.Thmtheorem1.p1.2.2.m2.1.1.3.cmml" type="integer" xref="S2.Thmtheorem1.p1.2.2.m2.1.1.3">2</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S2.Thmtheorem1.p1.2.2.m2.1c">M_{2}</annotation><annotation encoding="application/x-llamapun" id="S2.Thmtheorem1.p1.2.2.m2.1d">italic_M start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT</annotation></semantics></math>, …, such that <math alttext="E[|M_{n}|]<\infty" class="ltx_Math" display="inline" id="S2.Thmtheorem1.p1.3.3.m3.1"><semantics id="S2.Thmtheorem1.p1.3.3.m3.1a"><mrow id="S2.Thmtheorem1.p1.3.3.m3.1.1" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.cmml"><mrow id="S2.Thmtheorem1.p1.3.3.m3.1.1.1" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.cmml"><mi id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.3" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.3.cmml">E</mi><mo id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.2" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.2.cmml"></mo><mrow id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.2.cmml"><mo id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.2" stretchy="false" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.2.1.cmml">[</mo><mrow id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.2.cmml"><mo id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.2" stretchy="false" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.2.1.cmml">|</mo><msub id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.1" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.1.cmml"><mi id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.1.2" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.1.2.cmml">M</mi><mi id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.1.3" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.1.3.cmml">n</mi></msub><mo id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.3" stretchy="false" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.2.1.cmml">|</mo></mrow><mo id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.3" stretchy="false" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.2.1.cmml">]</mo></mrow></mrow><mo id="S2.Thmtheorem1.p1.3.3.m3.1.1.2" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.2.cmml"><</mo><mi id="S2.Thmtheorem1.p1.3.3.m3.1.1.3" mathvariant="normal" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.3.cmml">∞</mi></mrow><annotation-xml encoding="MathML-Content" id="S2.Thmtheorem1.p1.3.3.m3.1b"><apply id="S2.Thmtheorem1.p1.3.3.m3.1.1.cmml" xref="S2.Thmtheorem1.p1.3.3.m3.1.1"><lt id="S2.Thmtheorem1.p1.3.3.m3.1.1.2.cmml" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.2"></lt><apply id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.cmml" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1"><times id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.2.cmml" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.2"></times><ci id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.3.cmml" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.3">𝐸</ci><apply id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.2.cmml" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1"><csymbol cd="latexml" id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.2.1.cmml" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.2">delimited-[]</csymbol><apply id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.2.cmml" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1"><abs id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.2.1.cmml" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.2"></abs><apply id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.1.cmml" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.1"><csymbol cd="ambiguous" id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.1.1.cmml" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.1">subscript</csymbol><ci id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.1.2.cmml" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.1.2">𝑀</ci><ci id="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.1.3.cmml" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.1.1.1.1.1.1.3">𝑛</ci></apply></apply></apply></apply><infinity id="S2.Thmtheorem1.p1.3.3.m3.1.1.3.cmml" xref="S2.Thmtheorem1.p1.3.3.m3.1.1.3"></infinity></apply></annotation-xml><annotation encoding="application/x-tex" id="S2.Thmtheorem1.p1.3.3.m3.1c">E[|M_{n}|]<\infty</annotation><annotation encoding="application/x-llamapun" id="S2.Thmtheorem1.p1.3.3.m3.1d">italic_E [ | italic_M start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT | ] < ∞</annotation></semantics></math> and <math alttext="E[M_{n+1}|M_{1},\dots,M_{n}]=M_{n}" class="ltx_Math" display="inline" id="S2.Thmtheorem1.p1.4.4.m4.2"><semantics id="S2.Thmtheorem1.p1.4.4.m4.2a"><mrow id="S2.Thmtheorem1.p1.4.4.m4.2.2" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.cmml"><mrow id="S2.Thmtheorem1.p1.4.4.m4.2.2.1" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.cmml"><mi id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.3" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.3.cmml">E</mi><mo id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.2" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.2.cmml"></mo><mrow id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.2.cmml"><mo id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.2" stretchy="false" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.2.1.cmml">[</mo><mrow id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.cmml"><msub id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.cmml"><mi id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.2" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.2.cmml">M</mi><mrow id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3.cmml"><mi id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3.2" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3.2.cmml">n</mi><mo id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3.1" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3.1.cmml">+</mo><mn id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3.3" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3.3.cmml">1</mn></mrow></msub><mo fence="false" id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.3" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.3.cmml">|</mo><mrow id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.3.cmml"><msub id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.1.1.1" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.1.1.1.cmml"><mi id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.1.1.1.2" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.1.1.1.2.cmml">M</mi><mn id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.1.1.1.3" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.1.1.1.3.cmml">1</mn></msub><mo id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.3" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.3.cmml">,</mo><mi id="S2.Thmtheorem1.p1.4.4.m4.1.1" mathvariant="normal" xref="S2.Thmtheorem1.p1.4.4.m4.1.1.cmml">…</mi><mo id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.4" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.3.cmml">,</mo><msub id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.2" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.2.cmml"><mi id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.2.2" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.2.2.cmml">M</mi><mi id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.2.3" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.2.3.cmml">n</mi></msub></mrow></mrow><mo id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.3" stretchy="false" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.2.1.cmml">]</mo></mrow></mrow><mo id="S2.Thmtheorem1.p1.4.4.m4.2.2.2" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.2.cmml">=</mo><msub id="S2.Thmtheorem1.p1.4.4.m4.2.2.3" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.3.cmml"><mi id="S2.Thmtheorem1.p1.4.4.m4.2.2.3.2" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.3.2.cmml">M</mi><mi id="S2.Thmtheorem1.p1.4.4.m4.2.2.3.3" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.3.3.cmml">n</mi></msub></mrow><annotation-xml encoding="MathML-Content" id="S2.Thmtheorem1.p1.4.4.m4.2b"><apply id="S2.Thmtheorem1.p1.4.4.m4.2.2.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2"><eq id="S2.Thmtheorem1.p1.4.4.m4.2.2.2.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.2"></eq><apply id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1"><times id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.2.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.2"></times><ci id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.3.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.3">𝐸</ci><apply id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.2.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1"><csymbol cd="latexml" id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.2.1.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.2">delimited-[]</csymbol><apply id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1"><csymbol cd="latexml" id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.3.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.3">conditional</csymbol><apply id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4"><csymbol cd="ambiguous" id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.1.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4">subscript</csymbol><ci id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.2.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.2">𝑀</ci><apply id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3"><plus id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3.1.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3.1"></plus><ci id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3.2.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3.2">𝑛</ci><cn id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3.3.cmml" type="integer" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.4.3.3">1</cn></apply></apply><list id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.3.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2"><apply id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.1.1.1.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.1.1.1"><csymbol cd="ambiguous" id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.1.1.1.1.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.1.1.1">subscript</csymbol><ci id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.1.1.1.2.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.1.1.1.2">𝑀</ci><cn id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.1.1.1.3.cmml" type="integer" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.1.1.1.3">1</cn></apply><ci id="S2.Thmtheorem1.p1.4.4.m4.1.1.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.1.1">…</ci><apply id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.2.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.2"><csymbol cd="ambiguous" id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.2.1.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.2">subscript</csymbol><ci id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.2.2.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.2.2">𝑀</ci><ci id="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.2.3.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.1.1.1.1.2.2.2.3">𝑛</ci></apply></list></apply></apply></apply><apply id="S2.Thmtheorem1.p1.4.4.m4.2.2.3.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.3"><csymbol cd="ambiguous" id="S2.Thmtheorem1.p1.4.4.m4.2.2.3.1.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.3">subscript</csymbol><ci id="S2.Thmtheorem1.p1.4.4.m4.2.2.3.2.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.3.2">𝑀</ci><ci id="S2.Thmtheorem1.p1.4.4.m4.2.2.3.3.cmml" xref="S2.Thmtheorem1.p1.4.4.m4.2.2.3.3">𝑛</ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S2.Thmtheorem1.p1.4.4.m4.2c">E[M_{n+1}|M_{1},\dots,M_{n}]=M_{n}</annotation><annotation encoding="application/x-llamapun" id="S2.Thmtheorem1.p1.4.4.m4.2d">italic_E [ italic_M start_POSTSUBSCRIPT italic_n + 1 end_POSTSUBSCRIPT | italic_M start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_M start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ] = italic_M start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT</annotation></semantics></math> for all <math alttext="n" class="ltx_Math" display="inline" id="S2.Thmtheorem1.p1.5.5.m5.1"><semantics id="S2.Thmtheorem1.p1.5.5.m5.1a"><mi id="S2.Thmtheorem1.p1.5.5.m5.1.1" xref="S2.Thmtheorem1.p1.5.5.m5.1.1.cmml">n</mi><annotation-xml encoding="MathML-Content" id="S2.Thmtheorem1.p1.5.5.m5.1b"><ci id="S2.Thmtheorem1.p1.5.5.m5.1.1.cmml" xref="S2.Thmtheorem1.p1.5.5.m5.1.1">𝑛</ci></annotation-xml><annotation encoding="application/x-tex" id="S2.Thmtheorem1.p1.5.5.m5.1c">n</annotation><annotation encoding="application/x-llamapun" id="S2.Thmtheorem1.p1.5.5.m5.1d">italic_n</annotation></semantics></math>.</span></p> </div> </div> <div class="ltx_theorem ltx_theorem_prop" id="Thmthm1"> <h6 class="ltx_title ltx_runin ltx_title_theorem"> <span class="ltx_tag ltx_tag_theorem"><span class="ltx_text ltx_font_bold" id="Thmthm1.1.1.1">Proposition 1</span></span><span class="ltx_text ltx_font_bold" id="Thmthm1.2.2"> </span>(Doob’s Inequality)<span class="ltx_text ltx_font_bold" id="Thmthm1.3.3">.</span> </h6> <div class="ltx_para" id="Thmthm1.p1"> <p class="ltx_p" id="Thmthm1.p1.3"><span class="ltx_text ltx_font_italic" id="Thmthm1.p1.3.3">For a martingale <math alttext="M_{n}" class="ltx_Math" display="inline" id="Thmthm1.p1.1.1.m1.1"><semantics id="Thmthm1.p1.1.1.m1.1a"><msub id="Thmthm1.p1.1.1.m1.1.1" xref="Thmthm1.p1.1.1.m1.1.1.cmml"><mi id="Thmthm1.p1.1.1.m1.1.1.2" xref="Thmthm1.p1.1.1.m1.1.1.2.cmml">M</mi><mi id="Thmthm1.p1.1.1.m1.1.1.3" xref="Thmthm1.p1.1.1.m1.1.1.3.cmml">n</mi></msub><annotation-xml encoding="MathML-Content" id="Thmthm1.p1.1.1.m1.1b"><apply id="Thmthm1.p1.1.1.m1.1.1.cmml" xref="Thmthm1.p1.1.1.m1.1.1"><csymbol cd="ambiguous" id="Thmthm1.p1.1.1.m1.1.1.1.cmml" xref="Thmthm1.p1.1.1.m1.1.1">subscript</csymbol><ci id="Thmthm1.p1.1.1.m1.1.1.2.cmml" xref="Thmthm1.p1.1.1.m1.1.1.2">𝑀</ci><ci id="Thmthm1.p1.1.1.m1.1.1.3.cmml" xref="Thmthm1.p1.1.1.m1.1.1.3">𝑛</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="Thmthm1.p1.1.1.m1.1c">M_{n}</annotation><annotation encoding="application/x-llamapun" id="Thmthm1.p1.1.1.m1.1d">italic_M start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT</annotation></semantics></math> indexed by an interval <math alttext="[0,N]" class="ltx_Math" display="inline" id="Thmthm1.p1.2.2.m2.2"><semantics id="Thmthm1.p1.2.2.m2.2a"><mrow id="Thmthm1.p1.2.2.m2.2.3.2" xref="Thmthm1.p1.2.2.m2.2.3.1.cmml"><mo id="Thmthm1.p1.2.2.m2.2.3.2.1" stretchy="false" xref="Thmthm1.p1.2.2.m2.2.3.1.cmml">[</mo><mn id="Thmthm1.p1.2.2.m2.1.1" xref="Thmthm1.p1.2.2.m2.1.1.cmml">0</mn><mo id="Thmthm1.p1.2.2.m2.2.3.2.2" xref="Thmthm1.p1.2.2.m2.2.3.1.cmml">,</mo><mi id="Thmthm1.p1.2.2.m2.2.2" xref="Thmthm1.p1.2.2.m2.2.2.cmml">N</mi><mo id="Thmthm1.p1.2.2.m2.2.3.2.3" stretchy="false" xref="Thmthm1.p1.2.2.m2.2.3.1.cmml">]</mo></mrow><annotation-xml encoding="MathML-Content" id="Thmthm1.p1.2.2.m2.2b"><interval closure="closed" id="Thmthm1.p1.2.2.m2.2.3.1.cmml" xref="Thmthm1.p1.2.2.m2.2.3.2"><cn id="Thmthm1.p1.2.2.m2.1.1.cmml" type="integer" xref="Thmthm1.p1.2.2.m2.1.1">0</cn><ci id="Thmthm1.p1.2.2.m2.2.2.cmml" xref="Thmthm1.p1.2.2.m2.2.2">𝑁</ci></interval></annotation-xml><annotation encoding="application/x-tex" id="Thmthm1.p1.2.2.m2.2c">[0,N]</annotation><annotation encoding="application/x-llamapun" id="Thmthm1.p1.2.2.m2.2d">[ 0 , italic_N ]</annotation></semantics></math>, and for any positive real number <math alttext="C" class="ltx_Math" display="inline" id="Thmthm1.p1.3.3.m3.1"><semantics id="Thmthm1.p1.3.3.m3.1a"><mi id="Thmthm1.p1.3.3.m3.1.1" xref="Thmthm1.p1.3.3.m3.1.1.cmml">C</mi><annotation-xml encoding="MathML-Content" id="Thmthm1.p1.3.3.m3.1b"><ci id="Thmthm1.p1.3.3.m3.1.1.cmml" xref="Thmthm1.p1.3.3.m3.1.1">𝐶</ci></annotation-xml><annotation encoding="application/x-tex" id="Thmthm1.p1.3.3.m3.1c">C</annotation><annotation encoding="application/x-llamapun" id="Thmthm1.p1.3.3.m3.1d">italic_C</annotation></semantics></math>, it holds that</span></p> <table class="ltx_equation ltx_eqn_table" id="S2.Ex1"> <tbody><tr class="ltx_equation ltx_eqn_row ltx_align_baseline"> <td class="ltx_eqn_cell ltx_eqn_center_padleft"></td> <td class="ltx_eqn_cell ltx_align_center"><math alttext="\mathrm{Pr}\left[\sup_{0\leq n\leq N}M_{n}\geq C\right]\leq\frac{E[\max(M_{N},% 0)]}{C}." class="ltx_Math" display="block" id="S2.Ex1.m1.4"><semantics id="S2.Ex1.m1.4a"><mrow id="S2.Ex1.m1.4.4.1" xref="S2.Ex1.m1.4.4.1.1.cmml"><mrow id="S2.Ex1.m1.4.4.1.1" xref="S2.Ex1.m1.4.4.1.1.cmml"><mrow id="S2.Ex1.m1.4.4.1.1.1" xref="S2.Ex1.m1.4.4.1.1.1.cmml"><mi id="S2.Ex1.m1.4.4.1.1.1.3" xref="S2.Ex1.m1.4.4.1.1.1.3.cmml">Pr</mi><mo id="S2.Ex1.m1.4.4.1.1.1.2" xref="S2.Ex1.m1.4.4.1.1.1.2.cmml"></mo><mrow id="S2.Ex1.m1.4.4.1.1.1.1.1" xref="S2.Ex1.m1.4.4.1.1.1.1.2.cmml"><mo id="S2.Ex1.m1.4.4.1.1.1.1.1.2" xref="S2.Ex1.m1.4.4.1.1.1.1.2.1.cmml">[</mo><mrow id="S2.Ex1.m1.4.4.1.1.1.1.1.1" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.cmml"><mrow id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.cmml"><munder id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.cmml"><mo id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.2" lspace="0em" movablelimits="false" rspace="0.167em" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.2.cmml">sup</mo><mrow id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.cmml"><mn id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.2" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.2.cmml">0</mn><mo id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.3" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.3.cmml">≤</mo><mi id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.4" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.4.cmml">n</mi><mo id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.5" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.5.cmml">≤</mo><mi id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.6" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.6.cmml">N</mi></mrow></munder><msub id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.2" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.2.cmml"><mi id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.2.2" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.2.2.cmml">M</mi><mi id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.2.3" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.2.3.cmml">n</mi></msub></mrow><mo id="S2.Ex1.m1.4.4.1.1.1.1.1.1.1" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.1.cmml">≥</mo><mi id="S2.Ex1.m1.4.4.1.1.1.1.1.1.3" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.3.cmml">C</mi></mrow><mo id="S2.Ex1.m1.4.4.1.1.1.1.1.3" xref="S2.Ex1.m1.4.4.1.1.1.1.2.1.cmml">]</mo></mrow></mrow><mo id="S2.Ex1.m1.4.4.1.1.2" xref="S2.Ex1.m1.4.4.1.1.2.cmml">≤</mo><mfrac id="S2.Ex1.m1.3.3" xref="S2.Ex1.m1.3.3.cmml"><mrow id="S2.Ex1.m1.3.3.3" xref="S2.Ex1.m1.3.3.3.cmml"><mi id="S2.Ex1.m1.3.3.3.5" xref="S2.Ex1.m1.3.3.3.5.cmml">E</mi><mo id="S2.Ex1.m1.3.3.3.4" xref="S2.Ex1.m1.3.3.3.4.cmml"></mo><mrow id="S2.Ex1.m1.3.3.3.3.1" xref="S2.Ex1.m1.3.3.3.3.2.cmml"><mo id="S2.Ex1.m1.3.3.3.3.1.2" stretchy="false" xref="S2.Ex1.m1.3.3.3.3.2.1.cmml">[</mo><mrow id="S2.Ex1.m1.3.3.3.3.1.1.1" xref="S2.Ex1.m1.3.3.3.3.1.1.2.cmml"><mi id="S2.Ex1.m1.1.1.1.1" xref="S2.Ex1.m1.1.1.1.1.cmml">max</mi><mo id="S2.Ex1.m1.3.3.3.3.1.1.1a" xref="S2.Ex1.m1.3.3.3.3.1.1.2.cmml"></mo><mrow id="S2.Ex1.m1.3.3.3.3.1.1.1.1" xref="S2.Ex1.m1.3.3.3.3.1.1.2.cmml"><mo id="S2.Ex1.m1.3.3.3.3.1.1.1.1.2" stretchy="false" xref="S2.Ex1.m1.3.3.3.3.1.1.2.cmml">(</mo><msub id="S2.Ex1.m1.3.3.3.3.1.1.1.1.1" xref="S2.Ex1.m1.3.3.3.3.1.1.1.1.1.cmml"><mi id="S2.Ex1.m1.3.3.3.3.1.1.1.1.1.2" xref="S2.Ex1.m1.3.3.3.3.1.1.1.1.1.2.cmml">M</mi><mi id="S2.Ex1.m1.3.3.3.3.1.1.1.1.1.3" xref="S2.Ex1.m1.3.3.3.3.1.1.1.1.1.3.cmml">N</mi></msub><mo id="S2.Ex1.m1.3.3.3.3.1.1.1.1.3" xref="S2.Ex1.m1.3.3.3.3.1.1.2.cmml">,</mo><mn id="S2.Ex1.m1.2.2.2.2" xref="S2.Ex1.m1.2.2.2.2.cmml">0</mn><mo id="S2.Ex1.m1.3.3.3.3.1.1.1.1.4" stretchy="false" xref="S2.Ex1.m1.3.3.3.3.1.1.2.cmml">)</mo></mrow></mrow><mo id="S2.Ex1.m1.3.3.3.3.1.3" stretchy="false" xref="S2.Ex1.m1.3.3.3.3.2.1.cmml">]</mo></mrow></mrow><mi id="S2.Ex1.m1.3.3.5" xref="S2.Ex1.m1.3.3.5.cmml">C</mi></mfrac></mrow><mo id="S2.Ex1.m1.4.4.1.2" lspace="0em" xref="S2.Ex1.m1.4.4.1.1.cmml">.</mo></mrow><annotation-xml encoding="MathML-Content" id="S2.Ex1.m1.4b"><apply id="S2.Ex1.m1.4.4.1.1.cmml" xref="S2.Ex1.m1.4.4.1"><leq id="S2.Ex1.m1.4.4.1.1.2.cmml" xref="S2.Ex1.m1.4.4.1.1.2"></leq><apply id="S2.Ex1.m1.4.4.1.1.1.cmml" xref="S2.Ex1.m1.4.4.1.1.1"><times id="S2.Ex1.m1.4.4.1.1.1.2.cmml" xref="S2.Ex1.m1.4.4.1.1.1.2"></times><ci id="S2.Ex1.m1.4.4.1.1.1.3.cmml" xref="S2.Ex1.m1.4.4.1.1.1.3">Pr</ci><apply id="S2.Ex1.m1.4.4.1.1.1.1.2.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1"><csymbol cd="latexml" id="S2.Ex1.m1.4.4.1.1.1.1.2.1.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.2">delimited-[]</csymbol><apply id="S2.Ex1.m1.4.4.1.1.1.1.1.1.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1"><geq id="S2.Ex1.m1.4.4.1.1.1.1.1.1.1.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.1"></geq><apply id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2"><apply id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1"><csymbol cd="ambiguous" id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.1.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1">subscript</csymbol><csymbol cd="latexml" id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.2.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.2">supremum</csymbol><apply id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3"><and id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3a.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3"></and><apply id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3b.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3"><leq id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.3.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.3"></leq><cn id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.2.cmml" type="integer" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.2">0</cn><ci id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.4.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.4">𝑛</ci></apply><apply id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3c.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3"><leq id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.5.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.5"></leq><share href="https://arxiv.org/html/2407.21748v1#S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.4.cmml" id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3d.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3"></share><ci id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.6.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.1.3.6">𝑁</ci></apply></apply></apply><apply id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.2.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.2"><csymbol cd="ambiguous" id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.2.1.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.2">subscript</csymbol><ci id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.2.2.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.2.2">𝑀</ci><ci id="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.2.3.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.2.2.3">𝑛</ci></apply></apply><ci id="S2.Ex1.m1.4.4.1.1.1.1.1.1.3.cmml" xref="S2.Ex1.m1.4.4.1.1.1.1.1.1.3">𝐶</ci></apply></apply></apply><apply id="S2.Ex1.m1.3.3.cmml" xref="S2.Ex1.m1.3.3"><divide id="S2.Ex1.m1.3.3.4.cmml" xref="S2.Ex1.m1.3.3"></divide><apply id="S2.Ex1.m1.3.3.3.cmml" xref="S2.Ex1.m1.3.3.3"><times id="S2.Ex1.m1.3.3.3.4.cmml" xref="S2.Ex1.m1.3.3.3.4"></times><ci id="S2.Ex1.m1.3.3.3.5.cmml" xref="S2.Ex1.m1.3.3.3.5">𝐸</ci><apply id="S2.Ex1.m1.3.3.3.3.2.cmml" xref="S2.Ex1.m1.3.3.3.3.1"><csymbol cd="latexml" id="S2.Ex1.m1.3.3.3.3.2.1.cmml" xref="S2.Ex1.m1.3.3.3.3.1.2">delimited-[]</csymbol><apply id="S2.Ex1.m1.3.3.3.3.1.1.2.cmml" xref="S2.Ex1.m1.3.3.3.3.1.1.1"><max id="S2.Ex1.m1.1.1.1.1.cmml" xref="S2.Ex1.m1.1.1.1.1"></max><apply id="S2.Ex1.m1.3.3.3.3.1.1.1.1.1.cmml" xref="S2.Ex1.m1.3.3.3.3.1.1.1.1.1"><csymbol cd="ambiguous" id="S2.Ex1.m1.3.3.3.3.1.1.1.1.1.1.cmml" xref="S2.Ex1.m1.3.3.3.3.1.1.1.1.1">subscript</csymbol><ci id="S2.Ex1.m1.3.3.3.3.1.1.1.1.1.2.cmml" xref="S2.Ex1.m1.3.3.3.3.1.1.1.1.1.2">𝑀</ci><ci id="S2.Ex1.m1.3.3.3.3.1.1.1.1.1.3.cmml" xref="S2.Ex1.m1.3.3.3.3.1.1.1.1.1.3">𝑁</ci></apply><cn id="S2.Ex1.m1.2.2.2.2.cmml" type="integer" xref="S2.Ex1.m1.2.2.2.2">0</cn></apply></apply></apply><ci id="S2.Ex1.m1.3.3.5.cmml" xref="S2.Ex1.m1.3.3.5">𝐶</ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S2.Ex1.m1.4c">\mathrm{Pr}\left[\sup_{0\leq n\leq N}M_{n}\geq C\right]\leq\frac{E[\max(M_{N},% 0)]}{C}.</annotation><annotation encoding="application/x-llamapun" id="S2.Ex1.m1.4d">roman_Pr [ roman_sup start_POSTSUBSCRIPT 0 ≤ italic_n ≤ italic_N end_POSTSUBSCRIPT italic_M start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ≥ italic_C ] ≤ divide start_ARG italic_E [ roman_max ( italic_M start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT , 0 ) ] end_ARG start_ARG italic_C end_ARG .</annotation></semantics></math></td> <td class="ltx_eqn_cell ltx_eqn_center_padright"></td> </tr></tbody> </table> </div> </div> <div class="ltx_para" id="S2.SS1.SSS0.Px2.p2"> <p class="ltx_p" id="S2.SS1.SSS0.Px2.p2.1">An approach for detecting distribution shift in online settings, introduced by <cite class="ltx_cite ltx_citemacro_citet">Vovk (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib30" title="">2020</a>)</cite>, uses conformal martingales to test for exchangeability. Other works following this approach include <cite class="ltx_cite ltx_citemacro_citep">(Eliades and Papadopoulos, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib3" title="">2020</a>; Volkhonskiy et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib29" title="">2017</a>; Fedorova et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib4" title="">2012</a>; Ho, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib7" title="">2005</a>; Podkopaev and Ramdas, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib21" title="">2021</a>; Hu and Lei, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib8" title="">2020</a>)</cite>. These methods apply conformal prediction to obtain p-values for each test sample, which are then used to construct a martingale. When the martingale exhibits significant growth, it indicates a probable distribution shift. <cite class="ltx_cite ltx_citemacro_citep">(Vovk, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib30" title="">2020</a>, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib32" title="">2021b</a>, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib31" title="">2021a</a>; Vovk et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib33" title="">2021</a>)</cite> introduce different p-value calculations for different types of distribution shifts. While these works demonstrate good efficiency on lower dimensional data (e.g. on the USPS dataset <cite class="ltx_cite ltx_citemacro_citep">(Hull, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib9" title="">1994</a>)</cite>, which contains 11-dimensional feature vectors), they often struggle in more complex or higher-dimensional robotics settings, such as those involving image data.</p> </div> <div class="ltx_para" id="S2.SS1.SSS0.Px2.p3"> <p class="ltx_p" id="S2.SS1.SSS0.Px2.p3.1">More recently, <cite class="ltx_cite ltx_citemacro_citet">Luo et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib17" title="">2023</a>)</cite> introduce a learned, martingale-based runtime monitor that detects distribution shifts quickly for high-dimensional data, with guarantees limiting the number of false alarms. This method trains a neural network model to distinguish between older and more recent samples, and issues a warning when the model is consistently able to predict recency. A key component of this method is a martingale-based test statistic designed to grow if the distribution shifts. However, this work by default applies a martingale monitor only over the system inputs, making it impossible to distinguish between different underlying problems. In our work, we introduce a framework using multiple learned, martingale-based runtime monitors, and apply them over different feature spaces to improve problem diagnosis.</p> </div> </section> </section> <section class="ltx_subsection" id="S2.SS2"> <h3 class="ltx_title ltx_title_subsection"> <span class="ltx_tag ltx_tag_subsection">2.2 </span>System Fault Diagnosis</h3> <div class="ltx_para" id="S2.SS2.p1"> <p class="ltx_p" id="S2.SS2.p1.1">Many works leverage deep learning for system fault detection, using large models to detect one type of system fault <cite class="ltx_cite ltx_citemacro_cite">Wu et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib35" title="">2008</a>); Hajnayeb et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib6" title="">2008</a>); Merainani et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib18" title="">2018</a>); Zabihi-Hesari et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib39" title="">2019</a>); Zheng et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib40" title="">2019</a>)</cite>. However, these papers deploy large models with long training times that are impractical for live robotics systems, and they focus on diagnosing faults in specific mechanical systems in offline settings that are not easily generalizable. Our method, meanwhile, works with lightweight models suitable for online robotics settings.</p> </div> <div class="ltx_para" id="S2.SS2.p2"> <p class="ltx_p" id="S2.SS2.p2.1">Other learned methods using simpler models for system fault detection include <cite class="ltx_cite ltx_citemacro_cite">Toma et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib28" title="">2020</a>); Yang et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib38" title="">2021</a>); Lei et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib14" title="">2020</a>); Hajnayeb et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib6" title="">2008</a>); Yang et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib37" title="">2004</a>); Li et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib15" title="">2016</a>)</cite>. However, these methods generally deal with low-dimensional data and require access to the true labels. Our method, meanwhile, works with high-dimensional data without access to true labels.</p> </div> <div class="ltx_para" id="S2.SS2.p3"> <p class="ltx_p" id="S2.SS2.p3.1">Some methods for fault diagnosis in online settings include <cite class="ltx_cite ltx_citemacro_citep">(Xingxin et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib36" title="">2022</a>; Seera and Lim, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib24" title="">2013</a>; Netti et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib20" title="">2020</a>; Kang, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib11" title="">2018</a>)</cite>; however, these works focus on anomaly detection (i.e. experiencing a single rare event), while our work focuses on gradual distributional shifts.</p> </div> </section> </section> <section class="ltx_section" id="S3"> <h2 class="ltx_title ltx_title_section"> <span class="ltx_tag ltx_tag_section">3 </span>Identifying Types of Distribution Shift</h2> <div class="ltx_para" id="S3.p1"> <p class="ltx_p" id="S3.p1.1">We present a framework for quickly identifying distribution shifts in episodic robotics settings that provides actionable information for targeted interventions. Our method builds on the work of <cite class="ltx_cite ltx_citemacro_citet">Luo et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib17" title="">2023</a>)</cite> and also leverages stochastic martingale-based runtime monitors. Our critical contribution is to use <span class="ltx_text ltx_font_italic" id="S3.p1.1.1">multiple</span> martingale-based monitors, deployed simultaneously with each monitoring a different type of distribution shift. This enables our system to detect distribution shifts more quickly, and moreover the monitors each probe a distinct intermediate result of the robotics system. This enables system designers to identify system components that are behaving abnormally before failure of the entire robotics system, develop appropriate interventions, and differentiate between types of distribution shift.</p> </div> <section class="ltx_subsection" id="S3.SS1"> <h3 class="ltx_title ltx_title_subsection"> <span class="ltx_tag ltx_tag_subsection">3.1 </span>Problem Setup </h3> <div class="ltx_para" id="S3.SS1.p1"> <p class="ltx_p" id="S3.SS1.p1.9">Consider an autonomous system that interacts with the environment. The system’s behavior is defined by function <math alttext="f:\mathcal{X}\rightarrow\mathcal{Y}" class="ltx_Math" display="inline" id="S3.SS1.p1.1.m1.1"><semantics id="S3.SS1.p1.1.m1.1a"><mrow id="S3.SS1.p1.1.m1.1.1" xref="S3.SS1.p1.1.m1.1.1.cmml"><mi id="S3.SS1.p1.1.m1.1.1.2" xref="S3.SS1.p1.1.m1.1.1.2.cmml">f</mi><mo id="S3.SS1.p1.1.m1.1.1.1" lspace="0.278em" rspace="0.278em" xref="S3.SS1.p1.1.m1.1.1.1.cmml">:</mo><mrow id="S3.SS1.p1.1.m1.1.1.3" xref="S3.SS1.p1.1.m1.1.1.3.cmml"><mi class="ltx_font_mathcaligraphic" id="S3.SS1.p1.1.m1.1.1.3.2" xref="S3.SS1.p1.1.m1.1.1.3.2.cmml">𝒳</mi><mo id="S3.SS1.p1.1.m1.1.1.3.1" stretchy="false" xref="S3.SS1.p1.1.m1.1.1.3.1.cmml">→</mo><mi class="ltx_font_mathcaligraphic" id="S3.SS1.p1.1.m1.1.1.3.3" xref="S3.SS1.p1.1.m1.1.1.3.3.cmml">𝒴</mi></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.SS1.p1.1.m1.1b"><apply id="S3.SS1.p1.1.m1.1.1.cmml" xref="S3.SS1.p1.1.m1.1.1"><ci id="S3.SS1.p1.1.m1.1.1.1.cmml" xref="S3.SS1.p1.1.m1.1.1.1">:</ci><ci id="S3.SS1.p1.1.m1.1.1.2.cmml" xref="S3.SS1.p1.1.m1.1.1.2">𝑓</ci><apply id="S3.SS1.p1.1.m1.1.1.3.cmml" xref="S3.SS1.p1.1.m1.1.1.3"><ci id="S3.SS1.p1.1.m1.1.1.3.1.cmml" xref="S3.SS1.p1.1.m1.1.1.3.1">→</ci><ci id="S3.SS1.p1.1.m1.1.1.3.2.cmml" xref="S3.SS1.p1.1.m1.1.1.3.2">𝒳</ci><ci id="S3.SS1.p1.1.m1.1.1.3.3.cmml" xref="S3.SS1.p1.1.m1.1.1.3.3">𝒴</ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p1.1.m1.1c">f:\mathcal{X}\rightarrow\mathcal{Y}</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p1.1.m1.1d">italic_f : caligraphic_X → caligraphic_Y</annotation></semantics></math> which maps sensor inputs <math alttext="x^{t}\in\mathcal{X}" class="ltx_Math" display="inline" id="S3.SS1.p1.2.m2.1"><semantics id="S3.SS1.p1.2.m2.1a"><mrow id="S3.SS1.p1.2.m2.1.1" xref="S3.SS1.p1.2.m2.1.1.cmml"><msup id="S3.SS1.p1.2.m2.1.1.2" xref="S3.SS1.p1.2.m2.1.1.2.cmml"><mi id="S3.SS1.p1.2.m2.1.1.2.2" xref="S3.SS1.p1.2.m2.1.1.2.2.cmml">x</mi><mi id="S3.SS1.p1.2.m2.1.1.2.3" xref="S3.SS1.p1.2.m2.1.1.2.3.cmml">t</mi></msup><mo id="S3.SS1.p1.2.m2.1.1.1" xref="S3.SS1.p1.2.m2.1.1.1.cmml">∈</mo><mi class="ltx_font_mathcaligraphic" id="S3.SS1.p1.2.m2.1.1.3" xref="S3.SS1.p1.2.m2.1.1.3.cmml">𝒳</mi></mrow><annotation-xml encoding="MathML-Content" id="S3.SS1.p1.2.m2.1b"><apply id="S3.SS1.p1.2.m2.1.1.cmml" xref="S3.SS1.p1.2.m2.1.1"><in id="S3.SS1.p1.2.m2.1.1.1.cmml" xref="S3.SS1.p1.2.m2.1.1.1"></in><apply id="S3.SS1.p1.2.m2.1.1.2.cmml" xref="S3.SS1.p1.2.m2.1.1.2"><csymbol cd="ambiguous" id="S3.SS1.p1.2.m2.1.1.2.1.cmml" xref="S3.SS1.p1.2.m2.1.1.2">superscript</csymbol><ci id="S3.SS1.p1.2.m2.1.1.2.2.cmml" xref="S3.SS1.p1.2.m2.1.1.2.2">𝑥</ci><ci id="S3.SS1.p1.2.m2.1.1.2.3.cmml" xref="S3.SS1.p1.2.m2.1.1.2.3">𝑡</ci></apply><ci id="S3.SS1.p1.2.m2.1.1.3.cmml" xref="S3.SS1.p1.2.m2.1.1.3">𝒳</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p1.2.m2.1c">x^{t}\in\mathcal{X}</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p1.2.m2.1d">italic_x start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT ∈ caligraphic_X</annotation></semantics></math> at time <math alttext="t" class="ltx_Math" display="inline" id="S3.SS1.p1.3.m3.1"><semantics id="S3.SS1.p1.3.m3.1a"><mi id="S3.SS1.p1.3.m3.1.1" xref="S3.SS1.p1.3.m3.1.1.cmml">t</mi><annotation-xml encoding="MathML-Content" id="S3.SS1.p1.3.m3.1b"><ci id="S3.SS1.p1.3.m3.1.1.cmml" xref="S3.SS1.p1.3.m3.1.1">𝑡</ci></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p1.3.m3.1c">t</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p1.3.m3.1d">italic_t</annotation></semantics></math> to action <math alttext="y^{t}\in\mathcal{Y}" class="ltx_Math" display="inline" id="S3.SS1.p1.4.m4.1"><semantics id="S3.SS1.p1.4.m4.1a"><mrow id="S3.SS1.p1.4.m4.1.1" xref="S3.SS1.p1.4.m4.1.1.cmml"><msup id="S3.SS1.p1.4.m4.1.1.2" xref="S3.SS1.p1.4.m4.1.1.2.cmml"><mi id="S3.SS1.p1.4.m4.1.1.2.2" xref="S3.SS1.p1.4.m4.1.1.2.2.cmml">y</mi><mi id="S3.SS1.p1.4.m4.1.1.2.3" xref="S3.SS1.p1.4.m4.1.1.2.3.cmml">t</mi></msup><mo id="S3.SS1.p1.4.m4.1.1.1" xref="S3.SS1.p1.4.m4.1.1.1.cmml">∈</mo><mi class="ltx_font_mathcaligraphic" id="S3.SS1.p1.4.m4.1.1.3" xref="S3.SS1.p1.4.m4.1.1.3.cmml">𝒴</mi></mrow><annotation-xml encoding="MathML-Content" id="S3.SS1.p1.4.m4.1b"><apply id="S3.SS1.p1.4.m4.1.1.cmml" xref="S3.SS1.p1.4.m4.1.1"><in id="S3.SS1.p1.4.m4.1.1.1.cmml" xref="S3.SS1.p1.4.m4.1.1.1"></in><apply id="S3.SS1.p1.4.m4.1.1.2.cmml" xref="S3.SS1.p1.4.m4.1.1.2"><csymbol cd="ambiguous" id="S3.SS1.p1.4.m4.1.1.2.1.cmml" xref="S3.SS1.p1.4.m4.1.1.2">superscript</csymbol><ci id="S3.SS1.p1.4.m4.1.1.2.2.cmml" xref="S3.SS1.p1.4.m4.1.1.2.2">𝑦</ci><ci id="S3.SS1.p1.4.m4.1.1.2.3.cmml" xref="S3.SS1.p1.4.m4.1.1.2.3">𝑡</ci></apply><ci id="S3.SS1.p1.4.m4.1.1.3.cmml" xref="S3.SS1.p1.4.m4.1.1.3">𝒴</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p1.4.m4.1c">y^{t}\in\mathcal{Y}</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p1.4.m4.1d">italic_y start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT ∈ caligraphic_Y</annotation></semantics></math>. This function can be expressed as the composition of <math alttext="K" class="ltx_Math" display="inline" id="S3.SS1.p1.5.m5.1"><semantics id="S3.SS1.p1.5.m5.1a"><mi id="S3.SS1.p1.5.m5.1.1" xref="S3.SS1.p1.5.m5.1.1.cmml">K</mi><annotation-xml encoding="MathML-Content" id="S3.SS1.p1.5.m5.1b"><ci id="S3.SS1.p1.5.m5.1.1.cmml" xref="S3.SS1.p1.5.m5.1.1">𝐾</ci></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p1.5.m5.1c">K</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p1.5.m5.1d">italic_K</annotation></semantics></math> functions, <math alttext="f=f_{K}\circ\dots\circ f_{2}\circ f_{1}" class="ltx_Math" display="inline" id="S3.SS1.p1.6.m6.1"><semantics id="S3.SS1.p1.6.m6.1a"><mrow id="S3.SS1.p1.6.m6.1.1" xref="S3.SS1.p1.6.m6.1.1.cmml"><mi id="S3.SS1.p1.6.m6.1.1.2" xref="S3.SS1.p1.6.m6.1.1.2.cmml">f</mi><mo id="S3.SS1.p1.6.m6.1.1.1" xref="S3.SS1.p1.6.m6.1.1.1.cmml">=</mo><mrow id="S3.SS1.p1.6.m6.1.1.3" xref="S3.SS1.p1.6.m6.1.1.3.cmml"><msub id="S3.SS1.p1.6.m6.1.1.3.2" xref="S3.SS1.p1.6.m6.1.1.3.2.cmml"><mi id="S3.SS1.p1.6.m6.1.1.3.2.2" xref="S3.SS1.p1.6.m6.1.1.3.2.2.cmml">f</mi><mi id="S3.SS1.p1.6.m6.1.1.3.2.3" xref="S3.SS1.p1.6.m6.1.1.3.2.3.cmml">K</mi></msub><mo id="S3.SS1.p1.6.m6.1.1.3.1" lspace="0.222em" rspace="0.222em" xref="S3.SS1.p1.6.m6.1.1.3.1.cmml">∘</mo><mi id="S3.SS1.p1.6.m6.1.1.3.3" mathvariant="normal" xref="S3.SS1.p1.6.m6.1.1.3.3.cmml">⋯</mi><mo id="S3.SS1.p1.6.m6.1.1.3.1a" lspace="0.222em" rspace="0.222em" xref="S3.SS1.p1.6.m6.1.1.3.1.cmml">∘</mo><msub id="S3.SS1.p1.6.m6.1.1.3.4" xref="S3.SS1.p1.6.m6.1.1.3.4.cmml"><mi id="S3.SS1.p1.6.m6.1.1.3.4.2" xref="S3.SS1.p1.6.m6.1.1.3.4.2.cmml">f</mi><mn id="S3.SS1.p1.6.m6.1.1.3.4.3" xref="S3.SS1.p1.6.m6.1.1.3.4.3.cmml">2</mn></msub><mo id="S3.SS1.p1.6.m6.1.1.3.1b" lspace="0.222em" rspace="0.222em" xref="S3.SS1.p1.6.m6.1.1.3.1.cmml">∘</mo><msub id="S3.SS1.p1.6.m6.1.1.3.5" xref="S3.SS1.p1.6.m6.1.1.3.5.cmml"><mi id="S3.SS1.p1.6.m6.1.1.3.5.2" xref="S3.SS1.p1.6.m6.1.1.3.5.2.cmml">f</mi><mn id="S3.SS1.p1.6.m6.1.1.3.5.3" xref="S3.SS1.p1.6.m6.1.1.3.5.3.cmml">1</mn></msub></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.SS1.p1.6.m6.1b"><apply id="S3.SS1.p1.6.m6.1.1.cmml" xref="S3.SS1.p1.6.m6.1.1"><eq id="S3.SS1.p1.6.m6.1.1.1.cmml" xref="S3.SS1.p1.6.m6.1.1.1"></eq><ci id="S3.SS1.p1.6.m6.1.1.2.cmml" xref="S3.SS1.p1.6.m6.1.1.2">𝑓</ci><apply id="S3.SS1.p1.6.m6.1.1.3.cmml" xref="S3.SS1.p1.6.m6.1.1.3"><compose id="S3.SS1.p1.6.m6.1.1.3.1.cmml" xref="S3.SS1.p1.6.m6.1.1.3.1"></compose><apply id="S3.SS1.p1.6.m6.1.1.3.2.cmml" xref="S3.SS1.p1.6.m6.1.1.3.2"><csymbol cd="ambiguous" id="S3.SS1.p1.6.m6.1.1.3.2.1.cmml" xref="S3.SS1.p1.6.m6.1.1.3.2">subscript</csymbol><ci id="S3.SS1.p1.6.m6.1.1.3.2.2.cmml" xref="S3.SS1.p1.6.m6.1.1.3.2.2">𝑓</ci><ci id="S3.SS1.p1.6.m6.1.1.3.2.3.cmml" xref="S3.SS1.p1.6.m6.1.1.3.2.3">𝐾</ci></apply><ci id="S3.SS1.p1.6.m6.1.1.3.3.cmml" xref="S3.SS1.p1.6.m6.1.1.3.3">⋯</ci><apply id="S3.SS1.p1.6.m6.1.1.3.4.cmml" xref="S3.SS1.p1.6.m6.1.1.3.4"><csymbol cd="ambiguous" id="S3.SS1.p1.6.m6.1.1.3.4.1.cmml" xref="S3.SS1.p1.6.m6.1.1.3.4">subscript</csymbol><ci id="S3.SS1.p1.6.m6.1.1.3.4.2.cmml" xref="S3.SS1.p1.6.m6.1.1.3.4.2">𝑓</ci><cn id="S3.SS1.p1.6.m6.1.1.3.4.3.cmml" type="integer" xref="S3.SS1.p1.6.m6.1.1.3.4.3">2</cn></apply><apply id="S3.SS1.p1.6.m6.1.1.3.5.cmml" xref="S3.SS1.p1.6.m6.1.1.3.5"><csymbol cd="ambiguous" id="S3.SS1.p1.6.m6.1.1.3.5.1.cmml" xref="S3.SS1.p1.6.m6.1.1.3.5">subscript</csymbol><ci id="S3.SS1.p1.6.m6.1.1.3.5.2.cmml" xref="S3.SS1.p1.6.m6.1.1.3.5.2">𝑓</ci><cn id="S3.SS1.p1.6.m6.1.1.3.5.3.cmml" type="integer" xref="S3.SS1.p1.6.m6.1.1.3.5.3">1</cn></apply></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p1.6.m6.1c">f=f_{K}\circ\dots\circ f_{2}\circ f_{1}</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p1.6.m6.1d">italic_f = italic_f start_POSTSUBSCRIPT italic_K end_POSTSUBSCRIPT ∘ ⋯ ∘ italic_f start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ∘ italic_f start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT</annotation></semantics></math>, with <math alttext="K-1" class="ltx_Math" display="inline" id="S3.SS1.p1.7.m7.1"><semantics id="S3.SS1.p1.7.m7.1a"><mrow id="S3.SS1.p1.7.m7.1.1" xref="S3.SS1.p1.7.m7.1.1.cmml"><mi id="S3.SS1.p1.7.m7.1.1.2" xref="S3.SS1.p1.7.m7.1.1.2.cmml">K</mi><mo id="S3.SS1.p1.7.m7.1.1.1" xref="S3.SS1.p1.7.m7.1.1.1.cmml">−</mo><mn id="S3.SS1.p1.7.m7.1.1.3" xref="S3.SS1.p1.7.m7.1.1.3.cmml">1</mn></mrow><annotation-xml encoding="MathML-Content" id="S3.SS1.p1.7.m7.1b"><apply id="S3.SS1.p1.7.m7.1.1.cmml" xref="S3.SS1.p1.7.m7.1.1"><minus id="S3.SS1.p1.7.m7.1.1.1.cmml" xref="S3.SS1.p1.7.m7.1.1.1"></minus><ci id="S3.SS1.p1.7.m7.1.1.2.cmml" xref="S3.SS1.p1.7.m7.1.1.2">𝐾</ci><cn id="S3.SS1.p1.7.m7.1.1.3.cmml" type="integer" xref="S3.SS1.p1.7.m7.1.1.3">1</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p1.7.m7.1c">K-1</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p1.7.m7.1d">italic_K - 1</annotation></semantics></math> intermediate results <math alttext="I_{1},I_{2},...I_{K-1}" class="ltx_Math" display="inline" id="S3.SS1.p1.8.m8.3"><semantics id="S3.SS1.p1.8.m8.3a"><mrow id="S3.SS1.p1.8.m8.3.3.3" xref="S3.SS1.p1.8.m8.3.3.4.cmml"><msub id="S3.SS1.p1.8.m8.1.1.1.1" xref="S3.SS1.p1.8.m8.1.1.1.1.cmml"><mi id="S3.SS1.p1.8.m8.1.1.1.1.2" xref="S3.SS1.p1.8.m8.1.1.1.1.2.cmml">I</mi><mn id="S3.SS1.p1.8.m8.1.1.1.1.3" xref="S3.SS1.p1.8.m8.1.1.1.1.3.cmml">1</mn></msub><mo id="S3.SS1.p1.8.m8.3.3.3.4" xref="S3.SS1.p1.8.m8.3.3.4.cmml">,</mo><msub id="S3.SS1.p1.8.m8.2.2.2.2" xref="S3.SS1.p1.8.m8.2.2.2.2.cmml"><mi id="S3.SS1.p1.8.m8.2.2.2.2.2" xref="S3.SS1.p1.8.m8.2.2.2.2.2.cmml">I</mi><mn id="S3.SS1.p1.8.m8.2.2.2.2.3" xref="S3.SS1.p1.8.m8.2.2.2.2.3.cmml">2</mn></msub><mo id="S3.SS1.p1.8.m8.3.3.3.5" xref="S3.SS1.p1.8.m8.3.3.4.cmml">,</mo><mrow id="S3.SS1.p1.8.m8.3.3.3.3" xref="S3.SS1.p1.8.m8.3.3.3.3.cmml"><mi id="S3.SS1.p1.8.m8.3.3.3.3.2" mathvariant="normal" xref="S3.SS1.p1.8.m8.3.3.3.3.2.cmml">…</mi><mo id="S3.SS1.p1.8.m8.3.3.3.3.1" xref="S3.SS1.p1.8.m8.3.3.3.3.1.cmml"></mo><msub id="S3.SS1.p1.8.m8.3.3.3.3.3" xref="S3.SS1.p1.8.m8.3.3.3.3.3.cmml"><mi id="S3.SS1.p1.8.m8.3.3.3.3.3.2" xref="S3.SS1.p1.8.m8.3.3.3.3.3.2.cmml">I</mi><mrow id="S3.SS1.p1.8.m8.3.3.3.3.3.3" xref="S3.SS1.p1.8.m8.3.3.3.3.3.3.cmml"><mi id="S3.SS1.p1.8.m8.3.3.3.3.3.3.2" xref="S3.SS1.p1.8.m8.3.3.3.3.3.3.2.cmml">K</mi><mo id="S3.SS1.p1.8.m8.3.3.3.3.3.3.1" xref="S3.SS1.p1.8.m8.3.3.3.3.3.3.1.cmml">−</mo><mn id="S3.SS1.p1.8.m8.3.3.3.3.3.3.3" xref="S3.SS1.p1.8.m8.3.3.3.3.3.3.3.cmml">1</mn></mrow></msub></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.SS1.p1.8.m8.3b"><list id="S3.SS1.p1.8.m8.3.3.4.cmml" xref="S3.SS1.p1.8.m8.3.3.3"><apply id="S3.SS1.p1.8.m8.1.1.1.1.cmml" xref="S3.SS1.p1.8.m8.1.1.1.1"><csymbol cd="ambiguous" id="S3.SS1.p1.8.m8.1.1.1.1.1.cmml" xref="S3.SS1.p1.8.m8.1.1.1.1">subscript</csymbol><ci id="S3.SS1.p1.8.m8.1.1.1.1.2.cmml" xref="S3.SS1.p1.8.m8.1.1.1.1.2">𝐼</ci><cn id="S3.SS1.p1.8.m8.1.1.1.1.3.cmml" type="integer" xref="S3.SS1.p1.8.m8.1.1.1.1.3">1</cn></apply><apply id="S3.SS1.p1.8.m8.2.2.2.2.cmml" xref="S3.SS1.p1.8.m8.2.2.2.2"><csymbol cd="ambiguous" id="S3.SS1.p1.8.m8.2.2.2.2.1.cmml" xref="S3.SS1.p1.8.m8.2.2.2.2">subscript</csymbol><ci id="S3.SS1.p1.8.m8.2.2.2.2.2.cmml" xref="S3.SS1.p1.8.m8.2.2.2.2.2">𝐼</ci><cn id="S3.SS1.p1.8.m8.2.2.2.2.3.cmml" type="integer" xref="S3.SS1.p1.8.m8.2.2.2.2.3">2</cn></apply><apply id="S3.SS1.p1.8.m8.3.3.3.3.cmml" xref="S3.SS1.p1.8.m8.3.3.3.3"><times id="S3.SS1.p1.8.m8.3.3.3.3.1.cmml" xref="S3.SS1.p1.8.m8.3.3.3.3.1"></times><ci id="S3.SS1.p1.8.m8.3.3.3.3.2.cmml" xref="S3.SS1.p1.8.m8.3.3.3.3.2">…</ci><apply id="S3.SS1.p1.8.m8.3.3.3.3.3.cmml" xref="S3.SS1.p1.8.m8.3.3.3.3.3"><csymbol cd="ambiguous" id="S3.SS1.p1.8.m8.3.3.3.3.3.1.cmml" xref="S3.SS1.p1.8.m8.3.3.3.3.3">subscript</csymbol><ci id="S3.SS1.p1.8.m8.3.3.3.3.3.2.cmml" xref="S3.SS1.p1.8.m8.3.3.3.3.3.2">𝐼</ci><apply id="S3.SS1.p1.8.m8.3.3.3.3.3.3.cmml" xref="S3.SS1.p1.8.m8.3.3.3.3.3.3"><minus id="S3.SS1.p1.8.m8.3.3.3.3.3.3.1.cmml" xref="S3.SS1.p1.8.m8.3.3.3.3.3.3.1"></minus><ci id="S3.SS1.p1.8.m8.3.3.3.3.3.3.2.cmml" xref="S3.SS1.p1.8.m8.3.3.3.3.3.3.2">𝐾</ci><cn id="S3.SS1.p1.8.m8.3.3.3.3.3.3.3.cmml" type="integer" xref="S3.SS1.p1.8.m8.3.3.3.3.3.3.3">1</cn></apply></apply></apply></list></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p1.8.m8.3c">I_{1},I_{2},...I_{K-1}</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p1.8.m8.3d">italic_I start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_I start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … italic_I start_POSTSUBSCRIPT italic_K - 1 end_POSTSUBSCRIPT</annotation></semantics></math>, where <math alttext="I_{1}=f_{1}(x),I_{k}=f_{k}(I_{k-1})\text{ for }1<k<K,\\ y=f_{K}(I_{K-1})" class="ltx_Math" display="inline" id="S3.SS1.p1.9.m9.5"><semantics id="S3.SS1.p1.9.m9.5a"><mrow id="S3.SS1.p1.9.m9.5.5.2" xref="S3.SS1.p1.9.m9.5.5.3.cmml"><mrow id="S3.SS1.p1.9.m9.4.4.1.1.2" xref="S3.SS1.p1.9.m9.4.4.1.1.3.cmml"><mrow id="S3.SS1.p1.9.m9.4.4.1.1.1.1" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.cmml"><msub id="S3.SS1.p1.9.m9.4.4.1.1.1.1.2" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.2.cmml"><mi id="S3.SS1.p1.9.m9.4.4.1.1.1.1.2.2" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.2.2.cmml">I</mi><mn id="S3.SS1.p1.9.m9.4.4.1.1.1.1.2.3" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.2.3.cmml">1</mn></msub><mo id="S3.SS1.p1.9.m9.4.4.1.1.1.1.1" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.1.cmml">=</mo><mrow id="S3.SS1.p1.9.m9.4.4.1.1.1.1.3" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.cmml"><msub id="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.2" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.2.cmml"><mi id="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.2.2" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.2.2.cmml">f</mi><mn id="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.2.3" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.2.3.cmml">1</mn></msub><mo id="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.1" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.1.cmml"></mo><mrow id="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.3.2" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.cmml"><mo id="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.3.2.1" stretchy="false" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.cmml">(</mo><mi id="S3.SS1.p1.9.m9.1.1" xref="S3.SS1.p1.9.m9.1.1.cmml">x</mi><mo id="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.3.2.2" stretchy="false" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.cmml">)</mo></mrow></mrow></mrow><mo id="S3.SS1.p1.9.m9.4.4.1.1.2.3" xref="S3.SS1.p1.9.m9.4.4.1.1.3a.cmml">,</mo><mrow id="S3.SS1.p1.9.m9.4.4.1.1.2.2" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.cmml"><msub id="S3.SS1.p1.9.m9.4.4.1.1.2.2.3" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.3.cmml"><mi id="S3.SS1.p1.9.m9.4.4.1.1.2.2.3.2" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.3.2.cmml">I</mi><mi id="S3.SS1.p1.9.m9.4.4.1.1.2.2.3.3" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.3.3.cmml">k</mi></msub><mo id="S3.SS1.p1.9.m9.4.4.1.1.2.2.4" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.4.cmml">=</mo><mrow id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.cmml"><msub id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.3" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.3.cmml"><mi id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.3.2" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.3.2.cmml">f</mi><mi id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.3.3" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.3.3.cmml">k</mi></msub><mo id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.2" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.2.cmml"></mo><mrow id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.cmml"><mo id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.2" stretchy="false" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.cmml">(</mo><msub id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.cmml"><mi id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.2" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.2.cmml">I</mi><mrow id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3.cmml"><mi id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3.2" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3.2.cmml">k</mi><mo id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3.1" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3.1.cmml">−</mo><mn id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3.3" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3.3.cmml">1</mn></mrow></msub><mo id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.3" stretchy="false" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.cmml">)</mo></mrow><mo id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.2a" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.2.cmml"></mo><mtext id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.4" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.4a.cmml"> for </mtext><mo id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.2b" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.2.cmml"></mo><mn id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.5" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.5.cmml">1</mn></mrow><mo id="S3.SS1.p1.9.m9.4.4.1.1.2.2.5" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.5.cmml"><</mo><mi id="S3.SS1.p1.9.m9.4.4.1.1.2.2.6" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.6.cmml">k</mi><mo id="S3.SS1.p1.9.m9.4.4.1.1.2.2.7" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.7.cmml"><</mo><mi id="S3.SS1.p1.9.m9.2.2" xref="S3.SS1.p1.9.m9.2.2.cmml">K</mi></mrow></mrow><mo id="S3.SS1.p1.9.m9.5.5.2.3" xref="S3.SS1.p1.9.m9.5.5.3a.cmml">,</mo><mrow id="S3.SS1.p1.9.m9.5.5.2.2" xref="S3.SS1.p1.9.m9.5.5.2.2.cmml"><mi id="S3.SS1.p1.9.m9.3.3" xref="S3.SS1.p1.9.m9.3.3.cmml">y</mi><mo id="S3.SS1.p1.9.m9.5.5.2.2.2" xref="S3.SS1.p1.9.m9.5.5.2.2.2.cmml">=</mo><mrow id="S3.SS1.p1.9.m9.5.5.2.2.1" xref="S3.SS1.p1.9.m9.5.5.2.2.1.cmml"><msub id="S3.SS1.p1.9.m9.5.5.2.2.1.3" xref="S3.SS1.p1.9.m9.5.5.2.2.1.3.cmml"><mi id="S3.SS1.p1.9.m9.5.5.2.2.1.3.2" xref="S3.SS1.p1.9.m9.5.5.2.2.1.3.2.cmml">f</mi><mi id="S3.SS1.p1.9.m9.5.5.2.2.1.3.3" xref="S3.SS1.p1.9.m9.5.5.2.2.1.3.3.cmml">K</mi></msub><mo id="S3.SS1.p1.9.m9.5.5.2.2.1.2" xref="S3.SS1.p1.9.m9.5.5.2.2.1.2.cmml"></mo><mrow id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.cmml"><mo id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.2" stretchy="false" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.cmml">(</mo><msub id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.cmml"><mi id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.2" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.2.cmml">I</mi><mrow id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3.cmml"><mi id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3.2" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3.2.cmml">K</mi><mo id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3.1" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3.1.cmml">−</mo><mn id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3.3" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3.3.cmml">1</mn></mrow></msub><mo id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.3" stretchy="false" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.cmml">)</mo></mrow></mrow></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.SS1.p1.9.m9.5b"><apply id="S3.SS1.p1.9.m9.5.5.3.cmml" xref="S3.SS1.p1.9.m9.5.5.2"><csymbol cd="ambiguous" id="S3.SS1.p1.9.m9.5.5.3a.cmml" xref="S3.SS1.p1.9.m9.5.5.2.3">formulae-sequence</csymbol><apply id="S3.SS1.p1.9.m9.4.4.1.1.3.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2"><csymbol cd="ambiguous" id="S3.SS1.p1.9.m9.4.4.1.1.3a.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.3">formulae-sequence</csymbol><apply id="S3.SS1.p1.9.m9.4.4.1.1.1.1.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1"><eq id="S3.SS1.p1.9.m9.4.4.1.1.1.1.1.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.1"></eq><apply id="S3.SS1.p1.9.m9.4.4.1.1.1.1.2.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.2"><csymbol cd="ambiguous" id="S3.SS1.p1.9.m9.4.4.1.1.1.1.2.1.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.2">subscript</csymbol><ci id="S3.SS1.p1.9.m9.4.4.1.1.1.1.2.2.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.2.2">𝐼</ci><cn id="S3.SS1.p1.9.m9.4.4.1.1.1.1.2.3.cmml" type="integer" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.2.3">1</cn></apply><apply id="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.3"><times id="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.1.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.1"></times><apply id="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.2.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.2"><csymbol cd="ambiguous" id="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.2.1.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.2">subscript</csymbol><ci id="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.2.2.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.2.2">𝑓</ci><cn id="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.2.3.cmml" type="integer" xref="S3.SS1.p1.9.m9.4.4.1.1.1.1.3.2.3">1</cn></apply><ci id="S3.SS1.p1.9.m9.1.1.cmml" xref="S3.SS1.p1.9.m9.1.1">𝑥</ci></apply></apply><apply id="S3.SS1.p1.9.m9.4.4.1.1.2.2.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2"><and id="S3.SS1.p1.9.m9.4.4.1.1.2.2a.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2"></and><apply id="S3.SS1.p1.9.m9.4.4.1.1.2.2b.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2"><eq id="S3.SS1.p1.9.m9.4.4.1.1.2.2.4.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.4"></eq><apply id="S3.SS1.p1.9.m9.4.4.1.1.2.2.3.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.3"><csymbol cd="ambiguous" id="S3.SS1.p1.9.m9.4.4.1.1.2.2.3.1.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.3">subscript</csymbol><ci id="S3.SS1.p1.9.m9.4.4.1.1.2.2.3.2.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.3.2">𝐼</ci><ci id="S3.SS1.p1.9.m9.4.4.1.1.2.2.3.3.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.3.3">𝑘</ci></apply><apply id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1"><times id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.2.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.2"></times><apply id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.3.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.3"><csymbol cd="ambiguous" id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.3.1.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.3">subscript</csymbol><ci id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.3.2.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.3.2">𝑓</ci><ci id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.3.3.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.3.3">𝑘</ci></apply><apply id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1"><csymbol cd="ambiguous" id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.1.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1">subscript</csymbol><ci id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.2.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.2">𝐼</ci><apply id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3"><minus id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3.1.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3.1"></minus><ci id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3.2.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3.2">𝑘</ci><cn id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3.3.cmml" type="integer" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.1.1.1.3.3">1</cn></apply></apply><ci id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.4a.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.4"><mtext id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.4.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.4"> for </mtext></ci><cn id="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.5.cmml" type="integer" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.1.5">1</cn></apply></apply><apply id="S3.SS1.p1.9.m9.4.4.1.1.2.2c.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2"><lt id="S3.SS1.p1.9.m9.4.4.1.1.2.2.5.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.5"></lt><share href="https://arxiv.org/html/2407.21748v1#S3.SS1.p1.9.m9.4.4.1.1.2.2.1.cmml" id="S3.SS1.p1.9.m9.4.4.1.1.2.2d.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2"></share><ci id="S3.SS1.p1.9.m9.4.4.1.1.2.2.6.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.6">𝑘</ci></apply><apply id="S3.SS1.p1.9.m9.4.4.1.1.2.2e.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2"><lt id="S3.SS1.p1.9.m9.4.4.1.1.2.2.7.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2.7"></lt><share href="https://arxiv.org/html/2407.21748v1#S3.SS1.p1.9.m9.4.4.1.1.2.2.6.cmml" id="S3.SS1.p1.9.m9.4.4.1.1.2.2f.cmml" xref="S3.SS1.p1.9.m9.4.4.1.1.2.2"></share><ci id="S3.SS1.p1.9.m9.2.2.cmml" xref="S3.SS1.p1.9.m9.2.2">𝐾</ci></apply></apply></apply><apply id="S3.SS1.p1.9.m9.5.5.2.2.cmml" xref="S3.SS1.p1.9.m9.5.5.2.2"><eq id="S3.SS1.p1.9.m9.5.5.2.2.2.cmml" xref="S3.SS1.p1.9.m9.5.5.2.2.2"></eq><ci id="S3.SS1.p1.9.m9.3.3.cmml" xref="S3.SS1.p1.9.m9.3.3">𝑦</ci><apply id="S3.SS1.p1.9.m9.5.5.2.2.1.cmml" xref="S3.SS1.p1.9.m9.5.5.2.2.1"><times id="S3.SS1.p1.9.m9.5.5.2.2.1.2.cmml" xref="S3.SS1.p1.9.m9.5.5.2.2.1.2"></times><apply id="S3.SS1.p1.9.m9.5.5.2.2.1.3.cmml" xref="S3.SS1.p1.9.m9.5.5.2.2.1.3"><csymbol cd="ambiguous" id="S3.SS1.p1.9.m9.5.5.2.2.1.3.1.cmml" xref="S3.SS1.p1.9.m9.5.5.2.2.1.3">subscript</csymbol><ci id="S3.SS1.p1.9.m9.5.5.2.2.1.3.2.cmml" xref="S3.SS1.p1.9.m9.5.5.2.2.1.3.2">𝑓</ci><ci id="S3.SS1.p1.9.m9.5.5.2.2.1.3.3.cmml" xref="S3.SS1.p1.9.m9.5.5.2.2.1.3.3">𝐾</ci></apply><apply id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.cmml" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1"><csymbol cd="ambiguous" id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.1.cmml" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1">subscript</csymbol><ci id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.2.cmml" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.2">𝐼</ci><apply id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3.cmml" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3"><minus id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3.1.cmml" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3.1"></minus><ci id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3.2.cmml" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3.2">𝐾</ci><cn id="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3.3.cmml" type="integer" xref="S3.SS1.p1.9.m9.5.5.2.2.1.1.1.1.3.3">1</cn></apply></apply></apply></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p1.9.m9.5c">I_{1}=f_{1}(x),I_{k}=f_{k}(I_{k-1})\text{ for }1<k<K,\\ y=f_{K}(I_{K-1})</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p1.9.m9.5d">italic_I start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT = italic_f start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( italic_x ) , italic_I start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT = italic_f start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ( italic_I start_POSTSUBSCRIPT italic_k - 1 end_POSTSUBSCRIPT ) for 1 < italic_k < italic_K , italic_y = italic_f start_POSTSUBSCRIPT italic_K end_POSTSUBSCRIPT ( italic_I start_POSTSUBSCRIPT italic_K - 1 end_POSTSUBSCRIPT )</annotation></semantics></math>.</p> </div> <figure class="ltx_figure" id="S3.F2"> <div class="ltx_flex_figure"> <div class="ltx_flex_cell ltx_flex_size_3"> <figure class="ltx_figure ltx_figure_panel ltx_align_center" id="S3.F2.sf1"><img alt="Refer to caption" class="ltx_graphics ltx_centering ltx_img_landscape" height="333" id="S3.F2.sf1.g1" src="extracted/5766884/figures/camera_correct.png" width="598"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S3.F2.sf1.2.1.1" style="font-size:90%;">(a)</span> </span><span class="ltx_text" id="S3.F2.sf1.3.2" style="font-size:90%;">Nominal image</span></figcaption> </figure> </div> <div class="ltx_flex_cell ltx_flex_size_3"> <figure class="ltx_figure ltx_figure_panel ltx_align_center" id="S3.F2.sf2"><img alt="Refer to caption" class="ltx_graphics ltx_centering ltx_img_landscape" height="87" id="S3.F2.sf2.g1" src="extracted/5766884/figures/new_airport.png" width="598"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S3.F2.sf2.2.1.1" style="font-size:90%;">(b)</span> </span><span class="ltx_text" id="S3.F2.sf2.3.2" style="font-size:90%;">New Airport</span></figcaption> </figure> </div> <div class="ltx_flex_cell ltx_flex_size_3"> <figure class="ltx_figure ltx_figure_panel ltx_align_center" id="S3.F2.sf3"><img alt="Refer to caption" class="ltx_graphics ltx_centering ltx_img_landscape" height="333" id="S3.F2.sf3.g1" src="extracted/5766884/figures/output_image_blurred2.jpg" width="598"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S3.F2.sf3.2.1.1" style="font-size:90%;">(c)</span> </span><span class="ltx_text" id="S3.F2.sf3.3.2" style="font-size:90%;">Sensor Degradation</span></figcaption> </figure> </div> </div> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S3.F2.2.1.1" style="font-size:90%;">Figure 2</span>: </span><span class="ltx_text" id="S3.F2.3.2" style="font-size:90%;">Images generated from the X-Plane 11 flight simulator, with (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S3.F2.sf1" title="In Figure 2 ‣ 3.1 Problem Setup ‣ 3 Identifying Types of Distribution Shift ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">2(a)</span></a>) a standard camera angle, (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S3.F2.sf2" title="In Figure 2 ‣ 3.1 Problem Setup ‣ 3 Identifying Types of Distribution Shift ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">2(b)</span></a>) a shifted environment, and (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S3.F2.sf3" title="In Figure 2 ‣ 3.1 Problem Setup ‣ 3 Identifying Types of Distribution Shift ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">2(c)</span></a>) sensor degradation. We define separate martingales to identify each type of shift.</span></figcaption> </figure> <div class="ltx_para" id="S3.SS1.p2"> <p class="ltx_p" id="S3.SS1.p2.7">In our problem setup we are given a dataset of <math alttext="N" class="ltx_Math" display="inline" id="S3.SS1.p2.1.m1.1"><semantics id="S3.SS1.p2.1.m1.1a"><mi id="S3.SS1.p2.1.m1.1.1" xref="S3.SS1.p2.1.m1.1.1.cmml">N</mi><annotation-xml encoding="MathML-Content" id="S3.SS1.p2.1.m1.1b"><ci id="S3.SS1.p2.1.m1.1.1.cmml" xref="S3.SS1.p2.1.m1.1.1">𝑁</ci></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p2.1.m1.1c">N</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p2.1.m1.1d">italic_N</annotation></semantics></math> historical inputs sampled from a single distribution, <math alttext="D_{\mathrm{orig}}=(X_{1},X_{2},\cdots,X_{N})" class="ltx_Math" display="inline" id="S3.SS1.p2.2.m2.4"><semantics id="S3.SS1.p2.2.m2.4a"><mrow id="S3.SS1.p2.2.m2.4.4" xref="S3.SS1.p2.2.m2.4.4.cmml"><msub id="S3.SS1.p2.2.m2.4.4.5" xref="S3.SS1.p2.2.m2.4.4.5.cmml"><mi id="S3.SS1.p2.2.m2.4.4.5.2" xref="S3.SS1.p2.2.m2.4.4.5.2.cmml">D</mi><mi id="S3.SS1.p2.2.m2.4.4.5.3" xref="S3.SS1.p2.2.m2.4.4.5.3.cmml">orig</mi></msub><mo id="S3.SS1.p2.2.m2.4.4.4" xref="S3.SS1.p2.2.m2.4.4.4.cmml">=</mo><mrow id="S3.SS1.p2.2.m2.4.4.3.3" xref="S3.SS1.p2.2.m2.4.4.3.4.cmml"><mo id="S3.SS1.p2.2.m2.4.4.3.3.4" stretchy="false" xref="S3.SS1.p2.2.m2.4.4.3.4.cmml">(</mo><msub id="S3.SS1.p2.2.m2.2.2.1.1.1" xref="S3.SS1.p2.2.m2.2.2.1.1.1.cmml"><mi id="S3.SS1.p2.2.m2.2.2.1.1.1.2" xref="S3.SS1.p2.2.m2.2.2.1.1.1.2.cmml">X</mi><mn id="S3.SS1.p2.2.m2.2.2.1.1.1.3" xref="S3.SS1.p2.2.m2.2.2.1.1.1.3.cmml">1</mn></msub><mo id="S3.SS1.p2.2.m2.4.4.3.3.5" xref="S3.SS1.p2.2.m2.4.4.3.4.cmml">,</mo><msub id="S3.SS1.p2.2.m2.3.3.2.2.2" xref="S3.SS1.p2.2.m2.3.3.2.2.2.cmml"><mi id="S3.SS1.p2.2.m2.3.3.2.2.2.2" xref="S3.SS1.p2.2.m2.3.3.2.2.2.2.cmml">X</mi><mn id="S3.SS1.p2.2.m2.3.3.2.2.2.3" xref="S3.SS1.p2.2.m2.3.3.2.2.2.3.cmml">2</mn></msub><mo id="S3.SS1.p2.2.m2.4.4.3.3.6" xref="S3.SS1.p2.2.m2.4.4.3.4.cmml">,</mo><mi id="S3.SS1.p2.2.m2.1.1" mathvariant="normal" xref="S3.SS1.p2.2.m2.1.1.cmml">⋯</mi><mo id="S3.SS1.p2.2.m2.4.4.3.3.7" xref="S3.SS1.p2.2.m2.4.4.3.4.cmml">,</mo><msub id="S3.SS1.p2.2.m2.4.4.3.3.3" xref="S3.SS1.p2.2.m2.4.4.3.3.3.cmml"><mi id="S3.SS1.p2.2.m2.4.4.3.3.3.2" xref="S3.SS1.p2.2.m2.4.4.3.3.3.2.cmml">X</mi><mi id="S3.SS1.p2.2.m2.4.4.3.3.3.3" xref="S3.SS1.p2.2.m2.4.4.3.3.3.3.cmml">N</mi></msub><mo id="S3.SS1.p2.2.m2.4.4.3.3.8" stretchy="false" xref="S3.SS1.p2.2.m2.4.4.3.4.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.SS1.p2.2.m2.4b"><apply id="S3.SS1.p2.2.m2.4.4.cmml" xref="S3.SS1.p2.2.m2.4.4"><eq id="S3.SS1.p2.2.m2.4.4.4.cmml" xref="S3.SS1.p2.2.m2.4.4.4"></eq><apply id="S3.SS1.p2.2.m2.4.4.5.cmml" xref="S3.SS1.p2.2.m2.4.4.5"><csymbol cd="ambiguous" id="S3.SS1.p2.2.m2.4.4.5.1.cmml" xref="S3.SS1.p2.2.m2.4.4.5">subscript</csymbol><ci id="S3.SS1.p2.2.m2.4.4.5.2.cmml" xref="S3.SS1.p2.2.m2.4.4.5.2">𝐷</ci><ci id="S3.SS1.p2.2.m2.4.4.5.3.cmml" xref="S3.SS1.p2.2.m2.4.4.5.3">orig</ci></apply><vector id="S3.SS1.p2.2.m2.4.4.3.4.cmml" xref="S3.SS1.p2.2.m2.4.4.3.3"><apply id="S3.SS1.p2.2.m2.2.2.1.1.1.cmml" xref="S3.SS1.p2.2.m2.2.2.1.1.1"><csymbol cd="ambiguous" id="S3.SS1.p2.2.m2.2.2.1.1.1.1.cmml" xref="S3.SS1.p2.2.m2.2.2.1.1.1">subscript</csymbol><ci id="S3.SS1.p2.2.m2.2.2.1.1.1.2.cmml" xref="S3.SS1.p2.2.m2.2.2.1.1.1.2">𝑋</ci><cn id="S3.SS1.p2.2.m2.2.2.1.1.1.3.cmml" type="integer" xref="S3.SS1.p2.2.m2.2.2.1.1.1.3">1</cn></apply><apply id="S3.SS1.p2.2.m2.3.3.2.2.2.cmml" xref="S3.SS1.p2.2.m2.3.3.2.2.2"><csymbol cd="ambiguous" id="S3.SS1.p2.2.m2.3.3.2.2.2.1.cmml" xref="S3.SS1.p2.2.m2.3.3.2.2.2">subscript</csymbol><ci id="S3.SS1.p2.2.m2.3.3.2.2.2.2.cmml" xref="S3.SS1.p2.2.m2.3.3.2.2.2.2">𝑋</ci><cn id="S3.SS1.p2.2.m2.3.3.2.2.2.3.cmml" type="integer" xref="S3.SS1.p2.2.m2.3.3.2.2.2.3">2</cn></apply><ci id="S3.SS1.p2.2.m2.1.1.cmml" xref="S3.SS1.p2.2.m2.1.1">⋯</ci><apply id="S3.SS1.p2.2.m2.4.4.3.3.3.cmml" xref="S3.SS1.p2.2.m2.4.4.3.3.3"><csymbol cd="ambiguous" id="S3.SS1.p2.2.m2.4.4.3.3.3.1.cmml" xref="S3.SS1.p2.2.m2.4.4.3.3.3">subscript</csymbol><ci id="S3.SS1.p2.2.m2.4.4.3.3.3.2.cmml" xref="S3.SS1.p2.2.m2.4.4.3.3.3.2">𝑋</ci><ci id="S3.SS1.p2.2.m2.4.4.3.3.3.3.cmml" xref="S3.SS1.p2.2.m2.4.4.3.3.3.3">𝑁</ci></apply></vector></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p2.2.m2.4c">D_{\mathrm{orig}}=(X_{1},X_{2},\cdots,X_{N})</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p2.2.m2.4d">italic_D start_POSTSUBSCRIPT roman_orig end_POSTSUBSCRIPT = ( italic_X start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_X start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , ⋯ , italic_X start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT )</annotation></semantics></math>. Each <math alttext="X_{i}" class="ltx_Math" display="inline" id="S3.SS1.p2.3.m3.1"><semantics id="S3.SS1.p2.3.m3.1a"><msub id="S3.SS1.p2.3.m3.1.1" xref="S3.SS1.p2.3.m3.1.1.cmml"><mi id="S3.SS1.p2.3.m3.1.1.2" xref="S3.SS1.p2.3.m3.1.1.2.cmml">X</mi><mi id="S3.SS1.p2.3.m3.1.1.3" xref="S3.SS1.p2.3.m3.1.1.3.cmml">i</mi></msub><annotation-xml encoding="MathML-Content" id="S3.SS1.p2.3.m3.1b"><apply id="S3.SS1.p2.3.m3.1.1.cmml" xref="S3.SS1.p2.3.m3.1.1"><csymbol cd="ambiguous" id="S3.SS1.p2.3.m3.1.1.1.cmml" xref="S3.SS1.p2.3.m3.1.1">subscript</csymbol><ci id="S3.SS1.p2.3.m3.1.1.2.cmml" xref="S3.SS1.p2.3.m3.1.1.2">𝑋</ci><ci id="S3.SS1.p2.3.m3.1.1.3.cmml" xref="S3.SS1.p2.3.m3.1.1.3">𝑖</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p2.3.m3.1c">X_{i}</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p2.3.m3.1d">italic_X start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT</annotation></semantics></math> represents a sequence of sensor inputs recorded during an episode of the robot interacting with the environment, e.g. <math alttext="X_{i}=(x_{i}^{1},x_{i}^{2},\dots,x_{i}^{l_{i}})" class="ltx_Math" display="inline" id="S3.SS1.p2.4.m4.4"><semantics id="S3.SS1.p2.4.m4.4a"><mrow id="S3.SS1.p2.4.m4.4.4" xref="S3.SS1.p2.4.m4.4.4.cmml"><msub id="S3.SS1.p2.4.m4.4.4.5" xref="S3.SS1.p2.4.m4.4.4.5.cmml"><mi id="S3.SS1.p2.4.m4.4.4.5.2" xref="S3.SS1.p2.4.m4.4.4.5.2.cmml">X</mi><mi id="S3.SS1.p2.4.m4.4.4.5.3" xref="S3.SS1.p2.4.m4.4.4.5.3.cmml">i</mi></msub><mo id="S3.SS1.p2.4.m4.4.4.4" xref="S3.SS1.p2.4.m4.4.4.4.cmml">=</mo><mrow id="S3.SS1.p2.4.m4.4.4.3.3" xref="S3.SS1.p2.4.m4.4.4.3.4.cmml"><mo id="S3.SS1.p2.4.m4.4.4.3.3.4" stretchy="false" xref="S3.SS1.p2.4.m4.4.4.3.4.cmml">(</mo><msubsup id="S3.SS1.p2.4.m4.2.2.1.1.1" xref="S3.SS1.p2.4.m4.2.2.1.1.1.cmml"><mi id="S3.SS1.p2.4.m4.2.2.1.1.1.2.2" xref="S3.SS1.p2.4.m4.2.2.1.1.1.2.2.cmml">x</mi><mi id="S3.SS1.p2.4.m4.2.2.1.1.1.2.3" xref="S3.SS1.p2.4.m4.2.2.1.1.1.2.3.cmml">i</mi><mn id="S3.SS1.p2.4.m4.2.2.1.1.1.3" xref="S3.SS1.p2.4.m4.2.2.1.1.1.3.cmml">1</mn></msubsup><mo id="S3.SS1.p2.4.m4.4.4.3.3.5" xref="S3.SS1.p2.4.m4.4.4.3.4.cmml">,</mo><msubsup id="S3.SS1.p2.4.m4.3.3.2.2.2" xref="S3.SS1.p2.4.m4.3.3.2.2.2.cmml"><mi id="S3.SS1.p2.4.m4.3.3.2.2.2.2.2" xref="S3.SS1.p2.4.m4.3.3.2.2.2.2.2.cmml">x</mi><mi id="S3.SS1.p2.4.m4.3.3.2.2.2.2.3" xref="S3.SS1.p2.4.m4.3.3.2.2.2.2.3.cmml">i</mi><mn id="S3.SS1.p2.4.m4.3.3.2.2.2.3" xref="S3.SS1.p2.4.m4.3.3.2.2.2.3.cmml">2</mn></msubsup><mo id="S3.SS1.p2.4.m4.4.4.3.3.6" xref="S3.SS1.p2.4.m4.4.4.3.4.cmml">,</mo><mi id="S3.SS1.p2.4.m4.1.1" mathvariant="normal" xref="S3.SS1.p2.4.m4.1.1.cmml">…</mi><mo id="S3.SS1.p2.4.m4.4.4.3.3.7" xref="S3.SS1.p2.4.m4.4.4.3.4.cmml">,</mo><msubsup id="S3.SS1.p2.4.m4.4.4.3.3.3" xref="S3.SS1.p2.4.m4.4.4.3.3.3.cmml"><mi id="S3.SS1.p2.4.m4.4.4.3.3.3.2.2" xref="S3.SS1.p2.4.m4.4.4.3.3.3.2.2.cmml">x</mi><mi id="S3.SS1.p2.4.m4.4.4.3.3.3.2.3" xref="S3.SS1.p2.4.m4.4.4.3.3.3.2.3.cmml">i</mi><msub id="S3.SS1.p2.4.m4.4.4.3.3.3.3" xref="S3.SS1.p2.4.m4.4.4.3.3.3.3.cmml"><mi id="S3.SS1.p2.4.m4.4.4.3.3.3.3.2" xref="S3.SS1.p2.4.m4.4.4.3.3.3.3.2.cmml">l</mi><mi id="S3.SS1.p2.4.m4.4.4.3.3.3.3.3" xref="S3.SS1.p2.4.m4.4.4.3.3.3.3.3.cmml">i</mi></msub></msubsup><mo id="S3.SS1.p2.4.m4.4.4.3.3.8" stretchy="false" xref="S3.SS1.p2.4.m4.4.4.3.4.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.SS1.p2.4.m4.4b"><apply id="S3.SS1.p2.4.m4.4.4.cmml" xref="S3.SS1.p2.4.m4.4.4"><eq id="S3.SS1.p2.4.m4.4.4.4.cmml" xref="S3.SS1.p2.4.m4.4.4.4"></eq><apply id="S3.SS1.p2.4.m4.4.4.5.cmml" xref="S3.SS1.p2.4.m4.4.4.5"><csymbol cd="ambiguous" id="S3.SS1.p2.4.m4.4.4.5.1.cmml" xref="S3.SS1.p2.4.m4.4.4.5">subscript</csymbol><ci id="S3.SS1.p2.4.m4.4.4.5.2.cmml" xref="S3.SS1.p2.4.m4.4.4.5.2">𝑋</ci><ci id="S3.SS1.p2.4.m4.4.4.5.3.cmml" xref="S3.SS1.p2.4.m4.4.4.5.3">𝑖</ci></apply><vector id="S3.SS1.p2.4.m4.4.4.3.4.cmml" xref="S3.SS1.p2.4.m4.4.4.3.3"><apply id="S3.SS1.p2.4.m4.2.2.1.1.1.cmml" xref="S3.SS1.p2.4.m4.2.2.1.1.1"><csymbol cd="ambiguous" id="S3.SS1.p2.4.m4.2.2.1.1.1.1.cmml" xref="S3.SS1.p2.4.m4.2.2.1.1.1">superscript</csymbol><apply id="S3.SS1.p2.4.m4.2.2.1.1.1.2.cmml" xref="S3.SS1.p2.4.m4.2.2.1.1.1"><csymbol cd="ambiguous" id="S3.SS1.p2.4.m4.2.2.1.1.1.2.1.cmml" xref="S3.SS1.p2.4.m4.2.2.1.1.1">subscript</csymbol><ci id="S3.SS1.p2.4.m4.2.2.1.1.1.2.2.cmml" xref="S3.SS1.p2.4.m4.2.2.1.1.1.2.2">𝑥</ci><ci id="S3.SS1.p2.4.m4.2.2.1.1.1.2.3.cmml" xref="S3.SS1.p2.4.m4.2.2.1.1.1.2.3">𝑖</ci></apply><cn id="S3.SS1.p2.4.m4.2.2.1.1.1.3.cmml" type="integer" xref="S3.SS1.p2.4.m4.2.2.1.1.1.3">1</cn></apply><apply id="S3.SS1.p2.4.m4.3.3.2.2.2.cmml" xref="S3.SS1.p2.4.m4.3.3.2.2.2"><csymbol cd="ambiguous" id="S3.SS1.p2.4.m4.3.3.2.2.2.1.cmml" xref="S3.SS1.p2.4.m4.3.3.2.2.2">superscript</csymbol><apply id="S3.SS1.p2.4.m4.3.3.2.2.2.2.cmml" xref="S3.SS1.p2.4.m4.3.3.2.2.2"><csymbol cd="ambiguous" id="S3.SS1.p2.4.m4.3.3.2.2.2.2.1.cmml" xref="S3.SS1.p2.4.m4.3.3.2.2.2">subscript</csymbol><ci id="S3.SS1.p2.4.m4.3.3.2.2.2.2.2.cmml" xref="S3.SS1.p2.4.m4.3.3.2.2.2.2.2">𝑥</ci><ci id="S3.SS1.p2.4.m4.3.3.2.2.2.2.3.cmml" xref="S3.SS1.p2.4.m4.3.3.2.2.2.2.3">𝑖</ci></apply><cn id="S3.SS1.p2.4.m4.3.3.2.2.2.3.cmml" type="integer" xref="S3.SS1.p2.4.m4.3.3.2.2.2.3">2</cn></apply><ci id="S3.SS1.p2.4.m4.1.1.cmml" xref="S3.SS1.p2.4.m4.1.1">…</ci><apply id="S3.SS1.p2.4.m4.4.4.3.3.3.cmml" xref="S3.SS1.p2.4.m4.4.4.3.3.3"><csymbol cd="ambiguous" id="S3.SS1.p2.4.m4.4.4.3.3.3.1.cmml" xref="S3.SS1.p2.4.m4.4.4.3.3.3">superscript</csymbol><apply id="S3.SS1.p2.4.m4.4.4.3.3.3.2.cmml" xref="S3.SS1.p2.4.m4.4.4.3.3.3"><csymbol cd="ambiguous" id="S3.SS1.p2.4.m4.4.4.3.3.3.2.1.cmml" xref="S3.SS1.p2.4.m4.4.4.3.3.3">subscript</csymbol><ci id="S3.SS1.p2.4.m4.4.4.3.3.3.2.2.cmml" xref="S3.SS1.p2.4.m4.4.4.3.3.3.2.2">𝑥</ci><ci id="S3.SS1.p2.4.m4.4.4.3.3.3.2.3.cmml" xref="S3.SS1.p2.4.m4.4.4.3.3.3.2.3">𝑖</ci></apply><apply id="S3.SS1.p2.4.m4.4.4.3.3.3.3.cmml" xref="S3.SS1.p2.4.m4.4.4.3.3.3.3"><csymbol cd="ambiguous" id="S3.SS1.p2.4.m4.4.4.3.3.3.3.1.cmml" xref="S3.SS1.p2.4.m4.4.4.3.3.3.3">subscript</csymbol><ci id="S3.SS1.p2.4.m4.4.4.3.3.3.3.2.cmml" xref="S3.SS1.p2.4.m4.4.4.3.3.3.3.2">𝑙</ci><ci id="S3.SS1.p2.4.m4.4.4.3.3.3.3.3.cmml" xref="S3.SS1.p2.4.m4.4.4.3.3.3.3.3">𝑖</ci></apply></apply></vector></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p2.4.m4.4c">X_{i}=(x_{i}^{1},x_{i}^{2},\dots,x_{i}^{l_{i}})</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p2.4.m4.4d">italic_X start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = ( italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 1 end_POSTSUPERSCRIPT , italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_l start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT )</annotation></semantics></math>. During the robot’s deployment, in a potentially novel environment, we observe new sequences of sensor inputs <math alttext="D_{\mathrm{new}}=(X_{N+1},X_{N+2},\dots)" class="ltx_Math" display="inline" id="S3.SS1.p2.5.m5.3"><semantics id="S3.SS1.p2.5.m5.3a"><mrow id="S3.SS1.p2.5.m5.3.3" xref="S3.SS1.p2.5.m5.3.3.cmml"><msub id="S3.SS1.p2.5.m5.3.3.4" xref="S3.SS1.p2.5.m5.3.3.4.cmml"><mi id="S3.SS1.p2.5.m5.3.3.4.2" xref="S3.SS1.p2.5.m5.3.3.4.2.cmml">D</mi><mi id="S3.SS1.p2.5.m5.3.3.4.3" xref="S3.SS1.p2.5.m5.3.3.4.3.cmml">new</mi></msub><mo id="S3.SS1.p2.5.m5.3.3.3" xref="S3.SS1.p2.5.m5.3.3.3.cmml">=</mo><mrow id="S3.SS1.p2.5.m5.3.3.2.2" xref="S3.SS1.p2.5.m5.3.3.2.3.cmml"><mo id="S3.SS1.p2.5.m5.3.3.2.2.3" stretchy="false" xref="S3.SS1.p2.5.m5.3.3.2.3.cmml">(</mo><msub id="S3.SS1.p2.5.m5.2.2.1.1.1" xref="S3.SS1.p2.5.m5.2.2.1.1.1.cmml"><mi id="S3.SS1.p2.5.m5.2.2.1.1.1.2" xref="S3.SS1.p2.5.m5.2.2.1.1.1.2.cmml">X</mi><mrow id="S3.SS1.p2.5.m5.2.2.1.1.1.3" xref="S3.SS1.p2.5.m5.2.2.1.1.1.3.cmml"><mi id="S3.SS1.p2.5.m5.2.2.1.1.1.3.2" xref="S3.SS1.p2.5.m5.2.2.1.1.1.3.2.cmml">N</mi><mo id="S3.SS1.p2.5.m5.2.2.1.1.1.3.1" xref="S3.SS1.p2.5.m5.2.2.1.1.1.3.1.cmml">+</mo><mn id="S3.SS1.p2.5.m5.2.2.1.1.1.3.3" xref="S3.SS1.p2.5.m5.2.2.1.1.1.3.3.cmml">1</mn></mrow></msub><mo id="S3.SS1.p2.5.m5.3.3.2.2.4" xref="S3.SS1.p2.5.m5.3.3.2.3.cmml">,</mo><msub id="S3.SS1.p2.5.m5.3.3.2.2.2" xref="S3.SS1.p2.5.m5.3.3.2.2.2.cmml"><mi id="S3.SS1.p2.5.m5.3.3.2.2.2.2" xref="S3.SS1.p2.5.m5.3.3.2.2.2.2.cmml">X</mi><mrow id="S3.SS1.p2.5.m5.3.3.2.2.2.3" xref="S3.SS1.p2.5.m5.3.3.2.2.2.3.cmml"><mi id="S3.SS1.p2.5.m5.3.3.2.2.2.3.2" xref="S3.SS1.p2.5.m5.3.3.2.2.2.3.2.cmml">N</mi><mo id="S3.SS1.p2.5.m5.3.3.2.2.2.3.1" xref="S3.SS1.p2.5.m5.3.3.2.2.2.3.1.cmml">+</mo><mn id="S3.SS1.p2.5.m5.3.3.2.2.2.3.3" xref="S3.SS1.p2.5.m5.3.3.2.2.2.3.3.cmml">2</mn></mrow></msub><mo id="S3.SS1.p2.5.m5.3.3.2.2.5" xref="S3.SS1.p2.5.m5.3.3.2.3.cmml">,</mo><mi id="S3.SS1.p2.5.m5.1.1" mathvariant="normal" xref="S3.SS1.p2.5.m5.1.1.cmml">…</mi><mo id="S3.SS1.p2.5.m5.3.3.2.2.6" stretchy="false" xref="S3.SS1.p2.5.m5.3.3.2.3.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.SS1.p2.5.m5.3b"><apply id="S3.SS1.p2.5.m5.3.3.cmml" xref="S3.SS1.p2.5.m5.3.3"><eq id="S3.SS1.p2.5.m5.3.3.3.cmml" xref="S3.SS1.p2.5.m5.3.3.3"></eq><apply id="S3.SS1.p2.5.m5.3.3.4.cmml" xref="S3.SS1.p2.5.m5.3.3.4"><csymbol cd="ambiguous" id="S3.SS1.p2.5.m5.3.3.4.1.cmml" xref="S3.SS1.p2.5.m5.3.3.4">subscript</csymbol><ci id="S3.SS1.p2.5.m5.3.3.4.2.cmml" xref="S3.SS1.p2.5.m5.3.3.4.2">𝐷</ci><ci id="S3.SS1.p2.5.m5.3.3.4.3.cmml" xref="S3.SS1.p2.5.m5.3.3.4.3">new</ci></apply><vector id="S3.SS1.p2.5.m5.3.3.2.3.cmml" xref="S3.SS1.p2.5.m5.3.3.2.2"><apply id="S3.SS1.p2.5.m5.2.2.1.1.1.cmml" xref="S3.SS1.p2.5.m5.2.2.1.1.1"><csymbol cd="ambiguous" id="S3.SS1.p2.5.m5.2.2.1.1.1.1.cmml" xref="S3.SS1.p2.5.m5.2.2.1.1.1">subscript</csymbol><ci id="S3.SS1.p2.5.m5.2.2.1.1.1.2.cmml" xref="S3.SS1.p2.5.m5.2.2.1.1.1.2">𝑋</ci><apply id="S3.SS1.p2.5.m5.2.2.1.1.1.3.cmml" xref="S3.SS1.p2.5.m5.2.2.1.1.1.3"><plus id="S3.SS1.p2.5.m5.2.2.1.1.1.3.1.cmml" xref="S3.SS1.p2.5.m5.2.2.1.1.1.3.1"></plus><ci id="S3.SS1.p2.5.m5.2.2.1.1.1.3.2.cmml" xref="S3.SS1.p2.5.m5.2.2.1.1.1.3.2">𝑁</ci><cn id="S3.SS1.p2.5.m5.2.2.1.1.1.3.3.cmml" type="integer" xref="S3.SS1.p2.5.m5.2.2.1.1.1.3.3">1</cn></apply></apply><apply id="S3.SS1.p2.5.m5.3.3.2.2.2.cmml" xref="S3.SS1.p2.5.m5.3.3.2.2.2"><csymbol cd="ambiguous" id="S3.SS1.p2.5.m5.3.3.2.2.2.1.cmml" xref="S3.SS1.p2.5.m5.3.3.2.2.2">subscript</csymbol><ci id="S3.SS1.p2.5.m5.3.3.2.2.2.2.cmml" xref="S3.SS1.p2.5.m5.3.3.2.2.2.2">𝑋</ci><apply id="S3.SS1.p2.5.m5.3.3.2.2.2.3.cmml" xref="S3.SS1.p2.5.m5.3.3.2.2.2.3"><plus id="S3.SS1.p2.5.m5.3.3.2.2.2.3.1.cmml" xref="S3.SS1.p2.5.m5.3.3.2.2.2.3.1"></plus><ci id="S3.SS1.p2.5.m5.3.3.2.2.2.3.2.cmml" xref="S3.SS1.p2.5.m5.3.3.2.2.2.3.2">𝑁</ci><cn id="S3.SS1.p2.5.m5.3.3.2.2.2.3.3.cmml" type="integer" xref="S3.SS1.p2.5.m5.3.3.2.2.2.3.3">2</cn></apply></apply><ci id="S3.SS1.p2.5.m5.1.1.cmml" xref="S3.SS1.p2.5.m5.1.1">…</ci></vector></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p2.5.m5.3c">D_{\mathrm{new}}=(X_{N+1},X_{N+2},\dots)</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p2.5.m5.3d">italic_D start_POSTSUBSCRIPT roman_new end_POSTSUBSCRIPT = ( italic_X start_POSTSUBSCRIPT italic_N + 1 end_POSTSUBSCRIPT , italic_X start_POSTSUBSCRIPT italic_N + 2 end_POSTSUBSCRIPT , … )</annotation></semantics></math>. Again each <math alttext="X_{i}" class="ltx_Math" display="inline" id="S3.SS1.p2.6.m6.1"><semantics id="S3.SS1.p2.6.m6.1a"><msub id="S3.SS1.p2.6.m6.1.1" xref="S3.SS1.p2.6.m6.1.1.cmml"><mi id="S3.SS1.p2.6.m6.1.1.2" xref="S3.SS1.p2.6.m6.1.1.2.cmml">X</mi><mi id="S3.SS1.p2.6.m6.1.1.3" xref="S3.SS1.p2.6.m6.1.1.3.cmml">i</mi></msub><annotation-xml encoding="MathML-Content" id="S3.SS1.p2.6.m6.1b"><apply id="S3.SS1.p2.6.m6.1.1.cmml" xref="S3.SS1.p2.6.m6.1.1"><csymbol cd="ambiguous" id="S3.SS1.p2.6.m6.1.1.1.cmml" xref="S3.SS1.p2.6.m6.1.1">subscript</csymbol><ci id="S3.SS1.p2.6.m6.1.1.2.cmml" xref="S3.SS1.p2.6.m6.1.1.2">𝑋</ci><ci id="S3.SS1.p2.6.m6.1.1.3.cmml" xref="S3.SS1.p2.6.m6.1.1.3">𝑖</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p2.6.m6.1c">X_{i}</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p2.6.m6.1d">italic_X start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT</annotation></semantics></math> in <math alttext="D_{\mathrm{new}}" class="ltx_Math" display="inline" id="S3.SS1.p2.7.m7.1"><semantics id="S3.SS1.p2.7.m7.1a"><msub id="S3.SS1.p2.7.m7.1.1" xref="S3.SS1.p2.7.m7.1.1.cmml"><mi id="S3.SS1.p2.7.m7.1.1.2" xref="S3.SS1.p2.7.m7.1.1.2.cmml">D</mi><mi id="S3.SS1.p2.7.m7.1.1.3" xref="S3.SS1.p2.7.m7.1.1.3.cmml">new</mi></msub><annotation-xml encoding="MathML-Content" id="S3.SS1.p2.7.m7.1b"><apply id="S3.SS1.p2.7.m7.1.1.cmml" xref="S3.SS1.p2.7.m7.1.1"><csymbol cd="ambiguous" id="S3.SS1.p2.7.m7.1.1.1.cmml" xref="S3.SS1.p2.7.m7.1.1">subscript</csymbol><ci id="S3.SS1.p2.7.m7.1.1.2.cmml" xref="S3.SS1.p2.7.m7.1.1.2">𝐷</ci><ci id="S3.SS1.p2.7.m7.1.1.3.cmml" xref="S3.SS1.p2.7.m7.1.1.3">new</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p2.7.m7.1c">D_{\mathrm{new}}</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p2.7.m7.1d">italic_D start_POSTSUBSCRIPT roman_new end_POSTSUBSCRIPT</annotation></semantics></math> represents a sequence of inputs recorded during an episode of the robot interacting with the environment.</p> </div> <div class="ltx_para" id="S3.SS1.p3"> <p class="ltx_p" id="S3.SS1.p3.1">As shown in <cite class="ltx_cite ltx_citemacro_citet">Luo et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib17" title="">2023</a>)</cite> it is possible to design a series of test functions over system inputs</p> </div> <div class="ltx_para" id="S3.SS1.p4"> <table class="ltx_equationgroup ltx_eqn_align ltx_eqn_table" id="S8.EGx1"> <tbody id="S3.Ex2"><tr class="ltx_equation ltx_eqn_row ltx_align_baseline"> <td class="ltx_eqn_cell ltx_eqn_center_padleft"></td> <td class="ltx_td ltx_align_left ltx_eqn_cell"><math alttext="\displaystyle\psi^{1}_{j}:D_{\mathrm{orig}},X_{N+1},\cdots,X_{j}\mapsto\{T,F\}" class="ltx_Math" display="inline" id="S3.Ex2.m1.6"><semantics id="S3.Ex2.m1.6a"><mrow id="S3.Ex2.m1.6.6" xref="S3.Ex2.m1.6.6.cmml"><msubsup id="S3.Ex2.m1.6.6.5" xref="S3.Ex2.m1.6.6.5.cmml"><mi id="S3.Ex2.m1.6.6.5.2.2" xref="S3.Ex2.m1.6.6.5.2.2.cmml">ψ</mi><mi id="S3.Ex2.m1.6.6.5.3" xref="S3.Ex2.m1.6.6.5.3.cmml">j</mi><mn id="S3.Ex2.m1.6.6.5.2.3" xref="S3.Ex2.m1.6.6.5.2.3.cmml">1</mn></msubsup><mo id="S3.Ex2.m1.6.6.4" lspace="0.278em" rspace="0.278em" xref="S3.Ex2.m1.6.6.4.cmml">:</mo><mrow id="S3.Ex2.m1.6.6.3" xref="S3.Ex2.m1.6.6.3.cmml"><mrow id="S3.Ex2.m1.6.6.3.3.3" xref="S3.Ex2.m1.6.6.3.3.4.cmml"><msub id="S3.Ex2.m1.4.4.1.1.1.1" xref="S3.Ex2.m1.4.4.1.1.1.1.cmml"><mi id="S3.Ex2.m1.4.4.1.1.1.1.2" xref="S3.Ex2.m1.4.4.1.1.1.1.2.cmml">D</mi><mi id="S3.Ex2.m1.4.4.1.1.1.1.3" xref="S3.Ex2.m1.4.4.1.1.1.1.3.cmml">orig</mi></msub><mo id="S3.Ex2.m1.6.6.3.3.3.4" xref="S3.Ex2.m1.6.6.3.3.4.cmml">,</mo><msub id="S3.Ex2.m1.5.5.2.2.2.2" xref="S3.Ex2.m1.5.5.2.2.2.2.cmml"><mi id="S3.Ex2.m1.5.5.2.2.2.2.2" xref="S3.Ex2.m1.5.5.2.2.2.2.2.cmml">X</mi><mrow id="S3.Ex2.m1.5.5.2.2.2.2.3" xref="S3.Ex2.m1.5.5.2.2.2.2.3.cmml"><mi id="S3.Ex2.m1.5.5.2.2.2.2.3.2" xref="S3.Ex2.m1.5.5.2.2.2.2.3.2.cmml">N</mi><mo id="S3.Ex2.m1.5.5.2.2.2.2.3.1" xref="S3.Ex2.m1.5.5.2.2.2.2.3.1.cmml">+</mo><mn id="S3.Ex2.m1.5.5.2.2.2.2.3.3" xref="S3.Ex2.m1.5.5.2.2.2.2.3.3.cmml">1</mn></mrow></msub><mo id="S3.Ex2.m1.6.6.3.3.3.5" xref="S3.Ex2.m1.6.6.3.3.4.cmml">,</mo><mi id="S3.Ex2.m1.3.3" mathvariant="normal" xref="S3.Ex2.m1.3.3.cmml">⋯</mi><mo id="S3.Ex2.m1.6.6.3.3.3.6" xref="S3.Ex2.m1.6.6.3.3.4.cmml">,</mo><msub id="S3.Ex2.m1.6.6.3.3.3.3" xref="S3.Ex2.m1.6.6.3.3.3.3.cmml"><mi id="S3.Ex2.m1.6.6.3.3.3.3.2" xref="S3.Ex2.m1.6.6.3.3.3.3.2.cmml">X</mi><mi id="S3.Ex2.m1.6.6.3.3.3.3.3" xref="S3.Ex2.m1.6.6.3.3.3.3.3.cmml">j</mi></msub></mrow><mo id="S3.Ex2.m1.6.6.3.4" stretchy="false" xref="S3.Ex2.m1.6.6.3.4.cmml">↦</mo><mrow id="S3.Ex2.m1.6.6.3.5.2" xref="S3.Ex2.m1.6.6.3.5.1.cmml"><mo id="S3.Ex2.m1.6.6.3.5.2.1" stretchy="false" xref="S3.Ex2.m1.6.6.3.5.1.cmml">{</mo><mi id="S3.Ex2.m1.1.1" xref="S3.Ex2.m1.1.1.cmml">T</mi><mo id="S3.Ex2.m1.6.6.3.5.2.2" xref="S3.Ex2.m1.6.6.3.5.1.cmml">,</mo><mi id="S3.Ex2.m1.2.2" xref="S3.Ex2.m1.2.2.cmml">F</mi><mo id="S3.Ex2.m1.6.6.3.5.2.3" stretchy="false" xref="S3.Ex2.m1.6.6.3.5.1.cmml">}</mo></mrow></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.Ex2.m1.6b"><apply id="S3.Ex2.m1.6.6.cmml" xref="S3.Ex2.m1.6.6"><ci id="S3.Ex2.m1.6.6.4.cmml" xref="S3.Ex2.m1.6.6.4">:</ci><apply id="S3.Ex2.m1.6.6.5.cmml" xref="S3.Ex2.m1.6.6.5"><csymbol cd="ambiguous" id="S3.Ex2.m1.6.6.5.1.cmml" xref="S3.Ex2.m1.6.6.5">subscript</csymbol><apply id="S3.Ex2.m1.6.6.5.2.cmml" xref="S3.Ex2.m1.6.6.5"><csymbol cd="ambiguous" id="S3.Ex2.m1.6.6.5.2.1.cmml" xref="S3.Ex2.m1.6.6.5">superscript</csymbol><ci id="S3.Ex2.m1.6.6.5.2.2.cmml" xref="S3.Ex2.m1.6.6.5.2.2">𝜓</ci><cn id="S3.Ex2.m1.6.6.5.2.3.cmml" type="integer" xref="S3.Ex2.m1.6.6.5.2.3">1</cn></apply><ci id="S3.Ex2.m1.6.6.5.3.cmml" xref="S3.Ex2.m1.6.6.5.3">𝑗</ci></apply><apply id="S3.Ex2.m1.6.6.3.cmml" xref="S3.Ex2.m1.6.6.3"><csymbol cd="latexml" id="S3.Ex2.m1.6.6.3.4.cmml" xref="S3.Ex2.m1.6.6.3.4">maps-to</csymbol><list id="S3.Ex2.m1.6.6.3.3.4.cmml" xref="S3.Ex2.m1.6.6.3.3.3"><apply id="S3.Ex2.m1.4.4.1.1.1.1.cmml" xref="S3.Ex2.m1.4.4.1.1.1.1"><csymbol cd="ambiguous" id="S3.Ex2.m1.4.4.1.1.1.1.1.cmml" xref="S3.Ex2.m1.4.4.1.1.1.1">subscript</csymbol><ci id="S3.Ex2.m1.4.4.1.1.1.1.2.cmml" xref="S3.Ex2.m1.4.4.1.1.1.1.2">𝐷</ci><ci id="S3.Ex2.m1.4.4.1.1.1.1.3.cmml" xref="S3.Ex2.m1.4.4.1.1.1.1.3">orig</ci></apply><apply id="S3.Ex2.m1.5.5.2.2.2.2.cmml" xref="S3.Ex2.m1.5.5.2.2.2.2"><csymbol cd="ambiguous" id="S3.Ex2.m1.5.5.2.2.2.2.1.cmml" xref="S3.Ex2.m1.5.5.2.2.2.2">subscript</csymbol><ci id="S3.Ex2.m1.5.5.2.2.2.2.2.cmml" xref="S3.Ex2.m1.5.5.2.2.2.2.2">𝑋</ci><apply id="S3.Ex2.m1.5.5.2.2.2.2.3.cmml" xref="S3.Ex2.m1.5.5.2.2.2.2.3"><plus id="S3.Ex2.m1.5.5.2.2.2.2.3.1.cmml" xref="S3.Ex2.m1.5.5.2.2.2.2.3.1"></plus><ci id="S3.Ex2.m1.5.5.2.2.2.2.3.2.cmml" xref="S3.Ex2.m1.5.5.2.2.2.2.3.2">𝑁</ci><cn id="S3.Ex2.m1.5.5.2.2.2.2.3.3.cmml" type="integer" xref="S3.Ex2.m1.5.5.2.2.2.2.3.3">1</cn></apply></apply><ci id="S3.Ex2.m1.3.3.cmml" xref="S3.Ex2.m1.3.3">⋯</ci><apply id="S3.Ex2.m1.6.6.3.3.3.3.cmml" xref="S3.Ex2.m1.6.6.3.3.3.3"><csymbol cd="ambiguous" id="S3.Ex2.m1.6.6.3.3.3.3.1.cmml" xref="S3.Ex2.m1.6.6.3.3.3.3">subscript</csymbol><ci id="S3.Ex2.m1.6.6.3.3.3.3.2.cmml" xref="S3.Ex2.m1.6.6.3.3.3.3.2">𝑋</ci><ci id="S3.Ex2.m1.6.6.3.3.3.3.3.cmml" xref="S3.Ex2.m1.6.6.3.3.3.3.3">𝑗</ci></apply></list><set id="S3.Ex2.m1.6.6.3.5.1.cmml" xref="S3.Ex2.m1.6.6.3.5.2"><ci id="S3.Ex2.m1.1.1.cmml" xref="S3.Ex2.m1.1.1">𝑇</ci><ci id="S3.Ex2.m1.2.2.cmml" xref="S3.Ex2.m1.2.2">𝐹</ci></set></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.Ex2.m1.6c">\displaystyle\psi^{1}_{j}:D_{\mathrm{orig}},X_{N+1},\cdots,X_{j}\mapsto\{T,F\}</annotation><annotation encoding="application/x-llamapun" id="S3.Ex2.m1.6d">italic_ψ start_POSTSUPERSCRIPT 1 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT : italic_D start_POSTSUBSCRIPT roman_orig end_POSTSUBSCRIPT , italic_X start_POSTSUBSCRIPT italic_N + 1 end_POSTSUBSCRIPT , ⋯ , italic_X start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ↦ { italic_T , italic_F }</annotation></semantics></math></td> <td class="ltx_eqn_cell ltx_eqn_center_padright"></td> </tr></tbody> <tbody id="S3.Ex3"><tr class="ltx_equation ltx_eqn_row ltx_align_baseline"> <td class="ltx_eqn_cell ltx_eqn_center_padleft"></td> <td class="ltx_td ltx_align_left ltx_eqn_cell"><math alttext="\displaystyle\forall j=N+1,N+2,\ldots," class="ltx_Math" display="inline" id="S3.Ex3.m1.2"><semantics id="S3.Ex3.m1.2a"><mrow id="S3.Ex3.m1.2.2.1" xref="S3.Ex3.m1.2.2.1.1.cmml"><mrow id="S3.Ex3.m1.2.2.1.1" xref="S3.Ex3.m1.2.2.1.1.cmml"><mrow id="S3.Ex3.m1.2.2.1.1.4" xref="S3.Ex3.m1.2.2.1.1.4.cmml"><mo id="S3.Ex3.m1.2.2.1.1.4.1" rspace="0.167em" xref="S3.Ex3.m1.2.2.1.1.4.1.cmml">∀</mo><mi id="S3.Ex3.m1.2.2.1.1.4.2" xref="S3.Ex3.m1.2.2.1.1.4.2.cmml">j</mi></mrow><mo id="S3.Ex3.m1.2.2.1.1.3" xref="S3.Ex3.m1.2.2.1.1.3.cmml">=</mo><mrow id="S3.Ex3.m1.2.2.1.1.2.2" xref="S3.Ex3.m1.2.2.1.1.2.3.cmml"><mrow id="S3.Ex3.m1.2.2.1.1.1.1.1" xref="S3.Ex3.m1.2.2.1.1.1.1.1.cmml"><mi id="S3.Ex3.m1.2.2.1.1.1.1.1.2" xref="S3.Ex3.m1.2.2.1.1.1.1.1.2.cmml">N</mi><mo id="S3.Ex3.m1.2.2.1.1.1.1.1.1" xref="S3.Ex3.m1.2.2.1.1.1.1.1.1.cmml">+</mo><mn id="S3.Ex3.m1.2.2.1.1.1.1.1.3" xref="S3.Ex3.m1.2.2.1.1.1.1.1.3.cmml">1</mn></mrow><mo id="S3.Ex3.m1.2.2.1.1.2.2.3" xref="S3.Ex3.m1.2.2.1.1.2.3.cmml">,</mo><mrow id="S3.Ex3.m1.2.2.1.1.2.2.2" xref="S3.Ex3.m1.2.2.1.1.2.2.2.cmml"><mi id="S3.Ex3.m1.2.2.1.1.2.2.2.2" xref="S3.Ex3.m1.2.2.1.1.2.2.2.2.cmml">N</mi><mo id="S3.Ex3.m1.2.2.1.1.2.2.2.1" xref="S3.Ex3.m1.2.2.1.1.2.2.2.1.cmml">+</mo><mn id="S3.Ex3.m1.2.2.1.1.2.2.2.3" xref="S3.Ex3.m1.2.2.1.1.2.2.2.3.cmml">2</mn></mrow><mo id="S3.Ex3.m1.2.2.1.1.2.2.4" xref="S3.Ex3.m1.2.2.1.1.2.3.cmml">,</mo><mi id="S3.Ex3.m1.1.1" mathvariant="normal" xref="S3.Ex3.m1.1.1.cmml">…</mi></mrow></mrow><mo id="S3.Ex3.m1.2.2.1.2" xref="S3.Ex3.m1.2.2.1.1.cmml">,</mo></mrow><annotation-xml encoding="MathML-Content" id="S3.Ex3.m1.2b"><apply id="S3.Ex3.m1.2.2.1.1.cmml" xref="S3.Ex3.m1.2.2.1"><eq id="S3.Ex3.m1.2.2.1.1.3.cmml" xref="S3.Ex3.m1.2.2.1.1.3"></eq><apply id="S3.Ex3.m1.2.2.1.1.4.cmml" xref="S3.Ex3.m1.2.2.1.1.4"><csymbol cd="latexml" id="S3.Ex3.m1.2.2.1.1.4.1.cmml" xref="S3.Ex3.m1.2.2.1.1.4.1">for-all</csymbol><ci id="S3.Ex3.m1.2.2.1.1.4.2.cmml" xref="S3.Ex3.m1.2.2.1.1.4.2">𝑗</ci></apply><list id="S3.Ex3.m1.2.2.1.1.2.3.cmml" xref="S3.Ex3.m1.2.2.1.1.2.2"><apply id="S3.Ex3.m1.2.2.1.1.1.1.1.cmml" xref="S3.Ex3.m1.2.2.1.1.1.1.1"><plus id="S3.Ex3.m1.2.2.1.1.1.1.1.1.cmml" xref="S3.Ex3.m1.2.2.1.1.1.1.1.1"></plus><ci id="S3.Ex3.m1.2.2.1.1.1.1.1.2.cmml" xref="S3.Ex3.m1.2.2.1.1.1.1.1.2">𝑁</ci><cn id="S3.Ex3.m1.2.2.1.1.1.1.1.3.cmml" type="integer" xref="S3.Ex3.m1.2.2.1.1.1.1.1.3">1</cn></apply><apply id="S3.Ex3.m1.2.2.1.1.2.2.2.cmml" xref="S3.Ex3.m1.2.2.1.1.2.2.2"><plus id="S3.Ex3.m1.2.2.1.1.2.2.2.1.cmml" xref="S3.Ex3.m1.2.2.1.1.2.2.2.1"></plus><ci id="S3.Ex3.m1.2.2.1.1.2.2.2.2.cmml" xref="S3.Ex3.m1.2.2.1.1.2.2.2.2">𝑁</ci><cn id="S3.Ex3.m1.2.2.1.1.2.2.2.3.cmml" type="integer" xref="S3.Ex3.m1.2.2.1.1.2.2.2.3">2</cn></apply><ci id="S3.Ex3.m1.1.1.cmml" xref="S3.Ex3.m1.1.1">…</ci></list></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.Ex3.m1.2c">\displaystyle\forall j=N+1,N+2,\ldots,</annotation><annotation encoding="application/x-llamapun" id="S3.Ex3.m1.2d">∀ italic_j = italic_N + 1 , italic_N + 2 , … ,</annotation></semantics></math></td> <td class="ltx_eqn_cell ltx_eqn_center_padright"></td> </tr></tbody> </table> <p class="ltx_p" id="S3.SS1.p4.2">where the output <math alttext="T" class="ltx_Math" display="inline" id="S3.SS1.p4.1.m1.1"><semantics id="S3.SS1.p4.1.m1.1a"><mi id="S3.SS1.p4.1.m1.1.1" xref="S3.SS1.p4.1.m1.1.1.cmml">T</mi><annotation-xml encoding="MathML-Content" id="S3.SS1.p4.1.m1.1b"><ci id="S3.SS1.p4.1.m1.1.1.cmml" xref="S3.SS1.p4.1.m1.1.1">𝑇</ci></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p4.1.m1.1c">T</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p4.1.m1.1d">italic_T</annotation></semantics></math>(rue) indicates that we have identified a distribution shift over the system inputs, while <math alttext="F" class="ltx_Math" display="inline" id="S3.SS1.p4.2.m2.1"><semantics id="S3.SS1.p4.2.m2.1a"><mi id="S3.SS1.p4.2.m2.1.1" xref="S3.SS1.p4.2.m2.1.1.cmml">F</mi><annotation-xml encoding="MathML-Content" id="S3.SS1.p4.2.m2.1b"><ci id="S3.SS1.p4.2.m2.1.1.cmml" xref="S3.SS1.p4.2.m2.1.1">𝐹</ci></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p4.2.m2.1c">F</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p4.2.m2.1d">italic_F</annotation></semantics></math>(alse) indicates that we have failed to identify a distribution shift over the system inputs.</p> </div> <div class="ltx_para" id="S3.SS1.p5"> <p class="ltx_p" id="S3.SS1.p5.1">In this work we additionally aim to design test functions over the <math alttext="K-1" class="ltx_Math" display="inline" id="S3.SS1.p5.1.m1.1"><semantics id="S3.SS1.p5.1.m1.1a"><mrow id="S3.SS1.p5.1.m1.1.1" xref="S3.SS1.p5.1.m1.1.1.cmml"><mi id="S3.SS1.p5.1.m1.1.1.2" xref="S3.SS1.p5.1.m1.1.1.2.cmml">K</mi><mo id="S3.SS1.p5.1.m1.1.1.1" xref="S3.SS1.p5.1.m1.1.1.1.cmml">−</mo><mn id="S3.SS1.p5.1.m1.1.1.3" xref="S3.SS1.p5.1.m1.1.1.3.cmml">1</mn></mrow><annotation-xml encoding="MathML-Content" id="S3.SS1.p5.1.m1.1b"><apply id="S3.SS1.p5.1.m1.1.1.cmml" xref="S3.SS1.p5.1.m1.1.1"><minus id="S3.SS1.p5.1.m1.1.1.1.cmml" xref="S3.SS1.p5.1.m1.1.1.1"></minus><ci id="S3.SS1.p5.1.m1.1.1.2.cmml" xref="S3.SS1.p5.1.m1.1.1.2">𝐾</ci><cn id="S3.SS1.p5.1.m1.1.1.3.cmml" type="integer" xref="S3.SS1.p5.1.m1.1.1.3">1</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p5.1.m1.1c">K-1</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p5.1.m1.1d">italic_K - 1</annotation></semantics></math> intermediate results and the final action. These test functions will issue an output alert when a distribution shift is identified over the intermediate results or the final action. The test functions will take the form</p> <table class="ltx_equationgroup ltx_eqn_align ltx_eqn_table" id="S8.EGx2"> <tbody id="S3.Ex4"><tr class="ltx_equation ltx_eqn_row ltx_align_baseline"> <td class="ltx_eqn_cell ltx_eqn_center_padleft"></td> <td class="ltx_td ltx_align_left ltx_eqn_cell"><math alttext="\displaystyle\psi^{k}_{j}:D_{\mathrm{orig}},f^{1\rightarrow k}_{j}(X_{N+1}),% \cdots,f^{1\rightarrow k}_{j}(X_{j})\mapsto\{T,F\}" class="ltx_Math" display="inline" id="S3.Ex4.m1.6"><semantics id="S3.Ex4.m1.6a"><mrow id="S3.Ex4.m1.6.6" xref="S3.Ex4.m1.6.6.cmml"><msubsup id="S3.Ex4.m1.6.6.5" xref="S3.Ex4.m1.6.6.5.cmml"><mi id="S3.Ex4.m1.6.6.5.2.2" xref="S3.Ex4.m1.6.6.5.2.2.cmml">ψ</mi><mi id="S3.Ex4.m1.6.6.5.3" xref="S3.Ex4.m1.6.6.5.3.cmml">j</mi><mi id="S3.Ex4.m1.6.6.5.2.3" xref="S3.Ex4.m1.6.6.5.2.3.cmml">k</mi></msubsup><mo id="S3.Ex4.m1.6.6.4" lspace="0.278em" rspace="0.278em" xref="S3.Ex4.m1.6.6.4.cmml">:</mo><mrow id="S3.Ex4.m1.6.6.3" xref="S3.Ex4.m1.6.6.3.cmml"><mrow id="S3.Ex4.m1.6.6.3.3.3" xref="S3.Ex4.m1.6.6.3.3.4.cmml"><msub id="S3.Ex4.m1.4.4.1.1.1.1" xref="S3.Ex4.m1.4.4.1.1.1.1.cmml"><mi id="S3.Ex4.m1.4.4.1.1.1.1.2" xref="S3.Ex4.m1.4.4.1.1.1.1.2.cmml">D</mi><mi id="S3.Ex4.m1.4.4.1.1.1.1.3" xref="S3.Ex4.m1.4.4.1.1.1.1.3.cmml">orig</mi></msub><mo id="S3.Ex4.m1.6.6.3.3.3.4" xref="S3.Ex4.m1.6.6.3.3.4.cmml">,</mo><mrow id="S3.Ex4.m1.5.5.2.2.2.2" xref="S3.Ex4.m1.5.5.2.2.2.2.cmml"><msubsup id="S3.Ex4.m1.5.5.2.2.2.2.3" xref="S3.Ex4.m1.5.5.2.2.2.2.3.cmml"><mi id="S3.Ex4.m1.5.5.2.2.2.2.3.2.2" xref="S3.Ex4.m1.5.5.2.2.2.2.3.2.2.cmml">f</mi><mi id="S3.Ex4.m1.5.5.2.2.2.2.3.3" xref="S3.Ex4.m1.5.5.2.2.2.2.3.3.cmml">j</mi><mrow id="S3.Ex4.m1.5.5.2.2.2.2.3.2.3" xref="S3.Ex4.m1.5.5.2.2.2.2.3.2.3.cmml"><mn id="S3.Ex4.m1.5.5.2.2.2.2.3.2.3.2" xref="S3.Ex4.m1.5.5.2.2.2.2.3.2.3.2.cmml">1</mn><mo id="S3.Ex4.m1.5.5.2.2.2.2.3.2.3.1" stretchy="false" xref="S3.Ex4.m1.5.5.2.2.2.2.3.2.3.1.cmml">→</mo><mi id="S3.Ex4.m1.5.5.2.2.2.2.3.2.3.3" xref="S3.Ex4.m1.5.5.2.2.2.2.3.2.3.3.cmml">k</mi></mrow></msubsup><mo id="S3.Ex4.m1.5.5.2.2.2.2.2" xref="S3.Ex4.m1.5.5.2.2.2.2.2.cmml"></mo><mrow id="S3.Ex4.m1.5.5.2.2.2.2.1.1" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.cmml"><mo id="S3.Ex4.m1.5.5.2.2.2.2.1.1.2" stretchy="false" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.cmml">(</mo><msub id="S3.Ex4.m1.5.5.2.2.2.2.1.1.1" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.cmml"><mi id="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.2" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.2.cmml">X</mi><mrow id="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3.cmml"><mi id="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3.2" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3.2.cmml">N</mi><mo id="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3.1" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3.1.cmml">+</mo><mn id="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3.3" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3.3.cmml">1</mn></mrow></msub><mo id="S3.Ex4.m1.5.5.2.2.2.2.1.1.3" stretchy="false" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.cmml">)</mo></mrow></mrow><mo id="S3.Ex4.m1.6.6.3.3.3.5" xref="S3.Ex4.m1.6.6.3.3.4.cmml">,</mo><mi id="S3.Ex4.m1.3.3" mathvariant="normal" xref="S3.Ex4.m1.3.3.cmml">⋯</mi><mo id="S3.Ex4.m1.6.6.3.3.3.6" xref="S3.Ex4.m1.6.6.3.3.4.cmml">,</mo><mrow id="S3.Ex4.m1.6.6.3.3.3.3" xref="S3.Ex4.m1.6.6.3.3.3.3.cmml"><msubsup id="S3.Ex4.m1.6.6.3.3.3.3.3" xref="S3.Ex4.m1.6.6.3.3.3.3.3.cmml"><mi id="S3.Ex4.m1.6.6.3.3.3.3.3.2.2" xref="S3.Ex4.m1.6.6.3.3.3.3.3.2.2.cmml">f</mi><mi id="S3.Ex4.m1.6.6.3.3.3.3.3.3" xref="S3.Ex4.m1.6.6.3.3.3.3.3.3.cmml">j</mi><mrow id="S3.Ex4.m1.6.6.3.3.3.3.3.2.3" xref="S3.Ex4.m1.6.6.3.3.3.3.3.2.3.cmml"><mn id="S3.Ex4.m1.6.6.3.3.3.3.3.2.3.2" xref="S3.Ex4.m1.6.6.3.3.3.3.3.2.3.2.cmml">1</mn><mo id="S3.Ex4.m1.6.6.3.3.3.3.3.2.3.1" stretchy="false" xref="S3.Ex4.m1.6.6.3.3.3.3.3.2.3.1.cmml">→</mo><mi id="S3.Ex4.m1.6.6.3.3.3.3.3.2.3.3" xref="S3.Ex4.m1.6.6.3.3.3.3.3.2.3.3.cmml">k</mi></mrow></msubsup><mo id="S3.Ex4.m1.6.6.3.3.3.3.2" xref="S3.Ex4.m1.6.6.3.3.3.3.2.cmml"></mo><mrow id="S3.Ex4.m1.6.6.3.3.3.3.1.1" xref="S3.Ex4.m1.6.6.3.3.3.3.1.1.1.cmml"><mo id="S3.Ex4.m1.6.6.3.3.3.3.1.1.2" stretchy="false" xref="S3.Ex4.m1.6.6.3.3.3.3.1.1.1.cmml">(</mo><msub id="S3.Ex4.m1.6.6.3.3.3.3.1.1.1" xref="S3.Ex4.m1.6.6.3.3.3.3.1.1.1.cmml"><mi id="S3.Ex4.m1.6.6.3.3.3.3.1.1.1.2" xref="S3.Ex4.m1.6.6.3.3.3.3.1.1.1.2.cmml">X</mi><mi id="S3.Ex4.m1.6.6.3.3.3.3.1.1.1.3" xref="S3.Ex4.m1.6.6.3.3.3.3.1.1.1.3.cmml">j</mi></msub><mo id="S3.Ex4.m1.6.6.3.3.3.3.1.1.3" stretchy="false" xref="S3.Ex4.m1.6.6.3.3.3.3.1.1.1.cmml">)</mo></mrow></mrow></mrow><mo id="S3.Ex4.m1.6.6.3.4" stretchy="false" xref="S3.Ex4.m1.6.6.3.4.cmml">↦</mo><mrow id="S3.Ex4.m1.6.6.3.5.2" xref="S3.Ex4.m1.6.6.3.5.1.cmml"><mo id="S3.Ex4.m1.6.6.3.5.2.1" stretchy="false" xref="S3.Ex4.m1.6.6.3.5.1.cmml">{</mo><mi id="S3.Ex4.m1.1.1" xref="S3.Ex4.m1.1.1.cmml">T</mi><mo id="S3.Ex4.m1.6.6.3.5.2.2" xref="S3.Ex4.m1.6.6.3.5.1.cmml">,</mo><mi id="S3.Ex4.m1.2.2" xref="S3.Ex4.m1.2.2.cmml">F</mi><mo id="S3.Ex4.m1.6.6.3.5.2.3" stretchy="false" xref="S3.Ex4.m1.6.6.3.5.1.cmml">}</mo></mrow></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.Ex4.m1.6b"><apply id="S3.Ex4.m1.6.6.cmml" xref="S3.Ex4.m1.6.6"><ci id="S3.Ex4.m1.6.6.4.cmml" xref="S3.Ex4.m1.6.6.4">:</ci><apply id="S3.Ex4.m1.6.6.5.cmml" xref="S3.Ex4.m1.6.6.5"><csymbol cd="ambiguous" id="S3.Ex4.m1.6.6.5.1.cmml" xref="S3.Ex4.m1.6.6.5">subscript</csymbol><apply id="S3.Ex4.m1.6.6.5.2.cmml" xref="S3.Ex4.m1.6.6.5"><csymbol cd="ambiguous" id="S3.Ex4.m1.6.6.5.2.1.cmml" xref="S3.Ex4.m1.6.6.5">superscript</csymbol><ci id="S3.Ex4.m1.6.6.5.2.2.cmml" xref="S3.Ex4.m1.6.6.5.2.2">𝜓</ci><ci id="S3.Ex4.m1.6.6.5.2.3.cmml" xref="S3.Ex4.m1.6.6.5.2.3">𝑘</ci></apply><ci id="S3.Ex4.m1.6.6.5.3.cmml" xref="S3.Ex4.m1.6.6.5.3">𝑗</ci></apply><apply id="S3.Ex4.m1.6.6.3.cmml" xref="S3.Ex4.m1.6.6.3"><csymbol cd="latexml" id="S3.Ex4.m1.6.6.3.4.cmml" xref="S3.Ex4.m1.6.6.3.4">maps-to</csymbol><list id="S3.Ex4.m1.6.6.3.3.4.cmml" xref="S3.Ex4.m1.6.6.3.3.3"><apply id="S3.Ex4.m1.4.4.1.1.1.1.cmml" xref="S3.Ex4.m1.4.4.1.1.1.1"><csymbol cd="ambiguous" id="S3.Ex4.m1.4.4.1.1.1.1.1.cmml" xref="S3.Ex4.m1.4.4.1.1.1.1">subscript</csymbol><ci id="S3.Ex4.m1.4.4.1.1.1.1.2.cmml" xref="S3.Ex4.m1.4.4.1.1.1.1.2">𝐷</ci><ci id="S3.Ex4.m1.4.4.1.1.1.1.3.cmml" xref="S3.Ex4.m1.4.4.1.1.1.1.3">orig</ci></apply><apply id="S3.Ex4.m1.5.5.2.2.2.2.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2"><times id="S3.Ex4.m1.5.5.2.2.2.2.2.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.2"></times><apply id="S3.Ex4.m1.5.5.2.2.2.2.3.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.3"><csymbol cd="ambiguous" id="S3.Ex4.m1.5.5.2.2.2.2.3.1.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.3">subscript</csymbol><apply id="S3.Ex4.m1.5.5.2.2.2.2.3.2.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.3"><csymbol cd="ambiguous" id="S3.Ex4.m1.5.5.2.2.2.2.3.2.1.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.3">superscript</csymbol><ci id="S3.Ex4.m1.5.5.2.2.2.2.3.2.2.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.3.2.2">𝑓</ci><apply id="S3.Ex4.m1.5.5.2.2.2.2.3.2.3.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.3.2.3"><ci id="S3.Ex4.m1.5.5.2.2.2.2.3.2.3.1.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.3.2.3.1">→</ci><cn id="S3.Ex4.m1.5.5.2.2.2.2.3.2.3.2.cmml" type="integer" xref="S3.Ex4.m1.5.5.2.2.2.2.3.2.3.2">1</cn><ci id="S3.Ex4.m1.5.5.2.2.2.2.3.2.3.3.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.3.2.3.3">𝑘</ci></apply></apply><ci id="S3.Ex4.m1.5.5.2.2.2.2.3.3.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.3.3">𝑗</ci></apply><apply id="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1"><csymbol cd="ambiguous" id="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.1.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1">subscript</csymbol><ci id="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.2.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.2">𝑋</ci><apply id="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3"><plus id="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3.1.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3.1"></plus><ci id="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3.2.cmml" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3.2">𝑁</ci><cn id="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3.3.cmml" type="integer" xref="S3.Ex4.m1.5.5.2.2.2.2.1.1.1.3.3">1</cn></apply></apply></apply><ci id="S3.Ex4.m1.3.3.cmml" xref="S3.Ex4.m1.3.3">⋯</ci><apply id="S3.Ex4.m1.6.6.3.3.3.3.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3"><times id="S3.Ex4.m1.6.6.3.3.3.3.2.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3.2"></times><apply id="S3.Ex4.m1.6.6.3.3.3.3.3.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3.3"><csymbol cd="ambiguous" id="S3.Ex4.m1.6.6.3.3.3.3.3.1.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3.3">subscript</csymbol><apply id="S3.Ex4.m1.6.6.3.3.3.3.3.2.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3.3"><csymbol cd="ambiguous" id="S3.Ex4.m1.6.6.3.3.3.3.3.2.1.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3.3">superscript</csymbol><ci id="S3.Ex4.m1.6.6.3.3.3.3.3.2.2.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3.3.2.2">𝑓</ci><apply id="S3.Ex4.m1.6.6.3.3.3.3.3.2.3.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3.3.2.3"><ci id="S3.Ex4.m1.6.6.3.3.3.3.3.2.3.1.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3.3.2.3.1">→</ci><cn id="S3.Ex4.m1.6.6.3.3.3.3.3.2.3.2.cmml" type="integer" xref="S3.Ex4.m1.6.6.3.3.3.3.3.2.3.2">1</cn><ci id="S3.Ex4.m1.6.6.3.3.3.3.3.2.3.3.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3.3.2.3.3">𝑘</ci></apply></apply><ci id="S3.Ex4.m1.6.6.3.3.3.3.3.3.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3.3.3">𝑗</ci></apply><apply id="S3.Ex4.m1.6.6.3.3.3.3.1.1.1.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3.1.1"><csymbol cd="ambiguous" id="S3.Ex4.m1.6.6.3.3.3.3.1.1.1.1.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3.1.1">subscript</csymbol><ci id="S3.Ex4.m1.6.6.3.3.3.3.1.1.1.2.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3.1.1.1.2">𝑋</ci><ci id="S3.Ex4.m1.6.6.3.3.3.3.1.1.1.3.cmml" xref="S3.Ex4.m1.6.6.3.3.3.3.1.1.1.3">𝑗</ci></apply></apply></list><set id="S3.Ex4.m1.6.6.3.5.1.cmml" xref="S3.Ex4.m1.6.6.3.5.2"><ci id="S3.Ex4.m1.1.1.cmml" xref="S3.Ex4.m1.1.1">𝑇</ci><ci id="S3.Ex4.m1.2.2.cmml" xref="S3.Ex4.m1.2.2">𝐹</ci></set></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.Ex4.m1.6c">\displaystyle\psi^{k}_{j}:D_{\mathrm{orig}},f^{1\rightarrow k}_{j}(X_{N+1}),% \cdots,f^{1\rightarrow k}_{j}(X_{j})\mapsto\{T,F\}</annotation><annotation encoding="application/x-llamapun" id="S3.Ex4.m1.6d">italic_ψ start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT : italic_D start_POSTSUBSCRIPT roman_orig end_POSTSUBSCRIPT , italic_f start_POSTSUPERSCRIPT 1 → italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( italic_X start_POSTSUBSCRIPT italic_N + 1 end_POSTSUBSCRIPT ) , ⋯ , italic_f start_POSTSUPERSCRIPT 1 → italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( italic_X start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) ↦ { italic_T , italic_F }</annotation></semantics></math></td> <td class="ltx_eqn_cell ltx_eqn_center_padright"></td> </tr></tbody> <tbody id="S3.Ex5"><tr class="ltx_equation ltx_eqn_row ltx_align_baseline"> <td class="ltx_eqn_cell ltx_eqn_center_padleft"></td> <td class="ltx_td ltx_align_left ltx_eqn_cell"><math alttext="\displaystyle\forall j=N+1,N+2,\ldots," class="ltx_Math" display="inline" id="S3.Ex5.m1.2"><semantics id="S3.Ex5.m1.2a"><mrow id="S3.Ex5.m1.2.2.1" xref="S3.Ex5.m1.2.2.1.1.cmml"><mrow id="S3.Ex5.m1.2.2.1.1" xref="S3.Ex5.m1.2.2.1.1.cmml"><mrow id="S3.Ex5.m1.2.2.1.1.4" xref="S3.Ex5.m1.2.2.1.1.4.cmml"><mo id="S3.Ex5.m1.2.2.1.1.4.1" rspace="0.167em" xref="S3.Ex5.m1.2.2.1.1.4.1.cmml">∀</mo><mi id="S3.Ex5.m1.2.2.1.1.4.2" xref="S3.Ex5.m1.2.2.1.1.4.2.cmml">j</mi></mrow><mo id="S3.Ex5.m1.2.2.1.1.3" xref="S3.Ex5.m1.2.2.1.1.3.cmml">=</mo><mrow id="S3.Ex5.m1.2.2.1.1.2.2" xref="S3.Ex5.m1.2.2.1.1.2.3.cmml"><mrow id="S3.Ex5.m1.2.2.1.1.1.1.1" xref="S3.Ex5.m1.2.2.1.1.1.1.1.cmml"><mi id="S3.Ex5.m1.2.2.1.1.1.1.1.2" xref="S3.Ex5.m1.2.2.1.1.1.1.1.2.cmml">N</mi><mo id="S3.Ex5.m1.2.2.1.1.1.1.1.1" xref="S3.Ex5.m1.2.2.1.1.1.1.1.1.cmml">+</mo><mn id="S3.Ex5.m1.2.2.1.1.1.1.1.3" xref="S3.Ex5.m1.2.2.1.1.1.1.1.3.cmml">1</mn></mrow><mo id="S3.Ex5.m1.2.2.1.1.2.2.3" xref="S3.Ex5.m1.2.2.1.1.2.3.cmml">,</mo><mrow id="S3.Ex5.m1.2.2.1.1.2.2.2" xref="S3.Ex5.m1.2.2.1.1.2.2.2.cmml"><mi id="S3.Ex5.m1.2.2.1.1.2.2.2.2" xref="S3.Ex5.m1.2.2.1.1.2.2.2.2.cmml">N</mi><mo id="S3.Ex5.m1.2.2.1.1.2.2.2.1" xref="S3.Ex5.m1.2.2.1.1.2.2.2.1.cmml">+</mo><mn id="S3.Ex5.m1.2.2.1.1.2.2.2.3" xref="S3.Ex5.m1.2.2.1.1.2.2.2.3.cmml">2</mn></mrow><mo id="S3.Ex5.m1.2.2.1.1.2.2.4" xref="S3.Ex5.m1.2.2.1.1.2.3.cmml">,</mo><mi id="S3.Ex5.m1.1.1" mathvariant="normal" xref="S3.Ex5.m1.1.1.cmml">…</mi></mrow></mrow><mo id="S3.Ex5.m1.2.2.1.2" xref="S3.Ex5.m1.2.2.1.1.cmml">,</mo></mrow><annotation-xml encoding="MathML-Content" id="S3.Ex5.m1.2b"><apply id="S3.Ex5.m1.2.2.1.1.cmml" xref="S3.Ex5.m1.2.2.1"><eq id="S3.Ex5.m1.2.2.1.1.3.cmml" xref="S3.Ex5.m1.2.2.1.1.3"></eq><apply id="S3.Ex5.m1.2.2.1.1.4.cmml" xref="S3.Ex5.m1.2.2.1.1.4"><csymbol cd="latexml" id="S3.Ex5.m1.2.2.1.1.4.1.cmml" xref="S3.Ex5.m1.2.2.1.1.4.1">for-all</csymbol><ci id="S3.Ex5.m1.2.2.1.1.4.2.cmml" xref="S3.Ex5.m1.2.2.1.1.4.2">𝑗</ci></apply><list id="S3.Ex5.m1.2.2.1.1.2.3.cmml" xref="S3.Ex5.m1.2.2.1.1.2.2"><apply id="S3.Ex5.m1.2.2.1.1.1.1.1.cmml" xref="S3.Ex5.m1.2.2.1.1.1.1.1"><plus id="S3.Ex5.m1.2.2.1.1.1.1.1.1.cmml" xref="S3.Ex5.m1.2.2.1.1.1.1.1.1"></plus><ci id="S3.Ex5.m1.2.2.1.1.1.1.1.2.cmml" xref="S3.Ex5.m1.2.2.1.1.1.1.1.2">𝑁</ci><cn id="S3.Ex5.m1.2.2.1.1.1.1.1.3.cmml" type="integer" xref="S3.Ex5.m1.2.2.1.1.1.1.1.3">1</cn></apply><apply id="S3.Ex5.m1.2.2.1.1.2.2.2.cmml" xref="S3.Ex5.m1.2.2.1.1.2.2.2"><plus id="S3.Ex5.m1.2.2.1.1.2.2.2.1.cmml" xref="S3.Ex5.m1.2.2.1.1.2.2.2.1"></plus><ci id="S3.Ex5.m1.2.2.1.1.2.2.2.2.cmml" xref="S3.Ex5.m1.2.2.1.1.2.2.2.2">𝑁</ci><cn id="S3.Ex5.m1.2.2.1.1.2.2.2.3.cmml" type="integer" xref="S3.Ex5.m1.2.2.1.1.2.2.2.3">2</cn></apply><ci id="S3.Ex5.m1.1.1.cmml" xref="S3.Ex5.m1.1.1">…</ci></list></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.Ex5.m1.2c">\displaystyle\forall j=N+1,N+2,\ldots,</annotation><annotation encoding="application/x-llamapun" id="S3.Ex5.m1.2d">∀ italic_j = italic_N + 1 , italic_N + 2 , … ,</annotation></semantics></math></td> <td class="ltx_eqn_cell ltx_eqn_center_padright"></td> </tr></tbody> </table> <p class="ltx_p" id="S3.SS1.p5.4">where <math alttext="1\leq k<K" class="ltx_Math" display="inline" id="S3.SS1.p5.2.m1.1"><semantics id="S3.SS1.p5.2.m1.1a"><mrow id="S3.SS1.p5.2.m1.1.1" xref="S3.SS1.p5.2.m1.1.1.cmml"><mn id="S3.SS1.p5.2.m1.1.1.2" xref="S3.SS1.p5.2.m1.1.1.2.cmml">1</mn><mo id="S3.SS1.p5.2.m1.1.1.3" xref="S3.SS1.p5.2.m1.1.1.3.cmml">≤</mo><mi id="S3.SS1.p5.2.m1.1.1.4" xref="S3.SS1.p5.2.m1.1.1.4.cmml">k</mi><mo id="S3.SS1.p5.2.m1.1.1.5" xref="S3.SS1.p5.2.m1.1.1.5.cmml"><</mo><mi id="S3.SS1.p5.2.m1.1.1.6" xref="S3.SS1.p5.2.m1.1.1.6.cmml">K</mi></mrow><annotation-xml encoding="MathML-Content" id="S3.SS1.p5.2.m1.1b"><apply id="S3.SS1.p5.2.m1.1.1.cmml" xref="S3.SS1.p5.2.m1.1.1"><and id="S3.SS1.p5.2.m1.1.1a.cmml" xref="S3.SS1.p5.2.m1.1.1"></and><apply id="S3.SS1.p5.2.m1.1.1b.cmml" xref="S3.SS1.p5.2.m1.1.1"><leq id="S3.SS1.p5.2.m1.1.1.3.cmml" xref="S3.SS1.p5.2.m1.1.1.3"></leq><cn id="S3.SS1.p5.2.m1.1.1.2.cmml" type="integer" xref="S3.SS1.p5.2.m1.1.1.2">1</cn><ci id="S3.SS1.p5.2.m1.1.1.4.cmml" xref="S3.SS1.p5.2.m1.1.1.4">𝑘</ci></apply><apply id="S3.SS1.p5.2.m1.1.1c.cmml" xref="S3.SS1.p5.2.m1.1.1"><lt id="S3.SS1.p5.2.m1.1.1.5.cmml" xref="S3.SS1.p5.2.m1.1.1.5"></lt><share href="https://arxiv.org/html/2407.21748v1#S3.SS1.p5.2.m1.1.1.4.cmml" id="S3.SS1.p5.2.m1.1.1d.cmml" xref="S3.SS1.p5.2.m1.1.1"></share><ci id="S3.SS1.p5.2.m1.1.1.6.cmml" xref="S3.SS1.p5.2.m1.1.1.6">𝐾</ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p5.2.m1.1c">1\leq k<K</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p5.2.m1.1d">1 ≤ italic_k < italic_K</annotation></semantics></math> for test functions over the intermediate results and <math alttext="k=K" class="ltx_Math" display="inline" id="S3.SS1.p5.3.m2.1"><semantics id="S3.SS1.p5.3.m2.1a"><mrow id="S3.SS1.p5.3.m2.1.1" xref="S3.SS1.p5.3.m2.1.1.cmml"><mi id="S3.SS1.p5.3.m2.1.1.2" xref="S3.SS1.p5.3.m2.1.1.2.cmml">k</mi><mo id="S3.SS1.p5.3.m2.1.1.1" xref="S3.SS1.p5.3.m2.1.1.1.cmml">=</mo><mi id="S3.SS1.p5.3.m2.1.1.3" xref="S3.SS1.p5.3.m2.1.1.3.cmml">K</mi></mrow><annotation-xml encoding="MathML-Content" id="S3.SS1.p5.3.m2.1b"><apply id="S3.SS1.p5.3.m2.1.1.cmml" xref="S3.SS1.p5.3.m2.1.1"><eq id="S3.SS1.p5.3.m2.1.1.1.cmml" xref="S3.SS1.p5.3.m2.1.1.1"></eq><ci id="S3.SS1.p5.3.m2.1.1.2.cmml" xref="S3.SS1.p5.3.m2.1.1.2">𝑘</ci><ci id="S3.SS1.p5.3.m2.1.1.3.cmml" xref="S3.SS1.p5.3.m2.1.1.3">𝐾</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p5.3.m2.1c">k=K</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p5.3.m2.1d">italic_k = italic_K</annotation></semantics></math> for the test function over the output actions. We define <math alttext="f^{1\rightarrow k}_{j}:\mathcal{X}^{l_{j}}\rightarrow\mathcal{Y}^{l_{j}}" class="ltx_Math" display="inline" id="S3.SS1.p5.4.m3.1"><semantics id="S3.SS1.p5.4.m3.1a"><mrow id="S3.SS1.p5.4.m3.1.1" xref="S3.SS1.p5.4.m3.1.1.cmml"><msubsup id="S3.SS1.p5.4.m3.1.1.2" xref="S3.SS1.p5.4.m3.1.1.2.cmml"><mi id="S3.SS1.p5.4.m3.1.1.2.2.2" xref="S3.SS1.p5.4.m3.1.1.2.2.2.cmml">f</mi><mi id="S3.SS1.p5.4.m3.1.1.2.3" xref="S3.SS1.p5.4.m3.1.1.2.3.cmml">j</mi><mrow id="S3.SS1.p5.4.m3.1.1.2.2.3" xref="S3.SS1.p5.4.m3.1.1.2.2.3.cmml"><mn id="S3.SS1.p5.4.m3.1.1.2.2.3.2" xref="S3.SS1.p5.4.m3.1.1.2.2.3.2.cmml">1</mn><mo id="S3.SS1.p5.4.m3.1.1.2.2.3.1" stretchy="false" xref="S3.SS1.p5.4.m3.1.1.2.2.3.1.cmml">→</mo><mi id="S3.SS1.p5.4.m3.1.1.2.2.3.3" xref="S3.SS1.p5.4.m3.1.1.2.2.3.3.cmml">k</mi></mrow></msubsup><mo id="S3.SS1.p5.4.m3.1.1.1" lspace="0.278em" rspace="0.278em" xref="S3.SS1.p5.4.m3.1.1.1.cmml">:</mo><mrow id="S3.SS1.p5.4.m3.1.1.3" xref="S3.SS1.p5.4.m3.1.1.3.cmml"><msup id="S3.SS1.p5.4.m3.1.1.3.2" xref="S3.SS1.p5.4.m3.1.1.3.2.cmml"><mi class="ltx_font_mathcaligraphic" id="S3.SS1.p5.4.m3.1.1.3.2.2" xref="S3.SS1.p5.4.m3.1.1.3.2.2.cmml">𝒳</mi><msub id="S3.SS1.p5.4.m3.1.1.3.2.3" xref="S3.SS1.p5.4.m3.1.1.3.2.3.cmml"><mi id="S3.SS1.p5.4.m3.1.1.3.2.3.2" xref="S3.SS1.p5.4.m3.1.1.3.2.3.2.cmml">l</mi><mi id="S3.SS1.p5.4.m3.1.1.3.2.3.3" xref="S3.SS1.p5.4.m3.1.1.3.2.3.3.cmml">j</mi></msub></msup><mo id="S3.SS1.p5.4.m3.1.1.3.1" stretchy="false" xref="S3.SS1.p5.4.m3.1.1.3.1.cmml">→</mo><msup id="S3.SS1.p5.4.m3.1.1.3.3" xref="S3.SS1.p5.4.m3.1.1.3.3.cmml"><mi class="ltx_font_mathcaligraphic" id="S3.SS1.p5.4.m3.1.1.3.3.2" xref="S3.SS1.p5.4.m3.1.1.3.3.2.cmml">𝒴</mi><msub id="S3.SS1.p5.4.m3.1.1.3.3.3" xref="S3.SS1.p5.4.m3.1.1.3.3.3.cmml"><mi id="S3.SS1.p5.4.m3.1.1.3.3.3.2" xref="S3.SS1.p5.4.m3.1.1.3.3.3.2.cmml">l</mi><mi id="S3.SS1.p5.4.m3.1.1.3.3.3.3" xref="S3.SS1.p5.4.m3.1.1.3.3.3.3.cmml">j</mi></msub></msup></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.SS1.p5.4.m3.1b"><apply id="S3.SS1.p5.4.m3.1.1.cmml" xref="S3.SS1.p5.4.m3.1.1"><ci id="S3.SS1.p5.4.m3.1.1.1.cmml" xref="S3.SS1.p5.4.m3.1.1.1">:</ci><apply id="S3.SS1.p5.4.m3.1.1.2.cmml" xref="S3.SS1.p5.4.m3.1.1.2"><csymbol cd="ambiguous" id="S3.SS1.p5.4.m3.1.1.2.1.cmml" xref="S3.SS1.p5.4.m3.1.1.2">subscript</csymbol><apply id="S3.SS1.p5.4.m3.1.1.2.2.cmml" xref="S3.SS1.p5.4.m3.1.1.2"><csymbol cd="ambiguous" id="S3.SS1.p5.4.m3.1.1.2.2.1.cmml" xref="S3.SS1.p5.4.m3.1.1.2">superscript</csymbol><ci id="S3.SS1.p5.4.m3.1.1.2.2.2.cmml" xref="S3.SS1.p5.4.m3.1.1.2.2.2">𝑓</ci><apply id="S3.SS1.p5.4.m3.1.1.2.2.3.cmml" xref="S3.SS1.p5.4.m3.1.1.2.2.3"><ci id="S3.SS1.p5.4.m3.1.1.2.2.3.1.cmml" xref="S3.SS1.p5.4.m3.1.1.2.2.3.1">→</ci><cn id="S3.SS1.p5.4.m3.1.1.2.2.3.2.cmml" type="integer" xref="S3.SS1.p5.4.m3.1.1.2.2.3.2">1</cn><ci id="S3.SS1.p5.4.m3.1.1.2.2.3.3.cmml" xref="S3.SS1.p5.4.m3.1.1.2.2.3.3">𝑘</ci></apply></apply><ci id="S3.SS1.p5.4.m3.1.1.2.3.cmml" xref="S3.SS1.p5.4.m3.1.1.2.3">𝑗</ci></apply><apply id="S3.SS1.p5.4.m3.1.1.3.cmml" xref="S3.SS1.p5.4.m3.1.1.3"><ci id="S3.SS1.p5.4.m3.1.1.3.1.cmml" xref="S3.SS1.p5.4.m3.1.1.3.1">→</ci><apply id="S3.SS1.p5.4.m3.1.1.3.2.cmml" xref="S3.SS1.p5.4.m3.1.1.3.2"><csymbol cd="ambiguous" id="S3.SS1.p5.4.m3.1.1.3.2.1.cmml" xref="S3.SS1.p5.4.m3.1.1.3.2">superscript</csymbol><ci id="S3.SS1.p5.4.m3.1.1.3.2.2.cmml" xref="S3.SS1.p5.4.m3.1.1.3.2.2">𝒳</ci><apply id="S3.SS1.p5.4.m3.1.1.3.2.3.cmml" xref="S3.SS1.p5.4.m3.1.1.3.2.3"><csymbol cd="ambiguous" id="S3.SS1.p5.4.m3.1.1.3.2.3.1.cmml" xref="S3.SS1.p5.4.m3.1.1.3.2.3">subscript</csymbol><ci id="S3.SS1.p5.4.m3.1.1.3.2.3.2.cmml" xref="S3.SS1.p5.4.m3.1.1.3.2.3.2">𝑙</ci><ci id="S3.SS1.p5.4.m3.1.1.3.2.3.3.cmml" xref="S3.SS1.p5.4.m3.1.1.3.2.3.3">𝑗</ci></apply></apply><apply id="S3.SS1.p5.4.m3.1.1.3.3.cmml" xref="S3.SS1.p5.4.m3.1.1.3.3"><csymbol cd="ambiguous" id="S3.SS1.p5.4.m3.1.1.3.3.1.cmml" xref="S3.SS1.p5.4.m3.1.1.3.3">superscript</csymbol><ci id="S3.SS1.p5.4.m3.1.1.3.3.2.cmml" xref="S3.SS1.p5.4.m3.1.1.3.3.2">𝒴</ci><apply id="S3.SS1.p5.4.m3.1.1.3.3.3.cmml" xref="S3.SS1.p5.4.m3.1.1.3.3.3"><csymbol cd="ambiguous" id="S3.SS1.p5.4.m3.1.1.3.3.3.1.cmml" xref="S3.SS1.p5.4.m3.1.1.3.3.3">subscript</csymbol><ci id="S3.SS1.p5.4.m3.1.1.3.3.3.2.cmml" xref="S3.SS1.p5.4.m3.1.1.3.3.3.2">𝑙</ci><ci id="S3.SS1.p5.4.m3.1.1.3.3.3.3.cmml" xref="S3.SS1.p5.4.m3.1.1.3.3.3.3">𝑗</ci></apply></apply></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p5.4.m3.1c">f^{1\rightarrow k}_{j}:\mathcal{X}^{l_{j}}\rightarrow\mathcal{Y}^{l_{j}}</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p5.4.m3.1d">italic_f start_POSTSUPERSCRIPT 1 → italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT : caligraphic_X start_POSTSUPERSCRIPT italic_l start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_POSTSUPERSCRIPT → caligraphic_Y start_POSTSUPERSCRIPT italic_l start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_POSTSUPERSCRIPT</annotation></semantics></math> as <span class="ltx_note ltx_role_footnote" id="footnote1"><sup class="ltx_note_mark">1</sup><span class="ltx_note_outer"><span class="ltx_note_content"><sup class="ltx_note_mark">1</sup><span class="ltx_tag ltx_tag_note">1</span>That is, the domain of <math alttext="f^{1\rightarrow k}_{j}" class="ltx_Math" display="inline" id="footnote1.m1.1"><semantics id="footnote1.m1.1b"><msubsup id="footnote1.m1.1.1" xref="footnote1.m1.1.1.cmml"><mi id="footnote1.m1.1.1.2.2" xref="footnote1.m1.1.1.2.2.cmml">f</mi><mi id="footnote1.m1.1.1.3" xref="footnote1.m1.1.1.3.cmml">j</mi><mrow id="footnote1.m1.1.1.2.3" xref="footnote1.m1.1.1.2.3.cmml"><mn id="footnote1.m1.1.1.2.3.2" xref="footnote1.m1.1.1.2.3.2.cmml">1</mn><mo id="footnote1.m1.1.1.2.3.1" stretchy="false" xref="footnote1.m1.1.1.2.3.1.cmml">→</mo><mi id="footnote1.m1.1.1.2.3.3" xref="footnote1.m1.1.1.2.3.3.cmml">k</mi></mrow></msubsup><annotation-xml encoding="MathML-Content" id="footnote1.m1.1c"><apply id="footnote1.m1.1.1.cmml" xref="footnote1.m1.1.1"><csymbol cd="ambiguous" id="footnote1.m1.1.1.1.cmml" xref="footnote1.m1.1.1">subscript</csymbol><apply id="footnote1.m1.1.1.2.cmml" xref="footnote1.m1.1.1"><csymbol cd="ambiguous" id="footnote1.m1.1.1.2.1.cmml" xref="footnote1.m1.1.1">superscript</csymbol><ci id="footnote1.m1.1.1.2.2.cmml" xref="footnote1.m1.1.1.2.2">𝑓</ci><apply id="footnote1.m1.1.1.2.3.cmml" xref="footnote1.m1.1.1.2.3"><ci id="footnote1.m1.1.1.2.3.1.cmml" xref="footnote1.m1.1.1.2.3.1">→</ci><cn id="footnote1.m1.1.1.2.3.2.cmml" type="integer" xref="footnote1.m1.1.1.2.3.2">1</cn><ci id="footnote1.m1.1.1.2.3.3.cmml" xref="footnote1.m1.1.1.2.3.3">𝑘</ci></apply></apply><ci id="footnote1.m1.1.1.3.cmml" xref="footnote1.m1.1.1.3">𝑗</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="footnote1.m1.1d">f^{1\rightarrow k}_{j}</annotation><annotation encoding="application/x-llamapun" id="footnote1.m1.1e">italic_f start_POSTSUPERSCRIPT 1 → italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT</annotation></semantics></math> is the <math alttext="l_{j}" class="ltx_Math" display="inline" id="footnote1.m2.1"><semantics id="footnote1.m2.1b"><msub id="footnote1.m2.1.1" xref="footnote1.m2.1.1.cmml"><mi id="footnote1.m2.1.1.2" xref="footnote1.m2.1.1.2.cmml">l</mi><mi id="footnote1.m2.1.1.3" xref="footnote1.m2.1.1.3.cmml">j</mi></msub><annotation-xml encoding="MathML-Content" id="footnote1.m2.1c"><apply id="footnote1.m2.1.1.cmml" xref="footnote1.m2.1.1"><csymbol cd="ambiguous" id="footnote1.m2.1.1.1.cmml" xref="footnote1.m2.1.1">subscript</csymbol><ci id="footnote1.m2.1.1.2.cmml" xref="footnote1.m2.1.1.2">𝑙</ci><ci id="footnote1.m2.1.1.3.cmml" xref="footnote1.m2.1.1.3">𝑗</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="footnote1.m2.1d">l_{j}</annotation><annotation encoding="application/x-llamapun" id="footnote1.m2.1e">italic_l start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT</annotation></semantics></math>-fold Cartesian product of <math alttext="\mathcal{X}" class="ltx_Math" display="inline" id="footnote1.m3.1"><semantics id="footnote1.m3.1b"><mi class="ltx_font_mathcaligraphic" id="footnote1.m3.1.1" xref="footnote1.m3.1.1.cmml">𝒳</mi><annotation-xml encoding="MathML-Content" id="footnote1.m3.1c"><ci id="footnote1.m3.1.1.cmml" xref="footnote1.m3.1.1">𝒳</ci></annotation-xml><annotation encoding="application/x-tex" id="footnote1.m3.1d">\mathcal{X}</annotation><annotation encoding="application/x-llamapun" id="footnote1.m3.1e">caligraphic_X</annotation></semantics></math> and the codomain is the <math alttext="l_{j}" class="ltx_Math" display="inline" id="footnote1.m4.1"><semantics id="footnote1.m4.1b"><msub id="footnote1.m4.1.1" xref="footnote1.m4.1.1.cmml"><mi id="footnote1.m4.1.1.2" xref="footnote1.m4.1.1.2.cmml">l</mi><mi id="footnote1.m4.1.1.3" xref="footnote1.m4.1.1.3.cmml">j</mi></msub><annotation-xml encoding="MathML-Content" id="footnote1.m4.1c"><apply id="footnote1.m4.1.1.cmml" xref="footnote1.m4.1.1"><csymbol cd="ambiguous" id="footnote1.m4.1.1.1.cmml" xref="footnote1.m4.1.1">subscript</csymbol><ci id="footnote1.m4.1.1.2.cmml" xref="footnote1.m4.1.1.2">𝑙</ci><ci id="footnote1.m4.1.1.3.cmml" xref="footnote1.m4.1.1.3">𝑗</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="footnote1.m4.1d">l_{j}</annotation><annotation encoding="application/x-llamapun" id="footnote1.m4.1e">italic_l start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT</annotation></semantics></math>-fold Cartesian product of <math alttext="\mathcal{Y}" class="ltx_Math" display="inline" id="footnote1.m5.1"><semantics id="footnote1.m5.1b"><mi class="ltx_font_mathcaligraphic" id="footnote1.m5.1.1" xref="footnote1.m5.1.1.cmml">𝒴</mi><annotation-xml encoding="MathML-Content" id="footnote1.m5.1c"><ci id="footnote1.m5.1.1.cmml" xref="footnote1.m5.1.1">𝒴</ci></annotation-xml><annotation encoding="application/x-tex" id="footnote1.m5.1d">\mathcal{Y}</annotation><annotation encoding="application/x-llamapun" id="footnote1.m5.1e">caligraphic_Y</annotation></semantics></math>, where <math alttext="l_{j}" class="ltx_Math" display="inline" id="footnote1.m6.1"><semantics id="footnote1.m6.1b"><msub id="footnote1.m6.1.1" xref="footnote1.m6.1.1.cmml"><mi id="footnote1.m6.1.1.2" xref="footnote1.m6.1.1.2.cmml">l</mi><mi id="footnote1.m6.1.1.3" xref="footnote1.m6.1.1.3.cmml">j</mi></msub><annotation-xml encoding="MathML-Content" id="footnote1.m6.1c"><apply id="footnote1.m6.1.1.cmml" xref="footnote1.m6.1.1"><csymbol cd="ambiguous" id="footnote1.m6.1.1.1.cmml" xref="footnote1.m6.1.1">subscript</csymbol><ci id="footnote1.m6.1.1.2.cmml" xref="footnote1.m6.1.1.2">𝑙</ci><ci id="footnote1.m6.1.1.3.cmml" xref="footnote1.m6.1.1.3">𝑗</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="footnote1.m6.1d">l_{j}</annotation><annotation encoding="application/x-llamapun" id="footnote1.m6.1e">italic_l start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT</annotation></semantics></math> is the length of episode <math alttext="j" class="ltx_Math" display="inline" id="footnote1.m7.1"><semantics id="footnote1.m7.1b"><mi id="footnote1.m7.1.1" xref="footnote1.m7.1.1.cmml">j</mi><annotation-xml encoding="MathML-Content" id="footnote1.m7.1c"><ci id="footnote1.m7.1.1.cmml" xref="footnote1.m7.1.1">𝑗</ci></annotation-xml><annotation encoding="application/x-tex" id="footnote1.m7.1d">j</annotation><annotation encoding="application/x-llamapun" id="footnote1.m7.1e">italic_j</annotation></semantics></math>.</span></span></span></p> <table class="ltx_equation ltx_eqn_table" id="S3.Ex6"> <tbody><tr class="ltx_equation ltx_eqn_row ltx_align_baseline"> <td class="ltx_eqn_cell ltx_eqn_center_padleft"></td> <td class="ltx_eqn_cell ltx_align_center"><math alttext="f^{1\rightarrow k}_{j}(X_{j}):=\left(\begin{aligned} &f_{k}\circ\dots\circ f_{% 2}\circ f_{1}(x^{1}_{j}),\\ &f_{k}\circ\dots\circ f_{2}\circ f_{1}(x^{2}_{j}),\\ &\vdots\\ &f_{k}\circ\dots\circ f_{2}\circ f_{1}(x^{l_{j}}_{j})\end{aligned}\right)." class="ltx_Math" display="block" id="S3.Ex6.m1.4"><semantics id="S3.Ex6.m1.4a"><mrow id="S3.Ex6.m1.4.4.1" xref="S3.Ex6.m1.4.4.1.1.cmml"><mrow id="S3.Ex6.m1.4.4.1.1" xref="S3.Ex6.m1.4.4.1.1.cmml"><mrow id="S3.Ex6.m1.4.4.1.1.1" xref="S3.Ex6.m1.4.4.1.1.1.cmml"><msubsup id="S3.Ex6.m1.4.4.1.1.1.3" xref="S3.Ex6.m1.4.4.1.1.1.3.cmml"><mi id="S3.Ex6.m1.4.4.1.1.1.3.2.2" xref="S3.Ex6.m1.4.4.1.1.1.3.2.2.cmml">f</mi><mi id="S3.Ex6.m1.4.4.1.1.1.3.3" xref="S3.Ex6.m1.4.4.1.1.1.3.3.cmml">j</mi><mrow id="S3.Ex6.m1.4.4.1.1.1.3.2.3" xref="S3.Ex6.m1.4.4.1.1.1.3.2.3.cmml"><mn id="S3.Ex6.m1.4.4.1.1.1.3.2.3.2" xref="S3.Ex6.m1.4.4.1.1.1.3.2.3.2.cmml">1</mn><mo id="S3.Ex6.m1.4.4.1.1.1.3.2.3.1" stretchy="false" xref="S3.Ex6.m1.4.4.1.1.1.3.2.3.1.cmml">→</mo><mi id="S3.Ex6.m1.4.4.1.1.1.3.2.3.3" xref="S3.Ex6.m1.4.4.1.1.1.3.2.3.3.cmml">k</mi></mrow></msubsup><mo id="S3.Ex6.m1.4.4.1.1.1.2" xref="S3.Ex6.m1.4.4.1.1.1.2.cmml"></mo><mrow id="S3.Ex6.m1.4.4.1.1.1.1.1" xref="S3.Ex6.m1.4.4.1.1.1.1.1.1.cmml"><mo id="S3.Ex6.m1.4.4.1.1.1.1.1.2" stretchy="false" xref="S3.Ex6.m1.4.4.1.1.1.1.1.1.cmml">(</mo><msub id="S3.Ex6.m1.4.4.1.1.1.1.1.1" xref="S3.Ex6.m1.4.4.1.1.1.1.1.1.cmml"><mi id="S3.Ex6.m1.4.4.1.1.1.1.1.1.2" xref="S3.Ex6.m1.4.4.1.1.1.1.1.1.2.cmml">X</mi><mi id="S3.Ex6.m1.4.4.1.1.1.1.1.1.3" xref="S3.Ex6.m1.4.4.1.1.1.1.1.1.3.cmml">j</mi></msub><mo id="S3.Ex6.m1.4.4.1.1.1.1.1.3" rspace="0.278em" stretchy="false" xref="S3.Ex6.m1.4.4.1.1.1.1.1.1.cmml">)</mo></mrow></mrow><mo id="S3.Ex6.m1.4.4.1.1.2" rspace="0.278em" xref="S3.Ex6.m1.4.4.1.1.2.cmml">:=</mo><mrow id="S3.Ex6.m1.4.4.1.1.3.2" xref="S3.Ex6.m1.3.3.cmml"><mo id="S3.Ex6.m1.4.4.1.1.3.2.1" xref="S3.Ex6.m1.3.3.cmml">(</mo><mtable columnspacing="0pt" displaystyle="true" id="S3.Ex6.m1.3.3" rowspacing="0pt" xref="S3.Ex6.m1.3.3.cmml"><mtr id="S3.Ex6.m1.3.3a" xref="S3.Ex6.m1.3.3.cmml"><mtd id="S3.Ex6.m1.3.3b" xref="S3.Ex6.m1.3.3c.cmml"></mtd><mtd class="ltx_align_left" columnalign="left" id="S3.Ex6.m1.3.3c" xref="S3.Ex6.m1.3.3.cmml"><mrow id="S3.Ex6.m1.1.1.1.1.1.1" xref="S3.Ex6.m1.1.1.1.1.1.1.1.cmml"><mrow id="S3.Ex6.m1.1.1.1.1.1.1.1" xref="S3.Ex6.m1.1.1.1.1.1.1.1.cmml"><mrow id="S3.Ex6.m1.1.1.1.1.1.1.1.3" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.cmml"><msub id="S3.Ex6.m1.1.1.1.1.1.1.1.3.2" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.2.cmml"><mi id="S3.Ex6.m1.1.1.1.1.1.1.1.3.2.2" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.2.2.cmml">f</mi><mi id="S3.Ex6.m1.1.1.1.1.1.1.1.3.2.3" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.2.3.cmml">k</mi></msub><mo id="S3.Ex6.m1.1.1.1.1.1.1.1.3.1" lspace="0.222em" rspace="0.222em" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.1.cmml">∘</mo><mi id="S3.Ex6.m1.1.1.1.1.1.1.1.3.3" mathvariant="normal" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.3.cmml">⋯</mi><mo id="S3.Ex6.m1.1.1.1.1.1.1.1.3.1a" lspace="0.222em" rspace="0.222em" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.1.cmml">∘</mo><msub id="S3.Ex6.m1.1.1.1.1.1.1.1.3.4" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.4.cmml"><mi id="S3.Ex6.m1.1.1.1.1.1.1.1.3.4.2" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.4.2.cmml">f</mi><mn id="S3.Ex6.m1.1.1.1.1.1.1.1.3.4.3" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.4.3.cmml">2</mn></msub><mo id="S3.Ex6.m1.1.1.1.1.1.1.1.3.1b" lspace="0.222em" rspace="0.222em" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.1.cmml">∘</mo><msub id="S3.Ex6.m1.1.1.1.1.1.1.1.3.5" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.5.cmml"><mi id="S3.Ex6.m1.1.1.1.1.1.1.1.3.5.2" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.5.2.cmml">f</mi><mn id="S3.Ex6.m1.1.1.1.1.1.1.1.3.5.3" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.5.3.cmml">1</mn></msub></mrow><mo id="S3.Ex6.m1.1.1.1.1.1.1.1.2" xref="S3.Ex6.m1.1.1.1.1.1.1.1.2.cmml"></mo><mrow id="S3.Ex6.m1.1.1.1.1.1.1.1.1.1" xref="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.cmml"><mo id="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.2" stretchy="false" xref="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.cmml">(</mo><msubsup id="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1" xref="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.cmml"><mi id="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.2.2" xref="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.2.2.cmml">x</mi><mi id="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.3" xref="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.3.cmml">j</mi><mn id="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.2.3" xref="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.2.3.cmml">1</mn></msubsup><mo id="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.3" stretchy="false" xref="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.cmml">)</mo></mrow></mrow><mo id="S3.Ex6.m1.1.1.1.1.1.1.2" xref="S3.Ex6.m1.1.1.1.1.1.1.1.cmml">,</mo></mrow></mtd></mtr><mtr id="S3.Ex6.m1.3.3d" xref="S3.Ex6.m1.3.3.cmml"><mtd id="S3.Ex6.m1.3.3e" xref="S3.Ex6.m1.3.3c.cmml"></mtd><mtd class="ltx_align_left" columnalign="left" id="S3.Ex6.m1.3.3f" xref="S3.Ex6.m1.3.3.cmml"><mrow id="S3.Ex6.m1.2.2.2.1.1.1" xref="S3.Ex6.m1.2.2.2.1.1.1.1.cmml"><mrow id="S3.Ex6.m1.2.2.2.1.1.1.1" xref="S3.Ex6.m1.2.2.2.1.1.1.1.cmml"><mrow id="S3.Ex6.m1.2.2.2.1.1.1.1.3" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.cmml"><msub id="S3.Ex6.m1.2.2.2.1.1.1.1.3.2" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.2.cmml"><mi id="S3.Ex6.m1.2.2.2.1.1.1.1.3.2.2" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.2.2.cmml">f</mi><mi id="S3.Ex6.m1.2.2.2.1.1.1.1.3.2.3" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.2.3.cmml">k</mi></msub><mo id="S3.Ex6.m1.2.2.2.1.1.1.1.3.1" lspace="0.222em" rspace="0.222em" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.1.cmml">∘</mo><mi id="S3.Ex6.m1.2.2.2.1.1.1.1.3.3" mathvariant="normal" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.3.cmml">⋯</mi><mo id="S3.Ex6.m1.2.2.2.1.1.1.1.3.1a" lspace="0.222em" rspace="0.222em" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.1.cmml">∘</mo><msub id="S3.Ex6.m1.2.2.2.1.1.1.1.3.4" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.4.cmml"><mi id="S3.Ex6.m1.2.2.2.1.1.1.1.3.4.2" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.4.2.cmml">f</mi><mn id="S3.Ex6.m1.2.2.2.1.1.1.1.3.4.3" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.4.3.cmml">2</mn></msub><mo id="S3.Ex6.m1.2.2.2.1.1.1.1.3.1b" lspace="0.222em" rspace="0.222em" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.1.cmml">∘</mo><msub id="S3.Ex6.m1.2.2.2.1.1.1.1.3.5" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.5.cmml"><mi id="S3.Ex6.m1.2.2.2.1.1.1.1.3.5.2" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.5.2.cmml">f</mi><mn id="S3.Ex6.m1.2.2.2.1.1.1.1.3.5.3" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.5.3.cmml">1</mn></msub></mrow><mo id="S3.Ex6.m1.2.2.2.1.1.1.1.2" xref="S3.Ex6.m1.2.2.2.1.1.1.1.2.cmml"></mo><mrow id="S3.Ex6.m1.2.2.2.1.1.1.1.1.1" xref="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.cmml"><mo id="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.2" stretchy="false" xref="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.cmml">(</mo><msubsup id="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1" xref="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.cmml"><mi id="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.2.2" xref="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.2.2.cmml">x</mi><mi id="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.3" xref="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.3.cmml">j</mi><mn id="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.2.3" xref="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.2.3.cmml">2</mn></msubsup><mo id="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.3" stretchy="false" xref="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.cmml">)</mo></mrow></mrow><mo id="S3.Ex6.m1.2.2.2.1.1.1.2" xref="S3.Ex6.m1.2.2.2.1.1.1.1.cmml">,</mo></mrow></mtd></mtr><mtr id="S3.Ex6.m1.3.3g" xref="S3.Ex6.m1.3.3.cmml"><mtd id="S3.Ex6.m1.3.3h" xref="S3.Ex6.m1.3.3c.cmml"></mtd><mtd class="ltx_align_left" columnalign="left" id="S3.Ex6.m1.3.3i" xref="S3.Ex6.m1.3.3.cmml"><mi id="S3.Ex6.m1.3.3.4.2.1" mathvariant="normal" xref="S3.Ex6.m1.3.3.4.2.1.cmml">⋮</mi></mtd></mtr><mtr id="S3.Ex6.m1.3.3j" xref="S3.Ex6.m1.3.3.cmml"><mtd id="S3.Ex6.m1.3.3k" xref="S3.Ex6.m1.3.3c.cmml"></mtd><mtd class="ltx_align_left" columnalign="left" id="S3.Ex6.m1.3.3l" xref="S3.Ex6.m1.3.3.cmml"><mrow id="S3.Ex6.m1.3.3.3.1.1" xref="S3.Ex6.m1.3.3.3.1.1.cmml"><mrow id="S3.Ex6.m1.3.3.3.1.1.3" xref="S3.Ex6.m1.3.3.3.1.1.3.cmml"><msub id="S3.Ex6.m1.3.3.3.1.1.3.2" xref="S3.Ex6.m1.3.3.3.1.1.3.2.cmml"><mi id="S3.Ex6.m1.3.3.3.1.1.3.2.2" xref="S3.Ex6.m1.3.3.3.1.1.3.2.2.cmml">f</mi><mi id="S3.Ex6.m1.3.3.3.1.1.3.2.3" xref="S3.Ex6.m1.3.3.3.1.1.3.2.3.cmml">k</mi></msub><mo id="S3.Ex6.m1.3.3.3.1.1.3.1" lspace="0.222em" rspace="0.222em" xref="S3.Ex6.m1.3.3.3.1.1.3.1.cmml">∘</mo><mi id="S3.Ex6.m1.3.3.3.1.1.3.3" mathvariant="normal" xref="S3.Ex6.m1.3.3.3.1.1.3.3.cmml">⋯</mi><mo id="S3.Ex6.m1.3.3.3.1.1.3.1a" lspace="0.222em" rspace="0.222em" xref="S3.Ex6.m1.3.3.3.1.1.3.1.cmml">∘</mo><msub id="S3.Ex6.m1.3.3.3.1.1.3.4" xref="S3.Ex6.m1.3.3.3.1.1.3.4.cmml"><mi id="S3.Ex6.m1.3.3.3.1.1.3.4.2" xref="S3.Ex6.m1.3.3.3.1.1.3.4.2.cmml">f</mi><mn id="S3.Ex6.m1.3.3.3.1.1.3.4.3" xref="S3.Ex6.m1.3.3.3.1.1.3.4.3.cmml">2</mn></msub><mo id="S3.Ex6.m1.3.3.3.1.1.3.1b" lspace="0.222em" rspace="0.222em" xref="S3.Ex6.m1.3.3.3.1.1.3.1.cmml">∘</mo><msub id="S3.Ex6.m1.3.3.3.1.1.3.5" xref="S3.Ex6.m1.3.3.3.1.1.3.5.cmml"><mi id="S3.Ex6.m1.3.3.3.1.1.3.5.2" xref="S3.Ex6.m1.3.3.3.1.1.3.5.2.cmml">f</mi><mn id="S3.Ex6.m1.3.3.3.1.1.3.5.3" xref="S3.Ex6.m1.3.3.3.1.1.3.5.3.cmml">1</mn></msub></mrow><mo id="S3.Ex6.m1.3.3.3.1.1.2" xref="S3.Ex6.m1.3.3.3.1.1.2.cmml"></mo><mrow id="S3.Ex6.m1.3.3.3.1.1.1.1" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.cmml"><mo id="S3.Ex6.m1.3.3.3.1.1.1.1.2" stretchy="false" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.cmml">(</mo><msubsup id="S3.Ex6.m1.3.3.3.1.1.1.1.1" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.cmml"><mi id="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.2" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.2.cmml">x</mi><mi id="S3.Ex6.m1.3.3.3.1.1.1.1.1.3" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.3.cmml">j</mi><msub id="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.3" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.3.cmml"><mi id="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.3.2" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.3.2.cmml">l</mi><mi id="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.3.3" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.3.3.cmml">j</mi></msub></msubsup><mo id="S3.Ex6.m1.3.3.3.1.1.1.1.3" stretchy="false" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.cmml">)</mo></mrow></mrow></mtd></mtr></mtable><mo id="S3.Ex6.m1.4.4.1.1.3.2.2" xref="S3.Ex6.m1.3.3.cmml">)</mo></mrow></mrow><mo id="S3.Ex6.m1.4.4.1.2" lspace="0em" xref="S3.Ex6.m1.4.4.1.1.cmml">.</mo></mrow><annotation-xml encoding="MathML-Content" id="S3.Ex6.m1.4b"><apply id="S3.Ex6.m1.4.4.1.1.cmml" xref="S3.Ex6.m1.4.4.1"><csymbol cd="latexml" id="S3.Ex6.m1.4.4.1.1.2.cmml" xref="S3.Ex6.m1.4.4.1.1.2">assign</csymbol><apply id="S3.Ex6.m1.4.4.1.1.1.cmml" xref="S3.Ex6.m1.4.4.1.1.1"><times id="S3.Ex6.m1.4.4.1.1.1.2.cmml" xref="S3.Ex6.m1.4.4.1.1.1.2"></times><apply id="S3.Ex6.m1.4.4.1.1.1.3.cmml" xref="S3.Ex6.m1.4.4.1.1.1.3"><csymbol cd="ambiguous" id="S3.Ex6.m1.4.4.1.1.1.3.1.cmml" xref="S3.Ex6.m1.4.4.1.1.1.3">subscript</csymbol><apply id="S3.Ex6.m1.4.4.1.1.1.3.2.cmml" xref="S3.Ex6.m1.4.4.1.1.1.3"><csymbol cd="ambiguous" id="S3.Ex6.m1.4.4.1.1.1.3.2.1.cmml" xref="S3.Ex6.m1.4.4.1.1.1.3">superscript</csymbol><ci id="S3.Ex6.m1.4.4.1.1.1.3.2.2.cmml" xref="S3.Ex6.m1.4.4.1.1.1.3.2.2">𝑓</ci><apply id="S3.Ex6.m1.4.4.1.1.1.3.2.3.cmml" xref="S3.Ex6.m1.4.4.1.1.1.3.2.3"><ci id="S3.Ex6.m1.4.4.1.1.1.3.2.3.1.cmml" xref="S3.Ex6.m1.4.4.1.1.1.3.2.3.1">→</ci><cn id="S3.Ex6.m1.4.4.1.1.1.3.2.3.2.cmml" type="integer" xref="S3.Ex6.m1.4.4.1.1.1.3.2.3.2">1</cn><ci id="S3.Ex6.m1.4.4.1.1.1.3.2.3.3.cmml" xref="S3.Ex6.m1.4.4.1.1.1.3.2.3.3">𝑘</ci></apply></apply><ci id="S3.Ex6.m1.4.4.1.1.1.3.3.cmml" xref="S3.Ex6.m1.4.4.1.1.1.3.3">𝑗</ci></apply><apply id="S3.Ex6.m1.4.4.1.1.1.1.1.1.cmml" xref="S3.Ex6.m1.4.4.1.1.1.1.1"><csymbol cd="ambiguous" id="S3.Ex6.m1.4.4.1.1.1.1.1.1.1.cmml" xref="S3.Ex6.m1.4.4.1.1.1.1.1">subscript</csymbol><ci id="S3.Ex6.m1.4.4.1.1.1.1.1.1.2.cmml" xref="S3.Ex6.m1.4.4.1.1.1.1.1.1.2">𝑋</ci><ci id="S3.Ex6.m1.4.4.1.1.1.1.1.1.3.cmml" xref="S3.Ex6.m1.4.4.1.1.1.1.1.1.3">𝑗</ci></apply></apply><matrix id="S3.Ex6.m1.3.3.cmml" xref="S3.Ex6.m1.4.4.1.1.3.2"><matrixrow id="S3.Ex6.m1.3.3a.cmml" xref="S3.Ex6.m1.4.4.1.1.3.2"><cerror id="S3.Ex6.m1.3.3b.cmml" xref="S3.Ex6.m1.4.4.1.1.3.2"><csymbol cd="ambiguous" id="S3.Ex6.m1.3.3c.cmml" xref="S3.Ex6.m1.3.3b">missing-subexpression</csymbol></cerror><apply id="S3.Ex6.m1.1.1.1.1.1.1.1.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1"><times id="S3.Ex6.m1.1.1.1.1.1.1.1.2.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.2"></times><apply id="S3.Ex6.m1.1.1.1.1.1.1.1.3.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3"><compose id="S3.Ex6.m1.1.1.1.1.1.1.1.3.1.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.1"></compose><apply id="S3.Ex6.m1.1.1.1.1.1.1.1.3.2.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.2"><csymbol cd="ambiguous" id="S3.Ex6.m1.1.1.1.1.1.1.1.3.2.1.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.2">subscript</csymbol><ci id="S3.Ex6.m1.1.1.1.1.1.1.1.3.2.2.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.2.2">𝑓</ci><ci id="S3.Ex6.m1.1.1.1.1.1.1.1.3.2.3.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.2.3">𝑘</ci></apply><ci id="S3.Ex6.m1.1.1.1.1.1.1.1.3.3.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.3">⋯</ci><apply id="S3.Ex6.m1.1.1.1.1.1.1.1.3.4.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.4"><csymbol cd="ambiguous" id="S3.Ex6.m1.1.1.1.1.1.1.1.3.4.1.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.4">subscript</csymbol><ci id="S3.Ex6.m1.1.1.1.1.1.1.1.3.4.2.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.4.2">𝑓</ci><cn id="S3.Ex6.m1.1.1.1.1.1.1.1.3.4.3.cmml" type="integer" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.4.3">2</cn></apply><apply id="S3.Ex6.m1.1.1.1.1.1.1.1.3.5.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.5"><csymbol cd="ambiguous" id="S3.Ex6.m1.1.1.1.1.1.1.1.3.5.1.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.5">subscript</csymbol><ci id="S3.Ex6.m1.1.1.1.1.1.1.1.3.5.2.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.5.2">𝑓</ci><cn id="S3.Ex6.m1.1.1.1.1.1.1.1.3.5.3.cmml" type="integer" xref="S3.Ex6.m1.1.1.1.1.1.1.1.3.5.3">1</cn></apply></apply><apply id="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.1.1"><csymbol cd="ambiguous" id="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.1.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.1.1">subscript</csymbol><apply id="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.2.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.1.1"><csymbol cd="ambiguous" id="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.2.1.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.1.1">superscript</csymbol><ci id="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.2.2.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.2.2">𝑥</ci><cn id="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.2.3.cmml" type="integer" xref="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.2.3">1</cn></apply><ci id="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.3.cmml" xref="S3.Ex6.m1.1.1.1.1.1.1.1.1.1.1.3">𝑗</ci></apply></apply></matrixrow><matrixrow id="S3.Ex6.m1.3.3d.cmml" xref="S3.Ex6.m1.4.4.1.1.3.2"><cerror id="S3.Ex6.m1.3.3e.cmml" xref="S3.Ex6.m1.4.4.1.1.3.2"><csymbol cd="ambiguous" id="S3.Ex6.m1.3.3f.cmml" xref="S3.Ex6.m1.3.3b">missing-subexpression</csymbol></cerror><apply id="S3.Ex6.m1.2.2.2.1.1.1.1.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1"><times id="S3.Ex6.m1.2.2.2.1.1.1.1.2.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.2"></times><apply id="S3.Ex6.m1.2.2.2.1.1.1.1.3.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3"><compose id="S3.Ex6.m1.2.2.2.1.1.1.1.3.1.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.1"></compose><apply id="S3.Ex6.m1.2.2.2.1.1.1.1.3.2.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.2"><csymbol cd="ambiguous" id="S3.Ex6.m1.2.2.2.1.1.1.1.3.2.1.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.2">subscript</csymbol><ci id="S3.Ex6.m1.2.2.2.1.1.1.1.3.2.2.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.2.2">𝑓</ci><ci id="S3.Ex6.m1.2.2.2.1.1.1.1.3.2.3.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.2.3">𝑘</ci></apply><ci id="S3.Ex6.m1.2.2.2.1.1.1.1.3.3.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.3">⋯</ci><apply id="S3.Ex6.m1.2.2.2.1.1.1.1.3.4.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.4"><csymbol cd="ambiguous" id="S3.Ex6.m1.2.2.2.1.1.1.1.3.4.1.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.4">subscript</csymbol><ci id="S3.Ex6.m1.2.2.2.1.1.1.1.3.4.2.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.4.2">𝑓</ci><cn id="S3.Ex6.m1.2.2.2.1.1.1.1.3.4.3.cmml" type="integer" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.4.3">2</cn></apply><apply id="S3.Ex6.m1.2.2.2.1.1.1.1.3.5.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.5"><csymbol cd="ambiguous" id="S3.Ex6.m1.2.2.2.1.1.1.1.3.5.1.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.5">subscript</csymbol><ci id="S3.Ex6.m1.2.2.2.1.1.1.1.3.5.2.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.5.2">𝑓</ci><cn id="S3.Ex6.m1.2.2.2.1.1.1.1.3.5.3.cmml" type="integer" xref="S3.Ex6.m1.2.2.2.1.1.1.1.3.5.3">1</cn></apply></apply><apply id="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.1.1"><csymbol cd="ambiguous" id="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.1.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.1.1">subscript</csymbol><apply id="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.2.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.1.1"><csymbol cd="ambiguous" id="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.2.1.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.1.1">superscript</csymbol><ci id="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.2.2.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.2.2">𝑥</ci><cn id="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.2.3.cmml" type="integer" xref="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.2.3">2</cn></apply><ci id="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.3.cmml" xref="S3.Ex6.m1.2.2.2.1.1.1.1.1.1.1.3">𝑗</ci></apply></apply></matrixrow><matrixrow id="S3.Ex6.m1.3.3g.cmml" xref="S3.Ex6.m1.4.4.1.1.3.2"><cerror id="S3.Ex6.m1.3.3h.cmml" xref="S3.Ex6.m1.4.4.1.1.3.2"><csymbol cd="ambiguous" id="S3.Ex6.m1.3.3i.cmml" xref="S3.Ex6.m1.3.3b">missing-subexpression</csymbol></cerror><ci id="S3.Ex6.m1.3.3.4.2.1.cmml" xref="S3.Ex6.m1.3.3.4.2.1">⋮</ci></matrixrow><matrixrow id="S3.Ex6.m1.3.3j.cmml" xref="S3.Ex6.m1.4.4.1.1.3.2"><cerror id="S3.Ex6.m1.3.3k.cmml" xref="S3.Ex6.m1.4.4.1.1.3.2"><csymbol cd="ambiguous" id="S3.Ex6.m1.3.3l.cmml" xref="S3.Ex6.m1.3.3b">missing-subexpression</csymbol></cerror><apply id="S3.Ex6.m1.3.3.3.1.1.cmml" xref="S3.Ex6.m1.3.3.3.1.1"><times id="S3.Ex6.m1.3.3.3.1.1.2.cmml" xref="S3.Ex6.m1.3.3.3.1.1.2"></times><apply id="S3.Ex6.m1.3.3.3.1.1.3.cmml" xref="S3.Ex6.m1.3.3.3.1.1.3"><compose id="S3.Ex6.m1.3.3.3.1.1.3.1.cmml" xref="S3.Ex6.m1.3.3.3.1.1.3.1"></compose><apply id="S3.Ex6.m1.3.3.3.1.1.3.2.cmml" xref="S3.Ex6.m1.3.3.3.1.1.3.2"><csymbol cd="ambiguous" id="S3.Ex6.m1.3.3.3.1.1.3.2.1.cmml" xref="S3.Ex6.m1.3.3.3.1.1.3.2">subscript</csymbol><ci id="S3.Ex6.m1.3.3.3.1.1.3.2.2.cmml" xref="S3.Ex6.m1.3.3.3.1.1.3.2.2">𝑓</ci><ci id="S3.Ex6.m1.3.3.3.1.1.3.2.3.cmml" xref="S3.Ex6.m1.3.3.3.1.1.3.2.3">𝑘</ci></apply><ci id="S3.Ex6.m1.3.3.3.1.1.3.3.cmml" xref="S3.Ex6.m1.3.3.3.1.1.3.3">⋯</ci><apply id="S3.Ex6.m1.3.3.3.1.1.3.4.cmml" xref="S3.Ex6.m1.3.3.3.1.1.3.4"><csymbol cd="ambiguous" id="S3.Ex6.m1.3.3.3.1.1.3.4.1.cmml" xref="S3.Ex6.m1.3.3.3.1.1.3.4">subscript</csymbol><ci id="S3.Ex6.m1.3.3.3.1.1.3.4.2.cmml" xref="S3.Ex6.m1.3.3.3.1.1.3.4.2">𝑓</ci><cn id="S3.Ex6.m1.3.3.3.1.1.3.4.3.cmml" type="integer" xref="S3.Ex6.m1.3.3.3.1.1.3.4.3">2</cn></apply><apply id="S3.Ex6.m1.3.3.3.1.1.3.5.cmml" xref="S3.Ex6.m1.3.3.3.1.1.3.5"><csymbol cd="ambiguous" id="S3.Ex6.m1.3.3.3.1.1.3.5.1.cmml" xref="S3.Ex6.m1.3.3.3.1.1.3.5">subscript</csymbol><ci id="S3.Ex6.m1.3.3.3.1.1.3.5.2.cmml" xref="S3.Ex6.m1.3.3.3.1.1.3.5.2">𝑓</ci><cn id="S3.Ex6.m1.3.3.3.1.1.3.5.3.cmml" type="integer" xref="S3.Ex6.m1.3.3.3.1.1.3.5.3">1</cn></apply></apply><apply id="S3.Ex6.m1.3.3.3.1.1.1.1.1.cmml" xref="S3.Ex6.m1.3.3.3.1.1.1.1"><csymbol cd="ambiguous" id="S3.Ex6.m1.3.3.3.1.1.1.1.1.1.cmml" xref="S3.Ex6.m1.3.3.3.1.1.1.1">subscript</csymbol><apply id="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.cmml" xref="S3.Ex6.m1.3.3.3.1.1.1.1"><csymbol cd="ambiguous" id="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.1.cmml" xref="S3.Ex6.m1.3.3.3.1.1.1.1">superscript</csymbol><ci id="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.2.cmml" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.2">𝑥</ci><apply id="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.3.cmml" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.3"><csymbol cd="ambiguous" id="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.3.1.cmml" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.3">subscript</csymbol><ci id="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.3.2.cmml" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.3.2">𝑙</ci><ci id="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.3.3.cmml" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.2.3.3">𝑗</ci></apply></apply><ci id="S3.Ex6.m1.3.3.3.1.1.1.1.1.3.cmml" xref="S3.Ex6.m1.3.3.3.1.1.1.1.1.3">𝑗</ci></apply></apply></matrixrow></matrix></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.Ex6.m1.4c">f^{1\rightarrow k}_{j}(X_{j}):=\left(\begin{aligned} &f_{k}\circ\dots\circ f_{% 2}\circ f_{1}(x^{1}_{j}),\\ &f_{k}\circ\dots\circ f_{2}\circ f_{1}(x^{2}_{j}),\\ &\vdots\\ &f_{k}\circ\dots\circ f_{2}\circ f_{1}(x^{l_{j}}_{j})\end{aligned}\right).</annotation><annotation encoding="application/x-llamapun" id="S3.Ex6.m1.4d">italic_f start_POSTSUPERSCRIPT 1 → italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( italic_X start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) := ( start_ROW start_CELL end_CELL start_CELL italic_f start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ∘ ⋯ ∘ italic_f start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ∘ italic_f start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( italic_x start_POSTSUPERSCRIPT 1 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) , end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL italic_f start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ∘ ⋯ ∘ italic_f start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ∘ italic_f start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( italic_x start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) , end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL ⋮ end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL italic_f start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ∘ ⋯ ∘ italic_f start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ∘ italic_f start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ( italic_x start_POSTSUPERSCRIPT italic_l start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) end_CELL end_ROW ) .</annotation></semantics></math></td> <td class="ltx_eqn_cell ltx_eqn_center_padright"></td> </tr></tbody> </table> </div> <div class="ltx_para" id="S3.SS1.p6"> <p class="ltx_p" id="S3.SS1.p6.6">Additionally, each test function is designed to be <math alttext="\epsilon" class="ltx_Math" display="inline" id="S3.SS1.p6.1.m1.1"><semantics id="S3.SS1.p6.1.m1.1a"><mi id="S3.SS1.p6.1.m1.1.1" xref="S3.SS1.p6.1.m1.1.1.cmml">ϵ</mi><annotation-xml encoding="MathML-Content" id="S3.SS1.p6.1.m1.1b"><ci id="S3.SS1.p6.1.m1.1.1.cmml" xref="S3.SS1.p6.1.m1.1.1">italic-ϵ</ci></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p6.1.m1.1c">\epsilon</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p6.1.m1.1d">italic_ϵ</annotation></semantics></math>-sound (<cite class="ltx_cite ltx_citemacro_citet">Luo et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib17" title="">2023</a>)</cite>), meaning that if the historical data <math alttext="D_{\mathrm{orig}}" class="ltx_Math" display="inline" id="S3.SS1.p6.2.m2.1"><semantics id="S3.SS1.p6.2.m2.1a"><msub id="S3.SS1.p6.2.m2.1.1" xref="S3.SS1.p6.2.m2.1.1.cmml"><mi id="S3.SS1.p6.2.m2.1.1.2" xref="S3.SS1.p6.2.m2.1.1.2.cmml">D</mi><mi id="S3.SS1.p6.2.m2.1.1.3" xref="S3.SS1.p6.2.m2.1.1.3.cmml">orig</mi></msub><annotation-xml encoding="MathML-Content" id="S3.SS1.p6.2.m2.1b"><apply id="S3.SS1.p6.2.m2.1.1.cmml" xref="S3.SS1.p6.2.m2.1.1"><csymbol cd="ambiguous" id="S3.SS1.p6.2.m2.1.1.1.cmml" xref="S3.SS1.p6.2.m2.1.1">subscript</csymbol><ci id="S3.SS1.p6.2.m2.1.1.2.cmml" xref="S3.SS1.p6.2.m2.1.1.2">𝐷</ci><ci id="S3.SS1.p6.2.m2.1.1.3.cmml" xref="S3.SS1.p6.2.m2.1.1.3">orig</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p6.2.m2.1c">D_{\mathrm{orig}}</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p6.2.m2.1d">italic_D start_POSTSUBSCRIPT roman_orig end_POSTSUBSCRIPT</annotation></semantics></math> and the new data <math alttext="D_{\mathrm{new}}" class="ltx_Math" display="inline" id="S3.SS1.p6.3.m3.1"><semantics id="S3.SS1.p6.3.m3.1a"><msub id="S3.SS1.p6.3.m3.1.1" xref="S3.SS1.p6.3.m3.1.1.cmml"><mi id="S3.SS1.p6.3.m3.1.1.2" xref="S3.SS1.p6.3.m3.1.1.2.cmml">D</mi><mi id="S3.SS1.p6.3.m3.1.1.3" xref="S3.SS1.p6.3.m3.1.1.3.cmml">new</mi></msub><annotation-xml encoding="MathML-Content" id="S3.SS1.p6.3.m3.1b"><apply id="S3.SS1.p6.3.m3.1.1.cmml" xref="S3.SS1.p6.3.m3.1.1"><csymbol cd="ambiguous" id="S3.SS1.p6.3.m3.1.1.1.cmml" xref="S3.SS1.p6.3.m3.1.1">subscript</csymbol><ci id="S3.SS1.p6.3.m3.1.1.2.cmml" xref="S3.SS1.p6.3.m3.1.1.2">𝐷</ci><ci id="S3.SS1.p6.3.m3.1.1.3.cmml" xref="S3.SS1.p6.3.m3.1.1.3">new</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p6.3.m3.1c">D_{\mathrm{new}}</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p6.3.m3.1d">italic_D start_POSTSUBSCRIPT roman_new end_POSTSUBSCRIPT</annotation></semantics></math> are drawn from the same distribution, then with high probability (1 - <math alttext="\epsilon" class="ltx_Math" display="inline" id="S3.SS1.p6.4.m4.1"><semantics id="S3.SS1.p6.4.m4.1a"><mi id="S3.SS1.p6.4.m4.1.1" xref="S3.SS1.p6.4.m4.1.1.cmml">ϵ</mi><annotation-xml encoding="MathML-Content" id="S3.SS1.p6.4.m4.1b"><ci id="S3.SS1.p6.4.m4.1.1.cmml" xref="S3.SS1.p6.4.m4.1.1">italic-ϵ</ci></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p6.4.m4.1c">\epsilon</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p6.4.m4.1d">italic_ϵ</annotation></semantics></math>) the test will not issue a warning. Formally, when <math alttext="D_{\mathrm{new}}" class="ltx_Math" display="inline" id="S3.SS1.p6.5.m5.1"><semantics id="S3.SS1.p6.5.m5.1a"><msub id="S3.SS1.p6.5.m5.1.1" xref="S3.SS1.p6.5.m5.1.1.cmml"><mi id="S3.SS1.p6.5.m5.1.1.2" xref="S3.SS1.p6.5.m5.1.1.2.cmml">D</mi><mi id="S3.SS1.p6.5.m5.1.1.3" xref="S3.SS1.p6.5.m5.1.1.3.cmml">new</mi></msub><annotation-xml encoding="MathML-Content" id="S3.SS1.p6.5.m5.1b"><apply id="S3.SS1.p6.5.m5.1.1.cmml" xref="S3.SS1.p6.5.m5.1.1"><csymbol cd="ambiguous" id="S3.SS1.p6.5.m5.1.1.1.cmml" xref="S3.SS1.p6.5.m5.1.1">subscript</csymbol><ci id="S3.SS1.p6.5.m5.1.1.2.cmml" xref="S3.SS1.p6.5.m5.1.1.2">𝐷</ci><ci id="S3.SS1.p6.5.m5.1.1.3.cmml" xref="S3.SS1.p6.5.m5.1.1.3">new</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p6.5.m5.1c">D_{\mathrm{new}}</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p6.5.m5.1d">italic_D start_POSTSUBSCRIPT roman_new end_POSTSUBSCRIPT</annotation></semantics></math> and <math alttext="D_{\mathrm{orig}}" class="ltx_Math" display="inline" id="S3.SS1.p6.6.m6.1"><semantics id="S3.SS1.p6.6.m6.1a"><msub id="S3.SS1.p6.6.m6.1.1" xref="S3.SS1.p6.6.m6.1.1.cmml"><mi id="S3.SS1.p6.6.m6.1.1.2" xref="S3.SS1.p6.6.m6.1.1.2.cmml">D</mi><mi id="S3.SS1.p6.6.m6.1.1.3" xref="S3.SS1.p6.6.m6.1.1.3.cmml">orig</mi></msub><annotation-xml encoding="MathML-Content" id="S3.SS1.p6.6.m6.1b"><apply id="S3.SS1.p6.6.m6.1.1.cmml" xref="S3.SS1.p6.6.m6.1.1"><csymbol cd="ambiguous" id="S3.SS1.p6.6.m6.1.1.1.cmml" xref="S3.SS1.p6.6.m6.1.1">subscript</csymbol><ci id="S3.SS1.p6.6.m6.1.1.2.cmml" xref="S3.SS1.p6.6.m6.1.1.2">𝐷</ci><ci id="S3.SS1.p6.6.m6.1.1.3.cmml" xref="S3.SS1.p6.6.m6.1.1.3">orig</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS1.p6.6.m6.1c">D_{\mathrm{orig}}</annotation><annotation encoding="application/x-llamapun" id="S3.SS1.p6.6.m6.1d">italic_D start_POSTSUBSCRIPT roman_orig end_POSTSUBSCRIPT</annotation></semantics></math> are exchangeable, then</p> <table class="ltx_equationgroup ltx_eqn_align ltx_eqn_table" id="S8.EGx3"> <tbody id="S3.Ex7"><tr class="ltx_equation ltx_eqn_row ltx_align_baseline"> <td class="ltx_eqn_cell ltx_eqn_center_padleft"></td> <td class="ltx_td ltx_align_right ltx_eqn_cell"><math alttext="\displaystyle\Pr\big{[}\exists j,\psi^{k}_{j}(D_{\mathrm{orig}},f^{1% \rightarrow k}_{j}(X_{N+1}),\cdots,f^{1\rightarrow k}_{j}(X_{j}))=T\big{]}\leq\epsilon." class="ltx_Math" display="inline" id="S3.Ex7.m1.3"><semantics id="S3.Ex7.m1.3a"><mrow id="S3.Ex7.m1.3.3.1" xref="S3.Ex7.m1.3.3.1.1.cmml"><mrow id="S3.Ex7.m1.3.3.1.1" xref="S3.Ex7.m1.3.3.1.1.cmml"><mrow id="S3.Ex7.m1.3.3.1.1.2.2" xref="S3.Ex7.m1.3.3.1.1.2.3.cmml"><mi id="S3.Ex7.m1.2.2" xref="S3.Ex7.m1.2.2.cmml">Pr</mi><mo id="S3.Ex7.m1.3.3.1.1.2.2a" xref="S3.Ex7.m1.3.3.1.1.2.3.cmml"></mo><mrow id="S3.Ex7.m1.3.3.1.1.2.2.2" xref="S3.Ex7.m1.3.3.1.1.2.3.cmml"><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.3" maxsize="120%" minsize="120%" xref="S3.Ex7.m1.3.3.1.1.2.3.cmml">[</mo><mrow id="S3.Ex7.m1.3.3.1.1.1.1.1.1" xref="S3.Ex7.m1.3.3.1.1.1.1.1.1.cmml"><mo id="S3.Ex7.m1.3.3.1.1.1.1.1.1.1" rspace="0.167em" xref="S3.Ex7.m1.3.3.1.1.1.1.1.1.1.cmml">∃</mo><mi id="S3.Ex7.m1.3.3.1.1.1.1.1.1.2" xref="S3.Ex7.m1.3.3.1.1.1.1.1.1.2.cmml">j</mi></mrow><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.4" xref="S3.Ex7.m1.3.3.1.1.2.3.cmml">,</mo><mrow id="S3.Ex7.m1.3.3.1.1.2.2.2.2" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.cmml"><mrow id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.cmml"><msubsup id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.cmml"><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.2.2" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.2.2.cmml">ψ</mi><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.3.cmml">j</mi><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.2.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.2.3.cmml">k</mi></msubsup><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.4" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.4.cmml"></mo><mrow id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.4.cmml"><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.4" stretchy="false" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.4.cmml">(</mo><msub id="S3.Ex7.m1.3.3.1.1.2.2.2.2.1.1.1.1" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.1.1.1.1.cmml"><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.1.1.1.1.2" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.1.1.1.1.2.cmml">D</mi><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.1.1.1.1.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.1.1.1.1.3.cmml">orig</mi></msub><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.5" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.4.cmml">,</mo><mrow id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.cmml"><msubsup id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.cmml"><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.2" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.2.cmml">f</mi><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.3.cmml">j</mi><mrow id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3.cmml"><mn id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3.2" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3.2.cmml">1</mn><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3.1" stretchy="false" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3.1.cmml">→</mo><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3.3.cmml">k</mi></mrow></msubsup><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.2" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.2.cmml"></mo><mrow id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.cmml"><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.2" stretchy="false" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.cmml">(</mo><msub id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.cmml"><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.2" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.2.cmml">X</mi><mrow id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3.cmml"><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3.2" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3.2.cmml">N</mi><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3.1" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3.1.cmml">+</mo><mn id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3.3.cmml">1</mn></mrow></msub><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.3" stretchy="false" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.cmml">)</mo></mrow></mrow><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.6" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.4.cmml">,</mo><mi id="S3.Ex7.m1.1.1" mathvariant="normal" xref="S3.Ex7.m1.1.1.cmml">⋯</mi><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.7" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.4.cmml">,</mo><mrow id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.cmml"><msubsup id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.cmml"><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.2" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.2.cmml">f</mi><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.3.cmml">j</mi><mrow id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3.cmml"><mn id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3.2" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3.2.cmml">1</mn><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3.1" stretchy="false" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3.1.cmml">→</mo><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3.3.cmml">k</mi></mrow></msubsup><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.2" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.2.cmml"></mo><mrow id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1.cmml"><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.2" stretchy="false" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1.cmml">(</mo><msub id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1.cmml"><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1.2" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1.2.cmml">X</mi><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1.3" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1.3.cmml">j</mi></msub><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.3" stretchy="false" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1.cmml">)</mo></mrow></mrow><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.8" stretchy="false" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.4.cmml">)</mo></mrow></mrow><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.2.4" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.4.cmml">=</mo><mi id="S3.Ex7.m1.3.3.1.1.2.2.2.2.5" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.5.cmml">T</mi></mrow><mo id="S3.Ex7.m1.3.3.1.1.2.2.2.5" maxsize="120%" minsize="120%" xref="S3.Ex7.m1.3.3.1.1.2.3.cmml">]</mo></mrow></mrow><mo id="S3.Ex7.m1.3.3.1.1.3" xref="S3.Ex7.m1.3.3.1.1.3.cmml">≤</mo><mi id="S3.Ex7.m1.3.3.1.1.4" xref="S3.Ex7.m1.3.3.1.1.4.cmml">ϵ</mi></mrow><mo id="S3.Ex7.m1.3.3.1.2" lspace="0em" xref="S3.Ex7.m1.3.3.1.1.cmml">.</mo></mrow><annotation-xml encoding="MathML-Content" id="S3.Ex7.m1.3b"><apply id="S3.Ex7.m1.3.3.1.1.cmml" xref="S3.Ex7.m1.3.3.1"><leq id="S3.Ex7.m1.3.3.1.1.3.cmml" xref="S3.Ex7.m1.3.3.1.1.3"></leq><apply id="S3.Ex7.m1.3.3.1.1.2.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2"><ci id="S3.Ex7.m1.2.2.cmml" xref="S3.Ex7.m1.2.2">Pr</ci><apply id="S3.Ex7.m1.3.3.1.1.1.1.1.1.cmml" xref="S3.Ex7.m1.3.3.1.1.1.1.1.1"><exists id="S3.Ex7.m1.3.3.1.1.1.1.1.1.1.cmml" xref="S3.Ex7.m1.3.3.1.1.1.1.1.1.1"></exists><ci id="S3.Ex7.m1.3.3.1.1.1.1.1.1.2.cmml" xref="S3.Ex7.m1.3.3.1.1.1.1.1.1.2">𝑗</ci></apply><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2"><eq id="S3.Ex7.m1.3.3.1.1.2.2.2.2.4.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.4"></eq><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3"><times id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.4.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.4"></times><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5"><csymbol cd="ambiguous" id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5">subscript</csymbol><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.2.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5"><csymbol cd="ambiguous" id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.2.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5">superscript</csymbol><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.2.2.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.2.2">𝜓</ci><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.2.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.2.3">𝑘</ci></apply><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.5.3">𝑗</ci></apply><vector id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.4.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3"><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.1.1.1.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.1.1.1.1"><csymbol cd="ambiguous" id="S3.Ex7.m1.3.3.1.1.2.2.2.2.1.1.1.1.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.1.1.1.1">subscript</csymbol><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.1.1.1.1.2.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.1.1.1.1.2">𝐷</ci><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.1.1.1.1.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.1.1.1.1.3">orig</ci></apply><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2"><times id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.2.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.2"></times><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3"><csymbol cd="ambiguous" id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3">subscript</csymbol><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3"><csymbol cd="ambiguous" id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3">superscript</csymbol><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.2.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.2">𝑓</ci><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3"><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3.1">→</ci><cn id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3.2.cmml" type="integer" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3.2">1</cn><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.2.3.3">𝑘</ci></apply></apply><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.3.3">𝑗</ci></apply><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1"><csymbol cd="ambiguous" id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1">subscript</csymbol><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.2.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.2">𝑋</ci><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3"><plus id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3.1"></plus><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3.2.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3.2">𝑁</ci><cn id="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3.3.cmml" type="integer" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.2.2.2.2.1.1.1.3.3">1</cn></apply></apply></apply><ci id="S3.Ex7.m1.1.1.cmml" xref="S3.Ex7.m1.1.1">⋯</ci><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3"><times id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.2.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.2"></times><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3"><csymbol cd="ambiguous" id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3">subscript</csymbol><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3"><csymbol cd="ambiguous" id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3">superscript</csymbol><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.2.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.2">𝑓</ci><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3"><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3.1">→</ci><cn id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3.2.cmml" type="integer" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3.2">1</cn><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.2.3.3">𝑘</ci></apply></apply><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.3.3">𝑗</ci></apply><apply id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1"><csymbol cd="ambiguous" id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1.1.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1">subscript</csymbol><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1.2.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1.2">𝑋</ci><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1.3.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.3.3.3.3.1.1.1.3">𝑗</ci></apply></apply></vector></apply><ci id="S3.Ex7.m1.3.3.1.1.2.2.2.2.5.cmml" xref="S3.Ex7.m1.3.3.1.1.2.2.2.2.5">𝑇</ci></apply></apply><ci id="S3.Ex7.m1.3.3.1.1.4.cmml" xref="S3.Ex7.m1.3.3.1.1.4">italic-ϵ</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.Ex7.m1.3c">\displaystyle\Pr\big{[}\exists j,\psi^{k}_{j}(D_{\mathrm{orig}},f^{1% \rightarrow k}_{j}(X_{N+1}),\cdots,f^{1\rightarrow k}_{j}(X_{j}))=T\big{]}\leq\epsilon.</annotation><annotation encoding="application/x-llamapun" id="S3.Ex7.m1.3d">roman_Pr [ ∃ italic_j , italic_ψ start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( italic_D start_POSTSUBSCRIPT roman_orig end_POSTSUBSCRIPT , italic_f start_POSTSUPERSCRIPT 1 → italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( italic_X start_POSTSUBSCRIPT italic_N + 1 end_POSTSUBSCRIPT ) , ⋯ , italic_f start_POSTSUPERSCRIPT 1 → italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( italic_X start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) ) = italic_T ] ≤ italic_ϵ .</annotation></semantics></math></td> <td class="ltx_eqn_cell ltx_eqn_center_padright"></td> </tr></tbody> </table> </div> </section> <section class="ltx_subsection" id="S3.SS2"> <h3 class="ltx_title ltx_title_subsection"> <span class="ltx_tag ltx_tag_subsection">3.2 </span>Proposed Framework </h3> <div class="ltx_para" id="S3.SS2.p1"> <p class="ltx_p" id="S3.SS2.p1.3">The key intuition behind martingale-based monitors is that it is impossible for any predictor to reliably distinguish between two samples drawn from the same distribution. Consider drawing two samples, one from <math alttext="D_{\mathrm{new}}" class="ltx_Math" display="inline" id="S3.SS2.p1.1.m1.1"><semantics id="S3.SS2.p1.1.m1.1a"><msub id="S3.SS2.p1.1.m1.1.1" xref="S3.SS2.p1.1.m1.1.1.cmml"><mi id="S3.SS2.p1.1.m1.1.1.2" xref="S3.SS2.p1.1.m1.1.1.2.cmml">D</mi><mi id="S3.SS2.p1.1.m1.1.1.3" xref="S3.SS2.p1.1.m1.1.1.3.cmml">new</mi></msub><annotation-xml encoding="MathML-Content" id="S3.SS2.p1.1.m1.1b"><apply id="S3.SS2.p1.1.m1.1.1.cmml" xref="S3.SS2.p1.1.m1.1.1"><csymbol cd="ambiguous" id="S3.SS2.p1.1.m1.1.1.1.cmml" xref="S3.SS2.p1.1.m1.1.1">subscript</csymbol><ci id="S3.SS2.p1.1.m1.1.1.2.cmml" xref="S3.SS2.p1.1.m1.1.1.2">𝐷</ci><ci id="S3.SS2.p1.1.m1.1.1.3.cmml" xref="S3.SS2.p1.1.m1.1.1.3">new</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p1.1.m1.1c">D_{\mathrm{new}}</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p1.1.m1.1d">italic_D start_POSTSUBSCRIPT roman_new end_POSTSUBSCRIPT</annotation></semantics></math> and the other from from <math alttext="D_{\mathrm{orig}}" class="ltx_Math" display="inline" id="S3.SS2.p1.2.m2.1"><semantics id="S3.SS2.p1.2.m2.1a"><msub id="S3.SS2.p1.2.m2.1.1" xref="S3.SS2.p1.2.m2.1.1.cmml"><mi id="S3.SS2.p1.2.m2.1.1.2" xref="S3.SS2.p1.2.m2.1.1.2.cmml">D</mi><mi id="S3.SS2.p1.2.m2.1.1.3" xref="S3.SS2.p1.2.m2.1.1.3.cmml">orig</mi></msub><annotation-xml encoding="MathML-Content" id="S3.SS2.p1.2.m2.1b"><apply id="S3.SS2.p1.2.m2.1.1.cmml" xref="S3.SS2.p1.2.m2.1.1"><csymbol cd="ambiguous" id="S3.SS2.p1.2.m2.1.1.1.cmml" xref="S3.SS2.p1.2.m2.1.1">subscript</csymbol><ci id="S3.SS2.p1.2.m2.1.1.2.cmml" xref="S3.SS2.p1.2.m2.1.1.2">𝐷</ci><ci id="S3.SS2.p1.2.m2.1.1.3.cmml" xref="S3.SS2.p1.2.m2.1.1.3">orig</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p1.2.m2.1c">D_{\mathrm{orig}}</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p1.2.m2.1d">italic_D start_POSTSUBSCRIPT roman_orig end_POSTSUBSCRIPT</annotation></semantics></math>. If there has been no distribution shift (so these distributions are in fact the same), then no predictor can do better than random chance (e.g. a Bernoulli variable with parameter <math alttext="p=0.5" class="ltx_Math" display="inline" id="S3.SS2.p1.3.m3.1"><semantics id="S3.SS2.p1.3.m3.1a"><mrow id="S3.SS2.p1.3.m3.1.1" xref="S3.SS2.p1.3.m3.1.1.cmml"><mi id="S3.SS2.p1.3.m3.1.1.2" xref="S3.SS2.p1.3.m3.1.1.2.cmml">p</mi><mo id="S3.SS2.p1.3.m3.1.1.1" xref="S3.SS2.p1.3.m3.1.1.1.cmml">=</mo><mn id="S3.SS2.p1.3.m3.1.1.3" xref="S3.SS2.p1.3.m3.1.1.3.cmml">0.5</mn></mrow><annotation-xml encoding="MathML-Content" id="S3.SS2.p1.3.m3.1b"><apply id="S3.SS2.p1.3.m3.1.1.cmml" xref="S3.SS2.p1.3.m3.1.1"><eq id="S3.SS2.p1.3.m3.1.1.1.cmml" xref="S3.SS2.p1.3.m3.1.1.1"></eq><ci id="S3.SS2.p1.3.m3.1.1.2.cmml" xref="S3.SS2.p1.3.m3.1.1.2">𝑝</ci><cn id="S3.SS2.p1.3.m3.1.1.3.cmml" type="float" xref="S3.SS2.p1.3.m3.1.1.3">0.5</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p1.3.m3.1c">p=0.5</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p1.3.m3.1d">italic_p = 0.5</annotation></semantics></math>).</p> </div> <div class="ltx_para" id="S3.SS2.p2"> <p class="ltx_p" id="S3.SS2.p2.8">We adapt the martingale-based monitor defined in <cite class="ltx_cite ltx_citemacro_citet">Luo et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib17" title="">2023</a>)</cite> to design the test functions <math alttext="\psi^{1}_{j}" class="ltx_Math" display="inline" id="S3.SS2.p2.1.m1.1"><semantics id="S3.SS2.p2.1.m1.1a"><msubsup id="S3.SS2.p2.1.m1.1.1" xref="S3.SS2.p2.1.m1.1.1.cmml"><mi id="S3.SS2.p2.1.m1.1.1.2.2" xref="S3.SS2.p2.1.m1.1.1.2.2.cmml">ψ</mi><mi id="S3.SS2.p2.1.m1.1.1.3" xref="S3.SS2.p2.1.m1.1.1.3.cmml">j</mi><mn id="S3.SS2.p2.1.m1.1.1.2.3" xref="S3.SS2.p2.1.m1.1.1.2.3.cmml">1</mn></msubsup><annotation-xml encoding="MathML-Content" id="S3.SS2.p2.1.m1.1b"><apply id="S3.SS2.p2.1.m1.1.1.cmml" xref="S3.SS2.p2.1.m1.1.1"><csymbol cd="ambiguous" id="S3.SS2.p2.1.m1.1.1.1.cmml" xref="S3.SS2.p2.1.m1.1.1">subscript</csymbol><apply id="S3.SS2.p2.1.m1.1.1.2.cmml" xref="S3.SS2.p2.1.m1.1.1"><csymbol cd="ambiguous" id="S3.SS2.p2.1.m1.1.1.2.1.cmml" xref="S3.SS2.p2.1.m1.1.1">superscript</csymbol><ci id="S3.SS2.p2.1.m1.1.1.2.2.cmml" xref="S3.SS2.p2.1.m1.1.1.2.2">𝜓</ci><cn id="S3.SS2.p2.1.m1.1.1.2.3.cmml" type="integer" xref="S3.SS2.p2.1.m1.1.1.2.3">1</cn></apply><ci id="S3.SS2.p2.1.m1.1.1.3.cmml" xref="S3.SS2.p2.1.m1.1.1.3">𝑗</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p2.1.m1.1c">\psi^{1}_{j}</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p2.1.m1.1d">italic_ψ start_POSTSUPERSCRIPT 1 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT</annotation></semantics></math> over system inputs. This monitor relies on a neural network <math alttext="f^{1}_{NN}:\mathcal{X}\times\mathcal{X}\rightarrow\{0,1\}" class="ltx_Math" display="inline" id="S3.SS2.p2.2.m2.2"><semantics id="S3.SS2.p2.2.m2.2a"><mrow id="S3.SS2.p2.2.m2.2.3" xref="S3.SS2.p2.2.m2.2.3.cmml"><msubsup id="S3.SS2.p2.2.m2.2.3.2" xref="S3.SS2.p2.2.m2.2.3.2.cmml"><mi id="S3.SS2.p2.2.m2.2.3.2.2.2" xref="S3.SS2.p2.2.m2.2.3.2.2.2.cmml">f</mi><mrow id="S3.SS2.p2.2.m2.2.3.2.3" xref="S3.SS2.p2.2.m2.2.3.2.3.cmml"><mi id="S3.SS2.p2.2.m2.2.3.2.3.2" xref="S3.SS2.p2.2.m2.2.3.2.3.2.cmml">N</mi><mo id="S3.SS2.p2.2.m2.2.3.2.3.1" xref="S3.SS2.p2.2.m2.2.3.2.3.1.cmml"></mo><mi id="S3.SS2.p2.2.m2.2.3.2.3.3" xref="S3.SS2.p2.2.m2.2.3.2.3.3.cmml">N</mi></mrow><mn id="S3.SS2.p2.2.m2.2.3.2.2.3" xref="S3.SS2.p2.2.m2.2.3.2.2.3.cmml">1</mn></msubsup><mo id="S3.SS2.p2.2.m2.2.3.1" lspace="0.278em" rspace="0.278em" xref="S3.SS2.p2.2.m2.2.3.1.cmml">:</mo><mrow id="S3.SS2.p2.2.m2.2.3.3" xref="S3.SS2.p2.2.m2.2.3.3.cmml"><mrow id="S3.SS2.p2.2.m2.2.3.3.2" xref="S3.SS2.p2.2.m2.2.3.3.2.cmml"><mi class="ltx_font_mathcaligraphic" id="S3.SS2.p2.2.m2.2.3.3.2.2" xref="S3.SS2.p2.2.m2.2.3.3.2.2.cmml">𝒳</mi><mo id="S3.SS2.p2.2.m2.2.3.3.2.1" lspace="0.222em" rspace="0.222em" xref="S3.SS2.p2.2.m2.2.3.3.2.1.cmml">×</mo><mi class="ltx_font_mathcaligraphic" id="S3.SS2.p2.2.m2.2.3.3.2.3" xref="S3.SS2.p2.2.m2.2.3.3.2.3.cmml">𝒳</mi></mrow><mo id="S3.SS2.p2.2.m2.2.3.3.1" stretchy="false" xref="S3.SS2.p2.2.m2.2.3.3.1.cmml">→</mo><mrow id="S3.SS2.p2.2.m2.2.3.3.3.2" xref="S3.SS2.p2.2.m2.2.3.3.3.1.cmml"><mo id="S3.SS2.p2.2.m2.2.3.3.3.2.1" stretchy="false" xref="S3.SS2.p2.2.m2.2.3.3.3.1.cmml">{</mo><mn id="S3.SS2.p2.2.m2.1.1" xref="S3.SS2.p2.2.m2.1.1.cmml">0</mn><mo id="S3.SS2.p2.2.m2.2.3.3.3.2.2" xref="S3.SS2.p2.2.m2.2.3.3.3.1.cmml">,</mo><mn id="S3.SS2.p2.2.m2.2.2" xref="S3.SS2.p2.2.m2.2.2.cmml">1</mn><mo id="S3.SS2.p2.2.m2.2.3.3.3.2.3" stretchy="false" xref="S3.SS2.p2.2.m2.2.3.3.3.1.cmml">}</mo></mrow></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.SS2.p2.2.m2.2b"><apply id="S3.SS2.p2.2.m2.2.3.cmml" xref="S3.SS2.p2.2.m2.2.3"><ci id="S3.SS2.p2.2.m2.2.3.1.cmml" xref="S3.SS2.p2.2.m2.2.3.1">:</ci><apply id="S3.SS2.p2.2.m2.2.3.2.cmml" xref="S3.SS2.p2.2.m2.2.3.2"><csymbol cd="ambiguous" id="S3.SS2.p2.2.m2.2.3.2.1.cmml" xref="S3.SS2.p2.2.m2.2.3.2">subscript</csymbol><apply id="S3.SS2.p2.2.m2.2.3.2.2.cmml" xref="S3.SS2.p2.2.m2.2.3.2"><csymbol cd="ambiguous" id="S3.SS2.p2.2.m2.2.3.2.2.1.cmml" xref="S3.SS2.p2.2.m2.2.3.2">superscript</csymbol><ci id="S3.SS2.p2.2.m2.2.3.2.2.2.cmml" xref="S3.SS2.p2.2.m2.2.3.2.2.2">𝑓</ci><cn id="S3.SS2.p2.2.m2.2.3.2.2.3.cmml" type="integer" xref="S3.SS2.p2.2.m2.2.3.2.2.3">1</cn></apply><apply id="S3.SS2.p2.2.m2.2.3.2.3.cmml" xref="S3.SS2.p2.2.m2.2.3.2.3"><times id="S3.SS2.p2.2.m2.2.3.2.3.1.cmml" xref="S3.SS2.p2.2.m2.2.3.2.3.1"></times><ci id="S3.SS2.p2.2.m2.2.3.2.3.2.cmml" xref="S3.SS2.p2.2.m2.2.3.2.3.2">𝑁</ci><ci id="S3.SS2.p2.2.m2.2.3.2.3.3.cmml" xref="S3.SS2.p2.2.m2.2.3.2.3.3">𝑁</ci></apply></apply><apply id="S3.SS2.p2.2.m2.2.3.3.cmml" xref="S3.SS2.p2.2.m2.2.3.3"><ci id="S3.SS2.p2.2.m2.2.3.3.1.cmml" xref="S3.SS2.p2.2.m2.2.3.3.1">→</ci><apply id="S3.SS2.p2.2.m2.2.3.3.2.cmml" xref="S3.SS2.p2.2.m2.2.3.3.2"><times id="S3.SS2.p2.2.m2.2.3.3.2.1.cmml" xref="S3.SS2.p2.2.m2.2.3.3.2.1"></times><ci id="S3.SS2.p2.2.m2.2.3.3.2.2.cmml" xref="S3.SS2.p2.2.m2.2.3.3.2.2">𝒳</ci><ci id="S3.SS2.p2.2.m2.2.3.3.2.3.cmml" xref="S3.SS2.p2.2.m2.2.3.3.2.3">𝒳</ci></apply><set id="S3.SS2.p2.2.m2.2.3.3.3.1.cmml" xref="S3.SS2.p2.2.m2.2.3.3.3.2"><cn id="S3.SS2.p2.2.m2.1.1.cmml" type="integer" xref="S3.SS2.p2.2.m2.1.1">0</cn><cn id="S3.SS2.p2.2.m2.2.2.cmml" type="integer" xref="S3.SS2.p2.2.m2.2.2">1</cn></set></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p2.2.m2.2c">f^{1}_{NN}:\mathcal{X}\times\mathcal{X}\rightarrow\{0,1\}</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p2.2.m2.2d">italic_f start_POSTSUPERSCRIPT 1 end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_N italic_N end_POSTSUBSCRIPT : caligraphic_X × caligraphic_X → { 0 , 1 }</annotation></semantics></math> that is trained to predict whether two inputs come from the same distribution. Additionally we design test functions <math alttext="\psi^{k}_{j}" class="ltx_Math" display="inline" id="S3.SS2.p2.3.m3.1"><semantics id="S3.SS2.p2.3.m3.1a"><msubsup id="S3.SS2.p2.3.m3.1.1" xref="S3.SS2.p2.3.m3.1.1.cmml"><mi id="S3.SS2.p2.3.m3.1.1.2.2" xref="S3.SS2.p2.3.m3.1.1.2.2.cmml">ψ</mi><mi id="S3.SS2.p2.3.m3.1.1.3" xref="S3.SS2.p2.3.m3.1.1.3.cmml">j</mi><mi id="S3.SS2.p2.3.m3.1.1.2.3" xref="S3.SS2.p2.3.m3.1.1.2.3.cmml">k</mi></msubsup><annotation-xml encoding="MathML-Content" id="S3.SS2.p2.3.m3.1b"><apply id="S3.SS2.p2.3.m3.1.1.cmml" xref="S3.SS2.p2.3.m3.1.1"><csymbol cd="ambiguous" id="S3.SS2.p2.3.m3.1.1.1.cmml" xref="S3.SS2.p2.3.m3.1.1">subscript</csymbol><apply id="S3.SS2.p2.3.m3.1.1.2.cmml" xref="S3.SS2.p2.3.m3.1.1"><csymbol cd="ambiguous" id="S3.SS2.p2.3.m3.1.1.2.1.cmml" xref="S3.SS2.p2.3.m3.1.1">superscript</csymbol><ci id="S3.SS2.p2.3.m3.1.1.2.2.cmml" xref="S3.SS2.p2.3.m3.1.1.2.2">𝜓</ci><ci id="S3.SS2.p2.3.m3.1.1.2.3.cmml" xref="S3.SS2.p2.3.m3.1.1.2.3">𝑘</ci></apply><ci id="S3.SS2.p2.3.m3.1.1.3.cmml" xref="S3.SS2.p2.3.m3.1.1.3">𝑗</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p2.3.m3.1c">\psi^{k}_{j}</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p2.3.m3.1d">italic_ψ start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT</annotation></semantics></math> for <math alttext="k=1,\dots,K" class="ltx_Math" display="inline" id="S3.SS2.p2.4.m4.3"><semantics id="S3.SS2.p2.4.m4.3a"><mrow id="S3.SS2.p2.4.m4.3.4" xref="S3.SS2.p2.4.m4.3.4.cmml"><mi id="S3.SS2.p2.4.m4.3.4.2" xref="S3.SS2.p2.4.m4.3.4.2.cmml">k</mi><mo id="S3.SS2.p2.4.m4.3.4.1" xref="S3.SS2.p2.4.m4.3.4.1.cmml">=</mo><mrow id="S3.SS2.p2.4.m4.3.4.3.2" xref="S3.SS2.p2.4.m4.3.4.3.1.cmml"><mn id="S3.SS2.p2.4.m4.1.1" xref="S3.SS2.p2.4.m4.1.1.cmml">1</mn><mo id="S3.SS2.p2.4.m4.3.4.3.2.1" xref="S3.SS2.p2.4.m4.3.4.3.1.cmml">,</mo><mi id="S3.SS2.p2.4.m4.2.2" mathvariant="normal" xref="S3.SS2.p2.4.m4.2.2.cmml">…</mi><mo id="S3.SS2.p2.4.m4.3.4.3.2.2" xref="S3.SS2.p2.4.m4.3.4.3.1.cmml">,</mo><mi id="S3.SS2.p2.4.m4.3.3" xref="S3.SS2.p2.4.m4.3.3.cmml">K</mi></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.SS2.p2.4.m4.3b"><apply id="S3.SS2.p2.4.m4.3.4.cmml" xref="S3.SS2.p2.4.m4.3.4"><eq id="S3.SS2.p2.4.m4.3.4.1.cmml" xref="S3.SS2.p2.4.m4.3.4.1"></eq><ci id="S3.SS2.p2.4.m4.3.4.2.cmml" xref="S3.SS2.p2.4.m4.3.4.2">𝑘</ci><list id="S3.SS2.p2.4.m4.3.4.3.1.cmml" xref="S3.SS2.p2.4.m4.3.4.3.2"><cn id="S3.SS2.p2.4.m4.1.1.cmml" type="integer" xref="S3.SS2.p2.4.m4.1.1">1</cn><ci id="S3.SS2.p2.4.m4.2.2.cmml" xref="S3.SS2.p2.4.m4.2.2">…</ci><ci id="S3.SS2.p2.4.m4.3.3.cmml" xref="S3.SS2.p2.4.m4.3.3">𝐾</ci></list></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p2.4.m4.3c">k=1,\dots,K</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p2.4.m4.3d">italic_k = 1 , … , italic_K</annotation></semantics></math> over all <math alttext="K-1" class="ltx_Math" display="inline" id="S3.SS2.p2.5.m5.1"><semantics id="S3.SS2.p2.5.m5.1a"><mrow id="S3.SS2.p2.5.m5.1.1" xref="S3.SS2.p2.5.m5.1.1.cmml"><mi id="S3.SS2.p2.5.m5.1.1.2" xref="S3.SS2.p2.5.m5.1.1.2.cmml">K</mi><mo id="S3.SS2.p2.5.m5.1.1.1" xref="S3.SS2.p2.5.m5.1.1.1.cmml">−</mo><mn id="S3.SS2.p2.5.m5.1.1.3" xref="S3.SS2.p2.5.m5.1.1.3.cmml">1</mn></mrow><annotation-xml encoding="MathML-Content" id="S3.SS2.p2.5.m5.1b"><apply id="S3.SS2.p2.5.m5.1.1.cmml" xref="S3.SS2.p2.5.m5.1.1"><minus id="S3.SS2.p2.5.m5.1.1.1.cmml" xref="S3.SS2.p2.5.m5.1.1.1"></minus><ci id="S3.SS2.p2.5.m5.1.1.2.cmml" xref="S3.SS2.p2.5.m5.1.1.2">𝐾</ci><cn id="S3.SS2.p2.5.m5.1.1.3.cmml" type="integer" xref="S3.SS2.p2.5.m5.1.1.3">1</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p2.5.m5.1c">K-1</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p2.5.m5.1d">italic_K - 1</annotation></semantics></math> intermediate results <math alttext="I_{1},I_{2},...I_{K-1}" class="ltx_Math" display="inline" id="S3.SS2.p2.6.m6.3"><semantics id="S3.SS2.p2.6.m6.3a"><mrow id="S3.SS2.p2.6.m6.3.3.3" xref="S3.SS2.p2.6.m6.3.3.4.cmml"><msub id="S3.SS2.p2.6.m6.1.1.1.1" xref="S3.SS2.p2.6.m6.1.1.1.1.cmml"><mi id="S3.SS2.p2.6.m6.1.1.1.1.2" xref="S3.SS2.p2.6.m6.1.1.1.1.2.cmml">I</mi><mn id="S3.SS2.p2.6.m6.1.1.1.1.3" xref="S3.SS2.p2.6.m6.1.1.1.1.3.cmml">1</mn></msub><mo id="S3.SS2.p2.6.m6.3.3.3.4" xref="S3.SS2.p2.6.m6.3.3.4.cmml">,</mo><msub id="S3.SS2.p2.6.m6.2.2.2.2" xref="S3.SS2.p2.6.m6.2.2.2.2.cmml"><mi id="S3.SS2.p2.6.m6.2.2.2.2.2" xref="S3.SS2.p2.6.m6.2.2.2.2.2.cmml">I</mi><mn id="S3.SS2.p2.6.m6.2.2.2.2.3" xref="S3.SS2.p2.6.m6.2.2.2.2.3.cmml">2</mn></msub><mo id="S3.SS2.p2.6.m6.3.3.3.5" xref="S3.SS2.p2.6.m6.3.3.4.cmml">,</mo><mrow id="S3.SS2.p2.6.m6.3.3.3.3" xref="S3.SS2.p2.6.m6.3.3.3.3.cmml"><mi id="S3.SS2.p2.6.m6.3.3.3.3.2" mathvariant="normal" xref="S3.SS2.p2.6.m6.3.3.3.3.2.cmml">…</mi><mo id="S3.SS2.p2.6.m6.3.3.3.3.1" xref="S3.SS2.p2.6.m6.3.3.3.3.1.cmml"></mo><msub id="S3.SS2.p2.6.m6.3.3.3.3.3" xref="S3.SS2.p2.6.m6.3.3.3.3.3.cmml"><mi id="S3.SS2.p2.6.m6.3.3.3.3.3.2" xref="S3.SS2.p2.6.m6.3.3.3.3.3.2.cmml">I</mi><mrow id="S3.SS2.p2.6.m6.3.3.3.3.3.3" xref="S3.SS2.p2.6.m6.3.3.3.3.3.3.cmml"><mi id="S3.SS2.p2.6.m6.3.3.3.3.3.3.2" xref="S3.SS2.p2.6.m6.3.3.3.3.3.3.2.cmml">K</mi><mo id="S3.SS2.p2.6.m6.3.3.3.3.3.3.1" xref="S3.SS2.p2.6.m6.3.3.3.3.3.3.1.cmml">−</mo><mn id="S3.SS2.p2.6.m6.3.3.3.3.3.3.3" xref="S3.SS2.p2.6.m6.3.3.3.3.3.3.3.cmml">1</mn></mrow></msub></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.SS2.p2.6.m6.3b"><list id="S3.SS2.p2.6.m6.3.3.4.cmml" xref="S3.SS2.p2.6.m6.3.3.3"><apply id="S3.SS2.p2.6.m6.1.1.1.1.cmml" xref="S3.SS2.p2.6.m6.1.1.1.1"><csymbol cd="ambiguous" id="S3.SS2.p2.6.m6.1.1.1.1.1.cmml" xref="S3.SS2.p2.6.m6.1.1.1.1">subscript</csymbol><ci id="S3.SS2.p2.6.m6.1.1.1.1.2.cmml" xref="S3.SS2.p2.6.m6.1.1.1.1.2">𝐼</ci><cn id="S3.SS2.p2.6.m6.1.1.1.1.3.cmml" type="integer" xref="S3.SS2.p2.6.m6.1.1.1.1.3">1</cn></apply><apply id="S3.SS2.p2.6.m6.2.2.2.2.cmml" xref="S3.SS2.p2.6.m6.2.2.2.2"><csymbol cd="ambiguous" id="S3.SS2.p2.6.m6.2.2.2.2.1.cmml" xref="S3.SS2.p2.6.m6.2.2.2.2">subscript</csymbol><ci id="S3.SS2.p2.6.m6.2.2.2.2.2.cmml" xref="S3.SS2.p2.6.m6.2.2.2.2.2">𝐼</ci><cn id="S3.SS2.p2.6.m6.2.2.2.2.3.cmml" type="integer" xref="S3.SS2.p2.6.m6.2.2.2.2.3">2</cn></apply><apply id="S3.SS2.p2.6.m6.3.3.3.3.cmml" xref="S3.SS2.p2.6.m6.3.3.3.3"><times id="S3.SS2.p2.6.m6.3.3.3.3.1.cmml" xref="S3.SS2.p2.6.m6.3.3.3.3.1"></times><ci id="S3.SS2.p2.6.m6.3.3.3.3.2.cmml" xref="S3.SS2.p2.6.m6.3.3.3.3.2">…</ci><apply id="S3.SS2.p2.6.m6.3.3.3.3.3.cmml" xref="S3.SS2.p2.6.m6.3.3.3.3.3"><csymbol cd="ambiguous" id="S3.SS2.p2.6.m6.3.3.3.3.3.1.cmml" xref="S3.SS2.p2.6.m6.3.3.3.3.3">subscript</csymbol><ci id="S3.SS2.p2.6.m6.3.3.3.3.3.2.cmml" xref="S3.SS2.p2.6.m6.3.3.3.3.3.2">𝐼</ci><apply id="S3.SS2.p2.6.m6.3.3.3.3.3.3.cmml" xref="S3.SS2.p2.6.m6.3.3.3.3.3.3"><minus id="S3.SS2.p2.6.m6.3.3.3.3.3.3.1.cmml" xref="S3.SS2.p2.6.m6.3.3.3.3.3.3.1"></minus><ci id="S3.SS2.p2.6.m6.3.3.3.3.3.3.2.cmml" xref="S3.SS2.p2.6.m6.3.3.3.3.3.3.2">𝐾</ci><cn id="S3.SS2.p2.6.m6.3.3.3.3.3.3.3.cmml" type="integer" xref="S3.SS2.p2.6.m6.3.3.3.3.3.3.3">1</cn></apply></apply></apply></list></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p2.6.m6.3c">I_{1},I_{2},...I_{K-1}</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p2.6.m6.3d">italic_I start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , italic_I start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … italic_I start_POSTSUBSCRIPT italic_K - 1 end_POSTSUBSCRIPT</annotation></semantics></math> and over the final output action. For the test functions over intermediate results, the neural network is modified to take as input two intermediate results, <math alttext="f^{k}_{NN}:I_{k}\times I_{k}\rightarrow\{0,1\}" class="ltx_Math" display="inline" id="S3.SS2.p2.7.m7.2"><semantics id="S3.SS2.p2.7.m7.2a"><mrow id="S3.SS2.p2.7.m7.2.3" xref="S3.SS2.p2.7.m7.2.3.cmml"><msubsup id="S3.SS2.p2.7.m7.2.3.2" xref="S3.SS2.p2.7.m7.2.3.2.cmml"><mi id="S3.SS2.p2.7.m7.2.3.2.2.2" xref="S3.SS2.p2.7.m7.2.3.2.2.2.cmml">f</mi><mrow id="S3.SS2.p2.7.m7.2.3.2.3" xref="S3.SS2.p2.7.m7.2.3.2.3.cmml"><mi id="S3.SS2.p2.7.m7.2.3.2.3.2" xref="S3.SS2.p2.7.m7.2.3.2.3.2.cmml">N</mi><mo id="S3.SS2.p2.7.m7.2.3.2.3.1" xref="S3.SS2.p2.7.m7.2.3.2.3.1.cmml"></mo><mi id="S3.SS2.p2.7.m7.2.3.2.3.3" xref="S3.SS2.p2.7.m7.2.3.2.3.3.cmml">N</mi></mrow><mi id="S3.SS2.p2.7.m7.2.3.2.2.3" xref="S3.SS2.p2.7.m7.2.3.2.2.3.cmml">k</mi></msubsup><mo id="S3.SS2.p2.7.m7.2.3.1" lspace="0.278em" rspace="0.278em" xref="S3.SS2.p2.7.m7.2.3.1.cmml">:</mo><mrow id="S3.SS2.p2.7.m7.2.3.3" xref="S3.SS2.p2.7.m7.2.3.3.cmml"><mrow id="S3.SS2.p2.7.m7.2.3.3.2" xref="S3.SS2.p2.7.m7.2.3.3.2.cmml"><msub id="S3.SS2.p2.7.m7.2.3.3.2.2" xref="S3.SS2.p2.7.m7.2.3.3.2.2.cmml"><mi id="S3.SS2.p2.7.m7.2.3.3.2.2.2" xref="S3.SS2.p2.7.m7.2.3.3.2.2.2.cmml">I</mi><mi id="S3.SS2.p2.7.m7.2.3.3.2.2.3" xref="S3.SS2.p2.7.m7.2.3.3.2.2.3.cmml">k</mi></msub><mo id="S3.SS2.p2.7.m7.2.3.3.2.1" lspace="0.222em" rspace="0.222em" xref="S3.SS2.p2.7.m7.2.3.3.2.1.cmml">×</mo><msub id="S3.SS2.p2.7.m7.2.3.3.2.3" xref="S3.SS2.p2.7.m7.2.3.3.2.3.cmml"><mi id="S3.SS2.p2.7.m7.2.3.3.2.3.2" xref="S3.SS2.p2.7.m7.2.3.3.2.3.2.cmml">I</mi><mi id="S3.SS2.p2.7.m7.2.3.3.2.3.3" xref="S3.SS2.p2.7.m7.2.3.3.2.3.3.cmml">k</mi></msub></mrow><mo id="S3.SS2.p2.7.m7.2.3.3.1" stretchy="false" xref="S3.SS2.p2.7.m7.2.3.3.1.cmml">→</mo><mrow id="S3.SS2.p2.7.m7.2.3.3.3.2" xref="S3.SS2.p2.7.m7.2.3.3.3.1.cmml"><mo id="S3.SS2.p2.7.m7.2.3.3.3.2.1" stretchy="false" xref="S3.SS2.p2.7.m7.2.3.3.3.1.cmml">{</mo><mn id="S3.SS2.p2.7.m7.1.1" xref="S3.SS2.p2.7.m7.1.1.cmml">0</mn><mo id="S3.SS2.p2.7.m7.2.3.3.3.2.2" xref="S3.SS2.p2.7.m7.2.3.3.3.1.cmml">,</mo><mn id="S3.SS2.p2.7.m7.2.2" xref="S3.SS2.p2.7.m7.2.2.cmml">1</mn><mo id="S3.SS2.p2.7.m7.2.3.3.3.2.3" stretchy="false" xref="S3.SS2.p2.7.m7.2.3.3.3.1.cmml">}</mo></mrow></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.SS2.p2.7.m7.2b"><apply id="S3.SS2.p2.7.m7.2.3.cmml" xref="S3.SS2.p2.7.m7.2.3"><ci id="S3.SS2.p2.7.m7.2.3.1.cmml" xref="S3.SS2.p2.7.m7.2.3.1">:</ci><apply id="S3.SS2.p2.7.m7.2.3.2.cmml" xref="S3.SS2.p2.7.m7.2.3.2"><csymbol cd="ambiguous" id="S3.SS2.p2.7.m7.2.3.2.1.cmml" xref="S3.SS2.p2.7.m7.2.3.2">subscript</csymbol><apply id="S3.SS2.p2.7.m7.2.3.2.2.cmml" xref="S3.SS2.p2.7.m7.2.3.2"><csymbol cd="ambiguous" id="S3.SS2.p2.7.m7.2.3.2.2.1.cmml" xref="S3.SS2.p2.7.m7.2.3.2">superscript</csymbol><ci id="S3.SS2.p2.7.m7.2.3.2.2.2.cmml" xref="S3.SS2.p2.7.m7.2.3.2.2.2">𝑓</ci><ci id="S3.SS2.p2.7.m7.2.3.2.2.3.cmml" xref="S3.SS2.p2.7.m7.2.3.2.2.3">𝑘</ci></apply><apply id="S3.SS2.p2.7.m7.2.3.2.3.cmml" xref="S3.SS2.p2.7.m7.2.3.2.3"><times id="S3.SS2.p2.7.m7.2.3.2.3.1.cmml" xref="S3.SS2.p2.7.m7.2.3.2.3.1"></times><ci id="S3.SS2.p2.7.m7.2.3.2.3.2.cmml" xref="S3.SS2.p2.7.m7.2.3.2.3.2">𝑁</ci><ci id="S3.SS2.p2.7.m7.2.3.2.3.3.cmml" xref="S3.SS2.p2.7.m7.2.3.2.3.3">𝑁</ci></apply></apply><apply id="S3.SS2.p2.7.m7.2.3.3.cmml" xref="S3.SS2.p2.7.m7.2.3.3"><ci id="S3.SS2.p2.7.m7.2.3.3.1.cmml" xref="S3.SS2.p2.7.m7.2.3.3.1">→</ci><apply id="S3.SS2.p2.7.m7.2.3.3.2.cmml" xref="S3.SS2.p2.7.m7.2.3.3.2"><times id="S3.SS2.p2.7.m7.2.3.3.2.1.cmml" xref="S3.SS2.p2.7.m7.2.3.3.2.1"></times><apply id="S3.SS2.p2.7.m7.2.3.3.2.2.cmml" xref="S3.SS2.p2.7.m7.2.3.3.2.2"><csymbol cd="ambiguous" id="S3.SS2.p2.7.m7.2.3.3.2.2.1.cmml" xref="S3.SS2.p2.7.m7.2.3.3.2.2">subscript</csymbol><ci id="S3.SS2.p2.7.m7.2.3.3.2.2.2.cmml" xref="S3.SS2.p2.7.m7.2.3.3.2.2.2">𝐼</ci><ci id="S3.SS2.p2.7.m7.2.3.3.2.2.3.cmml" xref="S3.SS2.p2.7.m7.2.3.3.2.2.3">𝑘</ci></apply><apply id="S3.SS2.p2.7.m7.2.3.3.2.3.cmml" xref="S3.SS2.p2.7.m7.2.3.3.2.3"><csymbol cd="ambiguous" id="S3.SS2.p2.7.m7.2.3.3.2.3.1.cmml" xref="S3.SS2.p2.7.m7.2.3.3.2.3">subscript</csymbol><ci id="S3.SS2.p2.7.m7.2.3.3.2.3.2.cmml" xref="S3.SS2.p2.7.m7.2.3.3.2.3.2">𝐼</ci><ci id="S3.SS2.p2.7.m7.2.3.3.2.3.3.cmml" xref="S3.SS2.p2.7.m7.2.3.3.2.3.3">𝑘</ci></apply></apply><set id="S3.SS2.p2.7.m7.2.3.3.3.1.cmml" xref="S3.SS2.p2.7.m7.2.3.3.3.2"><cn id="S3.SS2.p2.7.m7.1.1.cmml" type="integer" xref="S3.SS2.p2.7.m7.1.1">0</cn><cn id="S3.SS2.p2.7.m7.2.2.cmml" type="integer" xref="S3.SS2.p2.7.m7.2.2">1</cn></set></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p2.7.m7.2c">f^{k}_{NN}:I_{k}\times I_{k}\rightarrow\{0,1\}</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p2.7.m7.2d">italic_f start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_N italic_N end_POSTSUBSCRIPT : italic_I start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT × italic_I start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT → { 0 , 1 }</annotation></semantics></math>. For the monitor over final output actions, the neural network is modified to take as input two actions, <math alttext="f^{K}_{NN}:\mathcal{Y}\times\mathcal{Y}\rightarrow\{0,1\}" class="ltx_Math" display="inline" id="S3.SS2.p2.8.m8.2"><semantics id="S3.SS2.p2.8.m8.2a"><mrow id="S3.SS2.p2.8.m8.2.3" xref="S3.SS2.p2.8.m8.2.3.cmml"><msubsup id="S3.SS2.p2.8.m8.2.3.2" xref="S3.SS2.p2.8.m8.2.3.2.cmml"><mi id="S3.SS2.p2.8.m8.2.3.2.2.2" xref="S3.SS2.p2.8.m8.2.3.2.2.2.cmml">f</mi><mrow id="S3.SS2.p2.8.m8.2.3.2.3" xref="S3.SS2.p2.8.m8.2.3.2.3.cmml"><mi id="S3.SS2.p2.8.m8.2.3.2.3.2" xref="S3.SS2.p2.8.m8.2.3.2.3.2.cmml">N</mi><mo id="S3.SS2.p2.8.m8.2.3.2.3.1" xref="S3.SS2.p2.8.m8.2.3.2.3.1.cmml"></mo><mi id="S3.SS2.p2.8.m8.2.3.2.3.3" xref="S3.SS2.p2.8.m8.2.3.2.3.3.cmml">N</mi></mrow><mi id="S3.SS2.p2.8.m8.2.3.2.2.3" xref="S3.SS2.p2.8.m8.2.3.2.2.3.cmml">K</mi></msubsup><mo id="S3.SS2.p2.8.m8.2.3.1" lspace="0.278em" rspace="0.278em" xref="S3.SS2.p2.8.m8.2.3.1.cmml">:</mo><mrow id="S3.SS2.p2.8.m8.2.3.3" xref="S3.SS2.p2.8.m8.2.3.3.cmml"><mrow id="S3.SS2.p2.8.m8.2.3.3.2" xref="S3.SS2.p2.8.m8.2.3.3.2.cmml"><mi class="ltx_font_mathcaligraphic" id="S3.SS2.p2.8.m8.2.3.3.2.2" xref="S3.SS2.p2.8.m8.2.3.3.2.2.cmml">𝒴</mi><mo id="S3.SS2.p2.8.m8.2.3.3.2.1" lspace="0.222em" rspace="0.222em" xref="S3.SS2.p2.8.m8.2.3.3.2.1.cmml">×</mo><mi class="ltx_font_mathcaligraphic" id="S3.SS2.p2.8.m8.2.3.3.2.3" xref="S3.SS2.p2.8.m8.2.3.3.2.3.cmml">𝒴</mi></mrow><mo id="S3.SS2.p2.8.m8.2.3.3.1" stretchy="false" xref="S3.SS2.p2.8.m8.2.3.3.1.cmml">→</mo><mrow id="S3.SS2.p2.8.m8.2.3.3.3.2" xref="S3.SS2.p2.8.m8.2.3.3.3.1.cmml"><mo id="S3.SS2.p2.8.m8.2.3.3.3.2.1" stretchy="false" xref="S3.SS2.p2.8.m8.2.3.3.3.1.cmml">{</mo><mn id="S3.SS2.p2.8.m8.1.1" xref="S3.SS2.p2.8.m8.1.1.cmml">0</mn><mo id="S3.SS2.p2.8.m8.2.3.3.3.2.2" xref="S3.SS2.p2.8.m8.2.3.3.3.1.cmml">,</mo><mn id="S3.SS2.p2.8.m8.2.2" xref="S3.SS2.p2.8.m8.2.2.cmml">1</mn><mo id="S3.SS2.p2.8.m8.2.3.3.3.2.3" stretchy="false" xref="S3.SS2.p2.8.m8.2.3.3.3.1.cmml">}</mo></mrow></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.SS2.p2.8.m8.2b"><apply id="S3.SS2.p2.8.m8.2.3.cmml" xref="S3.SS2.p2.8.m8.2.3"><ci id="S3.SS2.p2.8.m8.2.3.1.cmml" xref="S3.SS2.p2.8.m8.2.3.1">:</ci><apply id="S3.SS2.p2.8.m8.2.3.2.cmml" xref="S3.SS2.p2.8.m8.2.3.2"><csymbol cd="ambiguous" id="S3.SS2.p2.8.m8.2.3.2.1.cmml" xref="S3.SS2.p2.8.m8.2.3.2">subscript</csymbol><apply id="S3.SS2.p2.8.m8.2.3.2.2.cmml" xref="S3.SS2.p2.8.m8.2.3.2"><csymbol cd="ambiguous" id="S3.SS2.p2.8.m8.2.3.2.2.1.cmml" xref="S3.SS2.p2.8.m8.2.3.2">superscript</csymbol><ci id="S3.SS2.p2.8.m8.2.3.2.2.2.cmml" xref="S3.SS2.p2.8.m8.2.3.2.2.2">𝑓</ci><ci id="S3.SS2.p2.8.m8.2.3.2.2.3.cmml" xref="S3.SS2.p2.8.m8.2.3.2.2.3">𝐾</ci></apply><apply id="S3.SS2.p2.8.m8.2.3.2.3.cmml" xref="S3.SS2.p2.8.m8.2.3.2.3"><times id="S3.SS2.p2.8.m8.2.3.2.3.1.cmml" xref="S3.SS2.p2.8.m8.2.3.2.3.1"></times><ci id="S3.SS2.p2.8.m8.2.3.2.3.2.cmml" xref="S3.SS2.p2.8.m8.2.3.2.3.2">𝑁</ci><ci id="S3.SS2.p2.8.m8.2.3.2.3.3.cmml" xref="S3.SS2.p2.8.m8.2.3.2.3.3">𝑁</ci></apply></apply><apply id="S3.SS2.p2.8.m8.2.3.3.cmml" xref="S3.SS2.p2.8.m8.2.3.3"><ci id="S3.SS2.p2.8.m8.2.3.3.1.cmml" xref="S3.SS2.p2.8.m8.2.3.3.1">→</ci><apply id="S3.SS2.p2.8.m8.2.3.3.2.cmml" xref="S3.SS2.p2.8.m8.2.3.3.2"><times id="S3.SS2.p2.8.m8.2.3.3.2.1.cmml" xref="S3.SS2.p2.8.m8.2.3.3.2.1"></times><ci id="S3.SS2.p2.8.m8.2.3.3.2.2.cmml" xref="S3.SS2.p2.8.m8.2.3.3.2.2">𝒴</ci><ci id="S3.SS2.p2.8.m8.2.3.3.2.3.cmml" xref="S3.SS2.p2.8.m8.2.3.3.2.3">𝒴</ci></apply><set id="S3.SS2.p2.8.m8.2.3.3.3.1.cmml" xref="S3.SS2.p2.8.m8.2.3.3.3.2"><cn id="S3.SS2.p2.8.m8.1.1.cmml" type="integer" xref="S3.SS2.p2.8.m8.1.1">0</cn><cn id="S3.SS2.p2.8.m8.2.2.cmml" type="integer" xref="S3.SS2.p2.8.m8.2.2">1</cn></set></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p2.8.m8.2c">f^{K}_{NN}:\mathcal{Y}\times\mathcal{Y}\rightarrow\{0,1\}</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p2.8.m8.2d">italic_f start_POSTSUPERSCRIPT italic_K end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_N italic_N end_POSTSUBSCRIPT : caligraphic_Y × caligraphic_Y → { 0 , 1 }</annotation></semantics></math>. Note that our method is agnostic to the specific choice of model architecture (but for details about the model architectures that we used in our experiments, refer to the Appendix.</p> </div> <div class="ltx_para" id="S3.SS2.p3"> <p class="ltx_p" id="S3.SS2.p3.6">To design the test functions, let us first define the indicator variables</p> <table class="ltx_equation ltx_eqn_table" id="S3.Ex8"> <tbody><tr class="ltx_equation ltx_eqn_row ltx_align_baseline"> <td class="ltx_eqn_cell ltx_eqn_center_padleft"></td> <td class="ltx_eqn_cell ltx_align_center"><math alttext="Z^{k}(j)=\begin{cases}1\hskip 14.22636pt\text{if }f^{k}_{NN}\text{ predicts % correctly for test example }j\\ 0\hskip 14.22636pt\text{otherwise}.\end{cases}" class="ltx_Math" display="block" id="S3.Ex8.m1.3"><semantics id="S3.Ex8.m1.3a"><mrow id="S3.Ex8.m1.3.4" xref="S3.Ex8.m1.3.4.cmml"><mrow id="S3.Ex8.m1.3.4.2" xref="S3.Ex8.m1.3.4.2.cmml"><msup id="S3.Ex8.m1.3.4.2.2" xref="S3.Ex8.m1.3.4.2.2.cmml"><mi id="S3.Ex8.m1.3.4.2.2.2" xref="S3.Ex8.m1.3.4.2.2.2.cmml">Z</mi><mi id="S3.Ex8.m1.3.4.2.2.3" xref="S3.Ex8.m1.3.4.2.2.3.cmml">k</mi></msup><mo id="S3.Ex8.m1.3.4.2.1" xref="S3.Ex8.m1.3.4.2.1.cmml"></mo><mrow id="S3.Ex8.m1.3.4.2.3.2" xref="S3.Ex8.m1.3.4.2.cmml"><mo id="S3.Ex8.m1.3.4.2.3.2.1" stretchy="false" xref="S3.Ex8.m1.3.4.2.cmml">(</mo><mi id="S3.Ex8.m1.3.3" xref="S3.Ex8.m1.3.3.cmml">j</mi><mo id="S3.Ex8.m1.3.4.2.3.2.2" stretchy="false" xref="S3.Ex8.m1.3.4.2.cmml">)</mo></mrow></mrow><mo id="S3.Ex8.m1.3.4.1" xref="S3.Ex8.m1.3.4.1.cmml">=</mo><mrow id="S3.Ex8.m1.2.2" xref="S3.Ex8.m1.3.4.3.1.cmml"><mo id="S3.Ex8.m1.2.2.3" xref="S3.Ex8.m1.3.4.3.1.1.cmml">{</mo><mtable columnspacing="5pt" displaystyle="true" id="S3.Ex8.m1.2.2.2" rowspacing="0pt" xref="S3.Ex8.m1.3.4.3.1.cmml"><mtr id="S3.Ex8.m1.2.2.2a" xref="S3.Ex8.m1.3.4.3.1.cmml"><mtd class="ltx_align_left" columnalign="left" id="S3.Ex8.m1.2.2.2b" xref="S3.Ex8.m1.3.4.3.1.cmml"><mrow id="S3.Ex8.m1.1.1.1.1.1.1.2" xref="S3.Ex8.m1.1.1.1.1.1.1.3.cmml"><mn id="S3.Ex8.m1.1.1.1.1.1.1.1" xref="S3.Ex8.m1.1.1.1.1.1.1.1.cmml">1</mn><mspace id="S3.Ex8.m1.1.1.1.1.1.1.2.2" width="1.42em" xref="S3.Ex8.m1.1.1.1.1.1.1.3.cmml"></mspace><mrow id="S3.Ex8.m1.1.1.1.1.1.1.2.1" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.cmml"><mtext id="S3.Ex8.m1.1.1.1.1.1.1.2.1.2" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.2a.cmml">if </mtext><mo id="S3.Ex8.m1.1.1.1.1.1.1.2.1.1" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.1.cmml"></mo><msubsup id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.cmml"><mi id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.2.2" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.2.2.cmml">f</mi><mrow id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3.cmml"><mi id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3.2" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3.2.cmml">N</mi><mo id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3.1" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3.1.cmml"></mo><mi id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3.3" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3.3.cmml">N</mi></mrow><mi id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.2.3" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.2.3.cmml">k</mi></msubsup><mo id="S3.Ex8.m1.1.1.1.1.1.1.2.1.1a" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.1.cmml"></mo><mtext id="S3.Ex8.m1.1.1.1.1.1.1.2.1.4" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.4a.cmml"> predicts correctly for test example </mtext><mo id="S3.Ex8.m1.1.1.1.1.1.1.2.1.1b" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.1.cmml"></mo><mi id="S3.Ex8.m1.1.1.1.1.1.1.2.1.5" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.5.cmml">j</mi></mrow></mrow></mtd><mtd id="S3.Ex8.m1.2.2.2c" xref="S3.Ex8.m1.3.4.3.1.1.cmml"></mtd></mtr><mtr id="S3.Ex8.m1.2.2.2d" xref="S3.Ex8.m1.3.4.3.1.cmml"><mtd class="ltx_align_left" columnalign="left" id="S3.Ex8.m1.2.2.2e" xref="S3.Ex8.m1.3.4.3.1.cmml"><mrow id="S3.Ex8.m1.2.2.2.2.1.1.3" xref="S3.Ex8.m1.3.4.3.1.cmml"><mrow id="S3.Ex8.m1.2.2.2.2.1.1.3.1.2" xref="S3.Ex8.m1.2.2.2.2.1.1.3.1.1.cmml"><mn id="S3.Ex8.m1.2.2.2.2.1.1.1" xref="S3.Ex8.m1.2.2.2.2.1.1.1.cmml">0</mn><mspace id="S3.Ex8.m1.2.2.2.2.1.1.3.1.2.1" width="1.42em" xref="S3.Ex8.m1.2.2.2.2.1.1.3.1.1.cmml"></mspace><mtext id="S3.Ex8.m1.2.2.2.2.1.1.2" xref="S3.Ex8.m1.2.2.2.2.1.1.2a.cmml">otherwise</mtext></mrow><mo id="S3.Ex8.m1.2.2.2.2.1.1.3.2" lspace="0em" xref="S3.Ex8.m1.3.4.3.1.cmml">.</mo></mrow></mtd><mtd id="S3.Ex8.m1.2.2.2f" xref="S3.Ex8.m1.3.4.3.1.1.cmml"></mtd></mtr></mtable></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.Ex8.m1.3b"><apply id="S3.Ex8.m1.3.4.cmml" xref="S3.Ex8.m1.3.4"><eq id="S3.Ex8.m1.3.4.1.cmml" xref="S3.Ex8.m1.3.4.1"></eq><apply id="S3.Ex8.m1.3.4.2.cmml" xref="S3.Ex8.m1.3.4.2"><times id="S3.Ex8.m1.3.4.2.1.cmml" xref="S3.Ex8.m1.3.4.2.1"></times><apply id="S3.Ex8.m1.3.4.2.2.cmml" xref="S3.Ex8.m1.3.4.2.2"><csymbol cd="ambiguous" id="S3.Ex8.m1.3.4.2.2.1.cmml" xref="S3.Ex8.m1.3.4.2.2">superscript</csymbol><ci id="S3.Ex8.m1.3.4.2.2.2.cmml" xref="S3.Ex8.m1.3.4.2.2.2">𝑍</ci><ci id="S3.Ex8.m1.3.4.2.2.3.cmml" xref="S3.Ex8.m1.3.4.2.2.3">𝑘</ci></apply><ci id="S3.Ex8.m1.3.3.cmml" xref="S3.Ex8.m1.3.3">𝑗</ci></apply><apply id="S3.Ex8.m1.3.4.3.1.cmml" xref="S3.Ex8.m1.2.2"><csymbol cd="latexml" id="S3.Ex8.m1.3.4.3.1.1.cmml" xref="S3.Ex8.m1.2.2.3">cases</csymbol><list id="S3.Ex8.m1.1.1.1.1.1.1.3.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2"><cn id="S3.Ex8.m1.1.1.1.1.1.1.1.cmml" type="integer" xref="S3.Ex8.m1.1.1.1.1.1.1.1">1</cn><apply id="S3.Ex8.m1.1.1.1.1.1.1.2.1.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1"><times id="S3.Ex8.m1.1.1.1.1.1.1.2.1.1.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.1"></times><ci id="S3.Ex8.m1.1.1.1.1.1.1.2.1.2a.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.2"><mtext id="S3.Ex8.m1.1.1.1.1.1.1.2.1.2.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.2">if </mtext></ci><apply id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3"><csymbol cd="ambiguous" id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.1.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3">subscript</csymbol><apply id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.2.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3"><csymbol cd="ambiguous" id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.2.1.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3">superscript</csymbol><ci id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.2.2.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.2.2">𝑓</ci><ci id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.2.3.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.2.3">𝑘</ci></apply><apply id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3"><times id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3.1.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3.1"></times><ci id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3.2.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3.2">𝑁</ci><ci id="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3.3.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.3.3.3">𝑁</ci></apply></apply><ci id="S3.Ex8.m1.1.1.1.1.1.1.2.1.4a.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.4"><mtext id="S3.Ex8.m1.1.1.1.1.1.1.2.1.4.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.4"> predicts correctly for test example </mtext></ci><ci id="S3.Ex8.m1.1.1.1.1.1.1.2.1.5.cmml" xref="S3.Ex8.m1.1.1.1.1.1.1.2.1.5">𝑗</ci></apply></list><ci id="S3.Ex8.m1.3.4.3.1.3a.cmml" xref="S3.Ex8.m1.2.2"><mtext class="ltx_mathvariant_italic" id="S3.Ex8.m1.3.4.3.1.3.cmml" xref="S3.Ex8.m1.2.2.3">otherwise</mtext></ci><list id="S3.Ex8.m1.2.2.2.2.1.1.3.1.1.cmml" xref="S3.Ex8.m1.2.2.2.2.1.1.3.1.2"><cn id="S3.Ex8.m1.2.2.2.2.1.1.1.cmml" type="integer" xref="S3.Ex8.m1.2.2.2.2.1.1.1">0</cn><ci id="S3.Ex8.m1.2.2.2.2.1.1.2a.cmml" xref="S3.Ex8.m1.2.2.2.2.1.1.2"><mtext id="S3.Ex8.m1.2.2.2.2.1.1.2.cmml" xref="S3.Ex8.m1.2.2.2.2.1.1.2">otherwise</mtext></ci></list><ci id="S3.Ex8.m1.3.4.3.1.5a.cmml" xref="S3.Ex8.m1.2.2"><mtext class="ltx_mathvariant_italic" id="S3.Ex8.m1.3.4.3.1.5.cmml" xref="S3.Ex8.m1.2.2.3">otherwise</mtext></ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.Ex8.m1.3c">Z^{k}(j)=\begin{cases}1\hskip 14.22636pt\text{if }f^{k}_{NN}\text{ predicts % correctly for test example }j\\ 0\hskip 14.22636pt\text{otherwise}.\end{cases}</annotation><annotation encoding="application/x-llamapun" id="S3.Ex8.m1.3d">italic_Z start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT ( italic_j ) = { start_ROW start_CELL 1 if italic_f start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_N italic_N end_POSTSUBSCRIPT predicts correctly for test example italic_j end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL 0 otherwise . end_CELL start_CELL end_CELL end_ROW</annotation></semantics></math></td> <td class="ltx_eqn_cell ltx_eqn_center_padright"></td> </tr></tbody> </table> <p class="ltx_p" id="S3.SS2.p3.7">Then let us define the martingales</p> <table class="ltx_equation ltx_eqn_table" id="S3.Ex9"> <tbody><tr class="ltx_equation ltx_eqn_row ltx_align_baseline"> <td class="ltx_eqn_cell ltx_eqn_center_padleft"></td> <td class="ltx_eqn_cell ltx_align_center"><math alttext="M^{k}_{n}=\frac{(e^{t\cdot S^{k}_{n}})}{((q+pe^{t})^{n})}," class="ltx_Math" display="block" id="S3.Ex9.m1.3"><semantics id="S3.Ex9.m1.3a"><mrow id="S3.Ex9.m1.3.3.1" xref="S3.Ex9.m1.3.3.1.1.cmml"><mrow id="S3.Ex9.m1.3.3.1.1" xref="S3.Ex9.m1.3.3.1.1.cmml"><msubsup id="S3.Ex9.m1.3.3.1.1.2" xref="S3.Ex9.m1.3.3.1.1.2.cmml"><mi id="S3.Ex9.m1.3.3.1.1.2.2.2" xref="S3.Ex9.m1.3.3.1.1.2.2.2.cmml">M</mi><mi id="S3.Ex9.m1.3.3.1.1.2.3" xref="S3.Ex9.m1.3.3.1.1.2.3.cmml">n</mi><mi id="S3.Ex9.m1.3.3.1.1.2.2.3" xref="S3.Ex9.m1.3.3.1.1.2.2.3.cmml">k</mi></msubsup><mo id="S3.Ex9.m1.3.3.1.1.1" xref="S3.Ex9.m1.3.3.1.1.1.cmml">=</mo><mfrac id="S3.Ex9.m1.2.2" xref="S3.Ex9.m1.2.2.cmml"><mrow id="S3.Ex9.m1.1.1.1.1" xref="S3.Ex9.m1.1.1.1.1.1.cmml"><mo id="S3.Ex9.m1.1.1.1.1.2" stretchy="false" xref="S3.Ex9.m1.1.1.1.1.1.cmml">(</mo><msup id="S3.Ex9.m1.1.1.1.1.1" xref="S3.Ex9.m1.1.1.1.1.1.cmml"><mi id="S3.Ex9.m1.1.1.1.1.1.2" xref="S3.Ex9.m1.1.1.1.1.1.2.cmml">e</mi><mrow id="S3.Ex9.m1.1.1.1.1.1.3" xref="S3.Ex9.m1.1.1.1.1.1.3.cmml"><mi id="S3.Ex9.m1.1.1.1.1.1.3.2" xref="S3.Ex9.m1.1.1.1.1.1.3.2.cmml">t</mi><mo id="S3.Ex9.m1.1.1.1.1.1.3.1" lspace="0.222em" rspace="0.222em" xref="S3.Ex9.m1.1.1.1.1.1.3.1.cmml">⋅</mo><msubsup id="S3.Ex9.m1.1.1.1.1.1.3.3" xref="S3.Ex9.m1.1.1.1.1.1.3.3.cmml"><mi id="S3.Ex9.m1.1.1.1.1.1.3.3.2.2" xref="S3.Ex9.m1.1.1.1.1.1.3.3.2.2.cmml">S</mi><mi id="S3.Ex9.m1.1.1.1.1.1.3.3.3" xref="S3.Ex9.m1.1.1.1.1.1.3.3.3.cmml">n</mi><mi id="S3.Ex9.m1.1.1.1.1.1.3.3.2.3" xref="S3.Ex9.m1.1.1.1.1.1.3.3.2.3.cmml">k</mi></msubsup></mrow></msup><mo id="S3.Ex9.m1.1.1.1.1.3" stretchy="false" xref="S3.Ex9.m1.1.1.1.1.1.cmml">)</mo></mrow><mrow id="S3.Ex9.m1.2.2.2.1" xref="S3.Ex9.m1.2.2.2.1.1.cmml"><mo id="S3.Ex9.m1.2.2.2.1.2" stretchy="false" xref="S3.Ex9.m1.2.2.2.1.1.cmml">(</mo><msup id="S3.Ex9.m1.2.2.2.1.1" xref="S3.Ex9.m1.2.2.2.1.1.cmml"><mrow id="S3.Ex9.m1.2.2.2.1.1.1.1" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.cmml"><mo id="S3.Ex9.m1.2.2.2.1.1.1.1.2" stretchy="false" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.cmml">(</mo><mrow id="S3.Ex9.m1.2.2.2.1.1.1.1.1" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.cmml"><mi id="S3.Ex9.m1.2.2.2.1.1.1.1.1.2" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.2.cmml">q</mi><mo id="S3.Ex9.m1.2.2.2.1.1.1.1.1.1" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.1.cmml">+</mo><mrow id="S3.Ex9.m1.2.2.2.1.1.1.1.1.3" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.cmml"><mi id="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.2" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.2.cmml">p</mi><mo id="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.1" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.1.cmml"></mo><msup id="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.3" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.3.cmml"><mi id="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.3.2" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.3.2.cmml">e</mi><mi id="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.3.3" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.3.3.cmml">t</mi></msup></mrow></mrow><mo id="S3.Ex9.m1.2.2.2.1.1.1.1.3" stretchy="false" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.cmml">)</mo></mrow><mi id="S3.Ex9.m1.2.2.2.1.1.3" xref="S3.Ex9.m1.2.2.2.1.1.3.cmml">n</mi></msup><mo id="S3.Ex9.m1.2.2.2.1.3" stretchy="false" xref="S3.Ex9.m1.2.2.2.1.1.cmml">)</mo></mrow></mfrac></mrow><mo id="S3.Ex9.m1.3.3.1.2" xref="S3.Ex9.m1.3.3.1.1.cmml">,</mo></mrow><annotation-xml encoding="MathML-Content" id="S3.Ex9.m1.3b"><apply id="S3.Ex9.m1.3.3.1.1.cmml" xref="S3.Ex9.m1.3.3.1"><eq id="S3.Ex9.m1.3.3.1.1.1.cmml" xref="S3.Ex9.m1.3.3.1.1.1"></eq><apply id="S3.Ex9.m1.3.3.1.1.2.cmml" xref="S3.Ex9.m1.3.3.1.1.2"><csymbol cd="ambiguous" id="S3.Ex9.m1.3.3.1.1.2.1.cmml" xref="S3.Ex9.m1.3.3.1.1.2">subscript</csymbol><apply id="S3.Ex9.m1.3.3.1.1.2.2.cmml" xref="S3.Ex9.m1.3.3.1.1.2"><csymbol cd="ambiguous" id="S3.Ex9.m1.3.3.1.1.2.2.1.cmml" xref="S3.Ex9.m1.3.3.1.1.2">superscript</csymbol><ci id="S3.Ex9.m1.3.3.1.1.2.2.2.cmml" xref="S3.Ex9.m1.3.3.1.1.2.2.2">𝑀</ci><ci id="S3.Ex9.m1.3.3.1.1.2.2.3.cmml" xref="S3.Ex9.m1.3.3.1.1.2.2.3">𝑘</ci></apply><ci id="S3.Ex9.m1.3.3.1.1.2.3.cmml" xref="S3.Ex9.m1.3.3.1.1.2.3">𝑛</ci></apply><apply id="S3.Ex9.m1.2.2.cmml" xref="S3.Ex9.m1.2.2"><divide id="S3.Ex9.m1.2.2.3.cmml" xref="S3.Ex9.m1.2.2"></divide><apply id="S3.Ex9.m1.1.1.1.1.1.cmml" xref="S3.Ex9.m1.1.1.1.1"><csymbol cd="ambiguous" id="S3.Ex9.m1.1.1.1.1.1.1.cmml" xref="S3.Ex9.m1.1.1.1.1">superscript</csymbol><ci id="S3.Ex9.m1.1.1.1.1.1.2.cmml" xref="S3.Ex9.m1.1.1.1.1.1.2">𝑒</ci><apply id="S3.Ex9.m1.1.1.1.1.1.3.cmml" xref="S3.Ex9.m1.1.1.1.1.1.3"><ci id="S3.Ex9.m1.1.1.1.1.1.3.1.cmml" xref="S3.Ex9.m1.1.1.1.1.1.3.1">⋅</ci><ci id="S3.Ex9.m1.1.1.1.1.1.3.2.cmml" xref="S3.Ex9.m1.1.1.1.1.1.3.2">𝑡</ci><apply id="S3.Ex9.m1.1.1.1.1.1.3.3.cmml" xref="S3.Ex9.m1.1.1.1.1.1.3.3"><csymbol cd="ambiguous" id="S3.Ex9.m1.1.1.1.1.1.3.3.1.cmml" xref="S3.Ex9.m1.1.1.1.1.1.3.3">subscript</csymbol><apply id="S3.Ex9.m1.1.1.1.1.1.3.3.2.cmml" xref="S3.Ex9.m1.1.1.1.1.1.3.3"><csymbol cd="ambiguous" id="S3.Ex9.m1.1.1.1.1.1.3.3.2.1.cmml" xref="S3.Ex9.m1.1.1.1.1.1.3.3">superscript</csymbol><ci id="S3.Ex9.m1.1.1.1.1.1.3.3.2.2.cmml" xref="S3.Ex9.m1.1.1.1.1.1.3.3.2.2">𝑆</ci><ci id="S3.Ex9.m1.1.1.1.1.1.3.3.2.3.cmml" xref="S3.Ex9.m1.1.1.1.1.1.3.3.2.3">𝑘</ci></apply><ci id="S3.Ex9.m1.1.1.1.1.1.3.3.3.cmml" xref="S3.Ex9.m1.1.1.1.1.1.3.3.3">𝑛</ci></apply></apply></apply><apply id="S3.Ex9.m1.2.2.2.1.1.cmml" xref="S3.Ex9.m1.2.2.2.1"><csymbol cd="ambiguous" id="S3.Ex9.m1.2.2.2.1.1.2.cmml" xref="S3.Ex9.m1.2.2.2.1">superscript</csymbol><apply id="S3.Ex9.m1.2.2.2.1.1.1.1.1.cmml" xref="S3.Ex9.m1.2.2.2.1.1.1.1"><plus id="S3.Ex9.m1.2.2.2.1.1.1.1.1.1.cmml" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.1"></plus><ci id="S3.Ex9.m1.2.2.2.1.1.1.1.1.2.cmml" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.2">𝑞</ci><apply id="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.cmml" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.3"><times id="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.1.cmml" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.1"></times><ci id="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.2.cmml" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.2">𝑝</ci><apply id="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.3.cmml" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.3"><csymbol cd="ambiguous" id="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.3.1.cmml" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.3">superscript</csymbol><ci id="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.3.2.cmml" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.3.2">𝑒</ci><ci id="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.3.3.cmml" xref="S3.Ex9.m1.2.2.2.1.1.1.1.1.3.3.3">𝑡</ci></apply></apply></apply><ci id="S3.Ex9.m1.2.2.2.1.1.3.cmml" xref="S3.Ex9.m1.2.2.2.1.1.3">𝑛</ci></apply></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.Ex9.m1.3c">M^{k}_{n}=\frac{(e^{t\cdot S^{k}_{n}})}{((q+pe^{t})^{n})},</annotation><annotation encoding="application/x-llamapun" id="S3.Ex9.m1.3d">italic_M start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT = divide start_ARG ( italic_e start_POSTSUPERSCRIPT italic_t ⋅ italic_S start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ) end_ARG start_ARG ( ( italic_q + italic_p italic_e start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT ) end_ARG ,</annotation></semantics></math></td> <td class="ltx_eqn_cell ltx_eqn_center_padright"></td> </tr></tbody> </table> <p class="ltx_p" id="S3.SS2.p3.3">where <math alttext="S^{k}_{n}=\sum_{j=1}^{n}Z^{k}(j)" class="ltx_Math" display="inline" id="S3.SS2.p3.1.m1.1"><semantics id="S3.SS2.p3.1.m1.1a"><mrow id="S3.SS2.p3.1.m1.1.2" xref="S3.SS2.p3.1.m1.1.2.cmml"><msubsup id="S3.SS2.p3.1.m1.1.2.2" xref="S3.SS2.p3.1.m1.1.2.2.cmml"><mi id="S3.SS2.p3.1.m1.1.2.2.2.2" xref="S3.SS2.p3.1.m1.1.2.2.2.2.cmml">S</mi><mi id="S3.SS2.p3.1.m1.1.2.2.3" xref="S3.SS2.p3.1.m1.1.2.2.3.cmml">n</mi><mi id="S3.SS2.p3.1.m1.1.2.2.2.3" xref="S3.SS2.p3.1.m1.1.2.2.2.3.cmml">k</mi></msubsup><mo id="S3.SS2.p3.1.m1.1.2.1" rspace="0.111em" xref="S3.SS2.p3.1.m1.1.2.1.cmml">=</mo><mrow id="S3.SS2.p3.1.m1.1.2.3" xref="S3.SS2.p3.1.m1.1.2.3.cmml"><msubsup id="S3.SS2.p3.1.m1.1.2.3.1" xref="S3.SS2.p3.1.m1.1.2.3.1.cmml"><mo id="S3.SS2.p3.1.m1.1.2.3.1.2.2" xref="S3.SS2.p3.1.m1.1.2.3.1.2.2.cmml">∑</mo><mrow id="S3.SS2.p3.1.m1.1.2.3.1.2.3" xref="S3.SS2.p3.1.m1.1.2.3.1.2.3.cmml"><mi id="S3.SS2.p3.1.m1.1.2.3.1.2.3.2" xref="S3.SS2.p3.1.m1.1.2.3.1.2.3.2.cmml">j</mi><mo id="S3.SS2.p3.1.m1.1.2.3.1.2.3.1" xref="S3.SS2.p3.1.m1.1.2.3.1.2.3.1.cmml">=</mo><mn id="S3.SS2.p3.1.m1.1.2.3.1.2.3.3" xref="S3.SS2.p3.1.m1.1.2.3.1.2.3.3.cmml">1</mn></mrow><mi id="S3.SS2.p3.1.m1.1.2.3.1.3" xref="S3.SS2.p3.1.m1.1.2.3.1.3.cmml">n</mi></msubsup><mrow id="S3.SS2.p3.1.m1.1.2.3.2" xref="S3.SS2.p3.1.m1.1.2.3.2.cmml"><msup id="S3.SS2.p3.1.m1.1.2.3.2.2" xref="S3.SS2.p3.1.m1.1.2.3.2.2.cmml"><mi id="S3.SS2.p3.1.m1.1.2.3.2.2.2" xref="S3.SS2.p3.1.m1.1.2.3.2.2.2.cmml">Z</mi><mi id="S3.SS2.p3.1.m1.1.2.3.2.2.3" xref="S3.SS2.p3.1.m1.1.2.3.2.2.3.cmml">k</mi></msup><mo id="S3.SS2.p3.1.m1.1.2.3.2.1" xref="S3.SS2.p3.1.m1.1.2.3.2.1.cmml"></mo><mrow id="S3.SS2.p3.1.m1.1.2.3.2.3.2" xref="S3.SS2.p3.1.m1.1.2.3.2.cmml"><mo id="S3.SS2.p3.1.m1.1.2.3.2.3.2.1" stretchy="false" xref="S3.SS2.p3.1.m1.1.2.3.2.cmml">(</mo><mi id="S3.SS2.p3.1.m1.1.1" xref="S3.SS2.p3.1.m1.1.1.cmml">j</mi><mo id="S3.SS2.p3.1.m1.1.2.3.2.3.2.2" stretchy="false" xref="S3.SS2.p3.1.m1.1.2.3.2.cmml">)</mo></mrow></mrow></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.SS2.p3.1.m1.1b"><apply id="S3.SS2.p3.1.m1.1.2.cmml" xref="S3.SS2.p3.1.m1.1.2"><eq id="S3.SS2.p3.1.m1.1.2.1.cmml" xref="S3.SS2.p3.1.m1.1.2.1"></eq><apply id="S3.SS2.p3.1.m1.1.2.2.cmml" xref="S3.SS2.p3.1.m1.1.2.2"><csymbol cd="ambiguous" id="S3.SS2.p3.1.m1.1.2.2.1.cmml" xref="S3.SS2.p3.1.m1.1.2.2">subscript</csymbol><apply id="S3.SS2.p3.1.m1.1.2.2.2.cmml" xref="S3.SS2.p3.1.m1.1.2.2"><csymbol cd="ambiguous" id="S3.SS2.p3.1.m1.1.2.2.2.1.cmml" xref="S3.SS2.p3.1.m1.1.2.2">superscript</csymbol><ci id="S3.SS2.p3.1.m1.1.2.2.2.2.cmml" xref="S3.SS2.p3.1.m1.1.2.2.2.2">𝑆</ci><ci id="S3.SS2.p3.1.m1.1.2.2.2.3.cmml" xref="S3.SS2.p3.1.m1.1.2.2.2.3">𝑘</ci></apply><ci id="S3.SS2.p3.1.m1.1.2.2.3.cmml" xref="S3.SS2.p3.1.m1.1.2.2.3">𝑛</ci></apply><apply id="S3.SS2.p3.1.m1.1.2.3.cmml" xref="S3.SS2.p3.1.m1.1.2.3"><apply id="S3.SS2.p3.1.m1.1.2.3.1.cmml" xref="S3.SS2.p3.1.m1.1.2.3.1"><csymbol cd="ambiguous" id="S3.SS2.p3.1.m1.1.2.3.1.1.cmml" xref="S3.SS2.p3.1.m1.1.2.3.1">superscript</csymbol><apply id="S3.SS2.p3.1.m1.1.2.3.1.2.cmml" xref="S3.SS2.p3.1.m1.1.2.3.1"><csymbol cd="ambiguous" id="S3.SS2.p3.1.m1.1.2.3.1.2.1.cmml" xref="S3.SS2.p3.1.m1.1.2.3.1">subscript</csymbol><sum id="S3.SS2.p3.1.m1.1.2.3.1.2.2.cmml" xref="S3.SS2.p3.1.m1.1.2.3.1.2.2"></sum><apply id="S3.SS2.p3.1.m1.1.2.3.1.2.3.cmml" xref="S3.SS2.p3.1.m1.1.2.3.1.2.3"><eq id="S3.SS2.p3.1.m1.1.2.3.1.2.3.1.cmml" xref="S3.SS2.p3.1.m1.1.2.3.1.2.3.1"></eq><ci id="S3.SS2.p3.1.m1.1.2.3.1.2.3.2.cmml" xref="S3.SS2.p3.1.m1.1.2.3.1.2.3.2">𝑗</ci><cn id="S3.SS2.p3.1.m1.1.2.3.1.2.3.3.cmml" type="integer" xref="S3.SS2.p3.1.m1.1.2.3.1.2.3.3">1</cn></apply></apply><ci id="S3.SS2.p3.1.m1.1.2.3.1.3.cmml" xref="S3.SS2.p3.1.m1.1.2.3.1.3">𝑛</ci></apply><apply id="S3.SS2.p3.1.m1.1.2.3.2.cmml" xref="S3.SS2.p3.1.m1.1.2.3.2"><times id="S3.SS2.p3.1.m1.1.2.3.2.1.cmml" xref="S3.SS2.p3.1.m1.1.2.3.2.1"></times><apply id="S3.SS2.p3.1.m1.1.2.3.2.2.cmml" xref="S3.SS2.p3.1.m1.1.2.3.2.2"><csymbol cd="ambiguous" id="S3.SS2.p3.1.m1.1.2.3.2.2.1.cmml" xref="S3.SS2.p3.1.m1.1.2.3.2.2">superscript</csymbol><ci id="S3.SS2.p3.1.m1.1.2.3.2.2.2.cmml" xref="S3.SS2.p3.1.m1.1.2.3.2.2.2">𝑍</ci><ci id="S3.SS2.p3.1.m1.1.2.3.2.2.3.cmml" xref="S3.SS2.p3.1.m1.1.2.3.2.2.3">𝑘</ci></apply><ci id="S3.SS2.p3.1.m1.1.1.cmml" xref="S3.SS2.p3.1.m1.1.1">𝑗</ci></apply></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p3.1.m1.1c">S^{k}_{n}=\sum_{j=1}^{n}Z^{k}(j)</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p3.1.m1.1d">italic_S start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT = ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT italic_Z start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT ( italic_j )</annotation></semantics></math>, <math alttext="p=q=0.5" class="ltx_Math" display="inline" id="S3.SS2.p3.2.m2.1"><semantics id="S3.SS2.p3.2.m2.1a"><mrow id="S3.SS2.p3.2.m2.1.1" xref="S3.SS2.p3.2.m2.1.1.cmml"><mi id="S3.SS2.p3.2.m2.1.1.2" xref="S3.SS2.p3.2.m2.1.1.2.cmml">p</mi><mo id="S3.SS2.p3.2.m2.1.1.3" xref="S3.SS2.p3.2.m2.1.1.3.cmml">=</mo><mi id="S3.SS2.p3.2.m2.1.1.4" xref="S3.SS2.p3.2.m2.1.1.4.cmml">q</mi><mo id="S3.SS2.p3.2.m2.1.1.5" xref="S3.SS2.p3.2.m2.1.1.5.cmml">=</mo><mn id="S3.SS2.p3.2.m2.1.1.6" xref="S3.SS2.p3.2.m2.1.1.6.cmml">0.5</mn></mrow><annotation-xml encoding="MathML-Content" id="S3.SS2.p3.2.m2.1b"><apply id="S3.SS2.p3.2.m2.1.1.cmml" xref="S3.SS2.p3.2.m2.1.1"><and id="S3.SS2.p3.2.m2.1.1a.cmml" xref="S3.SS2.p3.2.m2.1.1"></and><apply id="S3.SS2.p3.2.m2.1.1b.cmml" xref="S3.SS2.p3.2.m2.1.1"><eq id="S3.SS2.p3.2.m2.1.1.3.cmml" xref="S3.SS2.p3.2.m2.1.1.3"></eq><ci id="S3.SS2.p3.2.m2.1.1.2.cmml" xref="S3.SS2.p3.2.m2.1.1.2">𝑝</ci><ci id="S3.SS2.p3.2.m2.1.1.4.cmml" xref="S3.SS2.p3.2.m2.1.1.4">𝑞</ci></apply><apply id="S3.SS2.p3.2.m2.1.1c.cmml" xref="S3.SS2.p3.2.m2.1.1"><eq id="S3.SS2.p3.2.m2.1.1.5.cmml" xref="S3.SS2.p3.2.m2.1.1.5"></eq><share href="https://arxiv.org/html/2407.21748v1#S3.SS2.p3.2.m2.1.1.4.cmml" id="S3.SS2.p3.2.m2.1.1d.cmml" xref="S3.SS2.p3.2.m2.1.1"></share><cn id="S3.SS2.p3.2.m2.1.1.6.cmml" type="float" xref="S3.SS2.p3.2.m2.1.1.6">0.5</cn></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p3.2.m2.1c">p=q=0.5</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p3.2.m2.1d">italic_p = italic_q = 0.5</annotation></semantics></math>, and we use <math alttext="t=1" class="ltx_Math" display="inline" id="S3.SS2.p3.3.m3.1"><semantics id="S3.SS2.p3.3.m3.1a"><mrow id="S3.SS2.p3.3.m3.1.1" xref="S3.SS2.p3.3.m3.1.1.cmml"><mi id="S3.SS2.p3.3.m3.1.1.2" xref="S3.SS2.p3.3.m3.1.1.2.cmml">t</mi><mo id="S3.SS2.p3.3.m3.1.1.1" xref="S3.SS2.p3.3.m3.1.1.1.cmml">=</mo><mn id="S3.SS2.p3.3.m3.1.1.3" xref="S3.SS2.p3.3.m3.1.1.3.cmml">1</mn></mrow><annotation-xml encoding="MathML-Content" id="S3.SS2.p3.3.m3.1b"><apply id="S3.SS2.p3.3.m3.1.1.cmml" xref="S3.SS2.p3.3.m3.1.1"><eq id="S3.SS2.p3.3.m3.1.1.1.cmml" xref="S3.SS2.p3.3.m3.1.1.1"></eq><ci id="S3.SS2.p3.3.m3.1.1.2.cmml" xref="S3.SS2.p3.3.m3.1.1.2">𝑡</ci><cn id="S3.SS2.p3.3.m3.1.1.3.cmml" type="integer" xref="S3.SS2.p3.3.m3.1.1.3">1</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p3.3.m3.1c">t=1</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p3.3.m3.1d">italic_t = 1</annotation></semantics></math> (Equation 4 in <cite class="ltx_cite ltx_citemacro_citet">Luo et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib17" title="">2023</a>)</cite>). Using these martingales we define the test functions as</p> <table class="ltx_equation ltx_eqn_table" id="S3.E1"> <tbody><tr class="ltx_equation ltx_eqn_row ltx_align_baseline"> <td class="ltx_eqn_cell ltx_eqn_center_padleft"></td> <td class="ltx_eqn_cell ltx_align_center"><math alttext="\psi^{k}_{j}(D_{\mathrm{orig}},X_{N+1},\cdots,X_{j})=\begin{cases}T\hskip 14.2% 2636pt\text{if }M^{k}_{n}\geq C\\ F\hskip 14.22636pt\text{otherwise}.\end{cases}" class="ltx_Math" display="block" id="S3.E1.m1.6"><semantics id="S3.E1.m1.6a"><mrow id="S3.E1.m1.6.6" xref="S3.E1.m1.6.6.cmml"><mrow id="S3.E1.m1.6.6.3" xref="S3.E1.m1.6.6.3.cmml"><msubsup id="S3.E1.m1.6.6.3.5" xref="S3.E1.m1.6.6.3.5.cmml"><mi id="S3.E1.m1.6.6.3.5.2.2" xref="S3.E1.m1.6.6.3.5.2.2.cmml">ψ</mi><mi id="S3.E1.m1.6.6.3.5.3" xref="S3.E1.m1.6.6.3.5.3.cmml">j</mi><mi id="S3.E1.m1.6.6.3.5.2.3" xref="S3.E1.m1.6.6.3.5.2.3.cmml">k</mi></msubsup><mo id="S3.E1.m1.6.6.3.4" xref="S3.E1.m1.6.6.3.4.cmml"></mo><mrow id="S3.E1.m1.6.6.3.3.3" xref="S3.E1.m1.6.6.3.3.4.cmml"><mo id="S3.E1.m1.6.6.3.3.3.4" stretchy="false" xref="S3.E1.m1.6.6.3.3.4.cmml">(</mo><msub id="S3.E1.m1.4.4.1.1.1.1" xref="S3.E1.m1.4.4.1.1.1.1.cmml"><mi id="S3.E1.m1.4.4.1.1.1.1.2" xref="S3.E1.m1.4.4.1.1.1.1.2.cmml">D</mi><mi id="S3.E1.m1.4.4.1.1.1.1.3" xref="S3.E1.m1.4.4.1.1.1.1.3.cmml">orig</mi></msub><mo id="S3.E1.m1.6.6.3.3.3.5" xref="S3.E1.m1.6.6.3.3.4.cmml">,</mo><msub id="S3.E1.m1.5.5.2.2.2.2" xref="S3.E1.m1.5.5.2.2.2.2.cmml"><mi id="S3.E1.m1.5.5.2.2.2.2.2" xref="S3.E1.m1.5.5.2.2.2.2.2.cmml">X</mi><mrow id="S3.E1.m1.5.5.2.2.2.2.3" xref="S3.E1.m1.5.5.2.2.2.2.3.cmml"><mi id="S3.E1.m1.5.5.2.2.2.2.3.2" xref="S3.E1.m1.5.5.2.2.2.2.3.2.cmml">N</mi><mo id="S3.E1.m1.5.5.2.2.2.2.3.1" xref="S3.E1.m1.5.5.2.2.2.2.3.1.cmml">+</mo><mn id="S3.E1.m1.5.5.2.2.2.2.3.3" xref="S3.E1.m1.5.5.2.2.2.2.3.3.cmml">1</mn></mrow></msub><mo id="S3.E1.m1.6.6.3.3.3.6" xref="S3.E1.m1.6.6.3.3.4.cmml">,</mo><mi id="S3.E1.m1.3.3" mathvariant="normal" xref="S3.E1.m1.3.3.cmml">⋯</mi><mo id="S3.E1.m1.6.6.3.3.3.7" xref="S3.E1.m1.6.6.3.3.4.cmml">,</mo><msub id="S3.E1.m1.6.6.3.3.3.3" xref="S3.E1.m1.6.6.3.3.3.3.cmml"><mi id="S3.E1.m1.6.6.3.3.3.3.2" xref="S3.E1.m1.6.6.3.3.3.3.2.cmml">X</mi><mi id="S3.E1.m1.6.6.3.3.3.3.3" xref="S3.E1.m1.6.6.3.3.3.3.3.cmml">j</mi></msub><mo id="S3.E1.m1.6.6.3.3.3.8" stretchy="false" xref="S3.E1.m1.6.6.3.3.4.cmml">)</mo></mrow></mrow><mo id="S3.E1.m1.6.6.4" xref="S3.E1.m1.6.6.4.cmml">=</mo><mrow id="S3.E1.m1.2.2" xref="S3.E1.m1.6.6.5.1.cmml"><mo id="S3.E1.m1.2.2.3" xref="S3.E1.m1.6.6.5.1.1.cmml">{</mo><mtable columnspacing="5pt" displaystyle="true" id="S3.E1.m1.2.2.2" rowspacing="0pt" xref="S3.E1.m1.6.6.5.1.cmml"><mtr id="S3.E1.m1.2.2.2a" xref="S3.E1.m1.6.6.5.1.cmml"><mtd class="ltx_align_left" columnalign="left" id="S3.E1.m1.2.2.2b" xref="S3.E1.m1.6.6.5.1.cmml"><mrow id="S3.E1.m1.1.1.1.1.1.1" xref="S3.E1.m1.1.1.1.1.1.1.cmml"><mrow id="S3.E1.m1.1.1.1.1.1.1.2.1" xref="S3.E1.m1.1.1.1.1.1.1.2.2.cmml"><mi id="S3.E1.m1.1.1.1.1.1.1.1" xref="S3.E1.m1.1.1.1.1.1.1.1.cmml">T</mi><mspace id="S3.E1.m1.1.1.1.1.1.1.2.1.2" width="1.42em" xref="S3.E1.m1.1.1.1.1.1.1.2.2.cmml"></mspace><mrow id="S3.E1.m1.1.1.1.1.1.1.2.1.1" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.cmml"><mtext id="S3.E1.m1.1.1.1.1.1.1.2.1.1.2" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.2a.cmml">if </mtext><mo id="S3.E1.m1.1.1.1.1.1.1.2.1.1.1" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.1.cmml"></mo><msubsup id="S3.E1.m1.1.1.1.1.1.1.2.1.1.3" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.cmml"><mi id="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.2.2" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.2.2.cmml">M</mi><mi id="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.3" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.3.cmml">n</mi><mi id="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.2.3" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.2.3.cmml">k</mi></msubsup></mrow></mrow><mo id="S3.E1.m1.1.1.1.1.1.1.3" xref="S3.E1.m1.1.1.1.1.1.1.3.cmml">≥</mo><mi id="S3.E1.m1.1.1.1.1.1.1.4" xref="S3.E1.m1.1.1.1.1.1.1.4.cmml">C</mi></mrow></mtd><mtd id="S3.E1.m1.2.2.2c" xref="S3.E1.m1.6.6.5.1.1.cmml"></mtd></mtr><mtr id="S3.E1.m1.2.2.2d" xref="S3.E1.m1.6.6.5.1.cmml"><mtd class="ltx_align_left" columnalign="left" id="S3.E1.m1.2.2.2e" xref="S3.E1.m1.6.6.5.1.cmml"><mrow id="S3.E1.m1.2.2.2.2.1.1.3" xref="S3.E1.m1.6.6.5.1.cmml"><mrow id="S3.E1.m1.2.2.2.2.1.1.3.1.2" xref="S3.E1.m1.2.2.2.2.1.1.3.1.1.cmml"><mi id="S3.E1.m1.2.2.2.2.1.1.1" xref="S3.E1.m1.2.2.2.2.1.1.1.cmml">F</mi><mspace id="S3.E1.m1.2.2.2.2.1.1.3.1.2.1" width="1.42em" xref="S3.E1.m1.2.2.2.2.1.1.3.1.1.cmml"></mspace><mtext id="S3.E1.m1.2.2.2.2.1.1.2" xref="S3.E1.m1.2.2.2.2.1.1.2a.cmml">otherwise</mtext></mrow><mo id="S3.E1.m1.2.2.2.2.1.1.3.2" lspace="0em" xref="S3.E1.m1.6.6.5.1.cmml">.</mo></mrow></mtd><mtd id="S3.E1.m1.2.2.2f" xref="S3.E1.m1.6.6.5.1.1.cmml"></mtd></mtr></mtable></mrow></mrow><annotation-xml encoding="MathML-Content" id="S3.E1.m1.6b"><apply id="S3.E1.m1.6.6.cmml" xref="S3.E1.m1.6.6"><eq id="S3.E1.m1.6.6.4.cmml" xref="S3.E1.m1.6.6.4"></eq><apply id="S3.E1.m1.6.6.3.cmml" xref="S3.E1.m1.6.6.3"><times id="S3.E1.m1.6.6.3.4.cmml" xref="S3.E1.m1.6.6.3.4"></times><apply id="S3.E1.m1.6.6.3.5.cmml" xref="S3.E1.m1.6.6.3.5"><csymbol cd="ambiguous" id="S3.E1.m1.6.6.3.5.1.cmml" xref="S3.E1.m1.6.6.3.5">subscript</csymbol><apply id="S3.E1.m1.6.6.3.5.2.cmml" xref="S3.E1.m1.6.6.3.5"><csymbol cd="ambiguous" id="S3.E1.m1.6.6.3.5.2.1.cmml" xref="S3.E1.m1.6.6.3.5">superscript</csymbol><ci id="S3.E1.m1.6.6.3.5.2.2.cmml" xref="S3.E1.m1.6.6.3.5.2.2">𝜓</ci><ci id="S3.E1.m1.6.6.3.5.2.3.cmml" xref="S3.E1.m1.6.6.3.5.2.3">𝑘</ci></apply><ci id="S3.E1.m1.6.6.3.5.3.cmml" xref="S3.E1.m1.6.6.3.5.3">𝑗</ci></apply><vector id="S3.E1.m1.6.6.3.3.4.cmml" xref="S3.E1.m1.6.6.3.3.3"><apply id="S3.E1.m1.4.4.1.1.1.1.cmml" xref="S3.E1.m1.4.4.1.1.1.1"><csymbol cd="ambiguous" id="S3.E1.m1.4.4.1.1.1.1.1.cmml" xref="S3.E1.m1.4.4.1.1.1.1">subscript</csymbol><ci id="S3.E1.m1.4.4.1.1.1.1.2.cmml" xref="S3.E1.m1.4.4.1.1.1.1.2">𝐷</ci><ci id="S3.E1.m1.4.4.1.1.1.1.3.cmml" xref="S3.E1.m1.4.4.1.1.1.1.3">orig</ci></apply><apply id="S3.E1.m1.5.5.2.2.2.2.cmml" xref="S3.E1.m1.5.5.2.2.2.2"><csymbol cd="ambiguous" id="S3.E1.m1.5.5.2.2.2.2.1.cmml" xref="S3.E1.m1.5.5.2.2.2.2">subscript</csymbol><ci id="S3.E1.m1.5.5.2.2.2.2.2.cmml" xref="S3.E1.m1.5.5.2.2.2.2.2">𝑋</ci><apply id="S3.E1.m1.5.5.2.2.2.2.3.cmml" xref="S3.E1.m1.5.5.2.2.2.2.3"><plus id="S3.E1.m1.5.5.2.2.2.2.3.1.cmml" xref="S3.E1.m1.5.5.2.2.2.2.3.1"></plus><ci id="S3.E1.m1.5.5.2.2.2.2.3.2.cmml" xref="S3.E1.m1.5.5.2.2.2.2.3.2">𝑁</ci><cn id="S3.E1.m1.5.5.2.2.2.2.3.3.cmml" type="integer" xref="S3.E1.m1.5.5.2.2.2.2.3.3">1</cn></apply></apply><ci id="S3.E1.m1.3.3.cmml" xref="S3.E1.m1.3.3">⋯</ci><apply id="S3.E1.m1.6.6.3.3.3.3.cmml" xref="S3.E1.m1.6.6.3.3.3.3"><csymbol cd="ambiguous" id="S3.E1.m1.6.6.3.3.3.3.1.cmml" xref="S3.E1.m1.6.6.3.3.3.3">subscript</csymbol><ci id="S3.E1.m1.6.6.3.3.3.3.2.cmml" xref="S3.E1.m1.6.6.3.3.3.3.2">𝑋</ci><ci id="S3.E1.m1.6.6.3.3.3.3.3.cmml" xref="S3.E1.m1.6.6.3.3.3.3.3">𝑗</ci></apply></vector></apply><apply id="S3.E1.m1.6.6.5.1.cmml" xref="S3.E1.m1.2.2"><csymbol cd="latexml" id="S3.E1.m1.6.6.5.1.1.cmml" xref="S3.E1.m1.2.2.3">cases</csymbol><apply id="S3.E1.m1.1.1.1.1.1.1.cmml" xref="S3.E1.m1.1.1.1.1.1.1"><geq id="S3.E1.m1.1.1.1.1.1.1.3.cmml" xref="S3.E1.m1.1.1.1.1.1.1.3"></geq><list id="S3.E1.m1.1.1.1.1.1.1.2.2.cmml" xref="S3.E1.m1.1.1.1.1.1.1.2.1"><ci id="S3.E1.m1.1.1.1.1.1.1.1.cmml" xref="S3.E1.m1.1.1.1.1.1.1.1">𝑇</ci><apply id="S3.E1.m1.1.1.1.1.1.1.2.1.1.cmml" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1"><times id="S3.E1.m1.1.1.1.1.1.1.2.1.1.1.cmml" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.1"></times><ci id="S3.E1.m1.1.1.1.1.1.1.2.1.1.2a.cmml" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.2"><mtext id="S3.E1.m1.1.1.1.1.1.1.2.1.1.2.cmml" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.2">if </mtext></ci><apply id="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.cmml" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.3"><csymbol cd="ambiguous" id="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.1.cmml" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.3">subscript</csymbol><apply id="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.2.cmml" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.3"><csymbol cd="ambiguous" id="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.2.1.cmml" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.3">superscript</csymbol><ci id="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.2.2.cmml" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.2.2">𝑀</ci><ci id="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.2.3.cmml" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.2.3">𝑘</ci></apply><ci id="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.3.cmml" xref="S3.E1.m1.1.1.1.1.1.1.2.1.1.3.3">𝑛</ci></apply></apply></list><ci id="S3.E1.m1.1.1.1.1.1.1.4.cmml" xref="S3.E1.m1.1.1.1.1.1.1.4">𝐶</ci></apply><ci id="S3.E1.m1.6.6.5.1.3a.cmml" xref="S3.E1.m1.2.2"><mtext class="ltx_mathvariant_italic" id="S3.E1.m1.6.6.5.1.3.cmml" xref="S3.E1.m1.2.2.3">otherwise</mtext></ci><list id="S3.E1.m1.2.2.2.2.1.1.3.1.1.cmml" xref="S3.E1.m1.2.2.2.2.1.1.3.1.2"><ci id="S3.E1.m1.2.2.2.2.1.1.1.cmml" xref="S3.E1.m1.2.2.2.2.1.1.1">𝐹</ci><ci id="S3.E1.m1.2.2.2.2.1.1.2a.cmml" xref="S3.E1.m1.2.2.2.2.1.1.2"><mtext id="S3.E1.m1.2.2.2.2.1.1.2.cmml" xref="S3.E1.m1.2.2.2.2.1.1.2">otherwise</mtext></ci></list><ci id="S3.E1.m1.6.6.5.1.5a.cmml" xref="S3.E1.m1.2.2"><mtext class="ltx_mathvariant_italic" id="S3.E1.m1.6.6.5.1.5.cmml" xref="S3.E1.m1.2.2.3">otherwise</mtext></ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.E1.m1.6c">\psi^{k}_{j}(D_{\mathrm{orig}},X_{N+1},\cdots,X_{j})=\begin{cases}T\hskip 14.2% 2636pt\text{if }M^{k}_{n}\geq C\\ F\hskip 14.22636pt\text{otherwise}.\end{cases}</annotation><annotation encoding="application/x-llamapun" id="S3.E1.m1.6d">italic_ψ start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ( italic_D start_POSTSUBSCRIPT roman_orig end_POSTSUBSCRIPT , italic_X start_POSTSUBSCRIPT italic_N + 1 end_POSTSUBSCRIPT , ⋯ , italic_X start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ) = { start_ROW start_CELL italic_T if italic_M start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ≥ italic_C end_CELL start_CELL end_CELL end_ROW start_ROW start_CELL italic_F otherwise . end_CELL start_CELL end_CELL end_ROW</annotation></semantics></math></td> <td class="ltx_eqn_cell ltx_eqn_center_padright"></td> <td class="ltx_eqn_cell ltx_eqn_eqno ltx_align_middle ltx_align_right" rowspan="1"><span class="ltx_tag ltx_tag_equation ltx_align_right">(1)</span></td> </tr></tbody> </table> <p class="ltx_p" id="S3.SS2.p3.5">Using a threshold of <math alttext="C=100" class="ltx_Math" display="inline" id="S3.SS2.p3.4.m1.1"><semantics id="S3.SS2.p3.4.m1.1a"><mrow id="S3.SS2.p3.4.m1.1.1" xref="S3.SS2.p3.4.m1.1.1.cmml"><mi id="S3.SS2.p3.4.m1.1.1.2" xref="S3.SS2.p3.4.m1.1.1.2.cmml">C</mi><mo id="S3.SS2.p3.4.m1.1.1.1" xref="S3.SS2.p3.4.m1.1.1.1.cmml">=</mo><mn id="S3.SS2.p3.4.m1.1.1.3" xref="S3.SS2.p3.4.m1.1.1.3.cmml">100</mn></mrow><annotation-xml encoding="MathML-Content" id="S3.SS2.p3.4.m1.1b"><apply id="S3.SS2.p3.4.m1.1.1.cmml" xref="S3.SS2.p3.4.m1.1.1"><eq id="S3.SS2.p3.4.m1.1.1.1.cmml" xref="S3.SS2.p3.4.m1.1.1.1"></eq><ci id="S3.SS2.p3.4.m1.1.1.2.cmml" xref="S3.SS2.p3.4.m1.1.1.2">𝐶</ci><cn id="S3.SS2.p3.4.m1.1.1.3.cmml" type="integer" xref="S3.SS2.p3.4.m1.1.1.3">100</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p3.4.m1.1c">C=100</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p3.4.m1.1d">italic_C = 100</annotation></semantics></math> we are guaranteed a false positive rate of <math alttext="\leq 0.01" class="ltx_Math" display="inline" id="S3.SS2.p3.5.m2.1"><semantics id="S3.SS2.p3.5.m2.1a"><mrow id="S3.SS2.p3.5.m2.1.1" xref="S3.SS2.p3.5.m2.1.1.cmml"><mi id="S3.SS2.p3.5.m2.1.1.2" xref="S3.SS2.p3.5.m2.1.1.2.cmml"></mi><mo id="S3.SS2.p3.5.m2.1.1.1" xref="S3.SS2.p3.5.m2.1.1.1.cmml">≤</mo><mn id="S3.SS2.p3.5.m2.1.1.3" xref="S3.SS2.p3.5.m2.1.1.3.cmml">0.01</mn></mrow><annotation-xml encoding="MathML-Content" id="S3.SS2.p3.5.m2.1b"><apply id="S3.SS2.p3.5.m2.1.1.cmml" xref="S3.SS2.p3.5.m2.1.1"><leq id="S3.SS2.p3.5.m2.1.1.1.cmml" xref="S3.SS2.p3.5.m2.1.1.1"></leq><csymbol cd="latexml" id="S3.SS2.p3.5.m2.1.1.2.cmml" xref="S3.SS2.p3.5.m2.1.1.2">absent</csymbol><cn id="S3.SS2.p3.5.m2.1.1.3.cmml" type="float" xref="S3.SS2.p3.5.m2.1.1.3">0.01</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.SS2.p3.5.m2.1c">\leq 0.01</annotation><annotation encoding="application/x-llamapun" id="S3.SS2.p3.5.m2.1d">≤ 0.01</annotation></semantics></math> for each test function because (Lemma 2 in <cite class="ltx_cite ltx_citemacro_citet">Luo et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib17" title="">2023</a>)</cite>)</p> <table class="ltx_equation ltx_eqn_table" id="S3.Ex10"> <tbody><tr class="ltx_equation ltx_eqn_row ltx_align_baseline"> <td class="ltx_eqn_cell ltx_eqn_center_padleft"></td> <td class="ltx_eqn_cell ltx_align_center"><math alttext="\mathrm{Pr}\left[\sup_{0\leq n\leq N}M^{k}_{n}\geq C\right]\leq\frac{1}{C}." class="ltx_Math" display="block" id="S3.Ex10.m1.1"><semantics id="S3.Ex10.m1.1a"><mrow id="S3.Ex10.m1.1.1.1" xref="S3.Ex10.m1.1.1.1.1.cmml"><mrow id="S3.Ex10.m1.1.1.1.1" xref="S3.Ex10.m1.1.1.1.1.cmml"><mrow id="S3.Ex10.m1.1.1.1.1.1" xref="S3.Ex10.m1.1.1.1.1.1.cmml"><mi id="S3.Ex10.m1.1.1.1.1.1.3" xref="S3.Ex10.m1.1.1.1.1.1.3.cmml">Pr</mi><mo id="S3.Ex10.m1.1.1.1.1.1.2" xref="S3.Ex10.m1.1.1.1.1.1.2.cmml"></mo><mrow id="S3.Ex10.m1.1.1.1.1.1.1.1" xref="S3.Ex10.m1.1.1.1.1.1.1.2.cmml"><mo id="S3.Ex10.m1.1.1.1.1.1.1.1.2" xref="S3.Ex10.m1.1.1.1.1.1.1.2.1.cmml">[</mo><mrow id="S3.Ex10.m1.1.1.1.1.1.1.1.1" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.cmml"><mrow id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.cmml"><munder id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.cmml"><mo id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.2" lspace="0em" movablelimits="false" rspace="0.167em" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.2.cmml">sup</mo><mrow id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.cmml"><mn id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.2" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.2.cmml">0</mn><mo id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.3" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.3.cmml">≤</mo><mi id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.4" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.4.cmml">n</mi><mo id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.5" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.5.cmml">≤</mo><mi id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.6" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.6.cmml">N</mi></mrow></munder><msubsup id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.cmml"><mi id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.2.2" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.2.2.cmml">M</mi><mi id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.3" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.3.cmml">n</mi><mi id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.2.3" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.2.3.cmml">k</mi></msubsup></mrow><mo id="S3.Ex10.m1.1.1.1.1.1.1.1.1.1" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.1.cmml">≥</mo><mi id="S3.Ex10.m1.1.1.1.1.1.1.1.1.3" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.3.cmml">C</mi></mrow><mo id="S3.Ex10.m1.1.1.1.1.1.1.1.3" xref="S3.Ex10.m1.1.1.1.1.1.1.2.1.cmml">]</mo></mrow></mrow><mo id="S3.Ex10.m1.1.1.1.1.2" xref="S3.Ex10.m1.1.1.1.1.2.cmml">≤</mo><mfrac id="S3.Ex10.m1.1.1.1.1.3" xref="S3.Ex10.m1.1.1.1.1.3.cmml"><mn id="S3.Ex10.m1.1.1.1.1.3.2" xref="S3.Ex10.m1.1.1.1.1.3.2.cmml">1</mn><mi id="S3.Ex10.m1.1.1.1.1.3.3" xref="S3.Ex10.m1.1.1.1.1.3.3.cmml">C</mi></mfrac></mrow><mo id="S3.Ex10.m1.1.1.1.2" lspace="0em" xref="S3.Ex10.m1.1.1.1.1.cmml">.</mo></mrow><annotation-xml encoding="MathML-Content" id="S3.Ex10.m1.1b"><apply id="S3.Ex10.m1.1.1.1.1.cmml" xref="S3.Ex10.m1.1.1.1"><leq id="S3.Ex10.m1.1.1.1.1.2.cmml" xref="S3.Ex10.m1.1.1.1.1.2"></leq><apply id="S3.Ex10.m1.1.1.1.1.1.cmml" xref="S3.Ex10.m1.1.1.1.1.1"><times id="S3.Ex10.m1.1.1.1.1.1.2.cmml" xref="S3.Ex10.m1.1.1.1.1.1.2"></times><ci id="S3.Ex10.m1.1.1.1.1.1.3.cmml" xref="S3.Ex10.m1.1.1.1.1.1.3">Pr</ci><apply id="S3.Ex10.m1.1.1.1.1.1.1.2.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1"><csymbol cd="latexml" id="S3.Ex10.m1.1.1.1.1.1.1.2.1.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.2">delimited-[]</csymbol><apply id="S3.Ex10.m1.1.1.1.1.1.1.1.1.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1"><geq id="S3.Ex10.m1.1.1.1.1.1.1.1.1.1.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.1"></geq><apply id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2"><apply id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1"><csymbol cd="ambiguous" id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.1.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1">subscript</csymbol><csymbol cd="latexml" id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.2.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.2">supremum</csymbol><apply id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3"><and id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3a.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3"></and><apply id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3b.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3"><leq id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.3.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.3"></leq><cn id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.2.cmml" type="integer" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.2">0</cn><ci id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.4.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.4">𝑛</ci></apply><apply id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3c.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3"><leq id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.5.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.5"></leq><share href="https://arxiv.org/html/2407.21748v1#S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.4.cmml" id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3d.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3"></share><ci id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.6.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.1.3.6">𝑁</ci></apply></apply></apply><apply id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2"><csymbol cd="ambiguous" id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.1.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2">subscript</csymbol><apply id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.2.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2"><csymbol cd="ambiguous" id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.2.1.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2">superscript</csymbol><ci id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.2.2.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.2.2">𝑀</ci><ci id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.2.3.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.2.3">𝑘</ci></apply><ci id="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.3.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.2.2.3">𝑛</ci></apply></apply><ci id="S3.Ex10.m1.1.1.1.1.1.1.1.1.3.cmml" xref="S3.Ex10.m1.1.1.1.1.1.1.1.1.3">𝐶</ci></apply></apply></apply><apply id="S3.Ex10.m1.1.1.1.1.3.cmml" xref="S3.Ex10.m1.1.1.1.1.3"><divide id="S3.Ex10.m1.1.1.1.1.3.1.cmml" xref="S3.Ex10.m1.1.1.1.1.3"></divide><cn id="S3.Ex10.m1.1.1.1.1.3.2.cmml" type="integer" xref="S3.Ex10.m1.1.1.1.1.3.2">1</cn><ci id="S3.Ex10.m1.1.1.1.1.3.3.cmml" xref="S3.Ex10.m1.1.1.1.1.3.3">𝐶</ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S3.Ex10.m1.1c">\mathrm{Pr}\left[\sup_{0\leq n\leq N}M^{k}_{n}\geq C\right]\leq\frac{1}{C}.</annotation><annotation encoding="application/x-llamapun" id="S3.Ex10.m1.1d">roman_Pr [ roman_sup start_POSTSUBSCRIPT 0 ≤ italic_n ≤ italic_N end_POSTSUBSCRIPT italic_M start_POSTSUPERSCRIPT italic_k end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ≥ italic_C ] ≤ divide start_ARG 1 end_ARG start_ARG italic_C end_ARG .</annotation></semantics></math></td> <td class="ltx_eqn_cell ltx_eqn_center_padright"></td> </tr></tbody> </table> </div> <div class="ltx_para" id="S3.SS2.p4"> <p class="ltx_p" id="S3.SS2.p4.1">This allows our framework to propose a mitigation strategy tailored to the specific failure mode identified by the martingale monitor that signaled the distribution shift.</p> </div> <div class="ltx_para" id="S3.SS2.p5"> <p class="ltx_p" id="S3.SS2.p5.1">In order to identify a particular type of distribution shift, we need to construct different martingales, each with representative inputs for our test functions. As an illustrative example, we consider distribution shifts that may occur for images taken by an external camera, as shown in Figure <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S3.F2" title="Figure 2 ‣ 3.1 Problem Setup ‣ 3 Identifying Types of Distribution Shift ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">2</span></a>. During deployment, we may encounter sensor degradation, which is a shift that results in a change to the input images, so we feed in representative input features to the classifier. If a distribution shift is detected using these input features, we know that the distribution of our input images has changed, and a good mitigation strategy would be to replace the sensors. Similarly, if we encounter a new environment, such as a new airport, our output labels will change, as the plane taxis with a new trajectory. Therefore, we feed in output features to the classifier, and if we detect a distribution shift using the output features, we know that the distribution of our output labels has changed. Here, a good mitigation strategy would be to gather additional data and perform a weighted retraining. The key insight is to use knowledge of a likely type of distribution to inform the relevant chosen features.</p> </div> </section> </section> <section class="ltx_section" id="S4"> <h2 class="ltx_title ltx_title_section"> <span class="ltx_tag ltx_tag_section">4 </span>Experiments </h2> <div class="ltx_para" id="S4.p1"> <p class="ltx_p" id="S4.p1.1">We empirically evaluate our method on photorealistic simulations of an autonomous aircraft taxiing down a runway using camera-based perception and in hardware on a free-flyer space robotics testbed for vision-based navigation. We show that our method detects distribution shifts and identifies the type of distribution shift more quickly than existing methods. We also show that the knowledge of distribution type provided by our method allows us to use targeted interventions, which leads to better results than generic interventions, and better outcomes over the robot lifecycle compared to a scheduled maintenance approach.</p> </div> <figure class="ltx_figure" id="S4.F3"><img alt="Refer to caption" class="ltx_graphics ltx_centering ltx_img_landscape" height="269" id="S4.F3.g1" src="x2.png" width="374"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S4.F3.4.2.1" style="font-size:90%;">Figure 3</span>: </span><span class="ltx_text" id="S4.F3.2.1" style="font-size:90%;">Martingale values for our method and the CM method, in the presence of a sensor degradation shift, which starts occurring at <math alttext="t=0" class="ltx_Math" display="inline" id="S4.F3.2.1.m1.1"><semantics id="S4.F3.2.1.m1.1b"><mrow id="S4.F3.2.1.m1.1.1" xref="S4.F3.2.1.m1.1.1.cmml"><mi id="S4.F3.2.1.m1.1.1.2" xref="S4.F3.2.1.m1.1.1.2.cmml">t</mi><mo id="S4.F3.2.1.m1.1.1.1" xref="S4.F3.2.1.m1.1.1.1.cmml">=</mo><mn id="S4.F3.2.1.m1.1.1.3" xref="S4.F3.2.1.m1.1.1.3.cmml">0</mn></mrow><annotation-xml encoding="MathML-Content" id="S4.F3.2.1.m1.1c"><apply id="S4.F3.2.1.m1.1.1.cmml" xref="S4.F3.2.1.m1.1.1"><eq id="S4.F3.2.1.m1.1.1.1.cmml" xref="S4.F3.2.1.m1.1.1.1"></eq><ci id="S4.F3.2.1.m1.1.1.2.cmml" xref="S4.F3.2.1.m1.1.1.2">𝑡</ci><cn id="S4.F3.2.1.m1.1.1.3.cmml" type="integer" xref="S4.F3.2.1.m1.1.1.3">0</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S4.F3.2.1.m1.1d">t=0</annotation><annotation encoding="application/x-llamapun" id="S4.F3.2.1.m1.1e">italic_t = 0</annotation></semantics></math>. The martingales grow as they detect the shift and an alert is issued when the martingale value exceeds the threshold of 100. Our method raises an alert much sooner on average (14.92 iterations) compared to the CM method (38.10 iterations), showing that our method detects this distribution shift faster than existing methods.</span></figcaption> </figure> <section class="ltx_subsection" id="S4.SSx1"> <h3 class="ltx_title ltx_title_subsection">Experiment 1: Fast categorization of distribution shifts</h3> <div class="ltx_para" id="S4.SSx1.p1"> <p class="ltx_p" id="S4.SSx1.p1.1">We first demonstrate that our method is able to detect different types of distribution shifts faster than prior methods. To evaluate our method, we use data from the photorealistic X-Plane 11 flight simulator where an autonomous aircraft uses a PID controller to taxi along the centerline of the runway.</p> </div> <div class="ltx_para" id="S4.SSx1.p2"> <p class="ltx_p" id="S4.SSx1.p2.1">Next, we introduce two types of distribution shifts to the data: first, we introduce Gaussian noise to the images to simulate sensor degradation, and second, we add 200 new sequences of images of the plane taxiing at a new airport, KJFK, that was not in the training dataset (see example images in Figure <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S3.F2" title="Figure 2 ‣ 3.1 Problem Setup ‣ 3 Identifying Types of Distribution Shift ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">2</span></a>). During deployment, images are drawn from either the original sequences, the sequences with added noise, or the sequences from a new runway. To detect whether a shift has occurred and categorize the type of shift, we deploy two stochastic martingales simultaneously to act as runtime monitors. An alert is raised when the martingales reach a threshold of 100. If no alert is raised after 200 samples, the experiment is terminated. The experiment is repeated 100 times.</p> </div> <figure class="ltx_table ltx_figure_panel" id="S4.T1"> <table class="ltx_tabular ltx_figure_panel ltx_guessed_headers ltx_align_middle" id="S4.T1.1"> <thead class="ltx_thead"> <tr class="ltx_tr" id="S4.T1.1.1.1"> <th class="ltx_td ltx_align_center ltx_th ltx_th_column ltx_th_row ltx_border_tt" colspan="3" id="S4.T1.1.1.1.1"><span class="ltx_text ltx_font_bold" id="S4.T1.1.1.1.1.1">Mean Iterations Until Alert</span></th> </tr> <tr class="ltx_tr" id="S4.T1.1.2.2"> <th class="ltx_td ltx_align_left ltx_th ltx_th_column ltx_th_row" id="S4.T1.1.2.2.1">Distribution shift</th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column" id="S4.T1.1.2.2.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T1.1.2.2.2.1"> <span class="ltx_p" id="S4.T1.1.2.2.2.1.1">Ours</span> </span> </th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column" id="S4.T1.1.2.2.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T1.1.2.2.3.1"> <span class="ltx_p" id="S4.T1.1.2.2.3.1.1">CM</span> </span> </th> </tr> </thead> <tbody class="ltx_tbody"> <tr class="ltx_tr" id="S4.T1.1.3.1"> <th class="ltx_td ltx_align_left ltx_th ltx_th_row ltx_border_t" id="S4.T1.1.3.1.1">Sensor degradation</th> <td class="ltx_td ltx_align_justify ltx_border_t" id="S4.T1.1.3.1.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T1.1.3.1.2.1"> <span class="ltx_p" id="S4.T1.1.3.1.2.1.1"><span class="ltx_text ltx_font_bold" id="S4.T1.1.3.1.2.1.1.1">14.92</span></span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_t" id="S4.T1.1.3.1.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T1.1.3.1.3.1"> <span class="ltx_p" id="S4.T1.1.3.1.3.1.1">38.10</span> </span> </td> </tr> <tr class="ltx_tr" id="S4.T1.1.4.2"> <th class="ltx_td ltx_align_left ltx_th ltx_th_row" id="S4.T1.1.4.2.1">New environment</th> <td class="ltx_td ltx_align_justify" id="S4.T1.1.4.2.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T1.1.4.2.2.1"> <span class="ltx_p" id="S4.T1.1.4.2.2.1.1"><span class="ltx_text ltx_font_bold" id="S4.T1.1.4.2.2.1.1.1">21.73</span></span> </span> </td> <td class="ltx_td ltx_align_justify" id="S4.T1.1.4.2.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T1.1.4.2.3.1"> <span class="ltx_p" id="S4.T1.1.4.2.3.1.1">62.80</span> </span> </td> </tr> <tr class="ltx_tr" id="S4.T1.1.5.3"> <th class="ltx_td ltx_align_left ltx_th ltx_th_row ltx_border_bb" id="S4.T1.1.5.3.1">No shift</th> <td class="ltx_td ltx_align_justify ltx_border_bb" id="S4.T1.1.5.3.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T1.1.5.3.2.1"> <span class="ltx_p" id="S4.T1.1.5.3.2.1.1">none</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_bb" id="S4.T1.1.5.3.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T1.1.5.3.3.1"> <span class="ltx_p" id="S4.T1.1.5.3.3.1.1">none</span> </span> </td> </tr> </tbody> </table> <figcaption class="ltx_caption"><span class="ltx_tag ltx_tag_table"><span class="ltx_text" id="S4.T1.3.1.1" style="font-size:90%;">Table 1</span>: </span><span class="ltx_text" id="S4.T1.4.2" style="font-size:90%;">Experiment 1. Detecting different types of distribution shifts on the X-Plane dataset using our method and the CM method. For each type of distribution shift, we record the average number of iterations before an alert is issued, averaged over 100 trials. Our method is able to detect each distribution shift faster than the CM method.</span></figcaption> </figure> <div class="ltx_para" id="S4.SSx1.p3"> <p class="ltx_p" id="S4.SSx1.p3.1">We compare our method against the method described by Vovk in <cite class="ltx_cite ltx_citemacro_citep">(Vovk, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib30" title="">2020</a>)</cite>, which we will refer to as the conformal martingale (CM) method. For the CM method, we use the nearest distance nonconformity score and the ratio nonconformity score respectively for the two martingales. For each type of distribution shift, we record the number of iterations before an alert is issued by our method and the CM method. The results are summarized in Table <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S4.T1" title="Table 1 ‣ Experiment 1: Fast categorization of distribution shifts ‣ 4 Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">1</span></a>. A representative plot showing martingale growth for our method and the CM method is shown in Figure <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S4.F3" title="Figure 3 ‣ 4 Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">3</span></a>.</p> </div> <div class="ltx_para" id="S4.SSx1.p4"> <p class="ltx_p" id="S4.SSx1.p4.1">In every scenario, both methods are able to detect the correct distribution shift when one exists (sensor degradation, new environment) and do not issue false alerts when there is no distribution shift, i.e., we empirically observe no false negatives or false positives. Additionally, in every scenario, our method issues an alert corresponding to the correct shift in a fewer number of iterations compared to the CM method, showing that our method is able to detect and categorize distribution shifts more quickly than existing methods.</p> </div> </section> <section class="ltx_subsection" id="S4.SSx2"> <h3 class="ltx_title ltx_title_subsection">Experiment 2: Impact of targeted interventions</h3> <div class="ltx_para" id="S4.SSx2.p1"> <p class="ltx_p" id="S4.SSx2.p1.1">Next, we look at how the knowledge of the type of distribution shift enables us to choose the right intervention, which leads to better performance compared to a generic intervention. To evaluate the effect of interventions, we use the same X-Plane dataset as the previous experiment. Images are sampled from the original sequences, the sequences with sensor degradation, or the sequences from a new runway (refer to example images in Figure <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S3.F2" title="Figure 2 ‣ 3.1 Problem Setup ‣ 3 Identifying Types of Distribution Shift ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">2</span></a>).</p> </div> <figure class="ltx_table" id="S4.T2"> <figcaption class="ltx_caption"><span class="ltx_tag ltx_tag_table"><span class="ltx_text" id="S4.T2.2.1.1" style="font-size:90%;">Table 2</span>: </span><span class="ltx_text" id="S4.T2.3.2" style="font-size:90%;">Experiment 2 - Results from applying different types of interventions on the X-Plane dataset. For each type of distribution shift, we apply either the correct intervention (replacing the sensor if sensor degradation is detected or weighted retraining if an environment shift is detected), the wrong intervention (the same interventions but applied to the converse type of shift), a generic retraining, or no intervention.</span></figcaption> <table class="ltx_tabular ltx_guessed_headers ltx_align_middle" id="S4.T2.4"> <thead class="ltx_thead"> <tr class="ltx_tr" id="S4.T2.4.1.1"> <th class="ltx_td ltx_th ltx_th_column ltx_th_row ltx_border_tt" id="S4.T2.4.1.1.1"></th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column ltx_th_row ltx_border_r ltx_border_tt" id="S4.T2.4.1.1.2"></th> <th class="ltx_td ltx_align_center ltx_th ltx_th_column ltx_border_tt" colspan="4" id="S4.T2.4.1.1.3"><span class="ltx_text ltx_font_bold" id="S4.T2.4.1.1.3.1">Type of Intervention</span></th> </tr> <tr class="ltx_tr" id="S4.T2.4.2.2"> <th class="ltx_td ltx_align_left ltx_th ltx_th_column ltx_th_row" id="S4.T2.4.2.2.1">Distribution shift</th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column ltx_th_row ltx_border_r" id="S4.T2.4.2.2.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.2.2.2.1"> <span class="ltx_p" id="S4.T2.4.2.2.2.1.1">Before shift</span> </span> </th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column" id="S4.T2.4.2.2.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.2.2.3.1"> <span class="ltx_p" id="S4.T2.4.2.2.3.1.1">None</span> </span> </th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column" id="S4.T2.4.2.2.4"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.2.2.4.1"> <span class="ltx_p" id="S4.T2.4.2.2.4.1.1">Generic retraining</span> </span> </th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column" id="S4.T2.4.2.2.5"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.2.2.5.1"> <span class="ltx_p" id="S4.T2.4.2.2.5.1.1">Wrong intervention</span> </span> </th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column" id="S4.T2.4.2.2.6"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.2.2.6.1"> <span class="ltx_p" id="S4.T2.4.2.2.6.1.1">Correct intervention</span> </span> </th> </tr> </thead> <tbody class="ltx_tbody"> <tr class="ltx_tr" id="S4.T2.4.3.1"> <th class="ltx_td ltx_align_left ltx_th ltx_th_row ltx_border_t" id="S4.T2.4.3.1.1">Sensor degradation</th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_row ltx_border_r ltx_border_t" id="S4.T2.4.3.1.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.3.1.2.1"> <span class="ltx_p" id="S4.T2.4.3.1.2.1.1">0.17</span> </span> </th> <td class="ltx_td ltx_align_justify ltx_border_t" id="S4.T2.4.3.1.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.3.1.3.1"> <span class="ltx_p" id="S4.T2.4.3.1.3.1.1">0.885</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_t" id="S4.T2.4.3.1.4"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.3.1.4.1"> <span class="ltx_p" id="S4.T2.4.3.1.4.1.1">0.549</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_t" id="S4.T2.4.3.1.5"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.3.1.5.1"> <span class="ltx_p" id="S4.T2.4.3.1.5.1.1">0.428</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_t" id="S4.T2.4.3.1.6"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.3.1.6.1"> <span class="ltx_p" id="S4.T2.4.3.1.6.1.1"><span class="ltx_text ltx_font_bold" id="S4.T2.4.3.1.6.1.1.1">0.175</span></span> </span> </td> </tr> <tr class="ltx_tr" id="S4.T2.4.4.2"> <th class="ltx_td ltx_align_left ltx_th ltx_th_row ltx_border_bb" id="S4.T2.4.4.2.1">New environment</th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_row ltx_border_bb ltx_border_r" id="S4.T2.4.4.2.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.4.2.2.1"> <span class="ltx_p" id="S4.T2.4.4.2.2.1.1">0.17</span> </span> </th> <td class="ltx_td ltx_align_justify ltx_border_bb" id="S4.T2.4.4.2.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.4.2.3.1"> <span class="ltx_p" id="S4.T2.4.4.2.3.1.1">0.771</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_bb" id="S4.T2.4.4.2.4"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.4.2.4.1"> <span class="ltx_p" id="S4.T2.4.4.2.4.1.1">0.430</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_bb" id="S4.T2.4.4.2.5"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.4.2.5.1"> <span class="ltx_p" id="S4.T2.4.4.2.5.1.1">0.759</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_bb" id="S4.T2.4.4.2.6"> <span class="ltx_inline-block ltx_align_top" id="S4.T2.4.4.2.6.1"> <span class="ltx_p" id="S4.T2.4.4.2.6.1.1"><span class="ltx_text ltx_font_bold" id="S4.T2.4.4.2.6.1.1.1">0.225</span></span> </span> </td> </tr> </tbody> </table> </figure> <div class="ltx_para" id="S4.SSx2.p2"> <p class="ltx_p" id="S4.SSx2.p2.1">If an alert is raised, i.e., a distribution shift is detected by one of our martingales, an intervention is applied. If the alert indicates that sensor degradation has occurred, the correct targeted intervention is to replace the sensor. On the other hand, if the alert indicates that the environment has shifted, the correct targeted intervention is to perform weighted retraining to prioritize learning the most recent samples. We also evaluate a generic intervention, which is retraining the model with equal weight for all samples. After the intervention, the experiment is continued for 100 more samples. Mean squared error (MSE) of the predicted cross-track and heading distance is recorded before the distribution shift and after the intervention. We also record the MSE if no intervention is applied. The comparison of MSE for different types of interventions (over 100 trials) is shown in Table <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S4.T2" title="Table 2 ‣ Experiment 2: Impact of targeted interventions ‣ 4 Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">2</span></a>.</p> </div> <div class="ltx_para" id="S4.SSx2.p3"> <p class="ltx_p" id="S4.SSx2.p3.1">Unsurprisingly, the model predictions degrade after a distribution shift occurs, so if no intervention is applied, the MSE increases significantly (from 0.17 to 0.885 or 0.771, depending on the shift). A generic retraining of the model reduces the MSE somewhat. However, the greatest reduction in MSE is achieved if the type of shift is identified and the correct corresponding intervention is applied.</p> </div> </section> <section class="ltx_subsection" id="S4.SSx3"> <h3 class="ltx_title ltx_title_subsection">Experiment 3: System lifecycle performance compared to a scheduled maintenance approach</h3> <div class="ltx_para" id="S4.SSx3.p1"> <p class="ltx_p" id="S4.SSx3.p1.1">Next, we show that applying the correct targeted intervention for each type of distribution shift not only improves model performance in the short-term, but leads to overall better performance and greater safety over the system lifecycle. We posit that a standard approach to maintain lifelong performance, in the absence of runtime monitors for different types of distribution shifts, might be to adopt a standard maintenance schedule, where all interventions are scheduled at a fixed cadence, e.g., every <math alttext="\gamma" class="ltx_Math" display="inline" id="S4.SSx3.p1.1.m1.1"><semantics id="S4.SSx3.p1.1.m1.1a"><mi id="S4.SSx3.p1.1.m1.1.1" xref="S4.SSx3.p1.1.m1.1.1.cmml">γ</mi><annotation-xml encoding="MathML-Content" id="S4.SSx3.p1.1.m1.1b"><ci id="S4.SSx3.p1.1.m1.1.1.cmml" xref="S4.SSx3.p1.1.m1.1.1">𝛾</ci></annotation-xml><annotation encoding="application/x-tex" id="S4.SSx3.p1.1.m1.1c">\gamma</annotation><annotation encoding="application/x-llamapun" id="S4.SSx3.p1.1.m1.1d">italic_γ</annotation></semantics></math> iterations. We compare such a maintenance schedule against our method, where only targeted interventions are applied, and only when the corresponding shift has been detected.</p> </div> <figure class="ltx_table" id="S4.T3"> <figcaption class="ltx_caption"><span class="ltx_tag ltx_tag_table"><span class="ltx_text" id="S4.T3.8.3.1" style="font-size:90%;">Table 3</span>: </span><span class="ltx_text" id="S4.T3.4.2" style="font-size:90%;">Experiment 3 - Comparison between our method of targeted intervention based on runtime monitoring and a scheduled maintenance approach that applies all interventions at a cadence of <math alttext="\gamma" class="ltx_Math" display="inline" id="S4.T3.3.1.m1.1"><semantics id="S4.T3.3.1.m1.1b"><mi id="S4.T3.3.1.m1.1.1" xref="S4.T3.3.1.m1.1.1.cmml">γ</mi><annotation-xml encoding="MathML-Content" id="S4.T3.3.1.m1.1c"><ci id="S4.T3.3.1.m1.1.1.cmml" xref="S4.T3.3.1.m1.1.1">𝛾</ci></annotation-xml><annotation encoding="application/x-tex" id="S4.T3.3.1.m1.1d">\gamma</annotation><annotation encoding="application/x-llamapun" id="S4.T3.3.1.m1.1e">italic_γ</annotation></semantics></math> iterations. The model MSE and number of resulting crashes are evaluated over a simulated X-Plane lifecycle, where shifts are induced according to a Poisson process with expected rate of occurrence of a shift <math alttext="\lambda" class="ltx_Math" display="inline" id="S4.T3.4.2.m2.1"><semantics id="S4.T3.4.2.m2.1b"><mi id="S4.T3.4.2.m2.1.1" xref="S4.T3.4.2.m2.1.1.cmml">λ</mi><annotation-xml encoding="MathML-Content" id="S4.T3.4.2.m2.1c"><ci id="S4.T3.4.2.m2.1.1.cmml" xref="S4.T3.4.2.m2.1.1">𝜆</ci></annotation-xml><annotation encoding="application/x-tex" id="S4.T3.4.2.m2.1d">\lambda</annotation><annotation encoding="application/x-llamapun" id="S4.T3.4.2.m2.1e">italic_λ</annotation></semantics></math>. </span></figcaption> <table class="ltx_tabular ltx_guessed_headers ltx_align_middle" id="S4.T3.6"> <thead class="ltx_thead"> <tr class="ltx_tr" id="S4.T3.6.3.1"> <th class="ltx_td ltx_th ltx_th_column ltx_th_row ltx_border_tt" id="S4.T3.6.3.1.1"></th> <th class="ltx_td ltx_th ltx_th_column ltx_th_row ltx_border_r ltx_border_tt" id="S4.T3.6.3.1.2"></th> <th class="ltx_td ltx_align_center ltx_th ltx_th_column ltx_border_r ltx_border_tt" colspan="3" id="S4.T3.6.3.1.3"><span class="ltx_text ltx_font_bold" id="S4.T3.6.3.1.3.1">MSE</span></th> <th class="ltx_td ltx_align_center ltx_th ltx_th_column ltx_border_tt" colspan="2" id="S4.T3.6.3.1.4"><span class="ltx_text ltx_font_bold" id="S4.T3.6.3.1.4.1">Number of crashes</span></th> </tr> <tr class="ltx_tr" id="S4.T3.6.2"> <th class="ltx_td ltx_align_center ltx_th ltx_th_column ltx_th_row" id="S4.T3.5.1.1"><math alttext="\lambda" class="ltx_Math" display="inline" id="S4.T3.5.1.1.m1.1"><semantics id="S4.T3.5.1.1.m1.1a"><mi id="S4.T3.5.1.1.m1.1.1" xref="S4.T3.5.1.1.m1.1.1.cmml">λ</mi><annotation-xml encoding="MathML-Content" id="S4.T3.5.1.1.m1.1b"><ci id="S4.T3.5.1.1.m1.1.1.cmml" xref="S4.T3.5.1.1.m1.1.1">𝜆</ci></annotation-xml><annotation encoding="application/x-tex" id="S4.T3.5.1.1.m1.1c">\lambda</annotation><annotation encoding="application/x-llamapun" id="S4.T3.5.1.1.m1.1d">italic_λ</annotation></semantics></math></th> <th class="ltx_td ltx_align_center ltx_th ltx_th_column ltx_th_row ltx_border_r" id="S4.T3.6.2.2"><math alttext="\gamma" class="ltx_Math" display="inline" id="S4.T3.6.2.2.m1.1"><semantics id="S4.T3.6.2.2.m1.1a"><mi id="S4.T3.6.2.2.m1.1.1" xref="S4.T3.6.2.2.m1.1.1.cmml">γ</mi><annotation-xml encoding="MathML-Content" id="S4.T3.6.2.2.m1.1b"><ci id="S4.T3.6.2.2.m1.1.1.cmml" xref="S4.T3.6.2.2.m1.1.1">𝛾</ci></annotation-xml><annotation encoding="application/x-tex" id="S4.T3.6.2.2.m1.1c">\gamma</annotation><annotation encoding="application/x-llamapun" id="S4.T3.6.2.2.m1.1d">italic_γ</annotation></semantics></math></th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column" id="S4.T3.6.2.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.2.3.1"> <span class="ltx_p" id="S4.T3.6.2.3.1.1">Pre-shift</span> </span> </th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column" id="S4.T3.6.2.4"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.2.4.1"> <span class="ltx_p" id="S4.T3.6.2.4.1.1">Ours</span> </span> </th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column ltx_border_r" id="S4.T3.6.2.5"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.2.5.1"> <span class="ltx_p" id="S4.T3.6.2.5.1.1">Maintenance</span> </span> </th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column" id="S4.T3.6.2.6"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.2.6.1"> <span class="ltx_p" id="S4.T3.6.2.6.1.1">Ours</span> </span> </th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column" id="S4.T3.6.2.7"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.2.7.1"> <span class="ltx_p" id="S4.T3.6.2.7.1.1">Maintenance</span> </span> </th> </tr> </thead> <tbody class="ltx_tbody"> <tr class="ltx_tr" id="S4.T3.6.4.1"> <th class="ltx_td ltx_align_center ltx_th ltx_th_row ltx_border_t" id="S4.T3.6.4.1.1">100</th> <th class="ltx_td ltx_align_center ltx_th ltx_th_row ltx_border_r ltx_border_t" id="S4.T3.6.4.1.2">100</th> <td class="ltx_td ltx_align_justify ltx_border_t" id="S4.T3.6.4.1.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.4.1.3.1"> <span class="ltx_p" id="S4.T3.6.4.1.3.1.1">0.198</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_t" id="S4.T3.6.4.1.4"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.4.1.4.1"> <span class="ltx_p" id="S4.T3.6.4.1.4.1.1"><span class="ltx_text ltx_font_bold" id="S4.T3.6.4.1.4.1.1.1">0.259</span></span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_r ltx_border_t" id="S4.T3.6.4.1.5"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.4.1.5.1"> <span class="ltx_p" id="S4.T3.6.4.1.5.1.1">0.301</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_t" id="S4.T3.6.4.1.6"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.4.1.6.1"> <span class="ltx_p" id="S4.T3.6.4.1.6.1.1"><span class="ltx_text ltx_font_bold" id="S4.T3.6.4.1.6.1.1.1">0</span></span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_t" id="S4.T3.6.4.1.7"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.4.1.7.1"> <span class="ltx_p" id="S4.T3.6.4.1.7.1.1">5.6</span> </span> </td> </tr> <tr class="ltx_tr" id="S4.T3.6.5.2"> <th class="ltx_td ltx_align_center ltx_th ltx_th_row" id="S4.T3.6.5.2.1">100</th> <th class="ltx_td ltx_align_center ltx_th ltx_th_row ltx_border_r" id="S4.T3.6.5.2.2">50</th> <td class="ltx_td ltx_align_justify" id="S4.T3.6.5.2.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.5.2.3.1"> <span class="ltx_p" id="S4.T3.6.5.2.3.1.1">0.198</span> </span> </td> <td class="ltx_td ltx_align_justify" id="S4.T3.6.5.2.4"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.5.2.4.1"> <span class="ltx_p" id="S4.T3.6.5.2.4.1.1">0.281</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_r" id="S4.T3.6.5.2.5"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.5.2.5.1"> <span class="ltx_p" id="S4.T3.6.5.2.5.1.1"><span class="ltx_text ltx_font_bold" id="S4.T3.6.5.2.5.1.1.1">0.248</span></span> </span> </td> <td class="ltx_td ltx_align_justify" id="S4.T3.6.5.2.6"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.5.2.6.1"> <span class="ltx_p" id="S4.T3.6.5.2.6.1.1"><span class="ltx_text ltx_font_bold" id="S4.T3.6.5.2.6.1.1.1">0</span></span> </span> </td> <td class="ltx_td ltx_align_justify" id="S4.T3.6.5.2.7"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.5.2.7.1"> <span class="ltx_p" id="S4.T3.6.5.2.7.1.1">3.8</span> </span> </td> </tr> <tr class="ltx_tr" id="S4.T3.6.6.3"> <th class="ltx_td ltx_align_center ltx_th ltx_th_row ltx_border_bb" id="S4.T3.6.6.3.1">50</th> <th class="ltx_td ltx_align_center ltx_th ltx_th_row ltx_border_bb ltx_border_r" id="S4.T3.6.6.3.2">50</th> <td class="ltx_td ltx_align_justify ltx_border_bb" id="S4.T3.6.6.3.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.6.3.3.1"> <span class="ltx_p" id="S4.T3.6.6.3.3.1.1">0.198</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_bb" id="S4.T3.6.6.3.4"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.6.3.4.1"> <span class="ltx_p" id="S4.T3.6.6.3.4.1.1"><span class="ltx_text ltx_font_bold" id="S4.T3.6.6.3.4.1.1.1">0.377</span></span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_bb ltx_border_r" id="S4.T3.6.6.3.5"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.6.3.5.1"> <span class="ltx_p" id="S4.T3.6.6.3.5.1.1">0.378</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_bb" id="S4.T3.6.6.3.6"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.6.3.6.1"> <span class="ltx_p" id="S4.T3.6.6.3.6.1.1"><span class="ltx_text ltx_font_bold" id="S4.T3.6.6.3.6.1.1.1">0</span></span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_bb" id="S4.T3.6.6.3.7"> <span class="ltx_inline-block ltx_align_top" id="S4.T3.6.6.3.7.1"> <span class="ltx_p" id="S4.T3.6.6.3.7.1.1">3.5</span> </span> </td> </tr> </tbody> </table> </figure> <div class="ltx_para" id="S4.SSx3.p2"> <p class="ltx_p" id="S4.SSx3.p2.4">We see that our method of only applying targeted interventions when a distribution shift is detected often achieves a lower MSE over the lifecycle as compared to the maintenance schedule, despite the maintenance schedule running <span class="ltx_text ltx_font_italic" id="S4.SSx3.p2.4.1">every</span> intervention at a fixed cadence. When the maintenance frequency (<math alttext="\gamma" class="ltx_Math" display="inline" id="S4.SSx3.p2.1.m1.1"><semantics id="S4.SSx3.p2.1.m1.1a"><mi id="S4.SSx3.p2.1.m1.1.1" xref="S4.SSx3.p2.1.m1.1.1.cmml">γ</mi><annotation-xml encoding="MathML-Content" id="S4.SSx3.p2.1.m1.1b"><ci id="S4.SSx3.p2.1.m1.1.1.cmml" xref="S4.SSx3.p2.1.m1.1.1">𝛾</ci></annotation-xml><annotation encoding="application/x-tex" id="S4.SSx3.p2.1.m1.1c">\gamma</annotation><annotation encoding="application/x-llamapun" id="S4.SSx3.p2.1.m1.1d">italic_γ</annotation></semantics></math>) is equal to the rate at which shifts occur (<math alttext="\lambda" class="ltx_Math" display="inline" id="S4.SSx3.p2.2.m2.1"><semantics id="S4.SSx3.p2.2.m2.1a"><mi id="S4.SSx3.p2.2.m2.1.1" xref="S4.SSx3.p2.2.m2.1.1.cmml">λ</mi><annotation-xml encoding="MathML-Content" id="S4.SSx3.p2.2.m2.1b"><ci id="S4.SSx3.p2.2.m2.1.1.cmml" xref="S4.SSx3.p2.2.m2.1.1">𝜆</ci></annotation-xml><annotation encoding="application/x-tex" id="S4.SSx3.p2.2.m2.1c">\lambda</annotation><annotation encoding="application/x-llamapun" id="S4.SSx3.p2.2.m2.1d">italic_λ</annotation></semantics></math>), our method achieves a lower MSE. Only when maintenance is carried out at double the frequency, i.e., <math alttext="\gamma" class="ltx_Math" display="inline" id="S4.SSx3.p2.3.m3.1"><semantics id="S4.SSx3.p2.3.m3.1a"><mi id="S4.SSx3.p2.3.m3.1.1" xref="S4.SSx3.p2.3.m3.1.1.cmml">γ</mi><annotation-xml encoding="MathML-Content" id="S4.SSx3.p2.3.m3.1b"><ci id="S4.SSx3.p2.3.m3.1.1.cmml" xref="S4.SSx3.p2.3.m3.1.1">𝛾</ci></annotation-xml><annotation encoding="application/x-tex" id="S4.SSx3.p2.3.m3.1c">\gamma</annotation><annotation encoding="application/x-llamapun" id="S4.SSx3.p2.3.m3.1d">italic_γ</annotation></semantics></math> is half of <math alttext="\lambda" class="ltx_Math" display="inline" id="S4.SSx3.p2.4.m4.1"><semantics id="S4.SSx3.p2.4.m4.1a"><mi id="S4.SSx3.p2.4.m4.1.1" xref="S4.SSx3.p2.4.m4.1.1.cmml">λ</mi><annotation-xml encoding="MathML-Content" id="S4.SSx3.p2.4.m4.1b"><ci id="S4.SSx3.p2.4.m4.1.1.cmml" xref="S4.SSx3.p2.4.m4.1.1">𝜆</ci></annotation-xml><annotation encoding="application/x-tex" id="S4.SSx3.p2.4.m4.1c">\lambda</annotation><annotation encoding="application/x-llamapun" id="S4.SSx3.p2.4.m4.1d">italic_λ</annotation></semantics></math>, does the maintenance schedule outperform our method in terms of lower MSE.</p> </div> <figure class="ltx_figure" id="S4.F4"><img alt="Refer to caption" class="ltx_graphics ltx_centering ltx_img_landscape" height="307" id="S4.F4.g1" src="x3.png" width="415"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S4.F4.2.1.1" style="font-size:90%;">Figure 4</span>: </span><span class="ltx_text" id="S4.F4.3.2" style="font-size:90%;">Martingale values for a brightness shift when multiple martingales are deployed simultaneously. All three martingales detect a shift, but the brightness shift martingale issues a warning signal before the other two martingales. </span></figcaption> </figure> <div class="ltx_para" id="S4.SSx3.p3"> <p class="ltx_p" id="S4.SSx3.p3.1">More importantly, our method reduces the frequency of crashes (in fact, completely prevents crashes in this experiment) in all cases while the maintenance schedule occasionally leads to crashes, i.e., on average 3-5 crashes over 1000 iterations. This is because our method uses runtime monitors to quickly detect that a distribution shift has occurred and applies the correct intervention to prevent excessive degradation of the predictions. On the other hand, maintenance is carried out at a fixed cadence, so in some instances where a shift occurs soon after a scheduled maintenance has been completed, that shift can quickly cause errors to snowball and lead to a crash within 45 iterations, before the next scheduled maintenance can take place. Thus, we see that timely and targeted runtime monitoring leads to better performance and fewer failures over the system lifecycle.</p> </div> </section> <section class="ltx_subsection" id="S4.SSx4"> <h3 class="ltx_title ltx_title_subsection">Experiment 4: Tailoring custom martingales to specific types of shifts</h3> <div class="ltx_para" id="S4.SSx4.p1"> <p class="ltx_p" id="S4.SSx4.p1.1">Custom martingales can be designed to detect other specific types of shifts. As an example, we define a new martingale to detect a shift in <span class="ltx_text ltx_font_italic" id="S4.SSx4.p1.1.1">brightness</span> of the images, since a brightness shift is a common trigger for existing runtime monitors. This martingale uses the same CNN classifier as before, but it is trained by using the feature vector from the layer of a ResNet-50 architecture that most closely corresponds to image brightness. Specifically, we evaluate all 50 feature vectors from the intermediate layers of the ResNet-50 model and choose the feature vector that changes the most with changes in image brightness. This experiment reinforces one of the advantages of our method: system designers with insights into a likely type of distribution shift can construct a monitor to alert an issue if such a shift occurs.</p> </div> <figure class="ltx_table" id="S4.T4"> <figcaption class="ltx_caption"><span class="ltx_tag ltx_tag_table"><span class="ltx_text" id="S4.T4.2.1.1" style="font-size:90%;">Table 4</span>: </span><span class="ltx_text" id="S4.T4.3.2" style="font-size:90%;">Experiment 4 - Comparison of the mean number of iterations before an alert is issued by each of the martingales after each type of distribution shift (sensor degradation - SD, environment shift - ES), and the accuracy with which each distribution shift is identified most quickly by the corresponding martingale.</span></figcaption> <table class="ltx_tabular ltx_guessed_headers ltx_align_middle" id="S4.T4.4"> <thead class="ltx_thead"> <tr class="ltx_tr" id="S4.T4.4.1.1"> <th class="ltx_td ltx_th ltx_th_column ltx_border_r ltx_border_tt" id="S4.T4.4.1.1.1"></th> <th class="ltx_td ltx_align_center ltx_th ltx_th_column ltx_border_r ltx_border_tt" colspan="3" id="S4.T4.4.1.1.2"><span class="ltx_text ltx_font_bold" id="S4.T4.4.1.1.2.1">Mean Iterations Until Alert</span></th> <th class="ltx_td ltx_align_center ltx_th ltx_th_column ltx_border_tt" id="S4.T4.4.1.1.3"><span class="ltx_text ltx_font_bold" id="S4.T4.4.1.1.3.1">First Detection Accuracy</span></th> </tr> <tr class="ltx_tr" id="S4.T4.4.2.2"> <th class="ltx_td ltx_align_left ltx_th ltx_th_column ltx_border_r" id="S4.T4.4.2.2.1">Distribution shift</th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column" id="S4.T4.4.2.2.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T4.4.2.2.2.1"> <span class="ltx_p" id="S4.T4.4.2.2.2.1.1">SD martingale</span> </span> </th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column" id="S4.T4.4.2.2.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T4.4.2.2.3.1"> <span class="ltx_p" id="S4.T4.4.2.2.3.1.1">ES martingale</span> </span> </th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column ltx_border_r" id="S4.T4.4.2.2.4"> <span class="ltx_inline-block ltx_align_top" id="S4.T4.4.2.2.4.1"> <span class="ltx_p" id="S4.T4.4.2.2.4.1.1">Brightness martingale</span> </span> </th> <th class="ltx_td ltx_th ltx_th_column" id="S4.T4.4.2.2.5"></th> </tr> </thead> <tbody class="ltx_tbody"> <tr class="ltx_tr" id="S4.T4.4.3.1"> <td class="ltx_td ltx_align_left ltx_border_r ltx_border_t" id="S4.T4.4.3.1.1">Sensor degradation</td> <td class="ltx_td ltx_align_justify ltx_border_t" id="S4.T4.4.3.1.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T4.4.3.1.2.1"> <span class="ltx_p" id="S4.T4.4.3.1.2.1.1"><span class="ltx_text ltx_font_bold" id="S4.T4.4.3.1.2.1.1.1">15.51</span></span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_t" id="S4.T4.4.3.1.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T4.4.3.1.3.1"> <span class="ltx_p" id="S4.T4.4.3.1.3.1.1">26.15</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_r ltx_border_t" id="S4.T4.4.3.1.4"> <span class="ltx_inline-block ltx_align_top" id="S4.T4.4.3.1.4.1"> <span class="ltx_p" id="S4.T4.4.3.1.4.1.1">None</span> </span> </td> <td class="ltx_td ltx_align_center ltx_border_t" id="S4.T4.4.3.1.5">100%</td> </tr> <tr class="ltx_tr" id="S4.T4.4.4.2"> <td class="ltx_td ltx_align_left ltx_border_r" id="S4.T4.4.4.2.1">Environment shift</td> <td class="ltx_td ltx_align_justify" id="S4.T4.4.4.2.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T4.4.4.2.2.1"> <span class="ltx_p" id="S4.T4.4.4.2.2.1.1">22.72</span> </span> </td> <td class="ltx_td ltx_align_justify" id="S4.T4.4.4.2.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T4.4.4.2.3.1"> <span class="ltx_p" id="S4.T4.4.4.2.3.1.1"><span class="ltx_text ltx_font_bold" id="S4.T4.4.4.2.3.1.1.1">16.41</span></span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_r" id="S4.T4.4.4.2.4"> <span class="ltx_inline-block ltx_align_top" id="S4.T4.4.4.2.4.1"> <span class="ltx_p" id="S4.T4.4.4.2.4.1.1">None</span> </span> </td> <td class="ltx_td ltx_align_center" id="S4.T4.4.4.2.5">100%</td> </tr> <tr class="ltx_tr" id="S4.T4.4.5.3"> <td class="ltx_td ltx_align_left ltx_border_bb ltx_border_r" id="S4.T4.4.5.3.1">Brightness shift</td> <td class="ltx_td ltx_align_justify ltx_border_bb" id="S4.T4.4.5.3.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T4.4.5.3.2.1"> <span class="ltx_p" id="S4.T4.4.5.3.2.1.1">22.98</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_bb" id="S4.T4.4.5.3.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T4.4.5.3.3.1"> <span class="ltx_p" id="S4.T4.4.5.3.3.1.1">28.75</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_bb ltx_border_r" id="S4.T4.4.5.3.4"> <span class="ltx_inline-block ltx_align_top" id="S4.T4.4.5.3.4.1"> <span class="ltx_p" id="S4.T4.4.5.3.4.1.1"><span class="ltx_text ltx_font_bold" id="S4.T4.4.5.3.4.1.1.1">17.72</span></span> </span> </td> <td class="ltx_td ltx_align_center ltx_border_bb" id="S4.T4.4.5.3.5">89%</td> </tr> </tbody> </table> </figure> <div class="ltx_para" id="S4.SSx4.p2"> <p class="ltx_p" id="S4.SSx4.p2.1">On average, all three martingales usually detect their corresponding distribution shift faster than the other two martingales. It is worth noting that a change in brightness also induces a shift in image distribution. Therefore, the brightness martingale detects the shift first 89% of the time, taking, on average, 17.92 iterations to issue an alert. The other 11% of time, however, the sensor degradation martingale detects a shift first, because the input distribution is changing as well. Similarly, a shift such as sensor degradation not only changes the distribution of input images but also that of labels, so eventually an alert is raised by the environment shift martingale as well. Most notably, the brightness martingale only issues an alert for a shift in brightness and not for the other two shifts. This demonstrates that it is possible to design custom martingales that act as runtime monitors for specific predefined distribution shifts, allowing system designers to use their domain expertise to design the most informative runtime monitors.</p> </div> </section> <section class="ltx_subsection" id="S4.SSx5"> <h3 class="ltx_title ltx_title_subsection">Experiment 5: Categorizing distribution shifts on a hardware free-flyer space robotics testbed</h3> <div class="ltx_para" id="S4.SSx5.p1"> <p class="ltx_p" id="S4.SSx5.p1.1">We also demonstrate the effectiveness of our method on a hardware free-flyer space robotics testbed with input from a forward-facing Intel Realsense D455 camera mounted on the side, as pictured in Figure <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S4.F7" title="Figure 7 ‣ Experiment 5: Categorizing distribution shifts on a hardware free-flyer space robotics testbed ‣ 4 Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">7</span></a>. The free-flyer is a cold gas thruster-actuated 2D mobile robot that floats almost frictionlessly on a smooth granite table, developed to simulate zero-g or zero-friction conditions in aerospace robotics applications <cite class="ltx_cite ltx_citemacro_citep">(Tanaka and Spenko, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib27" title="">2020</a>)</cite>.</p> </div> <figure class="ltx_table" id="S4.T5"> <table class="ltx_tabular ltx_guessed_headers ltx_align_middle" id="S4.T5.2"> <thead class="ltx_thead"> <tr class="ltx_tr" id="S4.T5.2.1.1"> <th class="ltx_td ltx_align_center ltx_th ltx_th_column ltx_th_row ltx_border_tt" colspan="3" id="S4.T5.2.1.1.1"><span class="ltx_text ltx_font_bold" id="S4.T5.2.1.1.1.1">Mean Iterations Until Alert</span></th> </tr> <tr class="ltx_tr" id="S4.T5.2.2.2"> <th class="ltx_td ltx_align_left ltx_th ltx_th_column ltx_th_row" id="S4.T5.2.2.2.1">Distribution shift</th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column" id="S4.T5.2.2.2.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T5.2.2.2.2.1"> <span class="ltx_p" id="S4.T5.2.2.2.2.1.1">Ours</span> </span> </th> <th class="ltx_td ltx_align_justify ltx_th ltx_th_column" id="S4.T5.2.2.2.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T5.2.2.2.3.1"> <span class="ltx_p" id="S4.T5.2.2.2.3.1.1">CM</span> </span> </th> </tr> </thead> <tbody class="ltx_tbody"> <tr class="ltx_tr" id="S4.T5.2.3.1"> <th class="ltx_td ltx_align_left ltx_th ltx_th_row ltx_border_t" id="S4.T5.2.3.1.1">Sensor degradation</th> <td class="ltx_td ltx_align_justify ltx_border_t" id="S4.T5.2.3.1.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T5.2.3.1.2.1"> <span class="ltx_p" id="S4.T5.2.3.1.2.1.1"><span class="ltx_text ltx_font_bold" id="S4.T5.2.3.1.2.1.1.1">23.45</span></span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_t" id="S4.T5.2.3.1.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T5.2.3.1.3.1"> <span class="ltx_p" id="S4.T5.2.3.1.3.1.1">31.9</span> </span> </td> </tr> <tr class="ltx_tr" id="S4.T5.2.4.2"> <th class="ltx_td ltx_align_left ltx_th ltx_th_row" id="S4.T5.2.4.2.1">Environment shift</th> <td class="ltx_td ltx_align_justify" id="S4.T5.2.4.2.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T5.2.4.2.2.1"> <span class="ltx_p" id="S4.T5.2.4.2.2.1.1"><span class="ltx_text ltx_font_bold" id="S4.T5.2.4.2.2.1.1.1">18.20</span></span> </span> </td> <td class="ltx_td ltx_align_justify" id="S4.T5.2.4.2.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T5.2.4.2.3.1"> <span class="ltx_p" id="S4.T5.2.4.2.3.1.1">58.3</span> </span> </td> </tr> <tr class="ltx_tr" id="S4.T5.2.5.3"> <th class="ltx_td ltx_align_left ltx_th ltx_th_row ltx_border_bb" id="S4.T5.2.5.3.1">No shift</th> <td class="ltx_td ltx_align_justify ltx_border_bb" id="S4.T5.2.5.3.2"> <span class="ltx_inline-block ltx_align_top" id="S4.T5.2.5.3.2.1"> <span class="ltx_p" id="S4.T5.2.5.3.2.1.1">none</span> </span> </td> <td class="ltx_td ltx_align_justify ltx_border_bb" id="S4.T5.2.5.3.3"> <span class="ltx_inline-block ltx_align_top" id="S4.T5.2.5.3.3.1"> <span class="ltx_p" id="S4.T5.2.5.3.3.1.1">none</span> </span> </td> </tr> </tbody> </table> <figcaption class="ltx_caption"><span class="ltx_tag ltx_tag_table"><span class="ltx_text" id="S4.T5.3.1.1" style="font-size:90%;">Table 5</span>: </span><span class="ltx_text" id="S4.T5.4.2" style="font-size:90%;">Experiment 5 - Detecting different types of distribution shifts on the free-flyer testbed using our method and the CM method. Our method is able to detect each distribution shift faster than the CM method.</span></figcaption> </figure> <div class="ltx_para" id="S4.SSx5.p2"> <p class="ltx_p" id="S4.SSx5.p2.1">We introduce distributions shifts similar to the previous experiments. We simulate sensor degradation by adding Gaussian noise to the images, an example of which is shown in Figure <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S8.F10.sf3" title="In Figure 10 ‣ 8 Free-Flyer Hardware Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">10(c)</span></a>. We simulate environment shift by changing the starting position (and therefore, the resulting trajectory) of the free-flyer, an example of which is shown in Figure <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S8.F10.sf2" title="In Figure 10 ‣ 8 Free-Flyer Hardware Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">10(b)</span></a>. We measure how many time-steps it takes to detect a distribution shift, comparing both our method and the CM method using nearest neightbor nonconformity scores <cite class="ltx_cite ltx_citemacro_citep">(Vovk, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib30" title="">2020</a>)</cite>. The results are summarized in Table <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S4.T5" title="Table 5 ‣ Experiment 5: Categorizing distribution shifts on a hardware free-flyer space robotics testbed ‣ 4 Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">5</span></a>.</p> </div> <div class="ltx_para" id="S4.SSx5.p3"> <p class="ltx_p" id="S4.SSx5.p3.1">For both the sensor degradation and environment shift, our method detects a shift faster than the CM method. Additionally, neither method issues a false positive, i.e., neither raises an alarm when a shift has not occurred. These results show that our method more rapidly warns us of different types of distribution shifts compared to existing methods and can be used for runtime monitoring in safety-critical contexts.</p> </div> <figure class="ltx_figure" id="S4.F7"> <div class="ltx_flex_figure"> <div class="ltx_flex_cell ltx_flex_size_2"> <figure class="ltx_figure ltx_figure_panel ltx_minipage ltx_align_center ltx_align_bottom" id="S4.F7.1" style="width:130.1pt;"><img alt="Refer to caption" class="ltx_graphics ltx_img_landscape" height="449" id="S4.F7.1.g1" src="extracted/5766884/figures/freeflyer_setup_compressed.jpg" width="598"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S4.F7.1.1.1.1" style="font-size:90%;">Figure 5</span>: </span><span class="ltx_text" id="S4.F7.1.2.2" style="font-size:90%;">Free-flyer robot platform</span></figcaption> </figure> </div> <div class="ltx_flex_cell ltx_flex_size_2"> <figure class="ltx_figure ltx_figure_panel ltx_minipage ltx_align_center ltx_align_bottom" id="S4.F7.2" style="width:130.1pt;"><img alt="Refer to caption" class="ltx_graphics ltx_img_landscape" height="444" id="S4.F7.2.g1" src="extracted/5766884/figures/target.png" width="598"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S4.F7.2.1.1.1" style="font-size:90%;">Figure 6</span>: </span><span class="ltx_text" id="S4.F7.2.2.2" style="font-size:90%;">Visual servoing target</span></figcaption> </figure> </div> </div> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S4.F7.4.1.1" style="font-size:90%;">Figure 7</span>: </span><span class="ltx_text" id="S4.F7.5.2" style="font-size:90%;">(<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S4.F7" title="Figure 7 ‣ Experiment 5: Categorizing distribution shifts on a hardware free-flyer space robotics testbed ‣ 4 Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">7</span></a>) Hardware setup with camera mounted on the side of the mobile robot. (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S4.F7" title="Figure 7 ‣ Experiment 5: Categorizing distribution shifts on a hardware free-flyer space robotics testbed ‣ 4 Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">7</span></a>) The visual servoing target that the robot navigates to.</span></figcaption> </figure> </section> </section> <section class="ltx_section" id="S5"> <h2 class="ltx_title ltx_title_section"> <span class="ltx_tag ltx_tag_section">5 </span>Conclusion</h2> <div class="ltx_para" id="S5.p1"> <p class="ltx_p" id="S5.p1.1">In this paper, we introduce a novel framework for diagnosing the cause of a distribution shift, and experimentally validate the speed and adaptability of our method to different types of distribution shifts, models, and datasets. We demonstrate that knowledge of the underlying cause of a distribution shift allows the system designer to induce an appropriate mitigation strategy, and applying our method outperforms a traditional maintenance schedule while reducing cost.</p> </div> <div class="ltx_para" id="S5.p2"> <p class="ltx_p" id="S5.p2.1">In future work, we would like to explore combining our method with other strategies to prevent performance degradation in real-time systems <cite class="ltx_cite ltx_citemacro_citep">(Sinha et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib25" title="">2022</a>, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib26" title="">2023</a>)</cite>, and understanding how to combine possibly correlated monitors to achieve stronger system performance guarantees.</p> </div> </section> <section class="ltx_bibliography" id="bib"> <h2 class="ltx_title ltx_title_bibliography">References</h2> <ul class="ltx_biblist"> <li class="ltx_bibitem" id="bib.bib1"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Alexandari et al (2020)</span> <span class="ltx_bibblock"> Alexandari A, Kundaje A, Shrikumar A (2020) Maximum likelihood with bias-corrected calibration is hard-to-beat at label shift adaptation. <a class="ltx_ref ltx_url ltx_font_typewriter" href="1901.06852" title="">1901.06852</a> </span> </li> <li class="ltx_bibitem" id="bib.bib2"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Chang et al (2021)</span> <span class="ltx_bibblock"> Chang JD, Uehara M, Sreenivas D, Kidambi R, Sun W (2021) Mitigating covariate shift in imitation learning via offline data without great coverage. arXiv preprint arXiv:210603207 </span> </li> <li class="ltx_bibitem" id="bib.bib3"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Eliades and Papadopoulos (2020)</span> <span class="ltx_bibblock"> Eliades C, Papadopoulos H (2020) A histogram based betting function for conformal martingales. In: Conformal and Probabilistic Prediction and Applications, PMLR, pp 100–113 </span> </li> <li class="ltx_bibitem" id="bib.bib4"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Fedorova et al (2012)</span> <span class="ltx_bibblock"> Fedorova V, Gammerman A, Nouretdinov I, Vovk V (2012) Plug-in martingales for testing exchangeability on-line. arXiv preprint arXiv:12043251 </span> </li> <li class="ltx_bibitem" id="bib.bib5"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Gretton et al (2012)</span> <span class="ltx_bibblock"> Gretton A, Borgwardt KM, Rasch MJ, Schölkopf B, Smola A (2012) A kernel two-sample test. J Mach Learn Res 13(null):723–773 </span> </li> <li class="ltx_bibitem" id="bib.bib6"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Hajnayeb et al (2008)</span> <span class="ltx_bibblock"> Hajnayeb A, Khadem S, Moradi M (2008) Design and implementation of an automatic condition-monitoring expert system for ball-bearing fault detection. Industrial Lubrication and Tribology 60(2):93–100 </span> </li> <li class="ltx_bibitem" id="bib.bib7"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Ho (2005)</span> <span class="ltx_bibblock"> Ho SS (2005) A martingale framework for concept change detection in time-varying data streams. In: Proceedings of the 22nd international conference on Machine learning, pp 321–327 </span> </li> <li class="ltx_bibitem" id="bib.bib8"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Hu and Lei (2020)</span> <span class="ltx_bibblock"> Hu X, Lei J (2020) A distribution-free test of covariate shift using conformal prediction. arXiv preprint arXiv:201007147 </span> </li> <li class="ltx_bibitem" id="bib.bib9"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Hull (1994)</span> <span class="ltx_bibblock"> Hull JJ (1994) A database for handwritten text recognition research. IEEE Transactions on Pattern Analysis and Machine Intelligence 16(5):550–554, <a class="ltx_ref" href="https:/doi.org/10.1109/34.291440" title="">10.1109/34.291440</a> </span> </li> <li class="ltx_bibitem" id="bib.bib10"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Kamulete (2021)</span> <span class="ltx_bibblock"> Kamulete VM (2021) Test for non-negligible adverse shifts. ArXiv abs/2107.02990 </span> </li> <li class="ltx_bibitem" id="bib.bib11"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Kang (2018)</span> <span class="ltx_bibblock"> Kang M (2018) Machine learning: Anomaly detection. Prognostics and health management of electronics: fundamentals, machine learning, and the internet of things pp 131–162 </span> </li> <li class="ltx_bibitem" id="bib.bib12"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Katz et al (2021)</span> <span class="ltx_bibblock"> Katz SM, Corso A, Chinchali S, Elhafsi A, Sharma A, Kochenderfer MJ, Pavone M (2021) Nasa uli aircraft taxi dataset. <a class="ltx_ref ltx_url ltx_font_typewriter" href="https://purl.stanford.edu/zz143mb4347" title="">https://purl.stanford.edu/zz143mb4347</a> </span> </li> <li class="ltx_bibitem" id="bib.bib13"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Kulinski et al (2020)</span> <span class="ltx_bibblock"> Kulinski SM, Bagchi S, Inouye DI (2020) Feature shift detection: Localizing which features have shifted via conditional distribution tests. ArXiv abs/2107.06929 </span> </li> <li class="ltx_bibitem" id="bib.bib14"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Lei et al (2020)</span> <span class="ltx_bibblock"> Lei Y, Yang B, Jiang X, Jia F, Li N, Nandi AK (2020) Applications of machine learning to machine fault diagnosis: A review and roadmap. Mechanical Systems and Signal Processing 138:106,587 </span> </li> <li class="ltx_bibitem" id="bib.bib15"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Li et al (2016)</span> <span class="ltx_bibblock"> Li Y, Xu M, Wei Y, Huang W (2016) A new rolling bearing fault diagnosis method based on multiscale permutation entropy and improved support vector machine based binary tree. Measurement 77:80–94 </span> </li> <li class="ltx_bibitem" id="bib.bib16"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Lipton et al (2018)</span> <span class="ltx_bibblock"> Lipton ZC, Wang YX, Smola A (2018) Detecting and correcting for label shift with black box predictors. <a class="ltx_ref ltx_url ltx_font_typewriter" href="1802.03916" title="">1802.03916</a> </span> </li> <li class="ltx_bibitem" id="bib.bib17"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Luo et al (2023)</span> <span class="ltx_bibblock"> Luo R, Sinha R, Sun Y, Hindy A, Zhao S, Savarese S, Schmerling E, Pavone M (2023) Online distribution shift detection via recency prediction. <a class="ltx_ref ltx_url ltx_font_typewriter" href="2211.09916" title="">2211.09916</a> </span> </li> <li class="ltx_bibitem" id="bib.bib18"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Merainani et al (2018)</span> <span class="ltx_bibblock"> Merainani B, Rahmoune C, Benazzouz D, Ould-Bouamama B (2018) A novel gearbox fault feature extraction and classification using hilbert empirical wavelet transform, singular value decomposition, and som neural network. Journal of Vibration and Control 24(12):2512–2531 </span> </li> <li class="ltx_bibitem" id="bib.bib19"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Nandi and Toliyat (1999)</span> <span class="ltx_bibblock"> Nandi S, Toliyat HA (1999) Fault diagnosis of electrical machines-a review. In: IEEE International Electric Machines and Drives Conference. IEMDC’99. Proceedings (Cat. No. 99EX272), IEEE, pp 219–221 </span> </li> <li class="ltx_bibitem" id="bib.bib20"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Netti et al (2020)</span> <span class="ltx_bibblock"> Netti A, Kiziltan Z, Babaoglu O, Sîrbu A, Bartolini A, Borghesi A (2020) A machine learning approach to online fault classification in hpc systems. Future Generation Computer Systems 110:1009–1022 </span> </li> <li class="ltx_bibitem" id="bib.bib21"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Podkopaev and Ramdas (2021)</span> <span class="ltx_bibblock"> Podkopaev A, Ramdas A (2021) Tracking the risk of a deployed model and detecting harmful distribution shifts. arXiv preprint arXiv:211006177 </span> </li> <li class="ltx_bibitem" id="bib.bib22"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Quionero-Candela et al (2009)</span> <span class="ltx_bibblock"> Quionero-Candela J, Sugiyama M, Schwaighofer A, Lawrence ND (2009) Dataset Shift in Machine Learning. The MIT Press </span> </li> <li class="ltx_bibitem" id="bib.bib23"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Rabanser et al (2019)</span> <span class="ltx_bibblock"> Rabanser S, Günnemann S, Lipton ZC (2019) Failing loudly: An empirical study of methods for detecting dataset shift. In: NeurIPS </span> </li> <li class="ltx_bibitem" id="bib.bib24"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Seera and Lim (2013)</span> <span class="ltx_bibblock"> Seera M, Lim CP (2013) Online motor fault detection and diagnosis using a hybrid fmm-cart model. IEEE Transactions on Neural Networks and Learning Systems 25(4):806–812 </span> </li> <li class="ltx_bibitem" id="bib.bib25"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Sinha et al (2022)</span> <span class="ltx_bibblock"> Sinha R, Sharma A, Banerjee S, Lew T, Luo R, Richards SM, Sun Y, Schmerling E, Pavone M (2022) A system-level view on out-of-distribution data in robotics. URL <a class="ltx_ref ltx_url ltx_font_typewriter" href="https://arxiv.org/abs/2212.14020" title="">https://arxiv.org/abs/2212.14020</a> </span> </li> <li class="ltx_bibitem" id="bib.bib26"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Sinha et al (2023)</span> <span class="ltx_bibblock"> Sinha R, Schmerling E, Pavone M (2023) Closing the loop on runtime monitors with fallback-safe mpc. In: 2023 62nd IEEE Conference on Decision and Control (CDC), pp 6533–6540 </span> </li> <li class="ltx_bibitem" id="bib.bib27"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Tanaka and Spenko (2020)</span> <span class="ltx_bibblock"> Tanaka K, Spenko M (2020) A gecko-like/electrostatic gripper for free-flying perching robots. In: 2020 IEEE Aerospace Conference, IEEE, pp 1–7 </span> </li> <li class="ltx_bibitem" id="bib.bib28"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Toma et al (2020)</span> <span class="ltx_bibblock"> Toma RN, Prosvirin AE, Kim JM (2020) Bearing fault diagnosis of induction motors using a genetic algorithm and machine learning classifiers. Sensors 20(7):1884 </span> </li> <li class="ltx_bibitem" id="bib.bib29"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Volkhonskiy et al (2017)</span> <span class="ltx_bibblock"> Volkhonskiy D, Burnaev E, Nouretdinov I, Gammerman A, Vovk V (2017) Inductive conformal martingales for change-point detection. In: Conformal and Probabilistic Prediction and Applications, PMLR, pp 132–153 </span> </li> <li class="ltx_bibitem" id="bib.bib30"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Vovk (2020)</span> <span class="ltx_bibblock"> Vovk V (2020) Testing for concept shift online. <a class="ltx_ref ltx_url ltx_font_typewriter" href="2012.14246" title="">2012.14246</a> </span> </li> <li class="ltx_bibitem" id="bib.bib31"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Vovk (2021a)</span> <span class="ltx_bibblock"> Vovk V (2021a) Conformal testing in a binary model situation. In: Conformal and Probabilistic Prediction and Applications, PMLR, pp 131–150 </span> </li> <li class="ltx_bibitem" id="bib.bib32"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Vovk (2021b)</span> <span class="ltx_bibblock"> Vovk V (2021b) Testing randomness online. Statistical Science </span> </li> <li class="ltx_bibitem" id="bib.bib33"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Vovk et al (2021)</span> <span class="ltx_bibblock"> Vovk V, Petej I, Nouretdinov I, Ahlberg E, Carlsson L, Gammerman A (2021) Retrain or not retrain: Conformal test martingales for change-point detection. In: Conformal and Probabilistic Prediction and Applications, PMLR, pp 191–210 </span> </li> <li class="ltx_bibitem" id="bib.bib34"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Williams (1991)</span> <span class="ltx_bibblock"> Williams D (1991) Probability with Martingales. Cambridge mathematical textbooks, Cambridge University Press </span> </li> <li class="ltx_bibitem" id="bib.bib35"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Wu et al (2008)</span> <span class="ltx_bibblock"> Wu JD, Chiang PH, Chang YW, Shiao Yj (2008) An expert system for fault diagnosis in internal combustion engines using probability neural network. Expert Systems with Applications 34(4):2704–2713 </span> </li> <li class="ltx_bibitem" id="bib.bib36"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Xingxin et al (2022)</span> <span class="ltx_bibblock"> Xingxin C, Xin Z, Gangming W (2022) Research on online fault detection tool of substation equipment based on artificial intelligence. Journal of King Saud University-Science 34(6):102,149 </span> </li> <li class="ltx_bibitem" id="bib.bib37"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Yang et al (2004)</span> <span class="ltx_bibblock"> Yang BS, Han T, An JL (2004) Art–kohonen neural network for fault diagnosis of rotating machinery. Mechanical Systems and Signal Processing 18(3):645–657 </span> </li> <li class="ltx_bibitem" id="bib.bib38"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Yang et al (2021)</span> <span class="ltx_bibblock"> Yang Z, Long J, Cai X, Li J, Li C (2021) Machinery fault detection using autoencoder and online sequential extreme learning machine. In: 2021 7th International Conference on Condition Monitoring of Machinery in Non-Stationary Operations (CMMNO), pp 58–62, <a class="ltx_ref" href="https:/doi.org/10.1109/CMMNO53328.2021.9467525" title="">10.1109/CMMNO53328.2021.9467525</a> </span> </li> <li class="ltx_bibitem" id="bib.bib39"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Zabihi-Hesari et al (2019)</span> <span class="ltx_bibblock"> Zabihi-Hesari A, Ansari-Rad S, Shirazi FA, Ayati M (2019) Fault detection and diagnosis of a 12-cylinder trainset diesel engine based on vibration signature analysis and neural network. Proceedings of the Institution of Mechanical Engineers, Part C: Journal of Mechanical Engineering Science 233(6):1910–1923 </span> </li> <li class="ltx_bibitem" id="bib.bib40"> <span class="ltx_tag ltx_role_refnum ltx_tag_bibitem">Zheng et al (2019)</span> <span class="ltx_bibblock"> Zheng Y, Wang T, Xin B, Xie T, Wang Y (2019) A sparse autoencoder and softmax regression based diagnosis method for the attachment on the blades of marine current turbine. Sensors 19(4):826 </span> </li> </ul> </section> <div class="ltx_pagination ltx_role_newpage"></div> <section class="ltx_section" id="Sx1"> <h2 class="ltx_title ltx_title_section">Appendix</h2> </section> <section class="ltx_section" id="S6"> <h2 class="ltx_title ltx_title_section"> <span class="ltx_tag ltx_tag_section">6 </span>Overview: Types of Distribution Shift</h2> <div class="ltx_para" id="S6.p1"> <p class="ltx_p" id="S6.p1.4">In this section, we clarify the context of our distribution shifts with respect to the well-defined mathematical notions of covariate, concept, and label shift. In a supervised machine learning setting, if <math alttext="X" class="ltx_Math" display="inline" id="S6.p1.1.m1.1"><semantics id="S6.p1.1.m1.1a"><mi id="S6.p1.1.m1.1.1" xref="S6.p1.1.m1.1.1.cmml">X</mi><annotation-xml encoding="MathML-Content" id="S6.p1.1.m1.1b"><ci id="S6.p1.1.m1.1.1.cmml" xref="S6.p1.1.m1.1.1">𝑋</ci></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.1.m1.1c">X</annotation><annotation encoding="application/x-llamapun" id="S6.p1.1.m1.1d">italic_X</annotation></semantics></math> is the input and <math alttext="Y" class="ltx_Math" display="inline" id="S6.p1.2.m2.1"><semantics id="S6.p1.2.m2.1a"><mi id="S6.p1.2.m2.1.1" xref="S6.p1.2.m2.1.1.cmml">Y</mi><annotation-xml encoding="MathML-Content" id="S6.p1.2.m2.1b"><ci id="S6.p1.2.m2.1.1.cmml" xref="S6.p1.2.m2.1.1">𝑌</ci></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.2.m2.1c">Y</annotation><annotation encoding="application/x-llamapun" id="S6.p1.2.m2.1d">italic_Y</annotation></semantics></math> is the output, the training data for a model is a set of samples from the distribution <math alttext="P(X,Y)" class="ltx_Math" display="inline" id="S6.p1.3.m3.2"><semantics id="S6.p1.3.m3.2a"><mrow id="S6.p1.3.m3.2.3" xref="S6.p1.3.m3.2.3.cmml"><mi id="S6.p1.3.m3.2.3.2" xref="S6.p1.3.m3.2.3.2.cmml">P</mi><mo id="S6.p1.3.m3.2.3.1" xref="S6.p1.3.m3.2.3.1.cmml"></mo><mrow id="S6.p1.3.m3.2.3.3.2" xref="S6.p1.3.m3.2.3.3.1.cmml"><mo id="S6.p1.3.m3.2.3.3.2.1" stretchy="false" xref="S6.p1.3.m3.2.3.3.1.cmml">(</mo><mi id="S6.p1.3.m3.1.1" xref="S6.p1.3.m3.1.1.cmml">X</mi><mo id="S6.p1.3.m3.2.3.3.2.2" xref="S6.p1.3.m3.2.3.3.1.cmml">,</mo><mi id="S6.p1.3.m3.2.2" xref="S6.p1.3.m3.2.2.cmml">Y</mi><mo id="S6.p1.3.m3.2.3.3.2.3" stretchy="false" xref="S6.p1.3.m3.2.3.3.1.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.3.m3.2b"><apply id="S6.p1.3.m3.2.3.cmml" xref="S6.p1.3.m3.2.3"><times id="S6.p1.3.m3.2.3.1.cmml" xref="S6.p1.3.m3.2.3.1"></times><ci id="S6.p1.3.m3.2.3.2.cmml" xref="S6.p1.3.m3.2.3.2">𝑃</ci><interval closure="open" id="S6.p1.3.m3.2.3.3.1.cmml" xref="S6.p1.3.m3.2.3.3.2"><ci id="S6.p1.3.m3.1.1.cmml" xref="S6.p1.3.m3.1.1">𝑋</ci><ci id="S6.p1.3.m3.2.2.cmml" xref="S6.p1.3.m3.2.2">𝑌</ci></interval></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.3.m3.2c">P(X,Y)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.3.m3.2d">italic_P ( italic_X , italic_Y )</annotation></semantics></math>, and the model is learning to approximate the distribution <math alttext="P(Y|X)" class="ltx_Math" display="inline" id="S6.p1.4.m4.1"><semantics id="S6.p1.4.m4.1a"><mrow id="S6.p1.4.m4.1.1" xref="S6.p1.4.m4.1.1.cmml"><mi id="S6.p1.4.m4.1.1.3" xref="S6.p1.4.m4.1.1.3.cmml">P</mi><mo id="S6.p1.4.m4.1.1.2" xref="S6.p1.4.m4.1.1.2.cmml"></mo><mrow id="S6.p1.4.m4.1.1.1.1" xref="S6.p1.4.m4.1.1.1.1.1.cmml"><mo id="S6.p1.4.m4.1.1.1.1.2" stretchy="false" xref="S6.p1.4.m4.1.1.1.1.1.cmml">(</mo><mrow id="S6.p1.4.m4.1.1.1.1.1" xref="S6.p1.4.m4.1.1.1.1.1.cmml"><mi id="S6.p1.4.m4.1.1.1.1.1.2" xref="S6.p1.4.m4.1.1.1.1.1.2.cmml">Y</mi><mo fence="false" id="S6.p1.4.m4.1.1.1.1.1.1" xref="S6.p1.4.m4.1.1.1.1.1.1.cmml">|</mo><mi id="S6.p1.4.m4.1.1.1.1.1.3" xref="S6.p1.4.m4.1.1.1.1.1.3.cmml">X</mi></mrow><mo id="S6.p1.4.m4.1.1.1.1.3" stretchy="false" xref="S6.p1.4.m4.1.1.1.1.1.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.4.m4.1b"><apply id="S6.p1.4.m4.1.1.cmml" xref="S6.p1.4.m4.1.1"><times id="S6.p1.4.m4.1.1.2.cmml" xref="S6.p1.4.m4.1.1.2"></times><ci id="S6.p1.4.m4.1.1.3.cmml" xref="S6.p1.4.m4.1.1.3">𝑃</ci><apply id="S6.p1.4.m4.1.1.1.1.1.cmml" xref="S6.p1.4.m4.1.1.1.1"><csymbol cd="latexml" id="S6.p1.4.m4.1.1.1.1.1.1.cmml" xref="S6.p1.4.m4.1.1.1.1.1.1">conditional</csymbol><ci id="S6.p1.4.m4.1.1.1.1.1.2.cmml" xref="S6.p1.4.m4.1.1.1.1.1.2">𝑌</ci><ci id="S6.p1.4.m4.1.1.1.1.1.3.cmml" xref="S6.p1.4.m4.1.1.1.1.1.3">𝑋</ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.4.m4.1c">P(Y|X)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.4.m4.1d">italic_P ( italic_Y | italic_X )</annotation></semantics></math> <cite class="ltx_cite ltx_citemacro_cite">Quionero-Candela et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib22" title="">2009</a>)</cite>. By the definition of conditional probability,</p> <table class="ltx_equationgroup ltx_eqn_align ltx_eqn_table" id="S8.EGx4"> <tbody id="S6.Ex11"><tr class="ltx_equation ltx_eqn_row ltx_align_baseline"> <td class="ltx_eqn_cell ltx_eqn_center_padleft"></td> <td class="ltx_td ltx_align_right ltx_eqn_cell"><math alttext="\displaystyle P(X,Y)=P(Y|X)P(X)" class="ltx_Math" display="inline" id="S6.Ex11.m1.4"><semantics id="S6.Ex11.m1.4a"><mrow id="S6.Ex11.m1.4.4" xref="S6.Ex11.m1.4.4.cmml"><mrow id="S6.Ex11.m1.4.4.3" xref="S6.Ex11.m1.4.4.3.cmml"><mi id="S6.Ex11.m1.4.4.3.2" xref="S6.Ex11.m1.4.4.3.2.cmml">P</mi><mo id="S6.Ex11.m1.4.4.3.1" xref="S6.Ex11.m1.4.4.3.1.cmml"></mo><mrow id="S6.Ex11.m1.4.4.3.3.2" xref="S6.Ex11.m1.4.4.3.3.1.cmml"><mo id="S6.Ex11.m1.4.4.3.3.2.1" stretchy="false" xref="S6.Ex11.m1.4.4.3.3.1.cmml">(</mo><mi id="S6.Ex11.m1.1.1" xref="S6.Ex11.m1.1.1.cmml">X</mi><mo id="S6.Ex11.m1.4.4.3.3.2.2" xref="S6.Ex11.m1.4.4.3.3.1.cmml">,</mo><mi id="S6.Ex11.m1.2.2" xref="S6.Ex11.m1.2.2.cmml">Y</mi><mo id="S6.Ex11.m1.4.4.3.3.2.3" stretchy="false" xref="S6.Ex11.m1.4.4.3.3.1.cmml">)</mo></mrow></mrow><mo id="S6.Ex11.m1.4.4.2" xref="S6.Ex11.m1.4.4.2.cmml">=</mo><mrow id="S6.Ex11.m1.4.4.1" xref="S6.Ex11.m1.4.4.1.cmml"><mi id="S6.Ex11.m1.4.4.1.3" xref="S6.Ex11.m1.4.4.1.3.cmml">P</mi><mo id="S6.Ex11.m1.4.4.1.2" xref="S6.Ex11.m1.4.4.1.2.cmml"></mo><mrow id="S6.Ex11.m1.4.4.1.1.1" xref="S6.Ex11.m1.4.4.1.1.1.1.cmml"><mo id="S6.Ex11.m1.4.4.1.1.1.2" stretchy="false" xref="S6.Ex11.m1.4.4.1.1.1.1.cmml">(</mo><mrow id="S6.Ex11.m1.4.4.1.1.1.1" xref="S6.Ex11.m1.4.4.1.1.1.1.cmml"><mi id="S6.Ex11.m1.4.4.1.1.1.1.2" xref="S6.Ex11.m1.4.4.1.1.1.1.2.cmml">Y</mi><mo fence="false" id="S6.Ex11.m1.4.4.1.1.1.1.1" xref="S6.Ex11.m1.4.4.1.1.1.1.1.cmml">|</mo><mi id="S6.Ex11.m1.4.4.1.1.1.1.3" xref="S6.Ex11.m1.4.4.1.1.1.1.3.cmml">X</mi></mrow><mo id="S6.Ex11.m1.4.4.1.1.1.3" stretchy="false" xref="S6.Ex11.m1.4.4.1.1.1.1.cmml">)</mo></mrow><mo id="S6.Ex11.m1.4.4.1.2a" xref="S6.Ex11.m1.4.4.1.2.cmml"></mo><mi id="S6.Ex11.m1.4.4.1.4" xref="S6.Ex11.m1.4.4.1.4.cmml">P</mi><mo id="S6.Ex11.m1.4.4.1.2b" xref="S6.Ex11.m1.4.4.1.2.cmml"></mo><mrow id="S6.Ex11.m1.4.4.1.5.2" xref="S6.Ex11.m1.4.4.1.cmml"><mo id="S6.Ex11.m1.4.4.1.5.2.1" stretchy="false" xref="S6.Ex11.m1.4.4.1.cmml">(</mo><mi id="S6.Ex11.m1.3.3" xref="S6.Ex11.m1.3.3.cmml">X</mi><mo id="S6.Ex11.m1.4.4.1.5.2.2" stretchy="false" xref="S6.Ex11.m1.4.4.1.cmml">)</mo></mrow></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.Ex11.m1.4b"><apply id="S6.Ex11.m1.4.4.cmml" xref="S6.Ex11.m1.4.4"><eq id="S6.Ex11.m1.4.4.2.cmml" xref="S6.Ex11.m1.4.4.2"></eq><apply id="S6.Ex11.m1.4.4.3.cmml" xref="S6.Ex11.m1.4.4.3"><times id="S6.Ex11.m1.4.4.3.1.cmml" xref="S6.Ex11.m1.4.4.3.1"></times><ci id="S6.Ex11.m1.4.4.3.2.cmml" xref="S6.Ex11.m1.4.4.3.2">𝑃</ci><interval closure="open" id="S6.Ex11.m1.4.4.3.3.1.cmml" xref="S6.Ex11.m1.4.4.3.3.2"><ci id="S6.Ex11.m1.1.1.cmml" xref="S6.Ex11.m1.1.1">𝑋</ci><ci id="S6.Ex11.m1.2.2.cmml" xref="S6.Ex11.m1.2.2">𝑌</ci></interval></apply><apply id="S6.Ex11.m1.4.4.1.cmml" xref="S6.Ex11.m1.4.4.1"><times id="S6.Ex11.m1.4.4.1.2.cmml" xref="S6.Ex11.m1.4.4.1.2"></times><ci id="S6.Ex11.m1.4.4.1.3.cmml" xref="S6.Ex11.m1.4.4.1.3">𝑃</ci><apply id="S6.Ex11.m1.4.4.1.1.1.1.cmml" xref="S6.Ex11.m1.4.4.1.1.1"><csymbol cd="latexml" id="S6.Ex11.m1.4.4.1.1.1.1.1.cmml" xref="S6.Ex11.m1.4.4.1.1.1.1.1">conditional</csymbol><ci id="S6.Ex11.m1.4.4.1.1.1.1.2.cmml" xref="S6.Ex11.m1.4.4.1.1.1.1.2">𝑌</ci><ci id="S6.Ex11.m1.4.4.1.1.1.1.3.cmml" xref="S6.Ex11.m1.4.4.1.1.1.1.3">𝑋</ci></apply><ci id="S6.Ex11.m1.4.4.1.4.cmml" xref="S6.Ex11.m1.4.4.1.4">𝑃</ci><ci id="S6.Ex11.m1.3.3.cmml" xref="S6.Ex11.m1.3.3">𝑋</ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.Ex11.m1.4c">\displaystyle P(X,Y)=P(Y|X)P(X)</annotation><annotation encoding="application/x-llamapun" id="S6.Ex11.m1.4d">italic_P ( italic_X , italic_Y ) = italic_P ( italic_Y | italic_X ) italic_P ( italic_X )</annotation></semantics></math></td> <td class="ltx_eqn_cell ltx_eqn_center_padright"></td> </tr></tbody> <tbody id="S6.Ex12"><tr class="ltx_equation ltx_eqn_row ltx_align_baseline"> <td class="ltx_eqn_cell ltx_eqn_center_padleft"></td> <td class="ltx_td ltx_align_right ltx_eqn_cell"><math alttext="\displaystyle=P(X|Y)P(Y)" class="ltx_Math" display="inline" id="S6.Ex12.m1.2"><semantics id="S6.Ex12.m1.2a"><mrow id="S6.Ex12.m1.2.2" xref="S6.Ex12.m1.2.2.cmml"><mi id="S6.Ex12.m1.2.2.3" xref="S6.Ex12.m1.2.2.3.cmml"></mi><mo id="S6.Ex12.m1.2.2.2" xref="S6.Ex12.m1.2.2.2.cmml">=</mo><mrow id="S6.Ex12.m1.2.2.1" xref="S6.Ex12.m1.2.2.1.cmml"><mi id="S6.Ex12.m1.2.2.1.3" xref="S6.Ex12.m1.2.2.1.3.cmml">P</mi><mo id="S6.Ex12.m1.2.2.1.2" xref="S6.Ex12.m1.2.2.1.2.cmml"></mo><mrow id="S6.Ex12.m1.2.2.1.1.1" xref="S6.Ex12.m1.2.2.1.1.1.1.cmml"><mo id="S6.Ex12.m1.2.2.1.1.1.2" stretchy="false" xref="S6.Ex12.m1.2.2.1.1.1.1.cmml">(</mo><mrow id="S6.Ex12.m1.2.2.1.1.1.1" xref="S6.Ex12.m1.2.2.1.1.1.1.cmml"><mi id="S6.Ex12.m1.2.2.1.1.1.1.2" xref="S6.Ex12.m1.2.2.1.1.1.1.2.cmml">X</mi><mo fence="false" id="S6.Ex12.m1.2.2.1.1.1.1.1" xref="S6.Ex12.m1.2.2.1.1.1.1.1.cmml">|</mo><mi id="S6.Ex12.m1.2.2.1.1.1.1.3" xref="S6.Ex12.m1.2.2.1.1.1.1.3.cmml">Y</mi></mrow><mo id="S6.Ex12.m1.2.2.1.1.1.3" stretchy="false" xref="S6.Ex12.m1.2.2.1.1.1.1.cmml">)</mo></mrow><mo id="S6.Ex12.m1.2.2.1.2a" xref="S6.Ex12.m1.2.2.1.2.cmml"></mo><mi id="S6.Ex12.m1.2.2.1.4" xref="S6.Ex12.m1.2.2.1.4.cmml">P</mi><mo id="S6.Ex12.m1.2.2.1.2b" xref="S6.Ex12.m1.2.2.1.2.cmml"></mo><mrow id="S6.Ex12.m1.2.2.1.5.2" xref="S6.Ex12.m1.2.2.1.cmml"><mo id="S6.Ex12.m1.2.2.1.5.2.1" stretchy="false" xref="S6.Ex12.m1.2.2.1.cmml">(</mo><mi id="S6.Ex12.m1.1.1" xref="S6.Ex12.m1.1.1.cmml">Y</mi><mo id="S6.Ex12.m1.2.2.1.5.2.2" stretchy="false" xref="S6.Ex12.m1.2.2.1.cmml">)</mo></mrow></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.Ex12.m1.2b"><apply id="S6.Ex12.m1.2.2.cmml" xref="S6.Ex12.m1.2.2"><eq id="S6.Ex12.m1.2.2.2.cmml" xref="S6.Ex12.m1.2.2.2"></eq><csymbol cd="latexml" id="S6.Ex12.m1.2.2.3.cmml" xref="S6.Ex12.m1.2.2.3">absent</csymbol><apply id="S6.Ex12.m1.2.2.1.cmml" xref="S6.Ex12.m1.2.2.1"><times id="S6.Ex12.m1.2.2.1.2.cmml" xref="S6.Ex12.m1.2.2.1.2"></times><ci id="S6.Ex12.m1.2.2.1.3.cmml" xref="S6.Ex12.m1.2.2.1.3">𝑃</ci><apply id="S6.Ex12.m1.2.2.1.1.1.1.cmml" xref="S6.Ex12.m1.2.2.1.1.1"><csymbol cd="latexml" id="S6.Ex12.m1.2.2.1.1.1.1.1.cmml" xref="S6.Ex12.m1.2.2.1.1.1.1.1">conditional</csymbol><ci id="S6.Ex12.m1.2.2.1.1.1.1.2.cmml" xref="S6.Ex12.m1.2.2.1.1.1.1.2">𝑋</ci><ci id="S6.Ex12.m1.2.2.1.1.1.1.3.cmml" xref="S6.Ex12.m1.2.2.1.1.1.1.3">𝑌</ci></apply><ci id="S6.Ex12.m1.2.2.1.4.cmml" xref="S6.Ex12.m1.2.2.1.4">𝑃</ci><ci id="S6.Ex12.m1.1.1.cmml" xref="S6.Ex12.m1.1.1">𝑌</ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.Ex12.m1.2c">\displaystyle=P(X|Y)P(Y)</annotation><annotation encoding="application/x-llamapun" id="S6.Ex12.m1.2d">= italic_P ( italic_X | italic_Y ) italic_P ( italic_Y )</annotation></semantics></math></td> <td class="ltx_eqn_cell ltx_eqn_center_padright"></td> </tr></tbody> </table> <p class="ltx_p" id="S6.p1.18">In a <span class="ltx_text ltx_font_bold" id="S6.p1.18.1">covariate shift</span>, <math alttext="P(X)" class="ltx_Math" display="inline" id="S6.p1.5.m1.1"><semantics id="S6.p1.5.m1.1a"><mrow id="S6.p1.5.m1.1.2" xref="S6.p1.5.m1.1.2.cmml"><mi id="S6.p1.5.m1.1.2.2" xref="S6.p1.5.m1.1.2.2.cmml">P</mi><mo id="S6.p1.5.m1.1.2.1" xref="S6.p1.5.m1.1.2.1.cmml"></mo><mrow id="S6.p1.5.m1.1.2.3.2" xref="S6.p1.5.m1.1.2.cmml"><mo id="S6.p1.5.m1.1.2.3.2.1" stretchy="false" xref="S6.p1.5.m1.1.2.cmml">(</mo><mi id="S6.p1.5.m1.1.1" xref="S6.p1.5.m1.1.1.cmml">X</mi><mo id="S6.p1.5.m1.1.2.3.2.2" stretchy="false" xref="S6.p1.5.m1.1.2.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.5.m1.1b"><apply id="S6.p1.5.m1.1.2.cmml" xref="S6.p1.5.m1.1.2"><times id="S6.p1.5.m1.1.2.1.cmml" xref="S6.p1.5.m1.1.2.1"></times><ci id="S6.p1.5.m1.1.2.2.cmml" xref="S6.p1.5.m1.1.2.2">𝑃</ci><ci id="S6.p1.5.m1.1.1.cmml" xref="S6.p1.5.m1.1.1">𝑋</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.5.m1.1c">P(X)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.5.m1.1d">italic_P ( italic_X )</annotation></semantics></math> changes, but <math alttext="P(Y|X)" class="ltx_Math" display="inline" id="S6.p1.6.m2.1"><semantics id="S6.p1.6.m2.1a"><mrow id="S6.p1.6.m2.1.1" xref="S6.p1.6.m2.1.1.cmml"><mi id="S6.p1.6.m2.1.1.3" xref="S6.p1.6.m2.1.1.3.cmml">P</mi><mo id="S6.p1.6.m2.1.1.2" xref="S6.p1.6.m2.1.1.2.cmml"></mo><mrow id="S6.p1.6.m2.1.1.1.1" xref="S6.p1.6.m2.1.1.1.1.1.cmml"><mo id="S6.p1.6.m2.1.1.1.1.2" stretchy="false" xref="S6.p1.6.m2.1.1.1.1.1.cmml">(</mo><mrow id="S6.p1.6.m2.1.1.1.1.1" xref="S6.p1.6.m2.1.1.1.1.1.cmml"><mi id="S6.p1.6.m2.1.1.1.1.1.2" xref="S6.p1.6.m2.1.1.1.1.1.2.cmml">Y</mi><mo fence="false" id="S6.p1.6.m2.1.1.1.1.1.1" xref="S6.p1.6.m2.1.1.1.1.1.1.cmml">|</mo><mi id="S6.p1.6.m2.1.1.1.1.1.3" xref="S6.p1.6.m2.1.1.1.1.1.3.cmml">X</mi></mrow><mo id="S6.p1.6.m2.1.1.1.1.3" stretchy="false" xref="S6.p1.6.m2.1.1.1.1.1.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.6.m2.1b"><apply id="S6.p1.6.m2.1.1.cmml" xref="S6.p1.6.m2.1.1"><times id="S6.p1.6.m2.1.1.2.cmml" xref="S6.p1.6.m2.1.1.2"></times><ci id="S6.p1.6.m2.1.1.3.cmml" xref="S6.p1.6.m2.1.1.3">𝑃</ci><apply id="S6.p1.6.m2.1.1.1.1.1.cmml" xref="S6.p1.6.m2.1.1.1.1"><csymbol cd="latexml" id="S6.p1.6.m2.1.1.1.1.1.1.cmml" xref="S6.p1.6.m2.1.1.1.1.1.1">conditional</csymbol><ci id="S6.p1.6.m2.1.1.1.1.1.2.cmml" xref="S6.p1.6.m2.1.1.1.1.1.2">𝑌</ci><ci id="S6.p1.6.m2.1.1.1.1.1.3.cmml" xref="S6.p1.6.m2.1.1.1.1.1.3">𝑋</ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.6.m2.1c">P(Y|X)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.6.m2.1d">italic_P ( italic_Y | italic_X )</annotation></semantics></math> remains the same, In a <span class="ltx_text ltx_font_bold" id="S6.p1.18.2">label shift</span>, <math alttext="P(Y)" class="ltx_Math" display="inline" id="S6.p1.7.m3.1"><semantics id="S6.p1.7.m3.1a"><mrow id="S6.p1.7.m3.1.2" xref="S6.p1.7.m3.1.2.cmml"><mi id="S6.p1.7.m3.1.2.2" xref="S6.p1.7.m3.1.2.2.cmml">P</mi><mo id="S6.p1.7.m3.1.2.1" xref="S6.p1.7.m3.1.2.1.cmml"></mo><mrow id="S6.p1.7.m3.1.2.3.2" xref="S6.p1.7.m3.1.2.cmml"><mo id="S6.p1.7.m3.1.2.3.2.1" stretchy="false" xref="S6.p1.7.m3.1.2.cmml">(</mo><mi id="S6.p1.7.m3.1.1" xref="S6.p1.7.m3.1.1.cmml">Y</mi><mo id="S6.p1.7.m3.1.2.3.2.2" stretchy="false" xref="S6.p1.7.m3.1.2.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.7.m3.1b"><apply id="S6.p1.7.m3.1.2.cmml" xref="S6.p1.7.m3.1.2"><times id="S6.p1.7.m3.1.2.1.cmml" xref="S6.p1.7.m3.1.2.1"></times><ci id="S6.p1.7.m3.1.2.2.cmml" xref="S6.p1.7.m3.1.2.2">𝑃</ci><ci id="S6.p1.7.m3.1.1.cmml" xref="S6.p1.7.m3.1.1">𝑌</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.7.m3.1c">P(Y)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.7.m3.1d">italic_P ( italic_Y )</annotation></semantics></math> changes, but <math alttext="P(X|Y)" class="ltx_Math" display="inline" id="S6.p1.8.m4.1"><semantics id="S6.p1.8.m4.1a"><mrow id="S6.p1.8.m4.1.1" xref="S6.p1.8.m4.1.1.cmml"><mi id="S6.p1.8.m4.1.1.3" xref="S6.p1.8.m4.1.1.3.cmml">P</mi><mo id="S6.p1.8.m4.1.1.2" xref="S6.p1.8.m4.1.1.2.cmml"></mo><mrow id="S6.p1.8.m4.1.1.1.1" xref="S6.p1.8.m4.1.1.1.1.1.cmml"><mo id="S6.p1.8.m4.1.1.1.1.2" stretchy="false" xref="S6.p1.8.m4.1.1.1.1.1.cmml">(</mo><mrow id="S6.p1.8.m4.1.1.1.1.1" xref="S6.p1.8.m4.1.1.1.1.1.cmml"><mi id="S6.p1.8.m4.1.1.1.1.1.2" xref="S6.p1.8.m4.1.1.1.1.1.2.cmml">X</mi><mo fence="false" id="S6.p1.8.m4.1.1.1.1.1.1" xref="S6.p1.8.m4.1.1.1.1.1.1.cmml">|</mo><mi id="S6.p1.8.m4.1.1.1.1.1.3" xref="S6.p1.8.m4.1.1.1.1.1.3.cmml">Y</mi></mrow><mo id="S6.p1.8.m4.1.1.1.1.3" stretchy="false" xref="S6.p1.8.m4.1.1.1.1.1.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.8.m4.1b"><apply id="S6.p1.8.m4.1.1.cmml" xref="S6.p1.8.m4.1.1"><times id="S6.p1.8.m4.1.1.2.cmml" xref="S6.p1.8.m4.1.1.2"></times><ci id="S6.p1.8.m4.1.1.3.cmml" xref="S6.p1.8.m4.1.1.3">𝑃</ci><apply id="S6.p1.8.m4.1.1.1.1.1.cmml" xref="S6.p1.8.m4.1.1.1.1"><csymbol cd="latexml" id="S6.p1.8.m4.1.1.1.1.1.1.cmml" xref="S6.p1.8.m4.1.1.1.1.1.1">conditional</csymbol><ci id="S6.p1.8.m4.1.1.1.1.1.2.cmml" xref="S6.p1.8.m4.1.1.1.1.1.2">𝑋</ci><ci id="S6.p1.8.m4.1.1.1.1.1.3.cmml" xref="S6.p1.8.m4.1.1.1.1.1.3">𝑌</ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.8.m4.1c">P(X|Y)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.8.m4.1d">italic_P ( italic_X | italic_Y )</annotation></semantics></math> remains the same. In a <span class="ltx_text ltx_font_bold" id="S6.p1.18.3">concept shift</span>, <math alttext="P(Y|X)" class="ltx_Math" display="inline" id="S6.p1.9.m5.1"><semantics id="S6.p1.9.m5.1a"><mrow id="S6.p1.9.m5.1.1" xref="S6.p1.9.m5.1.1.cmml"><mi id="S6.p1.9.m5.1.1.3" xref="S6.p1.9.m5.1.1.3.cmml">P</mi><mo id="S6.p1.9.m5.1.1.2" xref="S6.p1.9.m5.1.1.2.cmml"></mo><mrow id="S6.p1.9.m5.1.1.1.1" xref="S6.p1.9.m5.1.1.1.1.1.cmml"><mo id="S6.p1.9.m5.1.1.1.1.2" stretchy="false" xref="S6.p1.9.m5.1.1.1.1.1.cmml">(</mo><mrow id="S6.p1.9.m5.1.1.1.1.1" xref="S6.p1.9.m5.1.1.1.1.1.cmml"><mi id="S6.p1.9.m5.1.1.1.1.1.2" xref="S6.p1.9.m5.1.1.1.1.1.2.cmml">Y</mi><mo fence="false" id="S6.p1.9.m5.1.1.1.1.1.1" xref="S6.p1.9.m5.1.1.1.1.1.1.cmml">|</mo><mi id="S6.p1.9.m5.1.1.1.1.1.3" xref="S6.p1.9.m5.1.1.1.1.1.3.cmml">X</mi></mrow><mo id="S6.p1.9.m5.1.1.1.1.3" stretchy="false" xref="S6.p1.9.m5.1.1.1.1.1.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.9.m5.1b"><apply id="S6.p1.9.m5.1.1.cmml" xref="S6.p1.9.m5.1.1"><times id="S6.p1.9.m5.1.1.2.cmml" xref="S6.p1.9.m5.1.1.2"></times><ci id="S6.p1.9.m5.1.1.3.cmml" xref="S6.p1.9.m5.1.1.3">𝑃</ci><apply id="S6.p1.9.m5.1.1.1.1.1.cmml" xref="S6.p1.9.m5.1.1.1.1"><csymbol cd="latexml" id="S6.p1.9.m5.1.1.1.1.1.1.cmml" xref="S6.p1.9.m5.1.1.1.1.1.1">conditional</csymbol><ci id="S6.p1.9.m5.1.1.1.1.1.2.cmml" xref="S6.p1.9.m5.1.1.1.1.1.2">𝑌</ci><ci id="S6.p1.9.m5.1.1.1.1.1.3.cmml" xref="S6.p1.9.m5.1.1.1.1.1.3">𝑋</ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.9.m5.1c">P(Y|X)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.9.m5.1d">italic_P ( italic_Y | italic_X )</annotation></semantics></math>, but <math alttext="P(X)" class="ltx_Math" display="inline" id="S6.p1.10.m6.1"><semantics id="S6.p1.10.m6.1a"><mrow id="S6.p1.10.m6.1.2" xref="S6.p1.10.m6.1.2.cmml"><mi id="S6.p1.10.m6.1.2.2" xref="S6.p1.10.m6.1.2.2.cmml">P</mi><mo id="S6.p1.10.m6.1.2.1" xref="S6.p1.10.m6.1.2.1.cmml"></mo><mrow id="S6.p1.10.m6.1.2.3.2" xref="S6.p1.10.m6.1.2.cmml"><mo id="S6.p1.10.m6.1.2.3.2.1" stretchy="false" xref="S6.p1.10.m6.1.2.cmml">(</mo><mi id="S6.p1.10.m6.1.1" xref="S6.p1.10.m6.1.1.cmml">X</mi><mo id="S6.p1.10.m6.1.2.3.2.2" stretchy="false" xref="S6.p1.10.m6.1.2.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.10.m6.1b"><apply id="S6.p1.10.m6.1.2.cmml" xref="S6.p1.10.m6.1.2"><times id="S6.p1.10.m6.1.2.1.cmml" xref="S6.p1.10.m6.1.2.1"></times><ci id="S6.p1.10.m6.1.2.2.cmml" xref="S6.p1.10.m6.1.2.2">𝑃</ci><ci id="S6.p1.10.m6.1.1.cmml" xref="S6.p1.10.m6.1.1">𝑋</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.10.m6.1c">P(X)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.10.m6.1d">italic_P ( italic_X )</annotation></semantics></math> remains the same <cite class="ltx_cite ltx_citemacro_cite">Quionero-Candela et al (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib22" title="">2009</a>)</cite>. However, in practice, multiple shifts may occur jointly, as a change in the <math alttext="P(X)" class="ltx_Math" display="inline" id="S6.p1.11.m7.1"><semantics id="S6.p1.11.m7.1a"><mrow id="S6.p1.11.m7.1.2" xref="S6.p1.11.m7.1.2.cmml"><mi id="S6.p1.11.m7.1.2.2" xref="S6.p1.11.m7.1.2.2.cmml">P</mi><mo id="S6.p1.11.m7.1.2.1" xref="S6.p1.11.m7.1.2.1.cmml"></mo><mrow id="S6.p1.11.m7.1.2.3.2" xref="S6.p1.11.m7.1.2.cmml"><mo id="S6.p1.11.m7.1.2.3.2.1" stretchy="false" xref="S6.p1.11.m7.1.2.cmml">(</mo><mi id="S6.p1.11.m7.1.1" xref="S6.p1.11.m7.1.1.cmml">X</mi><mo id="S6.p1.11.m7.1.2.3.2.2" stretchy="false" xref="S6.p1.11.m7.1.2.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.11.m7.1b"><apply id="S6.p1.11.m7.1.2.cmml" xref="S6.p1.11.m7.1.2"><times id="S6.p1.11.m7.1.2.1.cmml" xref="S6.p1.11.m7.1.2.1"></times><ci id="S6.p1.11.m7.1.2.2.cmml" xref="S6.p1.11.m7.1.2.2">𝑃</ci><ci id="S6.p1.11.m7.1.1.cmml" xref="S6.p1.11.m7.1.1">𝑋</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.11.m7.1c">P(X)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.11.m7.1d">italic_P ( italic_X )</annotation></semantics></math> distribution can affect the <math alttext="P(Y)" class="ltx_Math" display="inline" id="S6.p1.12.m8.1"><semantics id="S6.p1.12.m8.1a"><mrow id="S6.p1.12.m8.1.2" xref="S6.p1.12.m8.1.2.cmml"><mi id="S6.p1.12.m8.1.2.2" xref="S6.p1.12.m8.1.2.2.cmml">P</mi><mo id="S6.p1.12.m8.1.2.1" xref="S6.p1.12.m8.1.2.1.cmml"></mo><mrow id="S6.p1.12.m8.1.2.3.2" xref="S6.p1.12.m8.1.2.cmml"><mo id="S6.p1.12.m8.1.2.3.2.1" stretchy="false" xref="S6.p1.12.m8.1.2.cmml">(</mo><mi id="S6.p1.12.m8.1.1" xref="S6.p1.12.m8.1.1.cmml">Y</mi><mo id="S6.p1.12.m8.1.2.3.2.2" stretchy="false" xref="S6.p1.12.m8.1.2.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.12.m8.1b"><apply id="S6.p1.12.m8.1.2.cmml" xref="S6.p1.12.m8.1.2"><times id="S6.p1.12.m8.1.2.1.cmml" xref="S6.p1.12.m8.1.2.1"></times><ci id="S6.p1.12.m8.1.2.2.cmml" xref="S6.p1.12.m8.1.2.2">𝑃</ci><ci id="S6.p1.12.m8.1.1.cmml" xref="S6.p1.12.m8.1.1">𝑌</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.12.m8.1c">P(Y)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.12.m8.1d">italic_P ( italic_Y )</annotation></semantics></math> distribution, and vice versa. In this paper, the distribution shifts that were induced do not necessarily fall cleanly into one of these mathematical categories. For example, the sensor degradation shift in Section <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S4" title="4 Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">4</span></a> has a change in the <math alttext="P(X)" class="ltx_Math" display="inline" id="S6.p1.13.m9.1"><semantics id="S6.p1.13.m9.1a"><mrow id="S6.p1.13.m9.1.2" xref="S6.p1.13.m9.1.2.cmml"><mi id="S6.p1.13.m9.1.2.2" xref="S6.p1.13.m9.1.2.2.cmml">P</mi><mo id="S6.p1.13.m9.1.2.1" xref="S6.p1.13.m9.1.2.1.cmml"></mo><mrow id="S6.p1.13.m9.1.2.3.2" xref="S6.p1.13.m9.1.2.cmml"><mo id="S6.p1.13.m9.1.2.3.2.1" stretchy="false" xref="S6.p1.13.m9.1.2.cmml">(</mo><mi id="S6.p1.13.m9.1.1" xref="S6.p1.13.m9.1.1.cmml">X</mi><mo id="S6.p1.13.m9.1.2.3.2.2" stretchy="false" xref="S6.p1.13.m9.1.2.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.13.m9.1b"><apply id="S6.p1.13.m9.1.2.cmml" xref="S6.p1.13.m9.1.2"><times id="S6.p1.13.m9.1.2.1.cmml" xref="S6.p1.13.m9.1.2.1"></times><ci id="S6.p1.13.m9.1.2.2.cmml" xref="S6.p1.13.m9.1.2.2">𝑃</ci><ci id="S6.p1.13.m9.1.1.cmml" xref="S6.p1.13.m9.1.1">𝑋</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.13.m9.1c">P(X)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.13.m9.1d">italic_P ( italic_X )</annotation></semantics></math> distribution (i.e. a change in the distribution of input images) which our method detects, but no additional information about the <math alttext="P(Y)" class="ltx_Math" display="inline" id="S6.p1.14.m10.1"><semantics id="S6.p1.14.m10.1a"><mrow id="S6.p1.14.m10.1.2" xref="S6.p1.14.m10.1.2.cmml"><mi id="S6.p1.14.m10.1.2.2" xref="S6.p1.14.m10.1.2.2.cmml">P</mi><mo id="S6.p1.14.m10.1.2.1" xref="S6.p1.14.m10.1.2.1.cmml"></mo><mrow id="S6.p1.14.m10.1.2.3.2" xref="S6.p1.14.m10.1.2.cmml"><mo id="S6.p1.14.m10.1.2.3.2.1" stretchy="false" xref="S6.p1.14.m10.1.2.cmml">(</mo><mi id="S6.p1.14.m10.1.1" xref="S6.p1.14.m10.1.1.cmml">Y</mi><mo id="S6.p1.14.m10.1.2.3.2.2" stretchy="false" xref="S6.p1.14.m10.1.2.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.14.m10.1b"><apply id="S6.p1.14.m10.1.2.cmml" xref="S6.p1.14.m10.1.2"><times id="S6.p1.14.m10.1.2.1.cmml" xref="S6.p1.14.m10.1.2.1"></times><ci id="S6.p1.14.m10.1.2.2.cmml" xref="S6.p1.14.m10.1.2.2">𝑃</ci><ci id="S6.p1.14.m10.1.1.cmml" xref="S6.p1.14.m10.1.1">𝑌</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.14.m10.1c">P(Y)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.14.m10.1d">italic_P ( italic_Y )</annotation></semantics></math> distribution or <math alttext="P(Y|X)" class="ltx_Math" display="inline" id="S6.p1.15.m11.1"><semantics id="S6.p1.15.m11.1a"><mrow id="S6.p1.15.m11.1.1" xref="S6.p1.15.m11.1.1.cmml"><mi id="S6.p1.15.m11.1.1.3" xref="S6.p1.15.m11.1.1.3.cmml">P</mi><mo id="S6.p1.15.m11.1.1.2" xref="S6.p1.15.m11.1.1.2.cmml"></mo><mrow id="S6.p1.15.m11.1.1.1.1" xref="S6.p1.15.m11.1.1.1.1.1.cmml"><mo id="S6.p1.15.m11.1.1.1.1.2" stretchy="false" xref="S6.p1.15.m11.1.1.1.1.1.cmml">(</mo><mrow id="S6.p1.15.m11.1.1.1.1.1" xref="S6.p1.15.m11.1.1.1.1.1.cmml"><mi id="S6.p1.15.m11.1.1.1.1.1.2" xref="S6.p1.15.m11.1.1.1.1.1.2.cmml">Y</mi><mo fence="false" id="S6.p1.15.m11.1.1.1.1.1.1" xref="S6.p1.15.m11.1.1.1.1.1.1.cmml">|</mo><mi id="S6.p1.15.m11.1.1.1.1.1.3" xref="S6.p1.15.m11.1.1.1.1.1.3.cmml">X</mi></mrow><mo id="S6.p1.15.m11.1.1.1.1.3" stretchy="false" xref="S6.p1.15.m11.1.1.1.1.1.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.15.m11.1b"><apply id="S6.p1.15.m11.1.1.cmml" xref="S6.p1.15.m11.1.1"><times id="S6.p1.15.m11.1.1.2.cmml" xref="S6.p1.15.m11.1.1.2"></times><ci id="S6.p1.15.m11.1.1.3.cmml" xref="S6.p1.15.m11.1.1.3">𝑃</ci><apply id="S6.p1.15.m11.1.1.1.1.1.cmml" xref="S6.p1.15.m11.1.1.1.1"><csymbol cd="latexml" id="S6.p1.15.m11.1.1.1.1.1.1.cmml" xref="S6.p1.15.m11.1.1.1.1.1.1">conditional</csymbol><ci id="S6.p1.15.m11.1.1.1.1.1.2.cmml" xref="S6.p1.15.m11.1.1.1.1.1.2">𝑌</ci><ci id="S6.p1.15.m11.1.1.1.1.1.3.cmml" xref="S6.p1.15.m11.1.1.1.1.1.3">𝑋</ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.15.m11.1c">P(Y|X)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.15.m11.1d">italic_P ( italic_Y | italic_X )</annotation></semantics></math> distribution. The new environment shift has a change in <math alttext="P(Y)" class="ltx_Math" display="inline" id="S6.p1.16.m12.1"><semantics id="S6.p1.16.m12.1a"><mrow id="S6.p1.16.m12.1.2" xref="S6.p1.16.m12.1.2.cmml"><mi id="S6.p1.16.m12.1.2.2" xref="S6.p1.16.m12.1.2.2.cmml">P</mi><mo id="S6.p1.16.m12.1.2.1" xref="S6.p1.16.m12.1.2.1.cmml"></mo><mrow id="S6.p1.16.m12.1.2.3.2" xref="S6.p1.16.m12.1.2.cmml"><mo id="S6.p1.16.m12.1.2.3.2.1" stretchy="false" xref="S6.p1.16.m12.1.2.cmml">(</mo><mi id="S6.p1.16.m12.1.1" xref="S6.p1.16.m12.1.1.cmml">Y</mi><mo id="S6.p1.16.m12.1.2.3.2.2" stretchy="false" xref="S6.p1.16.m12.1.2.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.16.m12.1b"><apply id="S6.p1.16.m12.1.2.cmml" xref="S6.p1.16.m12.1.2"><times id="S6.p1.16.m12.1.2.1.cmml" xref="S6.p1.16.m12.1.2.1"></times><ci id="S6.p1.16.m12.1.2.2.cmml" xref="S6.p1.16.m12.1.2.2">𝑃</ci><ci id="S6.p1.16.m12.1.1.cmml" xref="S6.p1.16.m12.1.1">𝑌</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.16.m12.1c">P(Y)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.16.m12.1d">italic_P ( italic_Y )</annotation></semantics></math> (i.e. a change in the distribution of trajectory labels) which our method detects, but no additional information about the <math alttext="P(X)" class="ltx_Math" display="inline" id="S6.p1.17.m13.1"><semantics id="S6.p1.17.m13.1a"><mrow id="S6.p1.17.m13.1.2" xref="S6.p1.17.m13.1.2.cmml"><mi id="S6.p1.17.m13.1.2.2" xref="S6.p1.17.m13.1.2.2.cmml">P</mi><mo id="S6.p1.17.m13.1.2.1" xref="S6.p1.17.m13.1.2.1.cmml"></mo><mrow id="S6.p1.17.m13.1.2.3.2" xref="S6.p1.17.m13.1.2.cmml"><mo id="S6.p1.17.m13.1.2.3.2.1" stretchy="false" xref="S6.p1.17.m13.1.2.cmml">(</mo><mi id="S6.p1.17.m13.1.1" xref="S6.p1.17.m13.1.1.cmml">X</mi><mo id="S6.p1.17.m13.1.2.3.2.2" stretchy="false" xref="S6.p1.17.m13.1.2.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.17.m13.1b"><apply id="S6.p1.17.m13.1.2.cmml" xref="S6.p1.17.m13.1.2"><times id="S6.p1.17.m13.1.2.1.cmml" xref="S6.p1.17.m13.1.2.1"></times><ci id="S6.p1.17.m13.1.2.2.cmml" xref="S6.p1.17.m13.1.2.2">𝑃</ci><ci id="S6.p1.17.m13.1.1.cmml" xref="S6.p1.17.m13.1.1">𝑋</ci></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.17.m13.1c">P(X)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.17.m13.1d">italic_P ( italic_X )</annotation></semantics></math> distribution or <math alttext="P(X|Y)" class="ltx_Math" display="inline" id="S6.p1.18.m14.1"><semantics id="S6.p1.18.m14.1a"><mrow id="S6.p1.18.m14.1.1" xref="S6.p1.18.m14.1.1.cmml"><mi id="S6.p1.18.m14.1.1.3" xref="S6.p1.18.m14.1.1.3.cmml">P</mi><mo id="S6.p1.18.m14.1.1.2" xref="S6.p1.18.m14.1.1.2.cmml"></mo><mrow id="S6.p1.18.m14.1.1.1.1" xref="S6.p1.18.m14.1.1.1.1.1.cmml"><mo id="S6.p1.18.m14.1.1.1.1.2" stretchy="false" xref="S6.p1.18.m14.1.1.1.1.1.cmml">(</mo><mrow id="S6.p1.18.m14.1.1.1.1.1" xref="S6.p1.18.m14.1.1.1.1.1.cmml"><mi id="S6.p1.18.m14.1.1.1.1.1.2" xref="S6.p1.18.m14.1.1.1.1.1.2.cmml">X</mi><mo fence="false" id="S6.p1.18.m14.1.1.1.1.1.1" xref="S6.p1.18.m14.1.1.1.1.1.1.cmml">|</mo><mi id="S6.p1.18.m14.1.1.1.1.1.3" xref="S6.p1.18.m14.1.1.1.1.1.3.cmml">Y</mi></mrow><mo id="S6.p1.18.m14.1.1.1.1.3" stretchy="false" xref="S6.p1.18.m14.1.1.1.1.1.cmml">)</mo></mrow></mrow><annotation-xml encoding="MathML-Content" id="S6.p1.18.m14.1b"><apply id="S6.p1.18.m14.1.1.cmml" xref="S6.p1.18.m14.1.1"><times id="S6.p1.18.m14.1.1.2.cmml" xref="S6.p1.18.m14.1.1.2"></times><ci id="S6.p1.18.m14.1.1.3.cmml" xref="S6.p1.18.m14.1.1.3">𝑃</ci><apply id="S6.p1.18.m14.1.1.1.1.1.cmml" xref="S6.p1.18.m14.1.1.1.1"><csymbol cd="latexml" id="S6.p1.18.m14.1.1.1.1.1.1.cmml" xref="S6.p1.18.m14.1.1.1.1.1.1">conditional</csymbol><ci id="S6.p1.18.m14.1.1.1.1.1.2.cmml" xref="S6.p1.18.m14.1.1.1.1.1.2">𝑋</ci><ci id="S6.p1.18.m14.1.1.1.1.1.3.cmml" xref="S6.p1.18.m14.1.1.1.1.1.3">𝑌</ci></apply></apply></annotation-xml><annotation encoding="application/x-tex" id="S6.p1.18.m14.1c">P(X|Y)</annotation><annotation encoding="application/x-llamapun" id="S6.p1.18.m14.1d">italic_P ( italic_X | italic_Y )</annotation></semantics></math> distribution.</p> </div> <div class="ltx_para" id="S6.p2"> <p class="ltx_p" id="S6.p2.1">Note that the nature of the distribution shift detection problem differs from that of the anomaly detection problem, as distribution shift detection focuses on identifying a change in the <span class="ltx_text ltx_font_italic" id="S6.p2.1.1">distribution</span> of samples (and it is arguably impossible to make a distributional claim without multiple samples of evidence), whereas anomaly detection focuses on identifying a <span class="ltx_text ltx_font_italic" id="S6.p2.1.2">single</span> unusual sample or rare event. Moreover, the intervention method for these two tasks differs significantly. A safety intervention or fallback should be triggered immediately (i.e. within an episode) in response to a sudden change for an unsafe anomalous event. However, interventions for distribution shifts can occur on a somewhat longer timescale (e.g. model retraining), and an alert about distributional shift should inform decision-making about successive deployments.</p> </div> <div class="ltx_para" id="S6.p3"> <p class="ltx_p" id="S6.p3.1">The main advantage of our method is as follows: Based on which monitor signaled the distribution shift first, system designers can focus their efforts on improving specific components of the system or gathering additional data. For instance, if an issue is caused by sensor degradation, specific monitors will issue an alert and a good mitigation strategy would be to replace the sensors; if the issue stems from encountering a new environment, other monitors will issue an alert and a good mitigation strategy would be to gather additional data and perform a weighted retraining. In theory, a system designer could apply every possible mitigation strategy each time any distribution shift is encountered, but in practice doing so is costly and inefficient. Ideally, we want to find the best intervention strategy as quickly as possible, which requires that we are able to identify each particular type of distribution shift.</p> </div> </section> <section class="ltx_section" id="S7"> <h2 class="ltx_title ltx_title_section"> <span class="ltx_tag ltx_tag_section">7 </span>X-Plane Experiment Details </h2> <div class="ltx_para" id="S7.p1"> <p class="ltx_p" id="S7.p1.1">In this section, we provide further details on the X-Plane experimental setup, including the model architecture that was used and the methodology with which the distribution shifts were induced.</p> </div> <section class="ltx_subsection" id="S7.SSx1"> <h3 class="ltx_title ltx_title_subsection">Model Architecture</h3> <div class="ltx_para" id="S7.SSx1.p1"> <p class="ltx_p" id="S7.SSx1.p1.1">For all X-Plane experiments, we use the model architecture outlined in Fig <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S7.F8" title="Figure 8 ‣ Model Architecture ‣ 7 X-Plane Experiment Details ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">8</span></a> with the Adam Optimizer, a batch size of 32, a fixed learning rate of 1e-4, and a binary cross-entropy loss function. As mentioned in the paper, our method is agnostic to the model used for inference, and we used a simple model to demonstrate the efficacy of our method on small models. For each type of distribution shift, we trained a model with essentially this architecture, except that the input to the model is the cross-track and heading error in the environment shift case and a feature vector of size 100,352 (2048*7*7) in the brightness shift case (this feature vector is the flattened output of one of the intermediate convolutional layers of a ResNet-50 model). The code for running these simulations will be released upon acceptance of this paper.</p> </div> <figure class="ltx_figure" id="S7.F8"><img alt="Refer to caption" class="ltx_graphics ltx_centering ltx_img_portrait" height="299" id="S7.F8.g1" src="extracted/5766884/figures/cnn_diagram.png" width="92"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S7.F8.2.1.1" style="font-size:90%;">Figure 8</span>: </span><span class="ltx_text" id="S7.F8.3.2" style="font-size:90%;">Model architecture used for the detection method during the X-Plane experiments. We use four 2D convolutional layers, followed by two linear layers to produce a binary output indicating which image, cross-track and heading error, or feature vector came first.</span></figcaption> </figure> </section> <section class="ltx_subsection" id="S7.SSx2"> <h3 class="ltx_title ltx_title_subsection">Experiment Details: Sensor Degradation</h3> <div class="ltx_para" id="S7.SSx2.p1"> <p class="ltx_p" id="S7.SSx2.p1.1">Using NASA’s XPlaneConnect Python API, 1000 simulated video sequences are generated, each corresponding to a taxiing episode of the aircraft on the runway at KSVC airport <cite class="ltx_cite ltx_citemacro_citep">(Katz et al, <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#bib.bib12" title="">2021</a>)</cite>. Each taxiing sequence consists of approximately 30 images of size 200x360x3. These sequences occur at randomly initialized times between 8:00am and 10:00am. We train a classifier to distinguish the “more recent” image on these image sequences, by randomly sampling one image from each sequence. The distance to the centerline is estimated by a pre-trained DNN, using images from an outboard camera mounted on the plane.</p> </div> <div class="ltx_para" id="S7.SSx2.p2"> <p class="ltx_p" id="S7.SSx2.p2.13">In the sensor degradation experiments, we gradually add Gaussian noise to a set of images in the unseen test set. In the initial experiments, we induce Gaussian noise with a kernel size of (15,15) and a <math alttext="\sigma" class="ltx_Math" display="inline" id="S7.SSx2.p2.1.m1.1"><semantics id="S7.SSx2.p2.1.m1.1a"><mi id="S7.SSx2.p2.1.m1.1.1" xref="S7.SSx2.p2.1.m1.1.1.cmml">σ</mi><annotation-xml encoding="MathML-Content" id="S7.SSx2.p2.1.m1.1b"><ci id="S7.SSx2.p2.1.m1.1.1.cmml" xref="S7.SSx2.p2.1.m1.1.1">𝜎</ci></annotation-xml><annotation encoding="application/x-tex" id="S7.SSx2.p2.1.m1.1c">\sigma</annotation><annotation encoding="application/x-llamapun" id="S7.SSx2.p2.1.m1.1d">italic_σ</annotation></semantics></math> value that gradually increases. For Experiments 1, 2, 4 and 5, we increase <math alttext="\sigma" class="ltx_Math" display="inline" id="S7.SSx2.p2.2.m2.1"><semantics id="S7.SSx2.p2.2.m2.1a"><mi id="S7.SSx2.p2.2.m2.1.1" xref="S7.SSx2.p2.2.m2.1.1.cmml">σ</mi><annotation-xml encoding="MathML-Content" id="S7.SSx2.p2.2.m2.1b"><ci id="S7.SSx2.p2.2.m2.1.1.cmml" xref="S7.SSx2.p2.2.m2.1.1">𝜎</ci></annotation-xml><annotation encoding="application/x-tex" id="S7.SSx2.p2.2.m2.1c">\sigma</annotation><annotation encoding="application/x-llamapun" id="S7.SSx2.p2.2.m2.1d">italic_σ</annotation></semantics></math> by 1 at each time step until it reaches the value of <math alttext="50" class="ltx_Math" display="inline" id="S7.SSx2.p2.3.m3.1"><semantics id="S7.SSx2.p2.3.m3.1a"><mn id="S7.SSx2.p2.3.m3.1.1" xref="S7.SSx2.p2.3.m3.1.1.cmml">50</mn><annotation-xml encoding="MathML-Content" id="S7.SSx2.p2.3.m3.1b"><cn id="S7.SSx2.p2.3.m3.1.1.cmml" type="integer" xref="S7.SSx2.p2.3.m3.1.1">50</cn></annotation-xml><annotation encoding="application/x-tex" id="S7.SSx2.p2.3.m3.1c">50</annotation><annotation encoding="application/x-llamapun" id="S7.SSx2.p2.3.m3.1d">50</annotation></semantics></math>. With <math alttext="\sigma=50" class="ltx_Math" display="inline" id="S7.SSx2.p2.4.m4.1"><semantics id="S7.SSx2.p2.4.m4.1a"><mrow id="S7.SSx2.p2.4.m4.1.1" xref="S7.SSx2.p2.4.m4.1.1.cmml"><mi id="S7.SSx2.p2.4.m4.1.1.2" xref="S7.SSx2.p2.4.m4.1.1.2.cmml">σ</mi><mo id="S7.SSx2.p2.4.m4.1.1.1" xref="S7.SSx2.p2.4.m4.1.1.1.cmml">=</mo><mn id="S7.SSx2.p2.4.m4.1.1.3" xref="S7.SSx2.p2.4.m4.1.1.3.cmml">50</mn></mrow><annotation-xml encoding="MathML-Content" id="S7.SSx2.p2.4.m4.1b"><apply id="S7.SSx2.p2.4.m4.1.1.cmml" xref="S7.SSx2.p2.4.m4.1.1"><eq id="S7.SSx2.p2.4.m4.1.1.1.cmml" xref="S7.SSx2.p2.4.m4.1.1.1"></eq><ci id="S7.SSx2.p2.4.m4.1.1.2.cmml" xref="S7.SSx2.p2.4.m4.1.1.2">𝜎</ci><cn id="S7.SSx2.p2.4.m4.1.1.3.cmml" type="integer" xref="S7.SSx2.p2.4.m4.1.1.3">50</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S7.SSx2.p2.4.m4.1c">\sigma=50</annotation><annotation encoding="application/x-llamapun" id="S7.SSx2.p2.4.m4.1d">italic_σ = 50</annotation></semantics></math>, the Gaussian noise becomes so extreme that our predictor causes the plane to go off the runway after approximately <math alttext="105" class="ltx_Math" display="inline" id="S7.SSx2.p2.5.m5.1"><semantics id="S7.SSx2.p2.5.m5.1a"><mn id="S7.SSx2.p2.5.m5.1.1" xref="S7.SSx2.p2.5.m5.1.1.cmml">105</mn><annotation-xml encoding="MathML-Content" id="S7.SSx2.p2.5.m5.1b"><cn id="S7.SSx2.p2.5.m5.1.1.cmml" type="integer" xref="S7.SSx2.p2.5.m5.1.1">105</cn></annotation-xml><annotation encoding="application/x-tex" id="S7.SSx2.p2.5.m5.1c">105</annotation><annotation encoding="application/x-llamapun" id="S7.SSx2.p2.5.m5.1d">105</annotation></semantics></math> timesteps. For Experiment 3, we increase <math alttext="\sigma" class="ltx_Math" display="inline" id="S7.SSx2.p2.6.m6.1"><semantics id="S7.SSx2.p2.6.m6.1a"><mi id="S7.SSx2.p2.6.m6.1.1" xref="S7.SSx2.p2.6.m6.1.1.cmml">σ</mi><annotation-xml encoding="MathML-Content" id="S7.SSx2.p2.6.m6.1b"><ci id="S7.SSx2.p2.6.m6.1.1.cmml" xref="S7.SSx2.p2.6.m6.1.1">𝜎</ci></annotation-xml><annotation encoding="application/x-tex" id="S7.SSx2.p2.6.m6.1c">\sigma</annotation><annotation encoding="application/x-llamapun" id="S7.SSx2.p2.6.m6.1d">italic_σ</annotation></semantics></math> by 2.5 until it reaches a value of <math alttext="100" class="ltx_Math" display="inline" id="S7.SSx2.p2.7.m7.1"><semantics id="S7.SSx2.p2.7.m7.1a"><mn id="S7.SSx2.p2.7.m7.1.1" xref="S7.SSx2.p2.7.m7.1.1.cmml">100</mn><annotation-xml encoding="MathML-Content" id="S7.SSx2.p2.7.m7.1b"><cn id="S7.SSx2.p2.7.m7.1.1.cmml" type="integer" xref="S7.SSx2.p2.7.m7.1.1">100</cn></annotation-xml><annotation encoding="application/x-tex" id="S7.SSx2.p2.7.m7.1c">100</annotation><annotation encoding="application/x-llamapun" id="S7.SSx2.p2.7.m7.1d">100</annotation></semantics></math>. With <math alttext="\sigma=100" class="ltx_Math" display="inline" id="S7.SSx2.p2.8.m8.1"><semantics id="S7.SSx2.p2.8.m8.1a"><mrow id="S7.SSx2.p2.8.m8.1.1" xref="S7.SSx2.p2.8.m8.1.1.cmml"><mi id="S7.SSx2.p2.8.m8.1.1.2" xref="S7.SSx2.p2.8.m8.1.1.2.cmml">σ</mi><mo id="S7.SSx2.p2.8.m8.1.1.1" xref="S7.SSx2.p2.8.m8.1.1.1.cmml">=</mo><mn id="S7.SSx2.p2.8.m8.1.1.3" xref="S7.SSx2.p2.8.m8.1.1.3.cmml">100</mn></mrow><annotation-xml encoding="MathML-Content" id="S7.SSx2.p2.8.m8.1b"><apply id="S7.SSx2.p2.8.m8.1.1.cmml" xref="S7.SSx2.p2.8.m8.1.1"><eq id="S7.SSx2.p2.8.m8.1.1.1.cmml" xref="S7.SSx2.p2.8.m8.1.1.1"></eq><ci id="S7.SSx2.p2.8.m8.1.1.2.cmml" xref="S7.SSx2.p2.8.m8.1.1.2">𝜎</ci><cn id="S7.SSx2.p2.8.m8.1.1.3.cmml" type="integer" xref="S7.SSx2.p2.8.m8.1.1.3">100</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S7.SSx2.p2.8.m8.1c">\sigma=100</annotation><annotation encoding="application/x-llamapun" id="S7.SSx2.p2.8.m8.1d">italic_σ = 100</annotation></semantics></math>, we observe a crash after approximately <math alttext="45" class="ltx_Math" display="inline" id="S7.SSx2.p2.9.m9.1"><semantics id="S7.SSx2.p2.9.m9.1a"><mn id="S7.SSx2.p2.9.m9.1.1" xref="S7.SSx2.p2.9.m9.1.1.cmml">45</mn><annotation-xml encoding="MathML-Content" id="S7.SSx2.p2.9.m9.1b"><cn id="S7.SSx2.p2.9.m9.1.1.cmml" type="integer" xref="S7.SSx2.p2.9.m9.1.1">45</cn></annotation-xml><annotation encoding="application/x-tex" id="S7.SSx2.p2.9.m9.1c">45</annotation><annotation encoding="application/x-llamapun" id="S7.SSx2.p2.9.m9.1d">45</annotation></semantics></math> timesteps. We chose a more significant <math alttext="\sigma" class="ltx_Math" display="inline" id="S7.SSx2.p2.10.m10.1"><semantics id="S7.SSx2.p2.10.m10.1a"><mi id="S7.SSx2.p2.10.m10.1.1" xref="S7.SSx2.p2.10.m10.1.1.cmml">σ</mi><annotation-xml encoding="MathML-Content" id="S7.SSx2.p2.10.m10.1b"><ci id="S7.SSx2.p2.10.m10.1.1.cmml" xref="S7.SSx2.p2.10.m10.1.1">𝜎</ci></annotation-xml><annotation encoding="application/x-tex" id="S7.SSx2.p2.10.m10.1c">\sigma</annotation><annotation encoding="application/x-llamapun" id="S7.SSx2.p2.10.m10.1d">italic_σ</annotation></semantics></math> value in Experiment 3 to simulate a crash if either method does not fix a shift fast enough. When the <math alttext="\sigma" class="ltx_Math" display="inline" id="S7.SSx2.p2.11.m11.1"><semantics id="S7.SSx2.p2.11.m11.1a"><mi id="S7.SSx2.p2.11.m11.1.1" xref="S7.SSx2.p2.11.m11.1.1.cmml">σ</mi><annotation-xml encoding="MathML-Content" id="S7.SSx2.p2.11.m11.1b"><ci id="S7.SSx2.p2.11.m11.1.1.cmml" xref="S7.SSx2.p2.11.m11.1.1">𝜎</ci></annotation-xml><annotation encoding="application/x-tex" id="S7.SSx2.p2.11.m11.1c">\sigma</annotation><annotation encoding="application/x-llamapun" id="S7.SSx2.p2.11.m11.1d">italic_σ</annotation></semantics></math> value reaches <math alttext="50" class="ltx_Math" display="inline" id="S7.SSx2.p2.12.m12.1"><semantics id="S7.SSx2.p2.12.m12.1a"><mn id="S7.SSx2.p2.12.m12.1.1" xref="S7.SSx2.p2.12.m12.1.1.cmml">50</mn><annotation-xml encoding="MathML-Content" id="S7.SSx2.p2.12.m12.1b"><cn id="S7.SSx2.p2.12.m12.1.1.cmml" type="integer" xref="S7.SSx2.p2.12.m12.1.1">50</cn></annotation-xml><annotation encoding="application/x-tex" id="S7.SSx2.p2.12.m12.1c">50</annotation><annotation encoding="application/x-llamapun" id="S7.SSx2.p2.12.m12.1d">50</annotation></semantics></math> and <math alttext="100" class="ltx_Math" display="inline" id="S7.SSx2.p2.13.m13.1"><semantics id="S7.SSx2.p2.13.m13.1a"><mn id="S7.SSx2.p2.13.m13.1.1" xref="S7.SSx2.p2.13.m13.1.1.cmml">100</mn><annotation-xml encoding="MathML-Content" id="S7.SSx2.p2.13.m13.1b"><cn id="S7.SSx2.p2.13.m13.1.1.cmml" type="integer" xref="S7.SSx2.p2.13.m13.1.1">100</cn></annotation-xml><annotation encoding="application/x-tex" id="S7.SSx2.p2.13.m13.1c">100</annotation><annotation encoding="application/x-llamapun" id="S7.SSx2.p2.13.m13.1d">100</annotation></semantics></math> respectively, we continuously sample images blurred with these values. See Fig. <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S7.F9" title="Figure 9 ‣ Experiment Details: Sensor Degradation ‣ 7 X-Plane Experiment Details ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">9</span></a> for example images.</p> </div> <figure class="ltx_figure" id="S7.F9"> <div class="ltx_flex_figure"> <div class="ltx_flex_cell ltx_flex_size_3"> <figure class="ltx_figure ltx_figure_panel ltx_align_center" id="S7.F9.sf1"><img alt="Refer to caption" class="ltx_graphics ltx_centering ltx_img_landscape" height="333" id="S7.F9.sf1.g1" src="extracted/5766884/figures/original_image.png" width="598"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S7.F9.sf1.2.1.1" style="font-size:90%;">(a)</span> </span><span class="ltx_text" id="S7.F9.sf1.3.2" style="font-size:90%;">Nominal Image with No Shift</span></figcaption> </figure> </div> <div class="ltx_flex_cell ltx_flex_size_3"> <figure class="ltx_figure ltx_figure_panel ltx_align_center" id="S7.F9.sf2"><img alt="Refer to caption" class="ltx_graphics ltx_centering ltx_img_landscape" height="333" id="S7.F9.sf2.g1" src="extracted/5766884/figures/output_image_blurred2.jpg" width="598"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S7.F9.sf2.4.1.1" style="font-size:90%;">(b)</span> </span><math alttext="\sigma=50" class="ltx_Math" display="inline" id="S7.F9.sf2.2.m1.1"><semantics id="S7.F9.sf2.2.m1.1b"><mrow id="S7.F9.sf2.2.m1.1.1" xref="S7.F9.sf2.2.m1.1.1.cmml"><mi id="S7.F9.sf2.2.m1.1.1.2" mathsize="90%" xref="S7.F9.sf2.2.m1.1.1.2.cmml">σ</mi><mo id="S7.F9.sf2.2.m1.1.1.1" mathsize="90%" xref="S7.F9.sf2.2.m1.1.1.1.cmml">=</mo><mn id="S7.F9.sf2.2.m1.1.1.3" mathsize="90%" xref="S7.F9.sf2.2.m1.1.1.3.cmml">50</mn></mrow><annotation-xml encoding="MathML-Content" id="S7.F9.sf2.2.m1.1c"><apply id="S7.F9.sf2.2.m1.1.1.cmml" xref="S7.F9.sf2.2.m1.1.1"><eq id="S7.F9.sf2.2.m1.1.1.1.cmml" xref="S7.F9.sf2.2.m1.1.1.1"></eq><ci id="S7.F9.sf2.2.m1.1.1.2.cmml" xref="S7.F9.sf2.2.m1.1.1.2">𝜎</ci><cn id="S7.F9.sf2.2.m1.1.1.3.cmml" type="integer" xref="S7.F9.sf2.2.m1.1.1.3">50</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S7.F9.sf2.2.m1.1d">\sigma=50</annotation><annotation encoding="application/x-llamapun" id="S7.F9.sf2.2.m1.1e">italic_σ = 50</annotation></semantics></math></figcaption> </figure> </div> <div class="ltx_flex_cell ltx_flex_size_3"> <figure class="ltx_figure ltx_figure_panel ltx_align_center" id="S7.F9.sf3"><img alt="Refer to caption" class="ltx_graphics ltx_centering ltx_img_landscape" height="333" id="S7.F9.sf3.g1" src="extracted/5766884/figures/output_image_blurred100.jpg" width="598"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S7.F9.sf3.4.1.1" style="font-size:90%;">(c)</span> </span><math alttext="\sigma=100" class="ltx_Math" display="inline" id="S7.F9.sf3.2.m1.1"><semantics id="S7.F9.sf3.2.m1.1b"><mrow id="S7.F9.sf3.2.m1.1.1" xref="S7.F9.sf3.2.m1.1.1.cmml"><mi id="S7.F9.sf3.2.m1.1.1.2" mathsize="90%" xref="S7.F9.sf3.2.m1.1.1.2.cmml">σ</mi><mo id="S7.F9.sf3.2.m1.1.1.1" mathsize="90%" xref="S7.F9.sf3.2.m1.1.1.1.cmml">=</mo><mn id="S7.F9.sf3.2.m1.1.1.3" mathsize="90%" xref="S7.F9.sf3.2.m1.1.1.3.cmml">100</mn></mrow><annotation-xml encoding="MathML-Content" id="S7.F9.sf3.2.m1.1c"><apply id="S7.F9.sf3.2.m1.1.1.cmml" xref="S7.F9.sf3.2.m1.1.1"><eq id="S7.F9.sf3.2.m1.1.1.1.cmml" xref="S7.F9.sf3.2.m1.1.1.1"></eq><ci id="S7.F9.sf3.2.m1.1.1.2.cmml" xref="S7.F9.sf3.2.m1.1.1.2">𝜎</ci><cn id="S7.F9.sf3.2.m1.1.1.3.cmml" type="integer" xref="S7.F9.sf3.2.m1.1.1.3">100</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S7.F9.sf3.2.m1.1d">\sigma=100</annotation><annotation encoding="application/x-llamapun" id="S7.F9.sf3.2.m1.1e">italic_σ = 100</annotation></semantics></math></figcaption> </figure> </div> </div> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S7.F9.6.3.1" style="font-size:90%;">Figure 9</span>: </span><span class="ltx_text" id="S7.F9.4.2" style="font-size:90%;">Sample X-Plane 11 images with a distribution shift caused by gradually adding Gaussian noise. Fig <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S7.F9.sf1" title="In Figure 9 ‣ Experiment Details: Sensor Degradation ‣ 7 X-Plane Experiment Details ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">9(a)</span></a> is the nominal image with no shift, whereas Fig <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S7.F9.sf2" title="In Figure 9 ‣ Experiment Details: Sensor Degradation ‣ 7 X-Plane Experiment Details ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">9(b)</span></a> is the image when <math alttext="\sigma=50" class="ltx_Math" display="inline" id="S7.F9.3.1.m1.1"><semantics id="S7.F9.3.1.m1.1b"><mrow id="S7.F9.3.1.m1.1.1" xref="S7.F9.3.1.m1.1.1.cmml"><mi id="S7.F9.3.1.m1.1.1.2" xref="S7.F9.3.1.m1.1.1.2.cmml">σ</mi><mo id="S7.F9.3.1.m1.1.1.1" xref="S7.F9.3.1.m1.1.1.1.cmml">=</mo><mn id="S7.F9.3.1.m1.1.1.3" xref="S7.F9.3.1.m1.1.1.3.cmml">50</mn></mrow><annotation-xml encoding="MathML-Content" id="S7.F9.3.1.m1.1c"><apply id="S7.F9.3.1.m1.1.1.cmml" xref="S7.F9.3.1.m1.1.1"><eq id="S7.F9.3.1.m1.1.1.1.cmml" xref="S7.F9.3.1.m1.1.1.1"></eq><ci id="S7.F9.3.1.m1.1.1.2.cmml" xref="S7.F9.3.1.m1.1.1.2">𝜎</ci><cn id="S7.F9.3.1.m1.1.1.3.cmml" type="integer" xref="S7.F9.3.1.m1.1.1.3">50</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S7.F9.3.1.m1.1d">\sigma=50</annotation><annotation encoding="application/x-llamapun" id="S7.F9.3.1.m1.1e">italic_σ = 50</annotation></semantics></math>, and Fig <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S7.F9.sf3" title="In Figure 9 ‣ Experiment Details: Sensor Degradation ‣ 7 X-Plane Experiment Details ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">9(c)</span></a> is the image when <math alttext="\sigma=100" class="ltx_Math" display="inline" id="S7.F9.4.2.m2.1"><semantics id="S7.F9.4.2.m2.1b"><mrow id="S7.F9.4.2.m2.1.1" xref="S7.F9.4.2.m2.1.1.cmml"><mi id="S7.F9.4.2.m2.1.1.2" xref="S7.F9.4.2.m2.1.1.2.cmml">σ</mi><mo id="S7.F9.4.2.m2.1.1.1" xref="S7.F9.4.2.m2.1.1.1.cmml">=</mo><mn id="S7.F9.4.2.m2.1.1.3" xref="S7.F9.4.2.m2.1.1.3.cmml">100</mn></mrow><annotation-xml encoding="MathML-Content" id="S7.F9.4.2.m2.1c"><apply id="S7.F9.4.2.m2.1.1.cmml" xref="S7.F9.4.2.m2.1.1"><eq id="S7.F9.4.2.m2.1.1.1.cmml" xref="S7.F9.4.2.m2.1.1.1"></eq><ci id="S7.F9.4.2.m2.1.1.2.cmml" xref="S7.F9.4.2.m2.1.1.2">𝜎</ci><cn id="S7.F9.4.2.m2.1.1.3.cmml" type="integer" xref="S7.F9.4.2.m2.1.1.3">100</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S7.F9.4.2.m2.1d">\sigma=100</annotation><annotation encoding="application/x-llamapun" id="S7.F9.4.2.m2.1e">italic_σ = 100</annotation></semantics></math>.</span></figcaption> </figure> <div class="ltx_para" id="S7.SSx2.p3"> <p class="ltx_p" id="S7.SSx2.p3.1">Note that it takes around 30 minutes to train the initial model on a Macbook Pro M1 chip on the X-Plane dataset of approximately 30,000 images for the sensor degradation shift, and around 2 minutes to retrain after each update step. Each sequence consists of approximately 30 images of size 200x360x3, with 1000 samples observed. 800 of these were used in the training set, while the other 200 were modified according to the Gaussian blur rule defined above.</p> </div> </section> <section class="ltx_subsection" id="S7.SSx3"> <h3 class="ltx_title ltx_title_subsection">Experiment Details: Environment Shift</h3> <div class="ltx_para" id="S7.SSx3.p1"> <p class="ltx_p" id="S7.SSx3.p1.1">In the environment shift experiments, we sampled 200 sequences of images from a new runway, KFJK. We induce the same sinusoidal trajectories as before, except with a larger amplitude in order to account for the larger width of the runway. In this case, the two linear layers of the neural network had dimension (4, 512) and (512,1), which took approximately 10 minutes to train initially on all 30,000 images, and 45 seconds for each model update. If a warning signal is not issued, the plane will crash after approximately 85 time steps as the predictor will cause the plane to taxi off the runway.</p> </div> </section> <section class="ltx_subsection" id="S7.SSx4"> <h3 class="ltx_title ltx_title_subsection">Experiment Details: Brightness Shift</h3> <div class="ltx_para" id="S7.SSx4.p1"> <p class="ltx_p" id="S7.SSx4.p1.1">In the brightness shift experiments, we sampled 200 sequences with the brightness of the image reduced by 50%. If a warning signal is not issued, the plane will crash after approximately 120 time steps. The model we used for this method is the same architecture as in Fig. <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S7.F8" title="Figure 8 ‣ Model Architecture ‣ 7 X-Plane Experiment Details ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">8</span></a>, except that the input to the model is a feature vector from an intermediate layer of a pre-trained ResNet-50 model, rather than the image itself.</p> </div> <div class="ltx_para" id="S7.SSx4.p2"> <p class="ltx_p" id="S7.SSx4.p2.1">In order to determine which intermediate layer to use, we constructed a martingale from each intermediate layer of ResNet-50 and ran them simultaneously in order to determine which layer corresponded most closely to image brightness. We experimentally determined that Layer 49 was the fastest in detecting the brightness shift, so we used that martingale when running all of the rest of our experiments.</p> </div> </section> <section class="ltx_subsection" id="S7.SSx5"> <h3 class="ltx_title ltx_title_subsection">Experiment Details: No Shift</h3> <div class="ltx_para" id="S7.SSx5.p1"> <p class="ltx_p" id="S7.SSx5.p1.1">We again take 1000 video sequences of a plane taxiing down a runway using the X-Plane 11 simulator. All sequences occur without a distribution shift, with approximately 30 images of size 200x360x3 in each sequence. We run all of our martingales on these sequences to experimentally show that we issue no false positive warnings when there is no shift.</p> </div> </section> <section class="ltx_subsection" id="S7.SSx6"> <h3 class="ltx_title ltx_title_subsection">Experiment Details: System Lifecycle</h3> <div class="ltx_para" id="S7.SSx6.p1"> <p class="ltx_p" id="S7.SSx6.p1.1">We simulate the system lifecycle by constructing sequences of 1000 iterations from the X-Plane dataset and inducing either sensor degradation or environment shift to the data according to a Poisson process with parameter <math alttext="\lambda" class="ltx_Math" display="inline" id="S7.SSx6.p1.1.m1.1"><semantics id="S7.SSx6.p1.1.m1.1a"><mi id="S7.SSx6.p1.1.m1.1.1" xref="S7.SSx6.p1.1.m1.1.1.cmml">λ</mi><annotation-xml encoding="MathML-Content" id="S7.SSx6.p1.1.m1.1b"><ci id="S7.SSx6.p1.1.m1.1.1.cmml" xref="S7.SSx6.p1.1.m1.1.1">𝜆</ci></annotation-xml><annotation encoding="application/x-tex" id="S7.SSx6.p1.1.m1.1c">\lambda</annotation><annotation encoding="application/x-llamapun" id="S7.SSx6.p1.1.m1.1d">italic_λ</annotation></semantics></math> corresponding to the expected rate of occurrence of the shift. As before, sensor degradation is simulated by adding noise to the images and environment shift is simulated by introducing images from the new runway. The shifts are large enough that if an intervention is not applied within 45 iterations after the shift occurs, the degraded model predictions cause the aircraft to deviate off the runway and crash.</p> </div> </section> </section> <section class="ltx_section" id="S8"> <h2 class="ltx_title ltx_title_section"> <span class="ltx_tag ltx_tag_section">8 </span>Free-Flyer Hardware Experiments</h2> <figure class="ltx_figure" id="S8.F10"> <div class="ltx_flex_figure"> <div class="ltx_flex_cell ltx_flex_size_3"> <figure class="ltx_figure ltx_figure_panel ltx_align_center" id="S8.F10.sf1"><img alt="Refer to caption" class="ltx_graphics ltx_centering ltx_img_landscape" height="130" id="S8.F10.sf1.g1" src="extracted/5766884/figures/observation_3.png" width="598"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S8.F10.sf1.2.1.1" style="font-size:90%;">(a)</span> </span><span class="ltx_text" id="S8.F10.sf1.3.2" style="font-size:90%;">Initial image</span></figcaption> </figure> </div> <div class="ltx_flex_cell ltx_flex_size_3"> <figure class="ltx_figure ltx_figure_panel ltx_align_center" id="S8.F10.sf2"><img alt="Refer to caption" class="ltx_graphics ltx_centering ltx_img_landscape" height="130" id="S8.F10.sf2.g1" src="extracted/5766884/figures/observation_1.png" width="598"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S8.F10.sf2.2.1.1" style="font-size:90%;">(b)</span> </span><span class="ltx_text" id="S8.F10.sf2.3.2" style="font-size:90%;">Environment Shift</span></figcaption> </figure> </div> <div class="ltx_flex_cell ltx_flex_size_3"> <figure class="ltx_figure ltx_figure_panel ltx_align_center" id="S8.F10.sf3"><img alt="Refer to caption" class="ltx_graphics ltx_centering ltx_img_landscape" height="130" id="S8.F10.sf3.g1" src="extracted/5766884/figures/blur_ff.png" width="598"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S8.F10.sf3.2.1.1" style="font-size:90%;">(c)</span> </span><span class="ltx_text" id="S8.F10.sf3.3.2" style="font-size:90%;">Sensor Degradation</span></figcaption> </figure> </div> </div> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S8.F10.2.1.1" style="font-size:90%;">Figure 10</span>: </span><span class="ltx_text" id="S8.F10.3.2" style="font-size:90%;">Images generated from the free-flyer visual servo, with (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S8.F10.sf1" title="In Figure 10 ‣ 8 Free-Flyer Hardware Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">10(a)</span></a>) a standard camera angle, (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S8.F10.sf2" title="In Figure 10 ‣ 8 Free-Flyer Hardware Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">10(b)</span></a>) a environment shift, and (<a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S8.F10.sf3" title="In Figure 10 ‣ 8 Free-Flyer Hardware Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">10(c)</span></a>) a sensor degradation shift. The trajectory of the free-flyer ends at the visual servoing target. </span></figcaption> </figure> <div class="ltx_para" id="S8.p1"> <p class="ltx_p" id="S8.p1.1">We collect data from multiple episodes of the free-flyer moving from a starting position to the docking target. This data consists of 9000 camera images from 30 episodes (each image is of size 360x640x3) as well as the associated ground truth relative pose of the free-flyer with respect to the docking target at each iterations, which is recorded using a motion capture system above the free-flyer testbed. These images are used to train a classifier to distinguish the “more recent” image. An example image is shown in Figure <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S8.F10.sf1" title="In Figure 10 ‣ 8 Free-Flyer Hardware Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">10(a)</span></a>.</p> </div> <div class="ltx_para" id="S8.p2"> <p class="ltx_p" id="S8.p2.1">In these experiments, the free-flyer performs a learning-based visual servoing task that emulates autonomous spacecraft docking. Images from the onboard camera are used to guide the free-flyer from a starting point towards a static visual target (as shown in Figure <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S4.F7" title="Figure 7 ‣ Experiment 5: Categorizing distribution shifts on a hardware free-flyer space robotics testbed ‣ 4 Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">7</span></a>), which is a pattern defined by the International Docking System Standard for spacecraft docking adapters.</p> </div> <figure class="ltx_figure" id="S8.F11"><img alt="Refer to caption" class="ltx_graphics ltx_centering ltx_img_landscape" height="273" id="S8.F11.g1" src="x4.png" width="373"/> <figcaption class="ltx_caption ltx_centering"><span class="ltx_tag ltx_tag_figure"><span class="ltx_text" id="S8.F11.2.1.1" style="font-size:90%;">Figure 11</span>: </span><span class="ltx_text" id="S8.F11.3.2" style="font-size:90%;">Martingale values growing to indicate a distribution shift, specifically sensor degradation, in a real-time robotics setting recorded on the free-flyer hardware. The martingale associated with our method grows much faster than the martingale associated with the CM method, demonstrating that our method is able to issue an alert faster than existing methods.</span></figcaption> </figure> <div class="ltx_para" id="S8.p3"> <p class="ltx_p" id="S8.p3.3">To collect the initial image data, we positioned the robot at or around a fixed starting point on the granite table while ensuring that the visual target stayed within the field of view of the camera. For the new environment distribution shift, we collected data by positioning the robot at a different starting point about one meter away from the original starting point. We captured 30 sequences from each starting point with around 300 images per sequence for a total of 18,000 images, as well as the corresponding <math alttext="x,y" class="ltx_Math" display="inline" id="S8.p3.1.m1.2"><semantics id="S8.p3.1.m1.2a"><mrow id="S8.p3.1.m1.2.3.2" xref="S8.p3.1.m1.2.3.1.cmml"><mi id="S8.p3.1.m1.1.1" xref="S8.p3.1.m1.1.1.cmml">x</mi><mo id="S8.p3.1.m1.2.3.2.1" xref="S8.p3.1.m1.2.3.1.cmml">,</mo><mi id="S8.p3.1.m1.2.2" xref="S8.p3.1.m1.2.2.cmml">y</mi></mrow><annotation-xml encoding="MathML-Content" id="S8.p3.1.m1.2b"><list id="S8.p3.1.m1.2.3.1.cmml" xref="S8.p3.1.m1.2.3.2"><ci id="S8.p3.1.m1.1.1.cmml" xref="S8.p3.1.m1.1.1">𝑥</ci><ci id="S8.p3.1.m1.2.2.cmml" xref="S8.p3.1.m1.2.2">𝑦</ci></list></annotation-xml><annotation encoding="application/x-tex" id="S8.p3.1.m1.2c">x,y</annotation><annotation encoding="application/x-llamapun" id="S8.p3.1.m1.2d">italic_x , italic_y</annotation></semantics></math> position of the freeflyer using the Optitrack motion capture system. For the sensor degradation experiment, we add Gaussian noise to the data from the original starting point using the same process as described above for the X-Plane experiments with <math alttext="\sigma=50" class="ltx_Math" display="inline" id="S8.p3.2.m2.1"><semantics id="S8.p3.2.m2.1a"><mrow id="S8.p3.2.m2.1.1" xref="S8.p3.2.m2.1.1.cmml"><mi id="S8.p3.2.m2.1.1.2" xref="S8.p3.2.m2.1.1.2.cmml">σ</mi><mo id="S8.p3.2.m2.1.1.1" xref="S8.p3.2.m2.1.1.1.cmml">=</mo><mn id="S8.p3.2.m2.1.1.3" xref="S8.p3.2.m2.1.1.3.cmml">50</mn></mrow><annotation-xml encoding="MathML-Content" id="S8.p3.2.m2.1b"><apply id="S8.p3.2.m2.1.1.cmml" xref="S8.p3.2.m2.1.1"><eq id="S8.p3.2.m2.1.1.1.cmml" xref="S8.p3.2.m2.1.1.1"></eq><ci id="S8.p3.2.m2.1.1.2.cmml" xref="S8.p3.2.m2.1.1.2">𝜎</ci><cn id="S8.p3.2.m2.1.1.3.cmml" type="integer" xref="S8.p3.2.m2.1.1.3">50</cn></apply></annotation-xml><annotation encoding="application/x-tex" id="S8.p3.2.m2.1c">\sigma=50</annotation><annotation encoding="application/x-llamapun" id="S8.p3.2.m2.1d">italic_σ = 50</annotation></semantics></math>. For both sets of experiments, we use the model architecture shown in Fig. <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S7.F8" title="Figure 8 ‣ Model Architecture ‣ 7 X-Plane Experiment Details ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">8</span></a>, except that instead of predicting the cross-track and heading error in the environment shift case, we predict the <math alttext="x,y" class="ltx_Math" display="inline" id="S8.p3.3.m3.2"><semantics id="S8.p3.3.m3.2a"><mrow id="S8.p3.3.m3.2.3.2" xref="S8.p3.3.m3.2.3.1.cmml"><mi id="S8.p3.3.m3.1.1" xref="S8.p3.3.m3.1.1.cmml">x</mi><mo id="S8.p3.3.m3.2.3.2.1" xref="S8.p3.3.m3.2.3.1.cmml">,</mo><mi id="S8.p3.3.m3.2.2" xref="S8.p3.3.m3.2.2.cmml">y</mi></mrow><annotation-xml encoding="MathML-Content" id="S8.p3.3.m3.2b"><list id="S8.p3.3.m3.2.3.1.cmml" xref="S8.p3.3.m3.2.3.2"><ci id="S8.p3.3.m3.1.1.cmml" xref="S8.p3.3.m3.1.1">𝑥</ci><ci id="S8.p3.3.m3.2.2.cmml" xref="S8.p3.3.m3.2.2">𝑦</ci></list></annotation-xml><annotation encoding="application/x-tex" id="S8.p3.3.m3.2c">x,y</annotation><annotation encoding="application/x-llamapun" id="S8.p3.3.m3.2d">italic_x , italic_y</annotation></semantics></math> position of the free-flyer on the granite table relative to the visual servoing target. A representative plot of the martingale growth for our method and the CM method is shown in Figure <a class="ltx_ref" href="https://arxiv.org/html/2407.21748v1#S8.F11" title="Figure 11 ‣ 8 Free-Flyer Hardware Experiments ‣ Diagnostic Runtime Monitoring with Martingales"><span class="ltx_text ltx_ref_tag">11</span></a>.</p> </div> </section> </article> </div> <footer class="ltx_page_footer"> <div class="ltx_page_logo">Generated on Wed Jul 31 17:02:27 2024 by <a class="ltx_LaTeXML_logo" href="http://dlmf.nist.gov/LaTeXML/"><span style="letter-spacing:-0.2em; margin-right:0.1em;">L<span class="ltx_font_smallcaps" style="position:relative; bottom:2.2pt;">a</span>T<span class="ltx_font_smallcaps" style="font-size:120%;position:relative; bottom:-0.2ex;">e</span></span><span style="font-size:90%; position:relative; bottom:-0.2ex;">XML</span><img alt="Mascot Sammy" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAOCAYAAAD5YeaVAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wKExQZLWTEaOUAAAAddEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIFRoZSBHSU1Q72QlbgAAAdpJREFUKM9tkL+L2nAARz9fPZNCKFapUn8kyI0e4iRHSR1Kb8ng0lJw6FYHFwv2LwhOpcWxTjeUunYqOmqd6hEoRDhtDWdA8ApRYsSUCDHNt5ul13vz4w0vWCgUnnEc975arX6ORqN3VqtVZbfbTQC4uEHANM3jSqXymFI6yWazP2KxWAXAL9zCUa1Wy2tXVxheKA9YNoR8Pt+aTqe4FVVVvz05O6MBhqUIBGk8Hn8HAOVy+T+XLJfLS4ZhTiRJgqIoVBRFIoric47jPnmeB1mW/9rr9ZpSSn3Lsmir1fJZlqWlUonKsvwWwD8ymc/nXwVBeLjf7xEKhdBut9Hr9WgmkyGEkJwsy5eHG5vN5g0AKIoCAEgkEkin0wQAfN9/cXPdheu6P33fBwB4ngcAcByHJpPJl+fn54mD3Gg0NrquXxeLRQAAwzAYj8cwTZPwPH9/sVg8PXweDAauqqr2cDjEer1GJBLBZDJBs9mE4zjwfZ85lAGg2+06hmGgXq+j3+/DsixYlgVN03a9Xu8jgCNCyIegIAgx13Vfd7vdu+FweG8YRkjXdWy329+dTgeSJD3ieZ7RNO0VAXAPwDEAO5VKndi2fWrb9jWl9Esul6PZbDY9Go1OZ7PZ9z/lyuD3OozU2wAAAABJRU5ErkJggg=="/></a> </div></footer> </div> </body> </html>