Abstract
LOFS (Library of Online Streaming Feature Selection) is the first comprehensive open-source MATLAB library designed to handle high-dimensional data where features arrive sequentially over time. It provides a standardized framework for researchers to implement and compare state-of-the-art algorithms that select the most relevant features on-the-fly, without needing the full dataset upfront. This paper details the modular architecture of LOFS, which facilitates the development and evaluation of Online Streaming Feature Selection (OSFS) algorithms.
Introduction
In traditional machine learning, the feature space is typically assumed to be fixed and known a priori. However, modern big data applications often involve features that arrive sequentially. For instance, in social media monitoring, new keywords and topics emerge dynamically. In bioinformatics, clinical tests may be performed incrementally due to cost constraints. This paradigm is known as Online Streaming Feature Selection (OSFS).
The primary challenges in OSFS are twofold: maintaining a parsimonious (minimal but effective) feature subset without knowledge of future arrivals, and handling features that arrive in related groups (e.g., sets of pixels representing specific textures). Before the introduction of LOFS, there was no unified, open-source tool for researchers to test and compare algorithms designed for this specific streaming feature paradigm.
Library Architecture
The LOFS library is built on a modular architecture in MATLAB, designed to be flexible and extensible. The system is composed of several key functional modules:
- Data Loader: Provides a flexible interface supporting standard file formats including
.csv,.mat, and.txtfiles. - CM (Correlation Measure) Module: This is the engine that calculates how features relate to the target class. It includes tools for both discrete data (Chi-square, $G^2$ test, Mutual Information) and continuous data (Fisher’s Z-test).
- Learning Module: The core of the library, split into two sub-sections: LFI (Learning Features Individually) for features that arrive one by one (e.g., Alpha-investing, OSFS, Fast-OSFS, SAOLA) and LGF (Learning Grouped Features) for features that arrive in batches or groups (e.g., group-SAOLA).
- SC (Statistical Comparison) Module: Once a model is trained, this module evaluates performance using metrics like AUC and Kappa statistics. Crucially, it includes the Friedman and Nemenyi tests to determine if one algorithm is statistically superior to another across multiple datasets.
Key Insights and Capabilities
LOFS clarifies a common point of confusion in the field by distinguishing between "streaming features" (adding columns over time) and "streaming observations" (adding rows). By treating related features as groups in the LGF module, the library can make more sophisticated selection decisions than looking at features in isolation.
By providing a "plug-and-play" MATLAB framework, the authors aim to lower the barrier to entry for the research community. The library effectively bridges the gap between theoretical algorithm design and practical application in big data analytics, providing an all-in-one toolkit for this growing field.
Limitations and Future Work
While LOFS provides a robust foundation, it currently has some limitations. The library is strictly for MATLAB, which may limit its use in industrial production environments where Python or R are more common. Additionally, while it supports common file types, future versions aim to include specialized formats like ARFF and LIBSVM. Finally, the scalability of these algorithms on truly massive, distributed datasets (e.g., Spark/Hadoop environments) remains an area for further exploration.
Summary updated