Mixture-of-Experts for Online Matrix Completion on a Drifting Union of Subspaces

Renpu Liu, Jing YangNeurIPS 2026

TL;DR

Real-world data streams—like Netflix ratings or sensor networks—often look chaotically complex in the aggregate, yet each individual data point actually comes from one of a few simple, slowly shifting patterns. Traditional algorithms struggle when these data streams are both incomplete and evolving across multiple patterns simultaneously. This paper introduces MoSAIC, a Mixture-of-Experts algorithm that routes incoming, Swiss-cheese-like data points to specialized local models on the fly, proving mathematically and empirically that you can track shifting, multi-faceted worlds without getting overwhelmed by global complexity.

What Problem Does This Paper Address?

Imagine trying to fill in missing entries of a massive table (matrix completion) as new columns stream in one by one. Classical matrix completion assumes the whole table is "low-rank"—meaning all data points live in a single, simple geometric flatland (a subspace). Online subspace tracking lets that flatland tilt and drift over time, while subspace clustering allows for multiple flatlands, provided you have all the data sitting quietly on a hard drive.

Real life isn't that polite. User preferences span distinct groups, sensors switch operating regimes, and everything drifts over time. Aggregated together, the data stream is globally "high-rank" (complex), even though every single arriving vector belongs to one of $K$ simple, low-dimensional subspaces. Worse, you only observe a tiny random fraction of each vector's coordinates, plus noise. The authors tackle online matrix completion on a drifting union of subspaces: how do you figure out which shifting subspace an incomplete sample belongs to before you’ve filled in its missing values, and track all $K$ subspaces simultaneously?

Methods

Enter MoSAIC (MoE Subspace Adaptation via Incremental Completion), which brings the Mixture-of-Experts (MoE) paradigm to online subspace tracking in two phases:

  1. Pre-training (The Warm Start): Before facing the shifting stream, a base model of $K$ low-rank "experts" (orthonormal bases representing candidate subspaces) is initialized on stationary source data so each expert starts reasonably close to one of the true subspaces.
  2. Online Routed Adaptation: Data arrives in epochs of length $\tau$, across which the true subspaces drift. Within an epoch:
  3. Frozen Router: A router holds a snapshot of the experts from the start of the epoch. When a partially observed vector arrives, the router tries to fit the visible coordinates to each expert using masked least squares. The expert with the smallest reconstruction residual wins (top-1 routing).
  4. Selective Update: Only the winning expert imputes the missing entries and takes a single gradient step (followed by thin-QR re-orthonormalization to keep its basis clean). Inactive experts are left untouched, preventing cross-contamination.
  5. Epoch Refresh: At the end of the epoch, the router updates its frozen bases to match the newly adapted experts, and the cycle repeats.

Datasets

The authors evaluate MoSAIC exclusively on controlled synthetic data streams designed to simulate non-stationary regime shifts. In their default benchmark, vectors have dimension $d = 200$ and are drawn from $K = 4$ subspaces of local rank $r = 5$, with only $p = 15\%$ of entries observed per sample. Following an 8,000-sample stationary warm-up, the stream runs for 20 epochs (1,000–1,500 steps each) where subspaces undergo controlled geometric drift.

Key Insights and Ideas

  • Local-rank sample complexity: Single-subspace trackers trying to swallow a union of subspaces must track the global rank $R = Kr$, requiring way more visible entries per sample. Because MoSAIC routes samples locally, the number of observed entries needed per sample scales with the tiny local rank $r$, not the global rank.
  • Why freeze the router within an epoch? Decoupling the router bases from the actively updating expert bases keeps routing decisions clean and analyzable within an epoch, preventing early noisy updates from hijacking future assignments.
  • Taming random update schedules: Because samples arrive randomly from different groups, Expert $k$ updates on a random, choppy timeline. The authors' core theoretical breakthrough is a uniform routing concentration argument that maps these random update times onto a predictable, deterministic clock, yielding the first end-to-end mathematical guarantees for this problem.
  • Decoupled modularity: The online guarantees don't care how you pre-train the model—any warm-start method that lands within a specific accuracy basin ($\gamma/16$, where $\gamma$ is the separation between subspaces) will work.

Key Results

Tested against six online single-subspace trackers (given the oracle global rank $R = Kr = 20$) and an offline batched union-of-subspaces baseline (HRMC-UoS):

  • Massive error reduction: Across 20 drifting epochs, MoSAIC maintains a stable post-refresh validation relative MSE of ~0.218. The strongest online baseline (OMWRPCA-CP) plateaus at a mean MSE of 2.60 (over $10\times$ worse), while others like PETRELS diverge completely.
  • Beating offline batching: Even before refreshing its router, MoSAIC matches the offline HRMC-UoS baseline (which gets to look at the whole epoch at once). Immediately after a router refresh, MoSAIC substantially outperforms it.
  • Mid-epoch refreshes speed up recovery: Empirically refreshing the router every 500 steps (with $\tau = 1500$) drives post-refresh MSE down from 0.271 to $9.58 \times 10^{-2}$, and finally to $9.59 \times 10^{-3}$ by the end of the round.

Limitations and Future Work

  • Oracle hyperparameters: The algorithm assumes you already know the number of subspaces $K$, their local ranks $r_k$, and the exact boundaries when epochs/drifts occur. Automatically estimating $K$, ranks, or change-points online remains open.
  • Bounded drift and noise: The theory requires subspace shifts between epochs to be small relative to the separation between different subspaces (so components don't swap identities), alongside bounded observation noise.
  • Synthetic validation & missingness assumptions: Experiments are currently limited to synthetic benchmarks under uniform Bernoulli missingness. In real-world deployments (like recommenders), missing data is rarely uniform at random, and persistent routing errors or group-dependent shifts will need careful auditing.

Summary updated

Abstract

Many partially observed data streams are globally high-rank yet locally low-rank: user–item interactions in recommender systems span multiple preference groups, distinct operating regimes in sensor and network monitoring induce different low-dimensional structures, and the active latent subspace in adaptive systems shifts over time. We formalize this as online matrix completion on a drifting union of subspaces: each sample lies in one of K low-dimensional subspaces, only a random subset of its coordinates is observed, and the subspaces drift across epochs. We propose MoSAIC (MoE Subspace Adaptation via Incremental Completion), a method based on a routed mixture of low-rank experts trained in two phases. A base model is first pre-trained on samples from a fixed source distribution. It is then adapted on the non-stationary stream by routing each incoming sample to a single expert and updating only that expert. Our analysis identifies sufficient conditions under which the router remains correct with high probability throughout learning, while within each epoch the routed experts contract toward the current subspaces at a sublinear rate. The technical core is a uniform routing concentration argument that converts the random time steps on which each expert is updated into a deterministic time scale, reducing the per-expert analysis to a tractable stochastic recursion. Experiments on streams with repeated non-stationary changes corroborate the theory and show clear improvements over competitive baselines.
BibTeX
@inproceedings{liu2026mixture,
  author = {Renpu Liu and Jing Yang},
  title = {{Mixture-of-Experts for Online Matrix Completion on a Drifting Union of Subspaces}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=GnVVhszcEi},
}
Figure