Convergence of Online Learning Algorithm for a Mixture of Multiple Linear Regressions

Yujing Liu, Zhixin Liu, Lei GuoICML 2024

Mixed Linear Regression (MLR) is a powerful statistical tool for modeling complex, nonlinear relationships by combining multiple simple linear sub-models. Imagine tracking multiple object trajectories in a video or analyzing diverse market segments; the data does not form a single line, but rather a mixture of several. Historically, solving this "jigsaw puzzle" has faced two major bottlenecks: the reliance on offline (batch) processing, which is impractical for real-time streaming data, and the restrictive assumption that data points are independent and identically distributed (i.i.d.) Gaussian.

A recent paper presented at ICML 2024 by researchers from the Chinese Academy of Sciences addresses these limitations. The authors introduce a robust online learning algorithm capable of estimating parameters and clustering data on the fly, proving convergence even when data is correlated or generated by a dynamical system.

The Online Projected-EM Algorithm

The authors propose the Online Projected-EM Algorithm, which adapts the classical Expectation-Maximization (EM) principle for recursive, step-by-step updates suitable for streaming data:

  • E-step (Expectation): For each incoming data point, the algorithm computes the posterior probability—a "soft assignment"—indicating which sub-model the point likely belongs to based on current parameter estimates.
  • M-step (Maximization): It then updates the slope estimates and mixing weights (the relative frequency of each sub-model) using a recursive formula akin to Recursive Least Squares (RLS), ensuring computational efficiency.
  • Projection: To prevent the algorithm from diverging due to noise, a projection operator constrains the estimates within a predefined "safe" region.

Theoretical Innovations

The most significant contribution of this work lies in its rigorous theoretical guarantees. Instead of standard statistical proofs, the authors employ Ljung’s ODE method from adaptive control theory. This approach allows them to model the discrete algorithmic steps as a continuous differential equation, facilitating stability and convergence analysis for correlated data.

  • Breaking the i.i.d. Barrier: By assuming the data is merely "asymptotically stationary and ergodic," the theory extends to a much broader range of real-world physical and biological systems where data points are inherently correlated.
  • Almost Sure Convergence: Moving beyond standard "high probability" bounds, the paper establishes "almost sure" convergence, a much stronger guarantee that the estimation error vanishes as time approaches infinity.
  • First Convergence Rate: The authors provide the first-ever convergence rate analysis for online MLR, demonstrating that the error scales at a rate of $O(k^{-1/2+\eta})$.

Empirical Validation

As a theoretically focused paper, validation is performed using synthetic dynamical systems rather than standard static datasets. The authors simulated a stochastic linear dynamical system where input data is explicitly non-i.i.d. Testing a mixture of three distinct sub-models (with mixing weights of 20%, 50%, and 30%), the simulations confirmed:

  1. Parameter Recovery: Estimation errors for sub-model parameters and mixing weights drop sharply toward zero as more data is processed.
  2. Optimal Clustering: The within-cluster error converges to the variance of the system noise. This indicates that the algorithm asymptotically categorizes data as accurately as if the true parameters were known from the start.
  3. Robustness: The algorithm successfully estimates the noise variance alongside model parameters even when it is initially unknown.

Limitations and Future Directions

While this work represents a major step forward, the authors note several open challenges. The current proofs guarantee local convergence, meaning the algorithm requires a reasonably accurate initialization to find the true parameters; establishing global convergence for online MLR remains an open problem.

Additionally, while the i.i.d. assumption was relaxed, the data is still assumed to be stationary (its statistical properties do not change over time). Future research will explore non-stationary environments where the underlying sub-models may evolve. Finally, the projection step relies on knowing a predefined "safe region," which may be difficult to specify in highly complex, real-world applications.

Paper Citation: Liu, Y., Liu, Z., & Guo, L. (2024). Convergence of Online Learning Algorithm for a Mixture of Multiple Linear Regressions. Proceedings of the 41st International Conference on Machine Learning (ICML), Vienna, Austria.

Summary updated

BibTeX
@inproceedings{liu2024convergence,
  author = {Yujing Liu and Zhixin Liu and Lei Guo},
  title = {{Convergence of Online Learning Algorithm for a Mixture of Multiple Linear Regressions}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=ULKvSqmSgA},
}
Figure