Linear Regression Under Misalignment: Algorithms and Theoretical Results
Sanjivni Rana ⋅ Suraj Shetiya ⋅ Senjuti Basu Roy ⋅ Gautam Das
Abstract
In this work, we study two related yet computationally distinct linear regression problems in which the correspondence between $d$-dimensional feature vectors and responses is unknown due to anonymization, data fragmentation, or multi-source aggregation. The first problem, referred to as the *Shuffled Linear Regression* (SLR) problem, originally proposed in the machine learning community, considers the setting where feature vectors arrive as internally consistent $d$-dimensional units but their alignment to response values is unknown. Prior work established an efficient exact solution only for the one-dimensional case. For higher dimensions ($d \geq 2$), the best known result is a $(1+\varepsilon)$ approximation scheme with running time $\mathcal{O}((n/\varepsilon)^d)$, where $n$ is the number of data points, leaving open the fundamental question of whether an exact polynomial-time algorithm exists for any fixed dimension $d$. *Despite the extensive study in prior literature and established NP-hardness results for unbounded dimensions, the exact computational complexity of this problem for bounded $d$ has remained unresolved.* We present the first exact polynomial-time algorithm via a geometric insight: the parameter space can be partitioned by $\binom{n}{2}$ separator hyperplanes into $O(n^{2d-2})$ regions, within each of which the optimal pairing remains unchanged. This reduces the exponential search over permutations to a polynomial search over regions, yielding the first exact polynomial-time algorithm for SLR with runtime $O(n^{2d-1}(d^2 + \log n))$. We then initiate the study of a related problem, referred to as the *Fully Unlinked Features Linear Regression* (FUFLR), where neither the feature vectors themselves nor their alignment to the response variable are present. For this problem, we provide the first rigorous complexity results, proving that it is NP-hard even at $d = 2$. This establishes a qualitative gap: FUFLR is intractable even in low dimensions, whereas SLR admits an exact polynomial-time solution for fixed $d$.
Successful Page Load