A Hypergradient Approach to Robust Regression without Correspondence

Yujia Xie, Yixiu Mao, Simiao Zuo, Hongteng Xu, Xiaojing Ye, Tuo Zhao, Hongyuan Zha

Introduction

In classical regression, models rely on paired $(x, y)$ datasets. However, many real-world scenarios yield a set of inputs $X$ and outputs $Y$ where the specific "labels" connecting them are lost. This challenge, known as Regression Without Correspondence (RWOC) or unlabeled sensing, appears frequently in domains like flow cytometry—where instruments measure cell properties but cannot track individual cells—and multi-object tracking across video frames.

Existing methods for RWOC are often limited to simple linear models, struggle with large datasets due to combinatorial complexity, or get trapped in local optima by alternatingly solving for the model and the matching. To overcome these bottlenecks, researchers introduce ROBOT (Regression WithOut correspondence using Bilevel OptimizaTion). By treating data correspondence as a differentiable operator within a bilevel optimization loop, ROBOT enables robust, large-scale, and nonlinear regression even when data is shuffled or partially missing.

The ROBOT Framework

The authors propose a continuous, bilevel optimization approach that relaxes the discrete search problem of permutation (matching) using the Birkhoff polytope (the space of doubly stochastic matrices).

  1. Bilevel Formulation: The framework defines a "Leader" problem (finding the best regression parameters $w$) and a "Follower" problem (finding the best data correspondence $S$ for a given $w$).
  2. Entropy Smoothing: To make the matching differentiable, an entropy regularizer is added to the lower-level problem. This allows the use of the Sinkhorn algorithm to find a "soft" correspondence.
  3. Hypergradients: Instead of merely alternating between $w$ and $S$, ROBOT calculates a "hypergradient" that accounts for how the optimal matching will shift as the model parameters change. This anticipatory optimization leads to a much better-conditioned optimization landscape.
  4. Robustness: The model is extended to ROBOT-robust by relaxing marginal constraints. This allows the model to automatically ignore outliers or data points that lack a partner in the other set (inexact correspondence).
Robust matching illustration

Key Technical Insights

  • Implicit Differentiation vs. AD: Rather than using standard Automatic Differentiation—which requires storing every step of the Sinkhorn iterations in memory—ROBOT uses implicit differentiation based on KKT conditions. This makes the algorithm significantly more memory-efficient and scalable.
  • Handling Nonlinearity: Because the framework is built on differentiable programming, it is not restricted to linear models. It seamlessly integrates with deep neural networks or any differentiable function $f(x; w)$.

Key Results

ROBOT was evaluated across synthetic datasets, real-world flow cytometry data, and standard Multi-Object Tracking (MOT) benchmarks.

  • Superior Accuracy: In unlabeled sensing tasks, ROBOT consistently outperformed baselines like Stochastic EM and Alternating Minimization. In low-dimensional settings, it even approached the performance of an "Oracle" model that knows the true correspondence.
  • Robustness to Shuffling: ROBOT-robust successfully handled cases where only 50% of the data was correctly paired, effectively filtering out the noise.
  • Unsupervised Tracking: On the MOT17 and MOT20 benchmarks, ROBOT significantly improved the performance of pre-trained tracking models without needing any annotated correspondence labels, rivaling some supervised methods.
Relative error comparison across methods

Limitations and Future Work

While ROBOT represents a significant step forward, RWOC remains an NP-hard problem. The model still benefits from a "warm start" (e.g., using a small subset of paired data or a simple RANSAC-based initialization) to avoid local optima in highly complex, high-dimensional spaces. Future directions include applying this framework to domains like SLAM (Simultaneous Localization and Mapping), archaeological measurements, and privacy-preserving data analysis where correspondence is intentionally masked.

Summary updated

BibTeX
@inproceedings{xie2021hypergradient,
  author = {Yujia Xie and Yixiu Mao and Simiao Zuo and Hongteng Xu and Xiaojing Ye and Tuo Zhao and Hongyuan Zha},
  title = {{A Hypergradient Approach to Robust Regression without Correspondence}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=l35SB-_raSQ},
}
Figure