NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Linear Regression Under Misalignment: Algorithms and Theoretical Results

Sanjivni Rana, Suraj Shetiya, Senjuti Basu Roy, Gautam Das

NeurIPS page · OpenReview · Open on the map

Category: Causality, Privacy & Learning Theory › Halfspace Learning under Noise · Type: new method · Keywords: linear regression, data misalignment, shuffled regression, NP-hardness, geometric algorithms

Summary

We provide the first exact polynomial-time algorithm for recovering linear models when only the responses are shuffled, and we establish NP-hardness of the more general case where both inputs and outputs are misaligned.

Explained to a 5-year-old

Imagine you have a set of pictures and each picture has a label that tells you what it is, but someone shuffled the labels so they no longer match the pictures. It becomes hard to learn what each picture type looks like. The paper studies two kinds of shuffling: one where only the labels are shuffled but the pictures stay together, and another where both pictures and labels are shuffled. For the first case, the authors found a clever way to untangle the labels by looking at groups of pictures and using simple rules. This method can solve the puzzle exactly and quickly, even when there are many pictures and many features.

Explained to a 5-year-old, longer

Imagine you have a set of pictures and each picture has a label that tells you what it is, but someone shuffled the labels so they no longer match the pictures. It becomes hard to learn what each picture type looks like. The paper studies two kinds of shuffling: one where only the labels are shuffled but the pictures stay together, and another where both pictures and labels are shuffled. For the first case, the authors found a clever way to untangle the labels by looking at groups of pictures and using simple rules. This method can solve the puzzle exactly and quickly, even when there are many pictures and many features. For the second, more tangled case, they proved that no fast method can always solve it, meaning it is fundamentally difficult. This tells us that sometimes mixing data too much makes it impossible to recover the truth easily. The results help us understand when we can trust shuffled data and when we need to be careful. By providing both an algorithm and a hardness proof, the work gives a clearer picture of what is possible in real-world situations where data may be anonymized or combined from different sources.

For a technical reader

The paper addresses the problem of learning linear models when the pairing between inputs and outputs is corrupted. It presents a geometric algorithm that partitions the space of possible pairings using hyperplanes, enabling exact recovery in polynomial time for the case where only outputs are shuffled. For the more general scenario where both inputs and outputs are shuffled, the authors prove NP-hardness even in two dimensions. These results clarify the computational limits of recovery under data misalignment.

Problem

When training data for linear regression is misaligned-i.e., the correspondence between feature vectors and response values is unknown-recovering the correct regression model becomes computationally challenging. Two settings arise: one where features are aligned but responses are shuffled, and another where both are misaligned.

Method

The approach partitions the parameter space using a set of separator hyperplanes derived from pairwise comparisons of data points, reducing the combinatorial search over permutations to a polynomial search over regions where the optimal pairing is constant. This yields an exact polynomial-time algorithm for the shuffled setting without distributional assumptions.

Results

The approach achieves exact recovery in O(n2d-1(d2 + log n)) time for the shuffled setting, and we prove that the more general misaligned problem is NP-hard even in two dimensions.

Contributions

We give the first exact polynomial-time algorithm for recovering linear models when only the responses are shuffled, and we establish the computational hardness of the more general case where both inputs and outputs are misaligned.

Limitations and assumptions

The algorithm’s polynomial runtime is guaranteed only for a fixed dimension d, and the hardness result is established for d=2, leaving higher dimensions unexplored.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction