Introduction
Mixed Linear Regression (MLR) represents a challenging intersection of supervised learning and clustering. In this setting, a dataset is composed of samples belonging to one of $K$ distinct linear models, but the specific group assignments are unknown. The objective is to simultaneously recover the parameters of all $K$ models and, implicitly or explicitly, the latent assignments of the data points.
Traditionally, MLR is addressed using simultaneous solvers such as Expectation-Maximization (EM) or Gradient Descent (GD). While effective in balanced scenarios where each component has a similar number of samples, these methods exhibit a significant "Achilles' heel": they struggle in the imbalanced regime. When one group significantly outweighs others (e.g., a 90/10 split), simultaneous solvers often converge to poor local minima. Furthermore, these methods typically require prior knowledge of the exact number of components ($K$) and are highly sensitive to initialization. This paper introduces Mix-IRLS, a novel algorithm designed to overcome these limitations by reframing MLR as a sequential robust regression problem.
The Mix-IRLS Framework
Mix-IRLS shifts the paradigm from simultaneous recovery to a sequential search strategy. Rather than attempting to fit all $K$ models at once, the algorithm identifies the "dominant" model first, treats the remaining data points as outliers, and then repeats the process on the residual data.
1. Sequential Recovery via Robust Regression
The core of Mix-IRLS is the use of Iteratively Reweighted Least Squares (IRLS). By treating samples from non-dominant models as outliers, the algorithm can leverage robust regression techniques to isolate the largest component. Samples that do not fit the current model estimate are assigned lower weights, allowing the algorithm to converge on the parameters of the primary group without interference from the "noise" of other components.
2. The "I Don't Know" Buffer
A critical innovation in Mix-IRLS is its data partitioning strategy. At each step, the algorithm categorizes data into three distinct sets:
- Good Fit: Samples that clearly belong to the current model; these are used to refine the parameter estimates.
- Poor Fit: Samples that clearly belong to a different model; these are passed to the next iteration of the sequential search.
- Moderate Fit (The Buffer): Samples with ambiguous assignments. By ignoring these "uncertain" samples during the main sequential phase, Mix-IRLS prevents error propagation. These samples are only reintegrated during a final simultaneous refinement phase once all model skeletons have been identified.
3. Parameter-Free Operation
While the algorithm includes tuning parameters for partitioning, the authors demonstrate that a fixed set of default values provides robust performance across a wide variety of synthetic and real-world benchmarks, making it effectively parameter-free for the end user.
Experimental Evaluation
The authors evaluated Mix-IRLS against standard baselines (EM, GD, and Alternating Minimization) across synthetic and real-world datasets.
Synthetic Benchmarks
In high-dimensional settings ($d=300$), Mix-IRLS demonstrated superior sample efficiency. It reached "oracle" performance—the theoretical limit achievable if group labels were known—with significantly fewer samples than competing methods. Notably, the algorithm proved highly robust to data corruption, handling up to 9% outliers, whereas traditional methods failed when corruption exceeded 2%.
Real-World Performance
The algorithm was tested on several Kaggle benchmarks, including Medical Insurance Cost, WHO Life Expectancy, and Red Wine Quality. On the Wine Quality dataset ($K=7$), Mix-IRLS achieved near-perfect fit (machine precision error), vastly outperforming simultaneous solvers which were unable to navigate the complex, imbalanced landscape of the seven underlying models.
Key Insights
- Imbalance as an Advantage: Counter-intuitively, Mix-IRLS finds it easier to recover models as the degree of imbalance increases. In highly imbalanced settings, the dominant model stands out more clearly against the "noise" of smaller components, making the robust regression step more effective.
- Handling Unknown $K$: Because the algorithm is sequential, it does not require the user to specify the exact number of components. It can continue extracting models until the remaining data is insufficient to form a new component, allowing it to succeed even if $K$ is overestimated.
- Computational Efficiency: Despite its iterative nature, Mix-IRLS maintains a median runtime comparable to EM and significantly faster than Gradient Descent.
Conclusion and Future Work
Mix-IRLS provides a robust alternative to traditional MLR solvers, particularly in the presence of imbalance and outliers. While current theoretical guarantees are focused on the population setting for $K=2$ components, the empirical results suggest broad applicability. Future research aims to extend the mathematical proofs to finite samples and $K > 2$ components, and to explore non-linear extensions of the sequential robust regression framework.
Summary updated