Online Learning from Capricious Data Streams: A Generative Approach

Yi He, Baijun Wu, Di Wu, Ege Beyazit, Sheng Chen, Xindong Wu

Abstract

Traditional online learning assumes a fixed feature space, but real-world data streams are often "capricious," with features appearing and disappearing arbitrarily. We present OCDS (Online learning from Capricious Data Streams), an algorithm that leverages a generative graphical model to reconstruct missing features within a universal feature space. By learning feature correlations and employing an ensemble prediction strategy, OCDS maintains high predictive accuracy even when data is incomplete, significantly outperforming traditional methods that ignore missing information.

The Challenge of Capricious Streams

In standard online learning, data arrives sequentially, but the feature set is assumed to remain constant. However, in practical applications like IoT-based healthcare or sensor networks, features often vanish and reappear without warning due to sensor failures or varying data sources. This phenomenon is termed a "capricious" data stream.

Conceptual illustration of capricious data streams where feature availability changes across iterations.

Most existing models handle dynamic features only under strict assumptions, such as "trapezoidal" streams (where features only increase) or "evolvable" streams (where old and new features overlap). Capricious streams are more difficult because a model trained on a specific set of features may suddenly receive instances where those features are unobservable, leading to a loss of accumulated knowledge.

The OCDS Framework

OCDS addresses this by shifting from an observable feature space to a Universal Feature Space ($U_t$). The algorithm tracks every feature encountered throughout the stream's history. When a feature is missing in a current iteration, it is treated as an unobservable variable rather than being discarded.

To manage these missing values, OCDS employs a Generative Graphical Model. This model treats features as nodes in a graph where edges represent statistical relationships. When a data point arrives with missing features, OCDS uses the learned relationships to reconstruct the missing values based on the observed ones.

Joint Optimization and Ensemble Prediction

The algorithm performs joint optimization to balance three objectives:

  1. Classification Loss: Ensuring accurate predictions on the target task.
  2. Reconstruction Error: Refining the graphical model to better capture feature dependencies.
  3. Graph Regularization: Using a Graph Laplacian to ensure that related features have similar weights in the predictive model.

Because reconstructed data can be noisy, OCDS utilizes an ensemble approach. it combines predictions from raw observed features with those from reconstructed features, dynamically weighting them based on their historical performance. This allows the model to rely more on reconstructions as the generative graph matures.

Experimental Evaluation

The authors evaluated OCDS across 15 UCI datasets, the IMDB sentiment dataset, and various simulated capricious streams.

Loss curves for OCDS versus baseline methods across various benchmark datasets.

As shown in the loss curves above, OCDS consistently achieves lower loss and higher stability compared to standard Online Convex Optimization (OCO) and its own variants (OCDS-o and OCDS-r). On average, OCDS reached an accuracy of 91.02%, compared to just 65.44% for naive OCO. Notably, OCDS also outperformed specialized algorithms like OLSF and FESL, even when tested on their respective "home turf" of trapezoidal and evolvable data streams.

Discussion and Future Work

OCDS demonstrates that feature correlations can be effectively used to "recover" the influence of missing data. By maintaining a universal feature space, the learner avoids the information loss typical of traditional online methods.

However, the algorithm's $O(d_t^2 \times |U_t|)$ complexity may pose challenges for extremely high-dimensional streams. Future research could explore non-linear generative models or more efficient initialization strategies to further improve convergence speed and scalability in massive data environments.

Summary updated

BibTeX
@inproceedings{he2019online,
  author = {Yi He and Baijun Wu and Di Wu and Ege Beyazit and Sheng Chen and Xindong Wu},
  title = {{Online Learning from Capricious Data Streams: A Generative Approach}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/346},
}
Figure