Storage Fit Learning with Feature Evolvable Streams

Bo-Jian Hou, Yu-Hu Yan, Peng Zhao, Zhi-Hua Zhou

In the dynamic landscape of streaming data, models must contend with more than just shifting patterns—they must adapt to entirely new feature sets. This phenomenon, known as Feature Evolvable Streaming Learning (FESL), occurs when sensors are upgraded or data sources change over time. While previous research addressed feature transitions, it often assumed an abundance of labels and infinite memory. A recent paper from researchers at Nanjing University, presented at AAAI-21, introduces SF²EL (Storage-Fit Feature-Evolvable streaming Learning), a framework designed for the constraints of real-world edge devices: sparse labels and strict memory budgets.

The Challenge of Evolving Features

Traditional streaming learning assumes a static feature space. In contrast, FESL handles scenarios where features vanish and new ones emerge. For instance, a robot might transition from an old sensor array ($S_1$) to a new one ($S_2$).

Figure 1: Schematic of feature evolution in a data stream, showing transitions between feature sets $S_1, S_2, \dots$ over time periods $T_1, T_2, \dots$.

The primary hurdles in FESL are twofold:

  1. Label Scarcity: Obtaining labels in real-time is often prohibitively expensive.
  2. Storage Constraints: Maintaining historical data for semi-supervised learning (like manifold regularization) is impossible on memory-limited hardware.

The SF²EL Framework

SF²EL addresses these challenges through a three-pronged approach:

1. Manifold Regularization for Semi-Supervised Learning

To leverage unlabeled data, SF²EL employs manifold regularization. This technique assumes that data points close to each other in the feature space should share similar labels. By minimizing a risk function that includes a manifold term, the model can learn effectively even when labels are rare.

2. Reservoir Sampling for Storage-Fit Learning

Standard manifold regularization requires storing all previous data, which is infeasible for streams. SF²EL utilizes a fixed-size buffer $b$ and reservoir sampling to maintain a representative subset of the stream. The authors theoretically prove that the objective function derived from this buffer is an unbiased estimator of the true objective function, allowing for constant computational and storage costs.

3. Ensemble Learning with Feature Mapping

During feature transitions, SF²EL maintains an ensemble. It learns a mapping function ($\psi$) to translate new features back into the old feature space. This allows a well-trained "old" model to assist a "new" model that is still in its "cold start" phase. The system dynamically weights these models based on their historical performance.

Experimental Validation

The framework was evaluated on seven datasets, ranging from synthetic manifolds (Swiss roll) to large-scale real-world data (HTRU_2). A key finding was the "storage-fit" property: the model's performance scales predictably with the available memory.

Figure 3: Impact of buffer size on accuracy across various datasets. Performance improves as the storage budget increases, particularly for complex manifolds like the Swiss dataset.

As shown in Figure 3, increasing the buffer size from 10 to 60 leads to significant accuracy gains. For the Swiss dataset, accuracy rose from approximately 0.29 to 0.93, demonstrating the buffer's role in capturing complex data structures. Furthermore, SF²EL proved resilient to label scarcity, maintaining high accuracy even when only 30% of the data was labeled.

Conclusion

SF²EL provides a robust solution for machine learning on evolving data streams under resource constraints. By combining unbiased reservoir sampling with manifold regularization and ensemble mapping, it bridges the gap between theoretical FESL and practical deployment on edge devices. Future work may explore non-linear feature mappings and more complex asynchronous feature transitions.

Summary updated

BibTeX
@inproceedings{hou2021storage,
  author = {Bo-Jian Hou and Yu-Hu Yan and Peng Zhao and Zhi-Hua Zhou},
  title = {{Storage Fit Learning with Feature Evolvable Streams}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i9.16944},
}
Figure