Skip to content

The broken-sample problem revisited II: Detecting hidden linear dependencies

Shuyang Gong, Yihong Wu, Jiaming Xu

math.ST

Abstract

We study the detection problem for shuffled linear regression, in which the covariates and the responses are either independent or linearly related through a latent correspondence. Consider independent standard Gaussian covariates X1,…,Xn∈RdX_1,\ldots,X_n\in\mathbb R^d and scalar responses Y1,…,YnY_1,\ldots,Y_n. In a shuffled linear model, Yi=⟨Xπ∗(i),β∗⟩+σZiY_i=\langle X_{π_*(i)},β_*\rangle+σZ_i, where both the permutation π∗π_* and the regression coefficient β∗β_* are latent and ZiZ_i's are white Gaussian noise. The goal is to distinguish this model from one in which the covariates and responses are independent with the same marginal distribution. In the low-dimensional regime of d≪log⁡nlog⁡log⁡nd \ll \frac{\log n}{\log\log n}, we show that the detection threshold is given by σ=o(1)σ=o(1) for fixed dd and σ2=Θ(1dlog⁡d)σ^2 = Θ(\frac{1}{d\log d}) for growing dd; both thresholds are achieved in nearly linear time using moment-based test statistics inspired by matched filters in signal processing. For higher dimensions, tests based on sliced Wasserstein distance succeed when σ2=o(1(dlog⁡d)2)σ^2 = o(\frac{1}{(d\log d)^2}), while the optimal threshold remains open. As a by-product, we show that the shuffled linear model exhibits an ``all-or-nothing'' phase transition for estimating β∗β_* at σ2≍1dlog⁡dσ^2\asymp \frac{1}{d\log d} in low dimensions. In particular, β∗β_* can be consistently estimated in nearly linear time, even when it is information-theoretically impossible to recover any positive fraction of the latent matching π∗π^*.

Create a lesson