Spacing Test for Lasso Inference
- The paper introduces the spacing test as an exact post-selection procedure that leverages the gap between adjacent lasso knots to derive a uniform selective pivot.
- Spacing test for lasso is a method for post-selection inference that conditions on the polyhedral representation of the lasso path to assess the significance of newly entered variables.
- The approach is contrasted with related methods like the covariance and permutation tests, and it extends naturally to variants such as the fused and graphical lasso.
Searching arXiv for the exact spacing-test paper and closely related selective-inference references. The spacing test for the lasso is a post-selection inference procedure for significance testing along a path of adaptively selected models. In the literature summarized here, it is most precisely understood through the LARS/polyhedral selective-inference framework, where the statistic is built from neighboring knot values and yields an exact conditional pivot under a polyhedral selection event; by contrast, several nearby papers develop alternative or precursor tests for lasso-selected variables, including the covariance test and permutation-based rank tests, but these are not themselves the canonical spacing test (Lockhart et al., 2013, Brink-Jensen et al., 2014, Suzuki, 2023).
1. Conceptual scope and terminological boundaries
The phrase “spacing test for the lasso” is often used loosely, but the surrounding literature distinguishes several different inferential constructions. One line of work is the covariance test of Lockhart, Taylor, Tibshirani and Tibshirani, which studies significance for the predictor variable that enters the current lasso model along the lasso solution path and shows an asymptotic null law under appropriate conditions (Lockhart et al., 2013). Another line is the exact selective-inference framework reviewed in the post-selection survey on sparse estimation, where the spacing test is presented as a spacing test for LARS derived from polyhedral conditioning and truncated Gaussian pivots (Suzuki, 2023). A separate alternative is the permutation/randomization-based procedure proposed for ordered lasso-selected features, which tests rank-based null hypotheses such as but does not derive a spacing statistic from lasso path knots (Brink-Jensen et al., 2014).
This distinction is substantive rather than merely terminological. The permutation method uses the statistic together with a response-permutation null distribution, and the authors explicitly position it as an alternative to the Lockhart et al. covariance test rather than as a spacing test (Brink-Jensen et al., 2014). The covariance-test literature, by contrast, is tied to the lasso path and the spacing between successive knots (Lockhart et al., 2013). The selective-inference review then presents the spacing test in its exact conditional form through a polyhedral representation of the LARS selection event and a truncated normal pivot (Suzuki, 2023).
A plausible implication is that “spacing test for the lasso” is best treated as a member of the broader family of pathwise post-selection tests, but not every pathwise lasso significance procedure should be identified with it. The data make this especially clear for the 2014 permutation paper, which is relevant background on inference after lasso selection but not a direct source of spacing-test machinery (Brink-Jensen et al., 2014).
2. Lasso path setting and the inferential problem
The inferential setting begins with the Gaussian linear model
and the lasso estimator
In the covariance-test formulation, the columns of are assumed to be in general position, which guarantees uniqueness of the lasso solution for each and hence a unique piecewise linear path with knots
At each knot, some variable enters or leaves the active set (Lockhart et al., 2013).
The inferential target is not the same as in ordinary fixed-model regression. At step , the lasso has already produced an adaptive current model 0, and the covariance-test paper formulates the null as
1
For 2, this reduces to the global null 3; for later steps it is a conditional null about whether all truly active variables are already contained in the current lasso model before the new variable enters (Lockhart et al., 2013). The review article on sparse-estimation selective inference presents the analogous sequential question for the spacing test as testing whether the next variable entering at step 4 has coefficient zero, conditional on the path event up to step 5 (Suzuki, 2023).
This reformulation is necessary because adaptive selection invalidates naive fixed-model tests. The covariance-test paper emphasizes that, for two fixed nested linear models, the classical drop-in-RSS statistic has a 6 null law, but that this is no longer appropriate once the additional variable has been chosen adaptively or greedily (Lockhart et al., 2013). In the lasso path, adaptivity inflates significance measures, while shrinkage from the 7 penalty acts in the opposite direction. The covariance statistic is designed so that these effects balance, producing a tractable asymptotic law (Lockhart et al., 2013). The spacing test addresses the same difficulty through conditioning on the polyhedral selection event rather than through an asymptotic balancing argument (Suzuki, 2023).
3. Covariance statistic as precursor spacing machinery
The covariance test is one of the key precursors to the spacing-test viewpoint. Its statistic at step 8 is
9
where 0 is the active set just before the knot 1, the predictor 2 enters at 3, and 4 is the reduced lasso estimator on the current active set evaluated at the next knot (Lockhart et al., 2013). The paper evaluates both fits at 5 because at entry time 6 the new coefficient is still zero (Lockhart et al., 2013).
Its central relevance to the spacing-test literature lies in the knot representation. Under the assumption that the reduced lasso path on 7 has no sign changes between 8 and 9, the paper proves
0
where
1
Thus the covariance statistic is explicitly a function of the spacing between successive knots, 2, scaled by the current knot 3 and a geometric factor (Lockhart et al., 2013).
Two special cases make the spacing structure transparent. In the orthogonal case, 4, so
5
At the first step with unit-norm columns, 6 and again
7
The paper therefore isolates the inferential content in the gap between adjacent lasso critical values, even though it does not yet present the later exact spacing test in truncated-Gaussian form (Lockhart et al., 2013).
The asymptotic null theory further strengthens the precursor role of this construction. In the orthogonal global-null case, if 8 are the order statistics of i.i.d. 9 variates, then
0
and more generally the successive products converge to independent exponentials with means 1 (Lockhart et al., 2013). Under more general technical assumptions on 2, the first-step statistic remains asymptotically 3 under the global null (Lockhart et al., 2013). In this sense, the covariance test already expresses lasso significance in terms of adjacent knot spacings and serves as a direct bridge to later spacing tests.
4. Polyhedral selective inference and the exact spacing pivot
The exact spacing-test framework, as summarized in the review on post-selection inference for sparse estimation, is built on a general selective-inference principle. If the selection event can be represented as a polyhedron
4
and one is interested in a linear statistic 5, then with
6
the statistic 7 is independent of 8, and the event 9 can be rewritten as
0
where
1
2
3
Hence,
4
and
5
This truncated-Gaussian pivot is the engine of exact selective inference in the spacing-test construction (Suzuki, 2023).
For LARS, the review introduces vectors
6
where 7 is the active set before the 8th step and 9 is its sign vector (Suzuki, 2023). A key identity is
0
which converts path geometry into affine inequalities in 1 and allows the selection event to be encoded polyhedrally (Suzuki, 2023).
Using this machinery, the review states the spacing-test statistic at step 2 under the null 3 as
4
where
5
and the norm identity 6 explains the standardization (Suzuki, 2023). The review further states the exact finite-sample selective validity result
7
Accordingly, the spacing test is an exact conditional Uniform8 pivot under the polyhedral selection event (Suzuki, 2023).
This exact conditional statement is the principal feature that separates the spacing test from the covariance test. The latter yields asymptotic exponential calibration tied to path spacings; the former uses a polyhedral truncation argument to obtain an exact selective pivot (Lockhart et al., 2013, Suzuki, 2023).
5. Approximate spacing statistic and relation to the significance test
The exact spacing statistic involves the competitor boundary 9, which the review describes as complicated to compute (Suzuki, 2023). For this reason it also presents a simpler approximation obtained by replacing the more complicated lower truncation boundary with the next knot: 0 The corresponding validity statement is conservative: 1 The review attributes the conservatism to the inequality
2
which implies
3
Thus the approximate spacing test preserves selective validity at the cost of conservatism (Suzuki, 2023).
The same review then provides an explicit asymptotic connection between the approximate spacing test and the lasso significance test. Under the assumptions
4
one has
5
where 6 denotes the significance-test statistic from the lasso covariance-test line of work (Suzuki, 2023). This makes the relationship between the two procedures precise: the approximate spacing statistic and the significance statistic are asymptotically equivalent after the transform 7 (Suzuki, 2023).
This suggests a natural historical reading. The covariance test introduced the knot-spacing form and exponential calibration in the lasso path setting (Lockhart et al., 2013). The spacing test then recast the same inferential phenomenon inside a selective-inference framework with a polyhedral conditioning argument and an exact conditional pivot (Suzuki, 2023). The approximate spacing statistic sits between these viewpoints, being closer computationally to the covariance test while inheriting the selective-inference interpretation of the exact spacing test (Suzuki, 2023).
6. Related extensions, analogues, and non-examples
Several nearby papers clarify what does and does not count as a spacing test. The permutation paper on inference for feature selection using the lasso is explicit in not deriving the canonical spacing-test formula. It does not use adjacent lasso knots, does not derive a spacing statistic from path entry times, and does not provide a truncated exponential or truncated-Gaussian selective pivot (Brink-Jensen et al., 2014). Instead, it tests rank-based null hypotheses such as
8
using the observed coefficient magnitude
9
and the Monte Carlo 0-value
1
Its conditioning strategy is weak relative to modern selective inference, since it conditions only on the predictor matrix 2 and uses response permutation to enforce the global null of no response-predictor association (Brink-Jensen et al., 2014).
By contrast, the graphical-lasso paper gives a genuine spacing-style analogue in sparse inverse covariance estimation. It defines a special subsequence of knots 3 at which connected components change, and proposes the statistic
4
Under the null that the true connected components are already captured, the first null step has asymptotic law 5, and the 6th null step after that has asymptotic law 7 (G'Sell et al., 2013). The paper explicitly describes this as being inspired by the lasso covariance/spacing literature, and even gives a covariance-style formulation that collapses exactly to the knot-spacing form for its chosen knot subsequence (G'Sell et al., 2013). The analogy is structural: both settings use spacings between successive path knots, both test “has the true model already entered?” nulls, and both obtain asymptotic exponential laws (G'Sell et al., 2013).
A more recent structured-sparsity extension is the fused-lasso spacing test. In one-dimensional fused lasso signal approximation,
8
the paper reparameterizes the problem so that it becomes an ordinary lasso in transformed variables (Tasaka et al., 17 Sep 2025). With transformed design 9 and transformed response 0, it builds a fused-LARS path and derives the spacing statistic
1
where the tested parameter is the newly entered adjacent difference corresponding to a changepoint (Tasaka et al., 17 Sep 2025). The paper states the selective-validity result as
2
thereby transplanting the spacing-test logic from ordinary lasso coefficients to changepoint effects in fused lasso (Tasaka et al., 17 Sep 2025).
These papers jointly indicate that the spacing-test idea is not confined to standard lasso regression. Its reusable ingredients are a piecewise linear path indexed by knots, a polyhedral representation of the selection event, and a Gaussian linear statistic whose conditional law is truncated normal (Tasaka et al., 17 Sep 2025). At the same time, the permutation lasso-significance paper demonstrates that not every valid post-selection procedure for lasso-selected variables belongs to the spacing-test family (Brink-Jensen et al., 2014).
7. Interpretation, limitations, and practical significance
The spacing test is a selective-inference procedure for sequential model building, and its interpretation must remain tied to that role. In the review formulation, the null at step 3 is that the next variable entering the LARS path has coefficient zero, conditional on the event that the same path has been selected up to that point (Suzuki, 2023). The resulting 4-value therefore does not coincide with the ordinary regression 5-value for a prespecified coordinate. It is instead a pathwise post-selection statement about a variable chosen adaptively by the procedure itself (Suzuki, 2023).
This conditional perspective also clarifies why the spacing test differs from simpler alternatives. The covariance test produces asymptotic exponential calibration through the balance of adaptivity and shrinkage, but it is not itself an exact polyhedral selective pivot (Lockhart et al., 2013). The permutation rank test uses empirical null simulation under response exchangeability and targets the selected rank position rather than a fixed-coordinate or exact pathwise selective null (Brink-Jensen et al., 2014). The spacing test occupies a distinct position because it couples neighboring knot spacings to an explicit conditioning event and derives exact conditional uniformity from a truncated-Gaussian law (Suzuki, 2023).
Several limitations are explicit in the surrounding literature. The exact selective arguments assume a Gaussian model with known variance in the review exposition and in the fused-lasso extension (Suzuki, 2023, Tasaka et al., 17 Sep 2025). The approximate spacing statistic is conservative because it replaces the exact competitor threshold by the next knot (Suzuki, 2023). The covariance-test theory for later lasso steps is asymptotic and can become conservative under correlation or more general designs (Lockhart et al., 2013). The permutation alternative relies on exchangeability under the null and does not condition on the exact lasso active set, signs, or polyhedral selection event (Brink-Jensen et al., 2014). These are different limitations, but together they show that post-selection inference after lasso is method-sensitive: inferential target, conditioning event, and reference law vary sharply across procedures.
Within that broader landscape, the spacing test is best regarded as the exact polyhedral selective-inference formulation of the knot-spacing idea. The covariance-test paper established that adjacent lasso knots carry the essential inferential signal and that the statistic is, in simple cases, literally a function of 6 (Lockhart et al., 2013). The selective-inference review explains how this insight becomes an exact conditional pivot through a polyhedral representation of the LARS path event (Suzuki, 2023). The permutation paper and the graphical- and fused-lasso analogues then delineate the boundaries of the concept: some procedures are alternatives, some are analogues, and some are direct structured extensions of the spacing-test principle (Brink-Jensen et al., 2014, G'Sell et al., 2013, Tasaka et al., 17 Sep 2025).