potentialpaper

Linear Regression Under Misalignment: Algorithms and Theoretical Results

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

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. In this work, we study two related yet computationally distinct linear regression problems in which the correspondence between dd-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 dd-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≥2d \geq 2), the best known result is a (1+ε)(1+\varepsilon) approximation scheme with running time O((n/ε)d)\mathcal{O}((n/\varepsilon)^d), where nn is the number of data points, leaving open the fundamental question of whether an exact polynomial-time algorithm exists for any fixed dimension dd. Despite the extensive study in prior literature and established NP-hardness results for unbounded dimensions, the exact computational complexity of this problem for bounded dd has remained unresolved. We present the first exact polynomial-time algorithm via a geometric insight: the parameter space can be partitioned by (n2)\binom{n}{2} separator hyperplanes into O(n2d−2)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(n2d−1(d2+log⁡n))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=2d = 2. This establishes a qualitative gap: FUFLR is intractable even in low dimensions, whereas SLR admits an exact polynomial-time solution for fixed dd.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper studies the problem of shuffled linear regression, where the goal is to find the best permutation of the y vector and the best fit of x to y. The authors make considerable progress on solving this question, giving an O(n^{2d}) algorithm, which shows that the question can be solved in polynomial time for fixed d, an open problem from previous work.

The main concern among the reviewers was in the scope of this work -- shuffled linear regression is a relatively niche area, and it is not clear whether the paper would be better served in a more specialized venue. However, given that previous work on this topic appeared in the ML community, and the strength of the algorithmic results (versus approximate and empirical methods that have been prevalent in the past few years) I am inclined to accept.

Final justification

See above.

Area Chair yUCM · Meta-reviewOpenReview ↗
Final justification
See above.
Read meta-review
Meta-review

The paper studies the problem of shuffled linear regression, where the goal is to find the best permutation of the y vector and the best fit of x to y. The authors make considerable progress on solving this question, giving an O(n^{2d}) algorithm, which shows that the question can be solved in polynomial time for fixed d, an open problem from previous work.

The main concern among the reviewers was in the scope of this work -- shuffled linear regression is a relatively niche area, and it is not clear whether the paper would be better served in a more specialized venue. However, given that previous work on this topic appeared in the ML community, and the strength of the algorithmic results (versus approximate and empirical methods that have been prevalent in the past few years) I am inclined to accept.

1 comment
Authors · CommentOpenReview ↗

Response to [The paper studies the problem of shuffled linear regression, where the goal is to find the best permutation of the y vector and the best fit of x to y. While the authors make considerable progress on solving this question, giving an O(n^{2d}) algorithm, the significance of the results (whether in theory or in practice) is limited. It may be more appropriate in a more specialized venue.]

We thank the Meta-Reviewer for their time and thoughtful evaluation. We had inadvertently omitted to respond to the Meta-Reviewer in our original authors rebuttal, and would like to take the opportunity to respond here.

We believe our manuscript resolves a longstanding, 50-year-old open problem in a widely studied machine learning domain. Shuffled linear regression (also known as, "regression under the lost correspondence", "broken sample problem", and "data linkage regression" ) has been studied for over five decades (the first work appeared in Morris H DeGroot, Paul I Feder, and Prem K Goel. Match-making. The Annals of Mathematical Statistics, 42(2): 578–593, 1971.) and continues to receive significant attention, with recent work appearing in top-tier venues such as ICML and NeurIPS.

Our work settles a longstanding open question regarding the computational complexity of shuffled linear regression. The work of Pananjady \emph{et al.} established NP-hardness only when the dimension scales with the input (d=Ω(n)d=\Omega(n)), leaving the complexity of the practically important fixed-dimensional case (d≥2d\geq 2) unresolved.

However, several subsequent works (e.g., Slawski, M., & Ben-David, E. (2019). Linear regression with sparsely permuted data. Electronic Journal of Statistics, 13, 1–36. Slawski, Martin, Emanuel Ben-David, and Ping Li. "Two-stage approach to multivariate linear regression with sparsely mismatched data." Journal of Machine Learning Research 21.204 (2020): 1-42), including statements by the original authors such as ``we prove Theorem~4 by providing an efficient algorithm for the d=1d=1 case and showing NP-hardness for the d>1d>1 case''- have inadvertently created the widespread impression that the problem is NP-hard for all d>1d>1. This misconception is perhaps the reason that most follow-up work has been largely heuristical and approximate in nature, without any effort to truly establish the computational complexity of the fixed dimensional case.

By establishing that the exact globally optimal solution can be computed in polynomial time for any fixed dimension, our work fundamentally revises the theoretical understanding of this widely studied problem.

The only other principled algorithmic result we are aware of is the NeurIPS 2017 paper by Hsu et al., which presents a PTAS for the fixed-dimensional setting. Our algorithm has the same asymptotic running time as their approach while computing the exact globally optimal solution instead of an approximation.

We believe that resolving the computational complexity of an old and widely studied problem in the machine learning domain, and by improving the strongest known algorithmic guarantee from approximation to exact optimality, constitutes a contribution that is well aligned with the scope of NeurIPS.

Reviewer gkYgOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
2/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies linear regression under unknown correspondences between features and responses. The authors consider two variants. In Shuffled Linear Regression (SLR), each feature vector remains intact, but its correspondence with the response values is unknown. In Fully Unlinked Features Linear Regression (FUFLR), each feature coordinate and the response values are provided as separate unordered lists. For SLR, the paper combines the rearrangement inequality with a central hyperplane arrangement in the parameter space. The authors show that only O(n2d−2)O(n^{2d-2}) prediction rank orderings are realizable and propose an exact algorithm with running time O(n2d−1(d2+log⁡n))O(n^{2d-1}(d^2+\log n)) for fixed dd. For FUFLR, the paper claims strong NP-hardness even when d=2d=2.

Strengths and weaknesses

Strengths:

  • The paper studies an important and computationally challenging regression problem arising when record correspondences are unavailable. The problem has received substantial attention in optimization and machine learning, while exact algorithms with rigorous guarantees remain limited.
  • The paper provides a exact algorithm for fixed-dimensional SLR and complements it with a hardness analysis for the more general FUFLR model.

Weaknesses:

  • Although the algorithm is polynomial for every fixed dd, n2dn^{2d} dependence limits its practical relevance beyond very small dimensions. Therefore, the claims in Sections 1.1 and 6 of efficiency for “small and moderate” dd should be qualified.
  • The related-work discussion is somewhat limited, as it does not cover prior work on sparsely permuted or partially mismatched regression.
  • The extension from Theorem 6 to Corollary 7 requires a more explicit accounting of the dependence on dd. The enumeration-based result used in the proof appears to be stated for fixed dimension, so the hidden constant in the O(md−1)O(m^{d-1}) bound may itself depend on dd. The full dimension dependence of the enumeration procedure and the construction of representative points must be specified before substituting d=O(log⁡n)d=O(\log n) or d=o(n/log⁡n)d=o(n/\log n).
  • In the backward direction of Theorem 8, could the authors formally justify why every zero-error solution must match the MM, M2M^2, and M3M^3 anchors according to the intended triples? The current linear-system argument establishes uniqueness of (α,γ,β0)(\alpha,\gamma,\beta_0) only after this matching is fixed, but it is not clear that alternative permutations or cancellations are ruled out when the coefficients and intercept are unrestricted.
  • In the “Impact of NP-hardness” paragraph following Corollary 9, the paper states that Theorem 8 rules out an FPTAS but not a PTAS. Could the authors clarify this claim? Since Theorem 8 establishes NP-hardness of deciding whether OPT=0\text{OPT}=0, any finite multiplicative approximation would have to return zero whenever OPT=0\text{OPT}=0, and would therefore decide FUFLR-0.
Questions

See Weaknesses.

Limitations

yes

Final justification

I maintain my score of 4. The rebuttal and subsequent discussion clarified several of my concerns. The rebuttal and subsequent discussion clarified several of my concerns. In particular, the authors qualified the scope of the fixed-dimensional algorithm, revised the discussion of the approximation implication of Theorem 8, and provided an additional SMT-based argument for the backward direction of Theorem 8 in response to my concern. My main reservation is the limited applicability of the current results. The exact SLR algorithm has running time O(n2d−1(d2+logn))O(n^{2d−1}(d^2+logn)), which limits its usefulness beyond very low dimensions, while the hardness result concerns the fully unlinked setting. Overall, I find the paper technically interesting, but these limitations are not sufficient for me to change my original score.

Formatting concerns

yes

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Q1) Clarifying Claims in Section 1.1 and 6: We agree with the reviewer. Because the exponent depends on dd (n2d−1n^{2d-1}), the algorithm is computationally practical primarily for low dimensions (e.g., d≤3d \le 3). We will explicitly qualify all references in Sections 1.1 and 6 from ``small and moderate dd" to "low or bounded dimension dd."

Q2) Detailed Prior Literature: We thank the reviewer for raising this point. While specific references were not provided, we assume the reviewer is referring to the recent literature on partially shuffled and sparsely permuted variants. Due to strict space limitations in the main paper, our discussion of these specific variants was placed in the Appendix under the ``partially shuffled settings" category. In our revision, we will surface this discussion into the main text to ensure a more thorough literature review. We will clearly contrast these sparsely permuted variants with our fully shuffled setting, and we will add a brief note clarifying that our geometric framework naturally extends to accommodate these partially mismatched scenarios.

Q3) Dimensionality Dependence in Corollary 7: Thank you for pointing this out; we acknowledge the oversight. The reviewer is correct that the hidden constant inside the geometric cell enumeration strictly depends on dd. The total number of cells of a Central arrangement with mm hyperplanes in dd dimensions is given by 2∑i=0d−1(m−1i)2\sum_{i=0}^{d-1}\binom{m-1}{i} and the enumeration step of the Enumeration algorithm by Edelsbrunner takes 2∑i=0d−1(m−1i)2\sum_{i=0}^{d-1}\binom{m-1}{i} [Edelsbrunner, (1987)].The constant associated with the leading term (md−1m^{d-1} for m=(n2)m=\binom{n}{2}) is 2(d−1)!\frac{2}{(d-1)!} for constant d<<nd<<n, which decreases as dd grows. When d=O(log⁡n)d=\mathcal{O}(\log{n}), we get nO(log⁡n)=2O((log⁡n)2)n^{\mathcal{O}(\log{n})} = 2^{\mathcal{O}((\log{n})^2)}, which forms a quasi-polynomial algorithm. Finally, when d=n/log⁡nd=n/\log{n}, (from Stirling's formula) the overall complexity is 2O(nlog⁡log⁡nlog⁡n)2^{\mathcal{O}(\frac{n\log\log{n}}{\log{n}})}. We will formally expand the proportionality constant in Corollary 7 to properly reflect the exact asymptotic behavior and clarify the bounds across non-constant dimensions.

Q4) Theorem 8 (Backward Direction Proof): We appreciate the push for mathematical rigor here. The reviewer is correct to question if extreme positive/negative coefficient cancellations are fully ruled out.

As stated in the proof, we add three points {(MM, M2M^2 , M3M^3), (MM, 2M22M^2 , 3M33M^3), (2M2M, 3M23M^2 , 4M34M^3)} with large MM (i.e. M>10(S+∑x∈A∪B∪C∣x∣)M>10\left(S + \sum_{x \in A \cup B \cup C} |x|\right)), to restrict the plane. The numbers of X1X_1, X2X_2 and YY if matched in the same order satisfy Y=X1+X2Y=X_1+X_2, yielding a plane through the origin with perpendicular distance 00. On the other hand (for any M>15M>\sqrt{15}), any shuffled matching other the intended one (there are 8 others) among these newly added set of points yields a valid plane. However, each such plane is at a perpendicular distance of >3>\sqrt{3} from the origin, i.e. does not cut the unit sphere centered at the origin. Since the unit cube lies entirely within (the unit sphere distance of 3\sqrt{3} from the origin), none of these planes intersects the unit cube in the three dimensional space, and therefore none of these planes can achieve an error of 00 and cannot be the solution to FUFLR\texttt{FUFLR} problem.

So far we have handled the pairings within the 33 points and shown that such a plane cannot contain the points from N3DM instance. We now look at the case of cross pairing elements i.e. mixing elements from the original set (AA, BB or CC) with the ones we added as part of the reduction. Now suppose one of those 33 anchor triples is a cross-pairing: one huge coordinate (MkM^k) next to a coordinate that stays bounded (or grows at a different rate, since each power of MM only appears once per side, so any wrong pairing is automatically a different growth rate). As MM is large (dominating), such a point has one coordinate disproportionately larger than the other.

For a plane to pass through a point shooting off along one axis, one of two things must happen:

  • The coefficient of the corresponding term (say α\alpha) stays bounded away from 00, in which case the plane's offset from the origin grows as as a function of MM which forces the distance from the origin to be large (>3>\sqrt{3}); or
  • The coefficient of the corresponding term tends 00 to keep the corresponding offset in check. While this keeps the perpendicular distance bounded, due to the construction (of the initial points added) such a plane cannot contain the points. Hence, cannot be satisfied.

Hence, the only viable matching is the intended one, Y=X1+X2Y = X_1 + X_2. We will clarify these details in the modified version of the paper.

Q5) PTAS/FPTAS Claim: We sincerely thank the reviewer for catching this theoretical oversight. We will update the manuscript by removing the (F)PTAS claim. Theorem 8 does not provide any insights into the existence of approximation algorithms. Rather, the proof of strong NP-completeness implies that unless P=NP, there is no pseudo-polynomial time algorithm to solve the problem.

With regard to designing polynomial time approximation algorithms for this problem, we thank the reviewer for pointing out that since the regression error can go to zero, this implies that an approximation algorithm with a multiplicative approximation factor cannot exist unless P=NP. But this does not preclude the existence of polynomial time approximation algorithms with additive\textit{additive} error guarantees. As future work, we will consider the investigation of such algorithms.

Bibliography

[Edelsbrunner, 1987] Herbert Edelsbrunner (1987). Algorithms in Combinatorial Geometry. Springer

Reviewer gkYg · CommentOpenReview ↗

Thank you for the response. The rebuttal clarifies several of my questions, including the scope of the algorithm and the approximation implication of Theorem 8. My main remaining concern is the backward direction of Theorem 8. The rebuttal gives an informal argument for ruling out incorrect matchings and cross-pairings, but the regression coefficients and intercept may also depend on M. The proof should show that, for every unintended matching, no choice of these parameters can achieve zero error. Therefore, I do not yet consider the backward direction fully proved, and I maintain my original score.

Authors · CommentOpenReview ↗

Proof of Theorem 8

We thank the reviewer for their comment about theoretical rigor. To formally prove our claim that no matching but the intended one achieves zero error, we must rule out a large space of alternatives. We model this proof as a satisfiability problem of whether a matching can achieve zero error. This requires a plane y=ax1+bx2+cy=ax_1+bx_2+c such that it passes through every point in the dataset. The SMT solver (we use Z3) either returns a witness (a,b,c)(a,b,c) or unsat\texttt{unsat}, certifying no such plane exists. We formally describe our formulation below

Formal construction and verification

All coordinates of A,B,CA,B,C are normalized to [−1,1][-1,1] (by dividing the N3DM numbers by the largest magnitude number in the instance), so original points lie within a cube of length 2 (between [−1,1]3[-1,1]^3). Instead, we consider a sphere of radius 3\sqrt3 centered at the origin, as the cube is fully contained inside it. Our idea for choosing the sphere is to prune infeasible matchings, as a plane whose perpendicular distance from the origin is larger than 3\sqrt3 cannot fit the original data. We fix M=10M=10, using M>10(S+∑x∈A∪B∪C∣x∣)M>10(S+\sum_{x\in A\cup B\cup C}|x|). Specifically, we use the maximum normalized value of ∣x∣=1|x|=1 over all x∈A∪B∪Cx\in A\cup B\cup C and ignoring all other terms to get M=10M=10

Inter MkM^k matching

Consider the values of X1,X2X_1,X_2 and YY that were newly added in the N3DM reduction (M,M2,M3\\{M,M^2,M^3\\} in X1X_1, M,2M2,3M3\\{M,2M^2,3M^3\\} in X2X_2 and 2M,3M2,4M3\\{2M,3M^2,4M^3\\} in YY). For our first case, we only try to perform matching within these set of newly added values. Without loss of generality, we fix the position of the three YY values and permute both X1X_1 and X2X_2 independently to get 3!2=363!^2=36 possible matchings. This produces the set of all possible matchings of X1X_1, X2X_2 and YY within the set of newly added values

A dataset D∈DD\in\mathcal{D} satisfies the distance criteria iff

∃ (a,b,c)∈R3 [ ⋀i=13y[i]=ax1[i]+bx2[i]+c ∧ c2<3(a2+b2+1) ]\exists\ (a,b,c)\in\mathbb{R}^3\ \Big[\ \bigwedge_{i=1}^{3}y[i]=ax_1[i]+bx_2[i]+c\ \wedge\ c^2<3(a^2+b^2+1)\ \Big]

where (x1[i],x2[i],y[i])(x_1[i],x_2[i],y[i]) are the coordinates of the ii-th point of D∈DD\in\mathcal{D}, and the inequality c2<3(a2+b2+1)c^2<3(a^2+b^2+1) is equivalent to the perpendicular distance of the plane from origin having a value less than 3\sqrt{3}. Note that we get a2+b2+1a^2+b^2+1 as the coefficient of yy in the equation y=ax1+bx2+cy=ax_1+bx_2+c is 11. Using Z3 solver we find that only the intended matching which gives the plane z=x1+x2z=x_1+x_2 survives

Cross-matchings

To account for cross-matching, we modify each of the 3!2=363!^2=36 configurations to introduce free-variables, with the restriction that each of these variables can take a value between −1-1 and +1+1. To illustrate our idea, consider a configuration where there are matchings across the newly added and already present values of X1X_1, X2X_2 and YY. We fix the locations of YY, but allow for the values of X1X_1 and X2X_2 to be replaced by a value from the original set of values from N3DM. Note that as there are 3 Xs and 3 Ys which could be independently replaced, we get 26=642^6=64 different sub-configurations for each of the 36 original configurations. Also, as the values that came from the N3DM problem were normalized such that they are located in the range of [−1,1][-1,1], the free variables that represent such a value are restricted to [−1,1][-1,1]. For each such modified configuration, we again test if it passes through the 3\sqrt3-sphere. After this step a total of 82 configurations remain

To filter further we look at co-planarity criterion

Co-planarity

We now add one more point, which is cross-paired and test for co-planarity. For the new point, we consider the excluded values of X1X_1s and X2X_2s in each surviving configuration. The new point that will be added will have a free variable representing the YY value, as the points that contain values that are in the format of MkM^k have already been used in previous matchings. For the values of X1X_1 and X2X_2, we try with all possible cases. To elaborate, if there were c1c_1 and c2c_2 unused values of X1X_1 and X2X_2 respectively, then we introduce a total of (c1+1)(c2+1)−1(c_1+1)(c_2+1)-1 new configurations. For each configuration, we formulate an SMT satisfiability problem that tests for co-planarity

∃(a,b,c)∈R3 ∃ (vi,l)∈[−1,1]∣F∣ [ ⋀i=14zi=axi+byi+c ]\exists(a,b,c)\in \mathbb{R}^3\ \exists\ (v_{i,l}) \in [-1,1]^{|F|}\ \Big[\ \bigwedge_{i=1}^{4} z_i=ax_i+by_i+c\ \Big]

where FF represents the set of all locations in our configuration that are free

A total of 7 configurations survive, including the configuration which gives the equation y=x1+x2y=x_1+x_2. Note that in 6 of these configurations, there still exist some unused MkM^k terms. Thus, we continue our search by adding a fifth point. During this search, we find that only one configuration survives, which is the intended one

To summarize, for M=10M=10, the only matching admitting a zero-error plane is the intended one, y=x1+x2y=x_1+x_2. We will add these details to our manuscript and also add the Z3-solver source code to the paper

Reviewer D1AMOpenReview ↗
Rating
3/6
Confidence
3/5
Quality
4/4
Clarity
4/4
Significance
1/4
Originality
4/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors consider the problem of linear regression where the labels are not matched to the corresponding feature vector. This scenario could occur in practice if the features and labels come from different sources, or if privacy considerations forces anonymization. Their goal is to then find a permutation and linear regression parameters that minimize the squared error. Previous work that initialized this particular optimization gave an O(nlog⁡n)O(n \log n) algorithm for d=1d=1 where dd is the dimension of the feature vector. Additional work, then gave an (1+ϵ)(1+\epsilon)-approximate algorithm with runtime O((n/ϵ)dO((n/\epsilon)^d. The authors instead provide an exact algorithm and show that polynomial time is achievable for a fixed dimension. This is done through a clever hyperplane separation technique and gives a runtime of O(n2d−1(d2+log⁡n))O(n^{2d-1}(d^2 + \log n)).

The authors also consider the setting in which each feature is not connected as well and the goal is the minimize the squared error over the parameters and the possible permutations of each feature. They show that solving this problem exactly is NP-hard.

Strengths and weaknesses

Strengths:

The authors use very cool hyperplane separation techniques that separate the space of β\beta parameters into partitions in which the optimal permutation is fixed and efficiently solvable.

The authors show that a polynomial time algorithm is possible to find the exact optimal parameters and permutation for a fixed dimension.

The authors also consider the further misalignment problem of each feature also not being matched and unfortunately show that this problem is NP-hard.

Weaknesses:

While the techniques are incredibly cool, in my subjective opinion the problem itself, specifically the SLR optimization, is only of at-best moderate interest to the community. Further, the algorithm provided is technically tractable but is essentially computationally infeasible for 3 or more dimensions and gives arguably less applied value than the previous work.

It would have more applicational value and be of stronger interest if robustness was considered in my opinion. In particular, SLR finds β\beta parameters under the assumption that the assignment of labels should minimize squared-error, but with real world data you will almost always have outliers that don’t well fit the linear regression. As such, the exact "optimal" β\beta parameter is unlikely to actually be the best linear relationship fit to the true data and the approximate algorithm in the previous work would likely work better in practice, given the faster runtime.

Further, providing the robustness of the β\beta parameters, the linear regression model, would give much more practical value. For instance, providing β\beta parameters that are robust to randomly shuffling a small fraction of the corresponding optimal permutation. Or showing that β\beta parameters that differed significantly gave much higher squared-error under any permutation (obviously this would depend on the data on if such robustness existed but would give much higher confidence that the linear model does well fit the true underlying data).

Questions

In the paragraph starting on line 43 there are several cited works that study SLR, most coming after the works of Pananjady et al and Hsu et al, yet it seems in the related work sections that according to the authors the best approaches come from those early papers. Were the later papers studying variants of SLR? Or what was their contribution if the best approaches are from the earlier papers?

If other papers study variants of SLR, are there more applications for any of those variants and can the techniques here be applied to those problems as well?

Limitations

yes

Final justification

As I mentioned during the rebuttal period, I would increase my score to 4 if the reviewers and AC disagreed during the subsequent discussions. Unfortunately the discussions were limited despite my attempts but that should not be held against the authors. Looking at the other reviewers final assessments, they have some concerns about applicability but are still convinced the work should be accepted to this conference and have higher confidence score than me. As a result, even though I still have my same reservations about the significance and the other reviewers seem to be on the fence in that specific regard, I will increase my score to 3. I think the authors' technique also being applicable to other studied variants is further proof that their methodology is fundamental to this problem. In my subjective opinion, this should be emphasized more in future versions of this work. I also thank the authors again for their detailed responses in the rebuttal period!

Formatting concerns

none

7 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Applicability and theoretical significance

The problem naturally arises in data quality assessment tasks within data integration processes. In many real-world settings, datasets are constructed by integrating records from multiple heterogeneous sources, where entity alignment or record correspondence may be incomplete, noisy, or uncertain

Computing the best possible linear relationship obtainable under all feasible reorderings provides a principled upper bound on the signal present in the data. This can help distinguish whether poor regression performance is fundamentally due to low-quality or incompatible data, or simply the consequence of incorrect alignment or ordering introduced during data integration. Such an analysis can guide the evaluation of entity resolution, record linkage, schema matching, sensor synchronization, and data cleaning pipelines by quantifying the maximum correlation recoverable after optimal alignment. Thus, it serves as a powerful diagnostic tool for assessing dataset quality, identifying integration errors, and understanding the intrinsic predictive potential of datasets. We will add this context to the introduction to better highlight the real-world significance of this theoretical baseline

We appreciate the reviewer's perspective regarding the practical applicability of the solution. As noted in the submission, the primary contribution of this work is algorithmic and theoretical. Specifically, our work closes a significant algorithmic gap in the study of SLR. Prior work provided an optimal polynomial-time algorithm only for the one-dimensional case (y=βxy = \beta x), while the complexity of the first nontrivial extension (y=β1x1+β2x2y = \beta_1 x_1 + \beta_2 x_2) remained open. Our results establish an optimal algorithm for SLR with d=2, thereby completely characterizing the tractable boundary of the problem. Beyond this boundary, we prove that the FUFLR problem is strongly NP-hard even for d=2, identifying the precise point at which the problem transitions from polynomial-time solvability to computational intractability. We believe that establishing this dichotomy is an important theoretical contribution, independent of the scalability of algorithms for higher-dimensional instances. We beleive such a characterization is valuable to the community

Robustness of SLR to outliers

We thank the reviewer for this insightful comment. Our formulation is presented using the squared (ℓ2\ell_2) loss because it is the canonical simple linear regression objective and enables a clean theoretical development. However, the proposed algorithm for SLR (d=2) naturally extend to robust loss functions, such as ℓ1\ell_1 objective and quantile regression, where the goal is to minimize the sum of absolute residuals instead of squared residuals. For ℓ1\ell_1 and in general quantile regression, it is a known geometric property that the optimal regression hyperplane must pass through exactly dd data points [Barrodale1973]; [Koenker1978]. Consequently, applications requiring robustness to noisy or contaminated data can adopt the same algorithm with an ℓ1\ell_1 objective. We will clarify this point in the revised manuscript and discuss the robustness implications of alternative loss functions

Parameter robustness and future extensions We thank the reviewer for these thoughtful suggestions. The proposed directions are indeed interesting research problems. The primary contribution of this paper is precisely to close this fundamental algorithmic gap by establishing the computational complexity of the problem and developing provably optimal algorithm. Once this theoretical foundation is in place, studying these extensions becomes a natural and important direction for future work. These questions are complementary to, rather than the focus of, our work, whose contributions are intentionally theoretical and algorithmic.

Q1) Clarification of Prior Literature: We appreciate the opportunity to clarify the prior literature. Due to space restrictions, our detailed taxonomy of the literature was placed in the Appendix, but we will revise the main text to explicitly highlight the broader categories of work and clarify our theoretical focus.

The papers appearing after [Pananjady2018] and [Hsu2017] either change the problem (assuming only a few pairs are mismatched), or they keep the fully shuffled problem but succeed only under extra conditions, or they search for the best solution without a guarantee on how long that search takes. Our goal, on the other hand, is to always returns the exact best fit for the fully shuffled problem, in any fixed dimension dd, with no conditions on the data.

To clarify this progression, we categorize the literature into three broad tracks:

  • Foundational Theoretical Baselines (Fully Shuffled): The early works established the core computational boundaries of the problem. [Pananjady2018] contributed an exact solution for 1D and the foundational NP-hardness proof for higher dimensions. [Hsu2017] contributed approximation scheme for constant dd and an exact algorithm that relied on specific distributional assumptions (e.g., Gaussian features and noise-free setting). These represent the foundational baselines for studying the problem's computational complexity

  • Variant 1: Partially/Sparsely Shuffled Regression ([Slawski2019], [Shi et al.], [Fang & Li]): This line of work assumes that most pairs are already correct and only a small, unknown fraction of the pairs are mismatched. The mismatched pairs are treated as outliers and identified via fast approximate (e.g., robust-regression-based) methods with guarantees, rather than an exact combinatorial search.

  • Variant 2: Fully Shuffled under Additional Assumptions ([Tsakiris et al.]; [Zhang & Li]):} [Tsakiris et al.] convert the problem into a system of polynomial equations and prove this system always has a solution, regardless of noisy data. Their result yields a set of candidate solutions rather than an estimate with an established accuracy: the method picks the most promising candidate and improves it with a local search step - this step carries no guarantee, and it is demonstrated only for small dd. [Peng & Tsakiris] rewrite the same objective in a form that branch-and-bound can solve, and find the globally best solution up to a small tolerance with no assumptions on the data - but branch-and-bound comes with no bound on how long the search may take, and their experiments work for small dimensions. [Zhang & Li] give a very fast estimator, but it assumes Gaussian data and recovers the correct matching only when data has low noise compared to the pattern in the data.

Our contribution. We give an algorithm that always returns the exact optimal solution to the fully shuffled problem, for any fixed dimension dd, with a proven running-time bound, and with no assumptions on the noise, on how the data is distributed, or on how many pairs happen to be correctly matched. Relative to [Hsu2017], we upgrade "within a (1+ϵ)(1+\epsilon) factor'' to ``exact'' in the same assumption-free setting. Relative to [Peng & Tsakiris], we replace a search with no runtime guarantee by an algorithm with one. This is why [Pananjady2018] and [Hsu2017] are the closest baselines: they are the only prior works addressing exactly the same unconstrained question.

Q2) Extending our technique for various variants of SLR: Regarding the applicability of our techniques to the applications mentioned in the prior literature, we want to reiterate the scope of our paper: our contribution is strictly theoretical. Our goal was to establish the computational complexity of the fully shuffled problem and demonstrate that it is exactly solvable in polynomial time for fixed dd.

Interestingly, the theoretical insights and the novel geometric cell-decomposition framework we introduce can naturally extend to other variant settings like the partially shuffled SLR problem.

Exploring the practical applicability of our approach for specific applications, settings, or designing scalable, approximate algorithms inspired by our exact geometric method, is an exciting direction for ongoing and future work. We will add the formal details of this extension to an extended version of the paper.

Bibliography

[Barrodale1973] Barrodale, I., & Roberts, F. D. K. (1973). An improved algorithm for discrete L1L_1 linear approximation. SIAM Journal on Numerical Analysis

[Koenker1978] Koenker, R., & Bassett Jr, G. (1978). Regression quantiles. Econometrica: Journal of the Econometric Society

[Pananjady2018] Pananjady, A., Wainwright, M., & Courtade, T. (2018). Linear regression with shuffled data: Statistical and computational limits of permutation recovery. IEEE Transactions on Information Theory

[Hsu2017] Hsu, D., Shi, K., & Sun, X. (2017). Linear regression without correspondence. In NeurIPS 2017

[Slawski2019] Slawski, M., & Ben-David, E. (2019). Linear regression with sparsely permuted data. Electronic Journal of Statistics

[Shi2018] Shi, X., Lu, X., & Cai, T. (2018). Spherical regression under mismatch corruption with application to automated knowledge translation. arXiv preprint arXiv:1810.05679]

[Fang2023] Fang, X., & Li, P. (2023). Regression with label permutation in generalized linear model. In ICML 2023

[Tsakiris2019] Tsakiris, M. C., & Peng, L. (2019). Homomorphic sensing. In Proceedings of the 36th International Conference on Machine Learning (ICML)

[Peng2020] Peng, L., & Tsakiris, M. C. (2020). Linear regression without correspondences via concave minimization. IEEE Signal Processing Letters

[Zhang2019] Zhang, H., Slawski, M., & Li, P. (2019). Permutation recovery from multiple measurement vectors in unlabeled sensing. In IEEE International Symposium on Information Theory (ISIT)

[Zhang2023] Zhang, H., & Li, P. (2023). Greed is good: Correspondence recovery for unlabeled linear regression. In ICML 2023

Reviewer D1AM · CommentOpenReview ↗

Thanks to the authors for their detailed rebuttal! I'm still digesting it and looking at the other reviews / rebuttals but had a follow-up in the meantime.

For the partially shuffled SLR problem what is the runtime and approximate guarantees of the previous work? I'm assuming the runtime is in the parameters n,d,ϵn, d, \epsilon and something like pp, the fraction of mismatched pairs. The authors state they can extend their work here and while I assume all the details may take time, do they know what their runtime would be?

Authors · CommentOpenReview ↗

We appreciate the follow-up question regarding the partially/sparsely mismatched shuffled SLR problem.

To provide context, our paper is primarily focused on the full SLR problem. A careful investigation of the partial regression problem, the state of prior literature, and how our techniques can extend to solving this variant is something we intend to do as future work. Nevertheless, we take this opportunity to provide some brief insights.

To summarize, existing approaches to partially shuffled SLR can be broadly categorized into two classes: (1) fit first, then assign, and (2) iterative joint optimization. The first class relies on strong assumptions, including a high signal-to-noise ratio (SNR)—where correctly matched pairs are assumed to exhibit a strong linear relationship—extremely sparse mismatches, and often Gaussian feature distributions. These methods provide statistical estimation guarantees rather than optimization guarantees. They estimate β\beta in a single pass, either by explicitly identifying and removing a small set of mismatched observations as outliers [2, 3], or by implicitly downweighting likely mismatches through a robust convex regression formulation [1]. The permutation is then recovered only as a separate post-processing assignment step. The second class jointly estimates the regression coefficients and the permutation through alternating, non-convex optimization. As a result, these methods are inherently heuristic, exhibit iteration-dependent runtimes, are sensitive to initialization, and provide neither guarantees of global optimality nor worst-case approximation guarantees.

In contrast, our geometric framework provides a theoretically principled solution—meaning we provide a strict polynomial-time algorithm (for any fixed dimension) with an exact optimality guarantee (i.e., no approximations, suboptimality, etc.). Furthermore, our problem definition does not necessitate the strong distributional assumptions relied upon by prior literature. This is in sharp contrast to prior works.

References: * Slawski & Ben-David (2019) [1] -- Robust regression via L1L_1 penalization. * Slawski et al. (2019) [2] -- Sparse Subspace Clustering approach. * Shi et al. (2021) [3] -- Spherical regression via hard-thresholding.

Further details: We provide a breakdown of the problem assumptions, runtimes, and approximate guarantees of existing work in the partially shuffled regime . Then, we outline exactly how our geometric framework extends to this setting and provide the theoretical runtime bounds.

(Note on parameters: In the partially shuffled literature, the runtime and bounds depend on nn, dd, and kk, where kk is the number of mismatched pairs, or p=k/np = k/n. The approximation parameter ϵ\epsilon you mentioned typically refers to the (1+ϵ)(1+\epsilon)-PTAS for the fully shuffled problem, rather than the partially shuffled setting).

Due to lack of space, we provide further details in the next comment.

Reviewer TYSWOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
4/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

In this work, the authors address the problem of Shuffled Linear Regression, where the correspondence between the features and the label are lost. They present the first exact polynomial-time algorithm that minimizes the OLS score over all possible mappings of the features to the label. They do this by restricting to only considering the ‘feasible’ permutations, which are much smaller. Finally, they extend the problem of the Fully Unlinked Features Linear Regression problem, which they show is NP-hard.

Strengths and weaknesses

Strengths:

Quality- Correctness: Everything seems sound and correct. Potentially there could be a subtle flaw but on my reading everything seems correct. Appropriateness of Assumptions: This problem continues the same assumptions of earlier work, which it appropriate.

Clarity - Intuition alongside rigor: The authors do a good job here with illustrative proof sketches and main ideas before leaving the technical details to the appendix. Clear scoping of the contribution: The paper makes clear what its theoretical contribution is compared to older work.

Significance - Novel Abstractions: The work proposes a new problem (Fully Unlinked Features Linear Regression) that is natural and interesting. Progress on Established Problems: The work closes a gap that earlier work could not address (a loss of O(1+\varepsilon) in polynomial time algorithms)

Originality - Technical Novelty: The work makes a novel synthesis of tools from Discrete Geometry (number of cells created by d hyperplanes in n dim space) to vastly reduce the amount of instances to check and reduce the runtime.

Weaknesses:

Quality - Most of the work is thorough. I take issue with a part of the appendix which I point out in the questions section.

Clarity - The main body of the work is very clear and I found this submission very easy to read. Some parts of the appendix actually served to confuse more than illuminate, which I also added in the questions section. There are minor typesetting issues that do not prevent understanding.

Significance - While I do appreciate the novelty of the work, I am not convinced the work is very signifiant. I do appreciate it closing the gap on current literature. But I am not convinced the broader community would come across this Shuffled Linear Regression setting often enough.

Originality - No issues with the originality. The main ideas are simple (a compliment!) and elegant.

Questions

From most important to least important.

  1. To the point of significance: I appreciate the toy example of regressing sales prices against floor area / building age / school district. Is there a more natural way this would come up as a subproblem of another problem? Or another field where this problem arises? Good validation that this problem is important to the wider community could push my score higher.
  2. Is there an issue of bias compared to the standard OLS where you have the mapping? In this case you get a better fit than you expect when you have the known mapping because you are finding it over the minimizing permutation. How is someone suppose to reconcile this bias? Should the objective be minimizing over all permutations?
  3. I expect more rigor in the proof of Theorem 8 backward direction. Particularly “Any cross-pairing with smaller elements would fail to reach 4M^3 without forcing α or γ to be extremely large, which would subsequently cause the pairings for the smaller anchors to produce values far exceeding any available targets in Y.” This is still more of a sketch than a proof.
  4. I must admit, I do not understand how 7.2.1 gives more intuition? What is the arrangement of the O(n^2) objects over J that eventually gives O(n^{2d-2})? I’ve figured out how to get these values myself but this section actually confused more than clarified on the first reading. I would recommend rewriting 7.2.
  5. For the proof of theorem 6, you need to first claim that \beta_{opt} exists. It exists because it exists for OLS and you are taking the minimum over a finite set S_n. For completeness you should add this.

Some other minor points:

  1. Line 216 is a bit out of place considering 7.1.1 adds very little beyond the sketch. I would just have appendix be Hardy’s Lemma and have the full proof in the main body.
  2. Is the formatting of ‘SLR’ on line 298 and 300 significant?
  3. Line 581 “relies on the proof from the book.” What book is being referenced?
  4. I believe on line 118 and lines 154/155 you want left and right [] around the citation, as you do in the introduction. Ex. [Jiawei and Micheline 2006]. Otherwise you have inconsistent citation formatting.
Limitations

yes

Final justification

Most of my concerns are over the significance. While it wouldn't be out of place to have this as a NeurIPS submission, I do think only a few have come across this problem in practice. But the method is still quite cool. For that reason I have picked a 'borderline accept.'

Formatting concerns

Table1 is out of margin.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Q1) Significance and Application Areas: We appreciate the request for broader applications. As established in prior literature, this problem has been extensively studied for specific domains where label correspondence is lost, such as merging anonymized medical registries [Slawski & Ben-David, 2017], recovering IoT sensor network signals [Pananjady et al., 2018] analyzing flow cytometry data [Abid et al., 2017], etc.

More broadly, the problem naturally arises in data quality assessment tasks within data integration processes. In many real-world settings, datasets are constructed by integrating records from multiple heterogeneous sources, where entity alignment or record correspondence may be incomplete, noisy, or uncertain.

Computing the best possible linear relationship obtainable under all feasible reorderings provides a principled lower bound on the signal present in the data. This can help distinguish whether poor regression performance is fundamentally due to low-quality or incompatible data, or simply the consequence of incorrect alignment or ordering introduced during data integration. Such an analysis can guide the evaluation of entity resolution, record linkage, schema matching, sensor synchronization, and data cleaning pipelines by quantifying the maximum correlation recoverable after optimal alignment. Thus, it serves as a powerful diagnostic tool for assessing dataset quality, identifying integration errors, and understanding the intrinsic predictive potential of datasets. We will add this context to the introduction to better highlight the real-world significance of this theoretical baseline.

Q2) Statistical Bias: We agree with the reviewer's observation. Searching over all permutations inherently overfits to the natural noise in the data, leading to a training error that is artificially lower (biased) compared to standard OLS where the true mapping is known. We will add a dedicated remark in the revision discussing this statistical property, justifying the objective based on the following two points:

  • The Value of the Unconstrained Lower Bound: The primary objective of our formulation is to study the most general setting where no prior correspondence is available, thereby simulating the best possible fit for applications in which the ordering is entirely unconstrained. Such an analysis is highly valuable because it establishes a principled lower bound on the regression error that any possible ordering can achieve. As noted in our response to Q1, this can be useful for assessing the inherent quality of a dataset, evaluating the effectiveness of data integration or entity matching pipelines, quantifying the maximum signal recoverable through ordering, and determining whether poor regression performance stems from the data itself or merely from an unfavorable ordering.

  • Alignment with Established Theoretical Baselines: Furthermore, this exact problem formulation has been well established in the community by foundational works (e.g., [Pananjady et al., 2018]; [Hsu et al., 2017]). These prior works specifically defined and studied this objective for two reasons:

    • Practical Utility: It directly models high-stakes applications like sensor network synchronization [Unnikrishnan et al., 2015], flow cytometry [Abid et al., 2017], and data de-anonymization [Pananjady et al., 2018], record linkage [Slawski & Ben-David, 2017], where label correspondence is fundamentally lost and finding the optimal mathematical alignment is required.
    • Theoretical Baseline: When no correspondence information is known, minimizing the least-squares error over all permutations is mathematically equivalent to the Maximum Likelihood Estimator (MLE). Even though it exhibits finite-sample bias, establishing the computational complexity of this pure MLE baseline is a necessary prerequisite for the field. By adopting this canonical objective, our work directly builds upon their foundations to resolve the open algorithmic complexity of computing this exact estimator.

Q3) Theorem 8 (Backward Direction Proof): We appreciate the push for mathematical rigor here.

As stated in the proof, we add three points {(MM, M2M^2 , M3M^3), (MM, 2M22M^2 , 3M33M^3), (2M2M, 3M23M^2 , 4M34M^3)} with large MM (i.e. M>10(S+∑x∈A∪B∪C∣x∣)M>10\left(S + \sum_{x \in A \cup B \cup C} |x|\right)), to restrict the plane. The numbers of X1X_1, X2X_2 and YY if matched in the same order satisfy Y=X1+X2Y=X_1+X_2, yielding a plane through the origin with perpendicular distance 00. On the other hand (for any M>15M>\sqrt{15}), any shuffled matching other the intended one (there are 8 others) among these newly added set of points yields a valid plane. However, each such plane is at a perpendicular distance of >3>\sqrt{3} from the origin, i.e. does not cut the unit sphere centered at the origin. Since the unit cube lies entirely within (the unit sphere distance of 3\sqrt{3} from the origin), none of these planes intersects the unit cube in the three dimensional space, and therefore none of these planes can achieve an error of 00 and cannot be the solution to FUFLR\texttt{FUFLR} problem.

So far we have handled the pairings within the 33 points and shown that such a plane cannot contain the points from N3DM instance. We now look at the case of cross pairing elements i.e. mixing elements from the original set (AA, BB or CC) with the ones we added as part of the reduction. Now suppose one of those 33 anchor triples is a cross-pairing: one huge coordinate (MkM^k) next to a coordinate that stays bounded (or grows at a different rate, since each power of MM only appears once per side, so any wrong pairing is automatically a different growth rate). As MM is large (dominating), such a point has one coordinate disproportionately larger than the other.

For a plane to pass through a point shooting off along one axis, one of two things must happen:

  • The coefficient of the corresponding term (say α\alpha) stays bounded away from 00, in which case the plane's offset from the origin grows as as a function of MM which forces the distance from the origin to be large (>3>\sqrt{3}); or
  • The coefficient of the corresponding term tends 00 to keep the corresponding offset in check. While this keeps the perpendicular distance bounded, due to the construction (of the initial points added) such a plane cannot contain the points. Hence, cannot be satisfied.

Hence, the only viable matching is the intended one, Y=X1+X2Y = X_1 + X_2. We will clarify these details in the modified version of the paper.

Q4) Rewriting Section 7.2: We will rewrite Section 7.2 to provide a clearer, step-by-step geometric walk-through of how the central arrangement generates the O(n2d−2)\mathcal{O}(n^{2d-2}) geometric cells.

Q5) Existence of βopt\beta_{\text{opt}}: Indeed, βopt\beta_{\text{opt}} exists. We will formally state that βopt\beta_{\text{opt}} exists because the minimum is taken over a finite set SnS_n.

Minor points: We will correct the formatting issues.

Bibliography

[Pananjady2018] Pananjady, A., Wainwright, M., & Courtade, T. (2018). Linear regression with shuffled data: Statistical and computational limits of permutation recovery. IEEE Transactions on Information Theory, 64(5), 3286--3300.

[Hsu2017] Hsu, D., Shi, K., & Sun, X. (2017). Linear regression without correspondence. In Advances in Neural Information Processing Systems (NeurIPS), 1531--1540.

[Slawski2019] Slawski, M., & Ben-David, E. (2019). Linear regression with sparsely permuted data. Electronic Journal of Statistics, 13, 1--36.

[Abid2017] Abid, A., Poon, A., & Zou, J. (2017). Linear regression with shuffled labels. arXiv preprint arXiv:1705.01342.

[Unnikrishnan2018] Unnikrishnan, J., Haghighatshoar, S., & Vetterli, M. (2018). Unlabeled sensing with random linear measurements. IEEE Transactions on Information Theory, 64(5), 3237--3253.

Reviewer TYSW · CommentOpenReview ↗

Thank you for the response. The expanded significance and applications sections is appreciated. Additionally, formulating this as a lower bound for the error makes the presentation cleaner and is welcome.

I do agree with reviewer gkYg that the backwards direction of Theorem 8 still remains a sketch and not a full proof. Additionally, much like reviewer D1AM, I am not fully convinced of the significance. I mostly find the method the coolest part of the submission. I can certainly see how shuffled linear regression can naturally arise. Despite this, I think only a minority of the NeurIPS community would find this applicable.

For now, I will maintain my score of 'borderline accept' based on the above. To be frank, I could be convinced to raise it to a 5 during the discussion period if the AC or other reviewers champion it.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…