WorksMathematics
sHAIL-Causal: A Sequential Staircase Procedure for Invariant Causal Predictor Discovery
Abstract
We introduce sHAIL-Causal, the causal specialization of the Saturated Hierarchical Atomic Incremental Learning (sHAIL) paradigm: a sequential staircase procedure that ascends a nested hierarchy of hypothesis classes H_0 < H_1 < ... < H_K once a saturation signal indicates that mastery of the current stage has plateaued. Where general sHAIL leaves the saturation criterion open, sHAIL-Causal instantiates it with a joint criterion of goodness-of-fit saturation and cross-environment invariance, replacing the complexity control of Structural Risk Minimization. We show, theoretically and by simulation, that complexity-only staircases are seduced by confounded predictors that lower empirical risk without reflecting stable causal structure, whereas an invariance-gated staircase provably halts at the true causal predictor set under a per-variable Richness condition. We show that naive greedy search fails to recover the causal set even under Richness, trace the failure to non-monotonicity of the invariance statistic along single-variable paths, and validate a fix combining bounded-exhaustive block-seeding with a calibrated acceptance threshold. We then extend the guarantee to environments arriving sequentially, yielding a confidence guarantee that stays valid at every arrival, which one-shot exhaustive search cannot offer without repeating its full combinatorial search. We close by formalizing the intervention of a wise teacher who lifts a saturated learner off a plateau of boredom.
“All models are wrong, but some are useful.” — George E. P. Box
Introduction
Staged, incremental mastery is a familiar idea in human learning long before it is a formal statistical object: a learner works within a level of skill until that level is saturated — further practice within it yields diminishing returns — and only then ascends to a richer, more demanding level. Fokoué [5] formalized this behavioral intuition as Saturated Hierarchical Atomic Incremental Learning (sHAIL): complex tasks are approached through a sequence of simpler atomic subtasks, each mastered to saturation before progression, with a saturation criterion that detects when the learning dynamics enter a plateau region and triggers consolidation followed by ascent to a higher level of task complexity. That original development is framed around convergence dynamics: within each level, classical convergence guarantees hold under standard smoothness conditions, while the hierarchical transitions between levels are driven by saturation rather than by a fixed time or iteration budget, giving rise to what Fokoué [5] terms staircased convergence — alternating phases of rapid improvement and genuine plateau. Its empirical illustrations demonstrate staircased loss trajectories during training and improved sample efficiency relative to flat, unstaged learning, offered as qualitative evidence for the theory rather than exhaustive benchmarks; the original report closes by positioning sHAIL as a first representative of a broader class of behavioral learning machines and flags principled hierarchy design, extensions to deep and reinforcement learning, and connections to biological and cognitive models of learning as open directions.
This paper takes up a complementary object within that same behavioral principle. Rather than the dynamics of convergence within a level, we formalize the staircase itself as a nested sequence of hypothesis classes ascended by a general saturation signal (§ 2), of which the convergence-dynamics view of Fokoué [5] and classical Structural Risk Minimization are both special cases. Doing so exposes a question with real statistical consequences that the general principle leaves open: what should the saturation signal measure? The most familiar answer, inherited from SRM, measures a purely predictive quantity — how much statistical complexity the data can support before overfitting sets in. That answer is well suited to prediction under a single fixed distribution, but it is the wrong answer whenever the object of interest is a mechanism expected to remain stable across distributions — across sites, cohorts, time periods, or experimental conditions. A model can saturate a complexity-controlled risk bound by fitting a confound perfectly, and complexity control alone has no way to notice.
This paper develops sHAIL’s causal specialization, sHAIL-Causal, which replaces complexity control with a joint criterion of goodness-of-fit saturation and cross-environment invariance, and asks a correspondingly different question of the staircase: not “how much capacity can the data support,” but “has the model absorbed everything true and stable about the mechanism, and can it tell a plateau that is merely well-fit from one that is genuinely causal.” The theory is developed for as an arbitrary nested sequence of function classes; nested linear variable-subset models under a structural causal model are used throughout as a concrete, interpretable instantiation for simulation, not as a restriction of the general results. We make five contributions. First, we lay out the general sHAIL framework in its pre-causal form (§ 2), so that the causal machinery developed afterward is visibly one instantiation of a broader idea, complementary to rather than a replacement for the convergence-dynamics view of Fokoué [5]. Second, we give the causal specialization itself — the fit and invariance statistics, the ascent rule, the precise per-variable Richness condition it depends on, and a stagewise convergence theorem with full proof (§ 5–7.1). Third, using the linear instantiation, we study a natural polynomial-time relaxation of exhaustive Invariant Causal Prediction search, show by simulation exactly where and why it falls short of its exhaustive counterpart, trace that shortfall to a precise, previously implicit monotonicity assumption, and validate a concrete fix (§ 10). Fourth, we extend the main theorem’s one-shot guarantee to a setting where environments arrive sequentially, showing via a peeling argument that sHAIL-Causal’s staircase structure yields a confidence sequence for that is valid simultaneously across all arrival times, a genuine capability gap relative to one-shot exhaustive search rather than merely a speed advantage (§ 8). Fifth, we formalize a mechanism long central to the sHAIL philosophy but so far only described informally: the intervention of a wise teacher who lifts a bored, saturated learner into a renewed surge of growth (§ 11).
The General sHAIL Framework
Staircases, Mastery, and Saturation
Let be a nested staircase of hypothesis classes, each rung representing a strictly richer repertoire of behavior than the last. At stage , the learner fits and computes a saturation signal — any statistic quantifying how much further mastery remains obtainable within relative to what was already extracted at . The learner ascends precisely when falls below a tolerance , signaling that the current stage has been mastered to the point of saturation — continuing to practice within it no longer pays for itself.
Definition 2.1 (Saturation signal, general form). for some monotone discrepancy functional (e.g. , as used throughout this paper).
This is deliberately generic: the causal instantiation to follow (§ 5–§ 10) replaces with the joint fit-and-invariance pair , but could equally be a Rademacher-complexity gap (recovering classical SRM as a degenerate special case of sHAIL), a Bayesian evidence ratio, or a behaviorally-measured plateau in a human learner’s error rate.
The Quintessential sHAIL Algorithm
Algorithm 1 Saturated Hierarchical Atomic Incremental Learning (sHAIL)
Input: nested staircase ; data ; saturation tolerance
Output: mastered hypothesis and halting level
Fit
repeat
Fit
Compute saturation signal
if then
halt; return stage was already saturated
end if
until
return
Staircase Geometry: sHAIL Between Two Extremes
It is useful to picture three idealized learning trajectories against cumulative exposure (Figure 1). At one extreme lies the perfect continuous learner: a straight diagonal line, improving by an identical increment at every instant, with no stages at all. At the other extreme lies what we call the evolutionary staircase: long, flat plateaus of apparent stasis broken by sudden, perpendicular jumps — mastery arrives all at once, punctuated-equilibrium style, with no gradual ramp. sHAIL occupies the middle ground: its risers are slanted, not vertical — ascent through a stage still takes graded, continuous effort, but the staircase shape as a whole, with its plateaus of saturation, remains — a compromise between rigid stage theory and pure continuous improvement.

Figure 1. Three idealized learning trajectories, distinguished by line style. The thin dashed diagonal is the perfect continuous learner. The dotted perpendicular staircase is the evolutionary/punctuated-equilibrium extreme: flat plateaus, instantaneous jumps. The thick solid slanted staircase is sHAIL: genuine plateaus of saturation, but ascent through each stage is graded rather than instantaneous, placing sHAIL strictly between the two extremes.
From General sHAIL to sHAIL-Causal
The remainder of this paper specializes the general framework of § 2 by replacing the generic saturation signal with a causally-motivated pair , and by replacing the generic staircase of hypothesis classes with a staircase of nested function classes equipped with a notion of environment-indexed residual. In the linear instantiation used throughout our simulations, this specializes further to a staircase of candidate causal predictor sets; the general theory (§ 5–7.1) does not require this specialization. This is what earns the name sHAIL-Causal, and it is developed in full below.
Related Work
Structural Risk Minimization. Classical SRM (Vapnik, [15]), with its theoretical foundations in Rademacher and Gaussian complexity bounds (Bartlett and Mendelson, [2]), ascends a nested hypothesis staircase by trading empirical risk against a complexity penalty (VC dimension, Rademacher complexity), under the standing assumption that training and evaluation data are drawn from a single fixed distribution. In the language of § 2, SRM is sHAIL with instantiated purely as a complexity-penalized risk gap and no invariance criterion at all — it has no mechanism for distinguishing a plateau that reflects true structure from one that reflects an exploitable but unstable regularity, which is exactly the failure mode our simulations exhibit (§ 10).
Invariant Causal Prediction. Our invariance statistic and the Richness condition (Assumption 6.1) draw directly on Invariant Causal Prediction (Peters et al., [11]), which searches exhaustively over covariate subsets and estimates the causal parent set as the intersection of all subsets whose residual distribution is invariant across environments, with a finite-sample confidence guarantee, and more broadly on the causal-inference framework of Pearl [10] and the causal-discovery tradition of Spirtes et al. [14]. sHAIL-Causal differs from ICP in two respects: it embeds the invariance test inside a sequential staircase rather than a one-shot exhaustive search, and it pairs invariance with an explicit fit-saturation signal so that ascent is driven by a joint stopping rule rather than invariance testing alone. The invariance-first greedy relaxation (Proposition 9.1) is best understood as a polynomial-time approximation to ICP’s exhaustive search, trading exactness (§ 10 shows the approximation gap is non-trivial at finite samples) for tractability at large .
Invariant Risk Minimization and anchor regression. Two closely related lines of work pursue invariance-across-environments as the learning signal by a different route. Invariant Risk Minimization (Arjovsky et al., [1]) learns a single fixed representation, penalized so that the optimal classifier on top of it is simultaneously near-optimal in every training environment, solved as one joint regularized optimization problem rather than a sequential procedure. Anchor regression (Rothenhäusler et al., [13]) instead reformulates robustness to distributional shift as a continuous causal regularization parameter interpolating between ordinary least squares and a fully invariant (IV-type) estimator, rather than a discrete accept/reject invariance test. sHAIL-Causal differs from both in structure rather than in motivation: where IRM and anchor regression each solve a single optimization problem over a fixed representation or regularization path, sHAIL-Causal is sequential and stagewise, testing invariance discretely at each rung of a growing hypothesis staircase, which is what allows the fit-saturation signal and the invariance signal to be examined — and to fail — separately, as § 10 does.
Curriculum and self-paced learning. Curriculum learning (Bengio et al., [3]) orders training examples from easy to hard on an externally-imposed schedule, and self-paced learning (Kumar et al., [8]) lets the learner select its own examples but still within a fixed hypothesis class. Both differ fundamentally from sHAIL in that neither grows the hypothesis class itself in response to an internally-detected saturation signal; they schedule exposure to a fixed representational capacity rather than ascending a representational staircase.
Stagewise additive modeling. Gradient boosting and other stagewise-additive procedures (Friedman, [6]) construct a model incrementally, adding one component at a time to reduce empirical risk — structurally similar to a staircase, but, like SRM, driven purely by fit improvement with no invariance gate, and hence subject to the same confounding failure mode documented in § 10.
Anytime-valid inference and confidence sequences. The time-uniform extension of § 8 draws on the classical law-of-the-iterated-logarithm-based sequential testing of Robbins [12] and the modern nonparametric, nonasymptotic confidence-sequence literature of Howard et al. [7], both of which construct sequences of confidence sets valid simultaneously across an unbounded number of looks via peeling or stitching arguments over a summable error budget, without the analyst having to commit in advance to a stopping time or sample size. That literature is developed for scalar parameter estimation under repeated sampling; Theorem 8.2 adapts the same peeling device to a structurally different object — a discrete causal predictor set recovered by a staircase procedure — and, unlike ICP’s one-shot formulation, sHAIL-Causal’s stagewise architecture already carries the bookkeeping needed to re-index the same argument by arrival time rather than by stage.
Beyond Complexity Control: The Causal Specialization
Classical SRM ascends by controlling a purely predictive quantity — Rademacher complexity, VC dimension, or a penalized empirical risk — under the standing assumption that train and test data share a single fixed distribution; in the language of § 2, SRM is simply sHAIL with instantiated as a complexity-penalized risk gap. This is the wrong lens whenever the object of interest is not prediction under a fixed law, but discovery of a mechanism that remains stable across distributions. We replace complexity control with two statistics evaluated at each rung of the staircase:
a fit statistic , measuring residual structure remaining at level ;
an invariance statistic , measuring the extent to which the fitted model at level behaves identically across a collection of environments .
Setup and Core Definitions
Let index environments with i.i.d. samples . Let be a nested staircase of function classes; nothing in this section restricts to linear models — it may equally be a nested sequence of reproducing-kernel balls, additive-model classes, or neural function classes of growing width or depth. For , write the residual field (or, for non-additive loss, a generalized residual such as a deviance residual).
Definition 5.1 (Fit statistic). For pooled across , with any empirical risk consistent with the residual field above,
Definition 5.2 (Invariance statistic).
the maximum two-sample Kolmogorov–Smirnov statistic between residual distributions across environment pairs. This definition uses only that is a computable, real-valued statistic per observation; it does not reference the internal structure of or .
Definition 5.3 (sHAIL-Causal ascent rule). For thresholds ,
Remark 5.4 (Instantiation used for simulation). Sections 10 onward specialize to nested linear variable-subset models: ranges over linear predictors built from subsets of a fixed candidate covariate set under a linear structural causal model, and denotes the true causal parent set. This specialization is chosen because it renders the Richness condition, the exhaustive-versus-greedy search comparison, and the resulting recovery guarantees fully transparent and exactly checkable by simulation; it is a convenient and interpretable instantiation of the general theory above, not a restriction built into Theorem 7.1 itself, which holds for understood as “the smallest containing the true data-generating mechanism,” whatever the functional form of .
The Richness Condition, Precisely Stated
Simulation evidence (§ 10) shows that Richness cannot be asserted abstractly; under the linear instantiation of Remark 5.4, it must hold per causal variable.
Assumption 6.1 (Richness). For every belonging to the true causal parent set , there exist environments such that . That is, must perturb every causal parent directly, not merely its downstream effects.
Remark 6.2. Assumption 6.1 is necessary, not merely convenient: if some has an identical marginal law across all of , then omitting from the fitted model leaves a residual contribution that is itself identically distributed across environments, and the invariance test cannot detect the omission. The ICP-style intersection estimator then recovers only a (possibly proper) subset of — a fundamental identifiability limit, not an estimation error.
Main Theorem
Theorem 7.1 (Stagewise Convergence to the Invariant Causal Predictor Set). Suppose (i) some has , with invariant across all ; (ii) Assumption 6.1 holds for every ; (iii) with , where . Then, with probability at least , uniformly over ,
and, conditional on halting at , lies in a -confidence set for inherited from the underlying invariance test.
Proof. Define the stopping index (with the convention ), and let be calibrated as in Proposition 7.2 with total error budget split three ways, each, across the three failure events below. We show .
Failure event F₁ (premature halt). For some , both and hold, causing the procedure to halt before reaching . Since , does not contain , so the residual retains a genuine, environment-dependent component by Assumption 6.1 (some causal parent not yet included has a distribution that differs across at least one pair of environments, and its omission propagates into the residual). By the Richness-implied margin condition , the population KS discrepancy at level exceeds by a margin , so by the reverse-triangle DKW argument used in Proposition 7.2,
Union-bounding over the at most values of and calibrating so that this bound is at most per level gives .
Failure event (fit-plateau false negative at ). despite already being achieved, i.e. the procedure fails to detect that no further true signal remains. Under assumption (i), the population fit gap at is exactly zero (no further reducible risk exists once is included), so is, up to estimation noise of order , non-positive in expectation; choosing to decay slower than this estimation noise (e.g. ) makes , and in particular for large enough.
Failure event (invariance false positive at ). despite being genuinely invariant. This is controlled directly by Proposition 7.2's DKW tail bound: under the calibration
the Type-I error at level , union-bounded over all environment pairs and all levels, is at most by construction.
Since implies , a union bound gives , establishing .
For the confidence-set claim: conditional on halting at , the accepted predictor set is, by construction, precisely a set that has survived the invariance test at global Type-I level calibrated above. By the equivalence between invariance-test acceptance regions and confidence sets established in Peters et al. [11], this acceptance region is exactly a valid -confidence set for , inherited without modification at the halting level . □
Finite-Sample Calibration of
Proposition 7.2 (DKW-derived tail bound). Under the null of true invariance between , the two-sample KS statistic satisfies
Setting
yields, uniformly over levels and environment pairs, false-flag probability at most . Under a margin condition separating truly non-invariant sets from , false-ascend probability at non-causal levels vanishes exponentially in .
Anytime-Valid Causal Discovery Under Sequentially Arriving Environments
Everything above treats as fixed in advance: the environments are collected, the DKW calibration of in Proposition 7.2 is performed once against a pre-specified , and the resulting -confidence guarantee in Theorem 7.1 is a single, static statement. In practice, environments frequently arrive over time — a new site comes online, a new intervention is logged, a new cohort is recruited — and the practitioner naturally wants to know: is my current estimate of still trustworthy, and can I keep checking as data accrues without corrupting the guarantee? This is precisely the setting in which sHAIL-Causal’s sequential architecture offers something exhaustive ICP structurally cannot.
The Peeking Problem
Suppose environments arrive one at a time, , and at each arrival time the practitioner recomputes an invariance-gated estimate using the accumulated set . If the fixed- calibration of Proposition 7.2 is simply re-applied at every using the same nominal , the guarantee silently fails: repeatedly testing invariance against a budget calibrated for a single look is a textbook instance of the optional-stopping / multiple-testing problem, and can be driven arbitrarily close to 1 as , however small was chosen at any one . Exhaustive ICP, built around a one-shot search over a fixed environment collection, offers no remedy for this beyond re-running its entire exhaustive search from scratch at every new arrival with a shrunken per-look chosen ad hoc — and even then, without a principled budget-splitting rule across , the resulting sequence of confidence sets is not simultaneously valid across all , only marginally valid at each in isolation.
A Time-Uniform Guarantee via Peeling
sHAIL-Causal’s staircase already tracks a running pair of statistics stage by stage; extending this machinery across arrival times , rather than across stages , requires only a re-allocation of error budget, in the spirit of the confidence-sequence literature (Robbins [12]; Howard et al. [7]).
Definition 8.1 (Sequential invariance budget). Fix a total error budget and allocate, to each arrival time , a per-look budget
At each , calibrate the invariance threshold against rather than : using the environment set accumulated by time ,
and let be the sHAIL-Causal estimate obtained by re-running the staircase ascent with this recalibrated against .
The budget sequence is the classical “peeling” or “union-bound stitching” device: since (the Basel problem), the per-look budgets sum exactly to the total , however many looks are eventually taken — including infinitely many.
Theorem 8.2 (Anytime-Valid Coverage of the Sequential Estimate). Under the hypotheses of Theorem 7.1 holding at every arrival time (i.e. Assumption 6.1 holds for the true parent set against for all large enough that is reachable), and with calibrated as in Definition 8.1,
where is the invariance-test acceptance region underlying at time . Equivalently, with probability at least , simultaneously for every — the guarantee is time-uniform, not merely pointwise-in-.
Proof. Fix and let denote the invariance-false-positive event at time (the analogue of failure event in the proof of Theorem 7.1, now evaluated against and ): despite being genuinely invariant across . By exactly the DKW tail bound of Proposition 7.2, applied with in place of ,
The event is contained in , since at a given can only occur through the invariance test rejecting the true, genuinely invariant at that (an -type event), rather than through failure to reach or a fit-plateau false negative, both of which concern which stage is selected, not whether itself lies in the acceptance region once tested. By countable subadditivity,
using Definition 8.1’s budget allocation in the last step. This establishes the claim. □
Remark 8.3 (A genuine capability gap, not merely a speed argument). The contrast with exhaustive ICP here is not that sHAIL-Causal is faster at each look — Proposition 9.1 already establishes that point for a fixed . The contrast is structural: sHAIL-Causal’s per-stage statistics (, ) are already indexed by an accumulating quantity (stage , itself driven by accumulating evidence), so re-indexing the same peeling argument by arrival time costs nothing beyond recalibrating one threshold per look. Exhaustive ICP’s guarantee, by contrast, is a one-shot statement tied to a fixed, pre-committed ; to make it anytime-valid under sequentially arriving environments, one would need to bolt on exactly the same peeling machinery from outside the procedure, re-running the full exhaustive search at every with a shrinking per-look budget — something the original one-shot formulation (Peters et al. [11]) neither provides nor is designed to accommodate. sHAIL-Causal’s staircase structure makes the extension close to immediate; ICP’s does not.
Remark 8.4 (Practical caveat). Theorem 8.2 controls the invariance-false-positive channel uniformly over , which is the channel that matters for the confidence-set interpretation of . It does not, by itself, guarantee that the selected stage is stable across in small samples: with few accumulated environments, is small, is loose, and the staircase may halt at a smaller than purely for lack of power, only ascending further as more environments arrive. This is the expected and desirable behavior of an anytime procedure — the confidence set is always valid, even though it may be conservative (wider, or reached at a lower stage) early on — rather than a defect to be corrected.
Why Naive Greedy Search Fails, and the Fix
A natural first attempt — greedily add or drop the single variable that most reduces , halting once — fails in practice: it entrenches spurious-but-fit-improving variables early (§ 10), after which no single-variable move improves fit enough to dislodge them, and the search oscillates or stalls short of . The defect is architectural: fit drives the search, invariance only gates a halting decision after the fact.
Proposition 9.1 (Invariance-first greedy relaxation). Let the greedy search instead rank candidate moves by first (accepting no move that increases beyond its current value) and by only to break ties among
invariance-preserving moves. Under Assumption 6.1 and sufficient signal margin between causal and non-causal variables, this procedure recovers the same intersection-based estimate as exhaustive ICP subset search, at rather than cost in the number of candidate variables .
Simulation Study
We now specialize to the linear instantiation of Remark 5.4: ranges over linear predictors built from subsets of a fixed candidate covariate set, so that ascent through the staircase corresponds to variable-subset search under a linear structural causal model. This choice is made for transparency and reproducibility, not because the theory above requires it; every quantity below could equally be computed with instantiated as nested kernel or neural function classes, at the cost of a less immediately interpretable notion of a “candidate set.”
We simulate a structural causal model with two stable causes , (fixed coefficients 1.0, 0.7), two confounded “children” , with environment-varying loadings, and a pure-noise decoy , across five environments. Table 1 summarizes recovery of the true causal set under three environment-diversity regimes.
| Regime | Perturbed variables | Intersection estimate |
| 1 | children only (, ) | |
| 2 | children + | |
| 3 | children + + | (exact) |
Table 1. ICP-intersection recovery of under increasing Richness.
Complementing this, a naive complexity-only staircase (SRM) monotonically decreases penalized risk across levels and selects the fullest confounded model, never testing invariance; sHAIL-Causal, gated by , correctly refuses every confounded plateau and halts only once Richness (Regime 3) permits full identification.
Scaling Behavior: Exhaustive ICP vs. Invariance-First Greedy
To assess Proposition 9.1 beyond the single toy case above, we simulate a sweep of structural causal models with candidate variables (a mix of true causal parents, confounded children with environment-varying loadings, and pure-noise decoys), environments, 8 replications per configuration, and observations per environment. For each replication we run both exhaustive ICP-intersection search and the invariance-first greedy relaxation, recording whether each recovers exactly and how long each takes.
Two findings are worth stating plainly rather than smoothing over. First, the runtime contrast is exactly as Proposition 9.1 predicts: exhaustive search’s cost grows by roughly a factor of two with each additional variable, while the greedy relaxation’s cost grows far more gently (Figure 2), confirming the intended computational payoff. Second, exact recovery is imperfect at these sample sizes for both procedures, and the gap between greedy and exhaustive recovery is real, not merely finite-sample noise in one direction: greedy recovery lags exhaustive recovery at every where they differ, and neither reaches 100% reliably at with only per environment. This is consistent with Proposition 9.1’s “sufficient signal margin” caveat — the margin between causal and non-causal variables’ invariance statistics shrinks relative to as grows and is held fixed, and greedy search, having no mechanism to reconsider a rejected move once passed, is more exposed to this shrinking margin than exhaustive search. Tightening this gap — either by a more sample-efficient invariance statistic than the pairwise KS max, or by allowing limited backtracking in the greedy procedure — is a natural next step rather than a flaw to paper over.
Figure 2. Wall-clock time (log scale) for exhaustive ICP-intersection search versus the invariance-first greedy relaxation, as a function of the number of candidate variables . The exhaustive procedure’s runtime tracks its subset enumeration; the greedy procedure remains close to flat, consistent with its cost.
| subsets () | exhaustive recovery | greedy recovery | exhaustive / greedy time | ||
| 4 | 4 | 16 | 0.50 | 0.25 | 0.055s / 0.044s |
| 5 | 4 | 32 | 0.75 | 0.25 | 0.100s / 0.077s |
| 6 | 5 | 64 | 0.50 | 0.50 | 0.332s / 0.065s |
| 7 | 5 | 128 | 1.00 | 0.75 | 0.681s / 0.161s |
| 9 | 5 | 512 | 0.25 | 0.00 | 2.669s / 0.179s |
Table 2. Recovery rate and wall-clock time, exhaustive ICP vs. invariance-first greedy, averaged over 8 replications per configuration.
Diagnosing the Gap: Non-Monotonicity of Invariance Along Single-Variable Paths
We pursued this tightening directly and report the outcome honestly, including the attempts that did not work, because the diagnosis turned out to be more informative than any of the fixes.
We first suspected finite-sample statistical noise: perhaps simply under-powers the KS-based invariance test at larger . Repeating the configuration with five times the data () refuted this immediately — exhaustive recovery rose to 1.00, while plain greedy recovery remained frozen at 0.50. More data closed the gap for exhaustive search and did nothing for greedy, which rules out statistical power as the explanation and points instead to the search procedure itself.
We then tried three successive algorithmic remedies: (a) a 2-opt backtracking phase after greedy convergence, allowing a previously-excluded variable to swap back in; (b) a corrected acceptance rule that continues growing the accepted set past the first invariant subset found, rather than halting immediately, so as to seek the maximal invariant set rather than any invariant set; and (c) a multi-start randomized-greedy procedure that runs several randomly-ordered greedy trajectories and intersects their results, mirroring ICP’s aggregation-over-many-sets logic at a fraction of its cost. None of the three closed the gap; (b) left recovery unchanged, and (c) left it unchanged while raising runtime toward the exhaustive procedure’s, defeating its purpose.
Tracing a specific failure explained why. The greedy path oscillated between the empty set and a single pure-noise decoy variable, exhausting its step budget before making genuine progress — but the deeper cause was not the noise variable itself. It was that alone (one true causal parent, the other omitted) exhibited worse invariance () than the empty set (): omitting one true causal parent while including only the other left a residual whose environment-dependence was larger, not smaller, than including neither. Greedy’s one-variable-at-a-time acceptance rule implicitly assumes that decreases monotonically as true causal variables are added one at a time; this simulation shows that assumption can fail, because a partial causal set can leak a “worse” environment-dependent bias than an empty one when the omitted and included causal parents interact additively in the outcome equation. A greedy search guided by single-step invariance improvement is, in such cases, actively misled toward noise variables and away from the true causal path, and no amount of backtracking or restarting from the same one-variable-at-a-time move set repairs this, because every restart is still built from the same locally-misleading steps.
This points to a genuine open algorithmic question rather than a closed one: closing the gap likely requires abandoning single-variable moves in favor of a method that can evaluate small groups of variables jointly — for instance, a branch-and-bound search using as an admissible lower bound to prune subsets that cannot possibly achieve invariance, certified via the DKW tail bound of Proposition 7.2, rather than a greedy heuristic that commits to one variable at a time. We flag this as a concrete direction for future work rather than claim it resolved here; Proposition 9.1’s guarantee should accordingly be read as holding under an explicit single-variable monotonicity condition on , stated below, which the present simulation shows is not automatic.
Assumption 10.1 (Single-variable invariance monotonicity). For every non-invariant and every , adding does not increase the invariance statistic: .
Proposition 9.1’s guarantee holds as stated under Assumption 10.1; § 10.2 shows this assumption is a genuine restriction, not a formality, and its failure is the precise mechanism behind the observed greedy/exhaustive gap.
A Validated Fix: Bounded-Exhaustive Seeding with a Calibrated Threshold
Rather than leave Assumption 10.1’s failure purely as an open problem, we tested a concrete two-part remedy and it succeeds. First, bounded-exhaustive seeding: exhaustively check all candidate subsets up to a small fixed size (e.g. or 3), which costs only and directly tests causal-sized blocks jointly rather than one variable at a time — this alone repairs the failure traced in Section 10.2, since a true causal pair is tested together rather than through a misleading single-variable path. Second, and unexpectedly necessary, a properly-scaled acceptance threshold: our first attempt at bounded-exhaustive seeding still failed, because the greedy refinement phase accepted any infinitesimal reduction in , and raw in-sample mean squared error decreases mechanically with any added regressor, including pure-noise decoys, through ordinary overfitting — a well-known hazard of stepwise regression quite independent of the causal question. Replacing the acceptance rule with a genuine threshold, , that a candidate move must clear before being accepted, closes this second leak.
Together, these two changes recovered exactly in 100% of replications at on the previously-failing configuration (versus 50% for plain greedy and backtracking, matching exhaustive search’s 100%), at roughly one-tenth the wall-clock cost of exhaustive search. We report this as a validated, working fix rather than a proposal — but with one honest caveat: the constant in was calibrated ad hoc for this demonstration, and the same fix applied unmodified at did not perform consistently well across configurations. Deriving properly as a function of — rather than borrowing a working value from one regime — is the remaining piece needed before this becomes a general-purpose replacement for Proposition 9.1, and we flag it as the immediate next technical step rather than claim it solved in full generality.
The Wise Teacher: Escaping the Plateau of Boredom
Every plateau in the sHAIL staircase carries a risk the formalism so far has not addressed: a saturated learner is not merely finished with a stage, but may become bored by it — content to remain at well past the point where a nudge would carry it further. This is a central motivating idea behind sHAIL as a behavioral theory, and it deserves its own formal treatment rather than remaining a metaphor.
Definition 11.1 (Plateau of boredom). Stage is a plateau of boredom if the saturation signal has remained below tolerance for consecutive evaluation windows,
i.e. the learner has stopped ascending even though richer, unmasted hypothesis classes remain available.
Definition 11.2 (Teacher intervention operator). A wise teacher is an operator that, upon detecting a plateau of boredom, acts on the learner’s trajectory by one (or both) of:
(a) Reframing: replacing with an enriched that exposes previously invisible structure (a harder sub-problem, a reframed goal, a new example) — increasing the achievable discrepancy without changing the ground truth being modeled;
(b) Encouragement: temporarily relaxing the ascent threshold, , lowering the bar for what counts as “still improving” just long enough for the learner to attempt the next rung.
Proposition 11.3 (Escape from boredom). Let stage be a plateau of boredom under tolerance . If the teacher applies a reframing , with (the reframing does not overshoot the next natural stage), such that the true saturation gap under satisfies for some genuinely recoverable by the learner, then the learner resumes ascent at stage with the same halting guarantees as Theorem 7.1, now applied to the reframed staircase .
Proof. By the definition of a plateau of boredom, the general sHAIL decision rule (Algorithm 1, line 9) evaluates and halts, even though . The teacher’s reframing replaces with and, by hypothesis, the recomputed saturation gap satisfies . Re-evaluating line 9 of Algorithm 1 under , the condition is now false, so the halt branch is not taken and the procedure instead proceeds to stage exactly as it would have had the original stage not saturated prematurely. Because , the sequence remains a valid nested staircase, so it satisfies the hypotheses of Theorem 7.1 verbatim: assumption (i) is unaffected (if for the original staircase, the same containment holds for the reframed one, since only stage was enlarged and all later stages are unchanged); Assumption 6.1 is a property of the environment collection alone and does not reference ; and the rate condition (iii) on is unaffected by the reframing. Hence Theorem 7.1 applies unchanged to the reframed staircase, giving exactly as before.
Remark 11.4. Proposition 11.3 formalizes a simple but important asymmetry: encouragement alone (lowering ) can force an ascent decision, but only reframing (enlarging what is genuinely masterable at stage ) produces a real gain in — encouragement without reframing risks promoting the learner past a stage it has not, in truth, mastered. A wise teacher’s intervention is distinguished from mere pressure by whether it changes itself, not just the bar against which is judged. This distinction — between genuine reframing and empty encouragement — is exactly the boundary a rigorous treatment of pedagogical intervention must respect, and it maps naturally onto sHAIL’s existing saturation machinery: reframing acts on , encouragement acts on , and only the former is guaranteed, by Theorem 7.1’s halting argument, to produce a stage genuinely worth ascending to.
Conclusion
The corrected picture is this: sHAIL-Causal is not merely SRM with an added diagnostic, nor is it the whole of sHAIL — it is one causally-motivated instantiation of a broader staircase philosophy whose general form, pseudocode, and geometry were laid out in § 2. Within its causal specialization, sHAIL-Causal answers a categorically different question from SRM: has the model absorbed everything true and stable about the mechanism, and can it tell the difference between a plateau that is merely well-fit and one that is genuinely causal? The Richness condition (Assumption 6.1), the invariance-first greedy relaxation (Proposition 9.1) together with its precise monotonicity requirement (Assumption 10.1), the time-uniform extension of the main theorem to sequentially arriving environments (Theorem 8.2), and the formal treatment of teacher intervention (Proposition 11.3) together give the sHAIL philosophy — staged mastery, saturation, and the possibility of being lifted beyond it — a precise, testable, and computationally tractable mathematical home.
We see four directions as the natural continuation of this work. First, § 10.3 already validates a two-part fix — bounded-exhaustive block-seeding plus a properly-thresholded acceptance rule — that closes the greedy/exhaustive gap at adequate sample size; what remains is deriving the threshold constant as an explicit function of rather than calibrating it ad hoc, which would upgrade § 10.3 from a demonstrated fix into a general-purpose replacement for Proposition 9.1. Second, the invariance statistic itself — currently the maximum pairwise KS distance across environments — is a reasonable first choice but not obviously the most sample-efficient one; a conditional-independence-based invariance test, or a studentized statistic that pools information across all environment pairs rather than taking a maximum over them, may narrow the finite-sample recovery gap further with no change to the underlying theory. Third, Theorem 8.2’s peeling budget is one convenient summable allocation among many; a sharper, variance-adaptive scheme in the spirit of the mixture-based confidence sequences of Howard et al. [7] may tighten substantially at small , where the current allocation is most conservative. Fourth, the teacher-intervention formalism of § 11 currently treats reframing as an exogenous, given enlargement of ; an interesting extension would endogenize the teacher as a second learner solving its own optimization problem — choosing the minimal reframing that clears the boredom threshold — turning Proposition 11.3 into a two-agent equilibrium result rather than a one-sided guarantee.
References
- [1]Arjovsky, M., Bottou, L., Gulrajani, I., and Lopez-Paz, D. (2019). Invariant risk minimization. arXiv preprint arXiv:1907.02893.arxiv.org/abs/1907.02893
- [2]Bartlett, P. L. and Mendelson, S. (2002). Rademacher and Gaussian complexities: risk bounds and structural results. Journal of Machine Learning Research, 3, 463–482.DOI
- [3]Bengio, Y., Louradour, J., Collobert, R., and Weston, J. (2009). Curriculum learning. Proceedings of the 26th International Conference on Machine Learning (ICML).DOI
- [5]Fokoué, Ernest (2026). “Saturated Hierarchical Atomic Incremental Learning (sHAIL): A Behavioral Learning Perspective on Staged Mastery and Saturation.” Technical Report, School of Mathematics and Statistics, Rochester Institute of Technology. Accessed from https://repository.rit.edu/article/2187.
- [6]Friedman, J. H. (2001). Greedy function approximation: a gradient boosting machine. Annals of Statistics, 29(5), 1189–1232.DOI
- [7]Howard, S. R., Ramdas, A., McAuliffe, J., and Sesia, M. (2021). Time-uniform, nonparametric, nonasymptotic confidence sequences. Annals of Statistics, 49(2), 1055–1080.DOI
- [8]Kumar, M. P., Packer, B., and Koller, D. (2010). Self-paced learning for latent variable models. Advances in Neural Information Processing Systems (NeurIPS).
- [10]Pearl, J. (2009). Causality: Models, Reasoning, and Inference (2nd ed.). Cambridge University Press.
- [11]Peters, J., Bühlmann, P., and Meinshausen, N. (2016). Causal inference by using invariant prediction: identification and confidence intervals. Journal of the Royal Statistical Society: Series B, 78(5), 947–1012.arxiv.org/abs/1501.01332
- [13]Rothenhäusler, D., Meinshausen, N., Bühlmann, P., and Peters, J. (2021). Anchor regression: heterogeneous data meets causality. Journal of the Royal Statistical Society: Series B, 83(2), 215–246.
- [14]Spirtes, P., Glymour, C., and Scheines, R. (2000). Causation, Prediction, and Search (2nd ed.). MIT Press.
- [15]Vapnik, V. N. (1998). Statistical Learning Theory. Wiley.
