---
title: "Towards Utilitarian Online Learning -- A Review of Online Algorithms in Open Feature Space"
authors:
  - "Yi He"
  - "Christian Schreckenberger"
  - "Heiner Stuckenschmidt"
  - "Xindong Wu"
doi: "10.24963/ijcai.2023/745"
url: "https://ijcai.org/proceedings/2023/745"
pdf: "https://ijcai.org/proceedings/2023/0745.pdf"
venue: "Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence"
year: 2023
pages: "6647-6655"
track: "Survey Track"
keywords:
  - "Survey: Game Theory and Economic Paradigms"
  - "Survey: Uncertainty in AI"
  - "Survey: Data Mining"
---

# Towards Utilitarian Online Learning -- A Review of Online Algorithms in Open Feature Space

Yi He, Christian Schreckenberger, Heiner Stuckenschmidt, Xindong Wu

*Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence*, pages 6647-6655. DOI: [10.24963/ijcai.2023/745](https://doi.org/10.24963/ijcai.2023/745)

## Abstract

Human intelligence comes from the capability to describe and make sense of the world surrounding us, often in a lifelong manner. Online Learning (OL) allows a model to simulate this capability, which involves processing data in sequence, making predictions, and learning from predictive errors. However, traditional OL assumes a fixed set of features to describe data, which can be restrictive. In reality, new features may emerge and old features may vanish or become obsolete, leading to an open
feature space. This dynamism can be caused by more advanced or outdated technology for sensing the world, or it can be a natural process of evolution. This paper reviews recent breakthroughs that strived to enable OL in open feature spaces, referred to as Utilitarian Online Learning (UOL). We taxonomize existing UOL models into three categories, analyze their pros and cons, and discuss their application scenarios. We also benchmark the performance of representative UOL models, highlighting open problems, challenges, and potential future directions of this emerging topic.

## Full text

## 1 Introduction

"A mind is like a parachute. It functions only when it is open." - Allan H. Mogensen, Fundamentals of Human Engineering (1939)

Online Learning (OL) is an exceptional machine learning paradigm that builds predictive models in an environment where data are presented sequentially as streams [De Santis et al., 1988; Vovk, 1997; McMahan, 2017; Cesa-Bianchi and Orabona, 2021]. OL excels in scenarios where the data deluge [Bell et al., 2009] makes it too memory and computational intensive to load in and perform learning over entire data matrices of huge quantities [Wu et al., 2013; Aggarwal, 2007]. Despite its effectiveness, traditional OL algorithms typically make a strict assumption that all data observations must be described by a fixed feature space.

This assumption may not be justified in many real-world applications. To wit, consider an urban disaster monitoring system aided by OL, in which streaming data are sent from crowd sensors such as smart phones and sensor kits/sites of local users scattered across a geographically wide region [Capponi et al., 2019]. New sensory features are likely to emerge when new users join the crowd-sensing endeavor, committing data collected by their own devices, e.g., a newgeneration cellphone equipped with totally new sensors; likewise, any old and pre-existing features can become unobserved in later time snapshots, since any users can stop or fail to commit data for various reasons, such as battery exhaustion or network malfunction. Instead of being fixed and knownin-advance, the feature space used to describe streaming data in such applications varies over time and thus is open.

Recently, we have witnessed a surge of OL studies that aim to tackle the challenge of learning data streams in open feature spaces. Early appearances of the problem go back to the seminal work of [Wenerstrom and Giraud-Carrier, 2006] and subsequent explorations by [Gomes et al., 2013; Zhang et al., 2016; Hou et al., 2017; He et al., 2019]. However, the existing studies on this problem have been divided into multiple communities. Each community possesses its own modeling assumptions, tailored solutions upon disparate ideas and design intuitions, and carried out evaluations with different datasets and metrics. Evolution of ideas remained parallel to date, communication became difficult.

Necessitated by the status quo of division, we deliver a timely review of prior arts and, more importantly, strive to unify and frame them under an umbrella paradigm, termed as Utilitarian Online Learning (UOL). We coin the term "utilitarian" to emphasize the common aim of previous studies, which was to relax the traditional OL assumption of a fixed feature space, so as to enhance the models' functionality, usefulness, and practicality in real applications. Furthermore, to facilitate comprehension of existing UOL models, we draw a metaphor to the utilitarian apportionment problem in political economy [Koriyama et al., 2013]. We argue that the various UOL studies mainly differ in terms of their design intuitions that lead to locally-optimal apportioning of feature weights in repeated games. We will detail this metaphor in later sections.

## Specific contributions of our survey are as follows:

- (1) It is a timely and the first survey of recent OL studies that built predictive models from streaming data in open feature spaces. We envision an umbrella term, Utilitarian Online Learning (UOL), to frame the prior arts and can

- provide a unified perspective to bridge the fragmented research communities and foster communication.
- (2) We propose a taxonomy that classifies existing research into three categories based on their feature apportionment strategies. Ametaphor to utilitarian apportionment in political economy is drawn to aid comprehension.
- (3) We examine the representative methods in each category, analyze their pros and cons, and benchmark their performance on four widely used datasets.
- (4) We identify the open challenges faced by existing UOL studies and endeavor to shed light on untrodden pathways. We hope this would stimulate future research and discover where these paths lead and how they connect.

## 2 Utilitarian Online Learning (UOL)

We first formulate the UOL learning problem in a generic form and then present our taxonomy of prior studies.

## 2.1 The UOL Problem

Write an input sequence {(xt, yt) | t = 1, 2, . . . , T}, where each instance xt ∈ Xt ⊆ Rdt is a vector of dt features, associated with a ground truth class label yt ∈ {-1,+1}. The repeated game progresses as follows. At each round t, the learner ht observes an instance xt, produces a prediction ˆ yt = ht(xt), and then suffers an instantaneous loss ℓ(yt, ˆ yt) based on the revealed ground truth yt. The loss serves as an update to ht+1, thereby preparing it for the next round. In an open feature space, the dimension of xt+1 could either be incremental (i.e., dt+1 &gt; dt) or decremental (i.e., dt+1 &lt; dt), due to the emergence of new features or unobserved old features, respectively. A generic objective of UOL is to minimize the regret [Cesa-Bianchi and Lugosi, 2006]:

<!-- formula-not-decoded -->

which gauges the gap between the cumulative loss of the learner over T rounds and that of the optimal decision h∗ chosen from the hypothesis space H in hindsight.

## 2.2 The UOL Challenges

Drawing a metaphor from political economy, we can analogize the UOL problem to the apportionment models [Koriyama et al., 2013], where a federation of members (e.g., the European Union) making repeated decisions under qualified majority rules. Each member is assigned a voting weight. New members can join at any time, while existing members may arbitrarily abstain from any voting decisions. The goal is to maximize the collective utility gain (minimize negative cumulative loss) of the federation in the long run.

Analogizing to UOL, a feature can be deemed as a member in the federation, where the weighted voting rule reduces the learner to a linear classifier ht(xt) = sign(w⊤ t xt). The "voting weight" of the i-th feature is wi, the i-th entry of wt. Two technical challenges are naturally manifested:

Challenge 1: When introducing a new feature/member, it is important to ensure that the current decision will not be made with bias. A common strategy for assigning weight to a member is proportional apportionment [Penrose, 1946], which can be mapped to a learning problem by gauging the amount of information conveyed by the feature for prediction using mutual information between the feature and the label [Kraskov et al., 2004]. However, in an online process, a new feature may only be described by few instances, making a precise information measurement next to impossible.

Challenge 2: When a majority of members are absent from the decision-making process, the voting opinions of those who abstain remain unobserved. This can lead to less informed decisions, particularly in extreme cases where the vast majority of features/members abstain. In such situations, decision-making may be dominated by a few remaining features that are less informative, leading to educated guesses. Furthermore, if a member leaves the federation for an extended period or does not return, it is unclear how to redistribute their voting weights to other members, so that the subsequent decisions made by the remaining members still guarantee maximization of collective utility gain.

## 2.3 The UOL Taxonomy

We taxonomize the current UOL studies into three categories based on their different ideas to tackle the learning problem in an open feature space. We re-examine the metaphor of apportionment, from which we can discern the core concept of each category for achieving a utilitarian apportionment (UA). In this section, we provide an overview of the key ideas and intuitions behind them, while the technical details are discussed in the remainder of this survey.

i) Passive-Aggressive (PA) methods are ubiquitous in solving OL problems, which bear the principle of marginmaximization [Crammer et al., 2006]. The margin of an instance is proportional to the distance between this instance and the decision hyperplane that the learner approximates. In the case of PA learner, it iterates over an input sequence and update its weights only when it receive a feedback of incorrect prediction. The key idea that generalizes PA into UOL contexts is straightforward: any new member is not allowed to vote until the decision made by other members in the federation is evidently wrong. This means that when a new feature emerges in an incoming instance, its learning weight is set to zero if the remaining features are sufficient to make an accurate prediction. Otherwise, the PA learner apportions the weights of other features to the new feature by descending a proximal gradient. In doing so, the updated learner still maintains maximized margins in the incremented feature space.

ii) Feature Correlation (FC) methods. Correlation analysis among random variables finds many machine learning tasks, e.g., online feature selection [Wu et al., 2010; Yu et al., 2020], where the streaming features that are not correlated with the target variable can be pruned without sacrificing discriminant power. Instead of focusing on the pairwise correlation between feature and label, UOL puts more emphasis on the correlation among features - two highly correlated features can be deemed as allies in the federation. In the context of UA, this idea implies that the opinion of a member who abstained from voting can be proxied by the opinions of her allies who voted. In other words, if an old feature becomes unobservable, its value can be estimated from other features that it is highly correlated with, allowing us to leverage its learned coefficient for accurate prediction.

iii) Evolutionary Ensemble (EE) methods. Voting of a member in UA is not necessarily determined by an individual, but rather a group of commissaries. For example, in the European Union, a country has multiple representatives that must be re-elected on a regular basis; those who fail to maximize the utility of their represented member are replaced with new ones. In UOL, likewise, a feature can be represented by a set of weak learners (e.g., shape functions [Lou et al., 2012]), from which a stronger classification model can be ensembled and trained. However, when a new feature is introduced, its weak learner may be initialized with bias due to a lack of training instances. With the evolution of the input sequence and its context, some weak learners may not be able to adapt and begin to deteriorate the ensemble performance. The EE models are designed to replace such outdated learners with new ones, which can be better initialized with updated and likely sufficient feature statistics.

## 3 The UOLModels and Discussion

In this section, we will explore the technical models of the three categories of UOL methods in greater detail. We will present key pieces of literature, distill generic forms of their objective functions, elaborate on their shared merits and differences, and discuss the application and learning scenarios in which they excel or are less competent.

## 3.1 Passive-Aggressive (PA) Models

The study of applying PA algorithm to resolve UOL problem was initiated by [Zhang et al., 2015], which spurred a flurry of subsequent research including [Zhang et al., 2016; Bollegala, 2017; Beyazit et al., 2018; Beyazit et al., 2019; Alagurajah et al., 2020; Dong et al., 2021; Liu et al., 2022b; Gu et al., 2022]. Their shared idea is to rescale the weight coefficients from the existing features to initialize new feature, as padding zero weights tends to incur prediction loss. Let wt+1 ∈ Rdt+1 be the weight vector of xt+1. Align wt+1 = [ ¯wt+1, ˆwt+1]⊤, where ¯wt+1 and wt are associated with the same set of features, thus ˆwt+1 are the weights of new features. Namely, ¯wt+1 ∈ Rdt and ˆwt+1 ∈ Rdt+1 \Rdt .

The objective shared by previous studies takes the form:

<!-- formula-not-decoded -->

where d(· , ·) is a distance metric, and minimizing this term is equivalent to searching a proximal gradient direction that enforces minimal update on weights of existing features. ∥·∥p denotes ℓp-norm, which encourages the new features' weight vector to follow certain properties. ξ is a slack variable to tolerate noises in data, and µ is a tuned parameter to balance the rigidness and slackness of the updating step (i.e., a larger µ requires a more rigid update). Existing models in this category mainly differ in the realization of distance metric d( · , · ), ℓp-norm regularizer, and loss function ℓt+1. We extrapolate several prominent realization of these terms as follows.

Distance Metric. Prominent examples include Euclidean distance d( ¯wt+1,wt) = ∥ ¯wt+1 - wt∥22 , which works particularly well in linear cases [Zhang et al., 2015; Zhang et al., 2016; Beyazit et al., 2019; Alagurajah et al., 2020; Liu et al., 2022b; Gu et al., 2022]. To promote nonlinearity, Mahalanobis distance in a latent metric space [Dong et al., 2021], energy-based function for posterior maximization [Bollegala, 2017], or gauging dissimilarity among hidden representations in neural architectures [Beyazit et al., 2018] have been proposed.

Regularizer. To ensure numerical stability and restrict the wild initialization of new feature weights ˆwt+1, Gaussian priors are prescribed, commonly referred to as the ℓ2norm [Beyazit et al., 2019; Liu et al., 2022b; Gu et al., 2022]. To promote sparsity, [Zhang et al., 2015; Zhang et al., 2016; Alagurajah et al., 2020] exploited ℓ1-norm, which is deemed as the tightest relaxation of ℓ0-norm. The intuition is that, with the continual emergence of new features, the total dimension will soon grow to an unmanageably large size for efficient classification. To allow for feature pruning and a subsequent reduction in dimension, ˆwt+1 is projected onto an ℓ1-ball at each round, namely, ˆwt+1 ← min{1, 1/∥ ˆwt+1∥1} ˆwt+1, such that the feature vector is concentrated to its several largest-valued entries, and the features with trivial values are dropped as dimension grows.

Loss Function. The margin-maximization principle is implemented using the hinge loss ℓt+1 = max{0, 1 - yt+1w⊤ t+1xt+1} as a default choice, in both traditional OL and the emerging UOL models. This relaxes overly harsh constraints by introducing a soft-margin parameter ξ. In addition, the hinge loss lends a closed-form solution to Eq. (2), making the proximal gradients easy to compute, as demonstrated in [Zhang et al., 2016; Liu et al., 2022b]. Other loss functions, such as cross entropy [Bollegala, 2017] or Euclidean loss [Dong et al., 2021], can also be used to better suit loss measurement in various designs.

Pros &amp;Cons. The PAmodels for UOL problem enjoy several remarkable advantages. First, they are usually equipped with closed-form solutions and thus require no step-size, making them amenable for implementation. Second, they inherit theoretical guarantees from margin-based classifiers such as SVMs, leading to tight regret bounds of O(√T). As a result, all such PA models are asymptotically no regret with T → ∞. Moreover, they encourage sparse model solutions, which gives them the capability of online feature selection - a desirable trait in high-dimensional applications where not all features are available at once, like spam filtering.

Unfortunately, the limitation of PA models is also notable. Amajor drawback is that they fail to address unobserved, old features. If the majority of existing features become missing, PA learners can only rely on the rest features for making predictions, likely leading to inferior results. This issue is further exacerbated by their sparsity steps. Consider a set of informative features, with large weights, that become unobservable for a long time span. The sparsity solution will encourage value convergence to their weights, reducing the learner's discriminant power. Even if these missing features never recur, their weights will persist in the learner with increasingly large values, negatively impacting prediction performance and memory efficiency. As more such features exist, the UOL process is ill-conditioned.

Application Scenarios. The usability of PA models have been widely demonstrated through their applications in a variety of fields, such as Internet of Things (IoT) [Pishgoo et al., 2022], epidemics [Kimura et al., 2022], document categorization [Xiao et al., 2017], photovoltaic harvesting [Yu et al., 2021], and many more. In these applications, the feature space is constantly evolving with new features being added, while existing features remain part of the online learning process. For example, each word can be considered a feature for document categorization, forming a vast vocabulary. As natural, societal, and technological changes occur, new words are continuously coined, resulting in an increase of 70% in the English language's vocabulary over the past eighty years. By using PA methods, online document classifiers can be trained to keep up with the ever-changing language landscape.

## 3.2 Feature Correlation (FC) Models

Unlike the PA models that focus on initializing new features, FC models mainly deal with unobserved old features, striving to infer and reconstruct missing information in order to remedy discriminant power loss. Feature correlation is essential for this reconstruction process; prior FC studies differ in their methods to capture and model these correlation structures. Denoted by Ut := ⋃ti=1 Xi a universal feature space that records all emerged feature up to t. The goal of FC models is to find a mapping ϕ : Xt ↦→ Ut, which captures feature correlation and enables missing feature reconstruction. To maintain notational symmetry and succinctness, we write ϕ(xt) = [¯xt, ˆxt]⊤ ∈ Ut, where ¯xt = ΠRdt ϕ(xt) denotes the representation of observed features in Ut, and ˆxt ∈ Ut \ Xt denotes the reconstructed unobserved features.

A general objective of FC models is formulated as follows.

<!-- formula-not-decoded -->

where the leaner ht and mapping ϕ are jointly trained for empirical risk minimization, which encourages a positive synergy between them. In particular, the learner must become increasingly more discriminative as it is trained on a more informative Ut space. Regularizers Ω1 and Ω2 are imposed on ht and ϕ, respectively, during the online process, while two positive parameters α and β absorb different scales among the three terms. The constraint d(¯xt, xt) ≤ ϵ ensures that the observed feature information is not washed-out but accurately recovered after reconstruction, as the distance between ¯xt and xt is bounded within a certain tolerance ϵ.

Learner and its regularizer. Linear classifiers are leveraged in pioneer studies [Hou et al., 2017; He et al., 2019; He et al., 2021b; He et al., 2021a; Hou et al., 2021b]. Online kernel machines can be easily extended from linear classifiers for non-linear cases [Hou et al., 2021a]. However, when the size of Ut increases, the dimension of linear and kernel learners grows linearly and exponentially, respectively. To promote sample efficiency, an ℓ1-norm regularizer is often applied to yield sparse solutions and bound the maximum dimension through feature pruning. Most research on UOL has been conducted under a fully supervised setting, where labels are abundant. Very recently, online semi-supervised learners have been developed to reduce the labeling expenditure [He et al., 2021c; Wu et al., 2023]. They do so by incorporating regularizers that respect certain kinds of geometric structure underlying the data, such as manifold [He et al., 2021c]. This structure enables data instances with similar labels to be placed in neighboring regions, while other dissimilar instances are expelled. By propagating the scarce labeling information within local neighborhoods, pseudo labels are generated to enable efficient UOL.

Mapping and its regularizer. Linear mapping which postulates a linear relationship among feature coefficients has pioneered [Lou et al., 2013; Weld and Bansal, 2019]. In UOL contexts, the linear mappings boil down to multivariate regressor [Hou et al., 2017] or mean field [He et al., 2019; He et al., 2021c], which lends high interpretability and analytical tractability. Despite so, the linear assumption can be stretched by the complexity and nonlinearity of real streaming data, particularly in high-dimensional spaces such as texts and images. In response, nonlinear mappings including Gaussian copula [He et al., 2021a] generative-adversarial network [Zhang et al., 2020], and variational auto-encoder [Lian et al., 2022], have been proposed, which can capture more complex and latent feature interplays. However, these mappings require reparameterization, leading to a search space that is orders of magnitude larger than that of linear mappings. To address this tradeoff between learning effectiveness and efficiency, [Lian et al., 2022] proposed a regularizer to learn an optimal depth of representation; it freezes the deep layers of a neural network at early rounds to yield shallow representations for faster convergence, and only moves to deeper layers if more complex feature correlation is required for better learning performance.

DistanceMetric. The distance d(¯xt, xt) is measured in accordance to the learner and mapping architectures. In cases both are linear, the measurement is incidental, where Euclidean distance often suffices [Hou et al., 2017; He et al., 2019]. It becomes tricky when the learned Ut space is highly nonlinear, which requires to tailor distance metrics ad hoc. For example, geodesic distance is used in [He et al., 2021c] to respect the manifold structure in Ut, sparsified by a randomproject tree [Freund et al., 2008] to avoid memory overhead. In [He et al., 2021a], a Maximize a Posterior (MAP) surrogate was employed for distance minimization, which was integrated in an online Expectation-Maximization process to estimate the parameters of Gaussian copula. In [Lian et al., 2022], KL-divergence was used to measure the distance between two latent distributions, aiming to induce low-rank variational Bayes from the learned Ut.

Pros &amp;Cons. Unlike PAmodels which are purely discriminative, the FC models possess a "generative" capability to reconstruct missing features. This generative learning property has three remarkable benefits. 1) The universal space Ut captures feature correlations, making the model intelligible [Weld and Bansal, 2019]. The fact that ϕ is bijective, where each feature emerged in Xt has exactly one representation in Ut, enables to trace back the feature importance with domain knowledge. 2) The design of learner ht and mapping ϕ is decoupled, which makes them flexible enough to accommodate diverse data modalities and learning algorithms. To wit, the mapping can be tailored with various feature extractors such as convolution filters, wavelet transforms, and pretrained embeddings to deal with images, time series, and texts, respectively. Learners can range from linear classifiers to SVMs to deep neural networks, balancing accuracy and interpretability. 3) FC models have theoretical guarantees. With ht and ϕ both convex, Eq. (3) delivers a biconvex program [He et al., 2019], which can be optimized via ADMM. Sub-linear regret bound has been reported in most prior studies, placing them among the no-regret online algorithms [Hou et al., 2017; He et al., 2021a].

Nevertheless, there are also some drawbacks to FC models. 1) There is no explicit treatment for new features. A buffer is needed to learn the correlation between new and existing features in minibatch; otherwise, the mapping is learned from scratch and introduces noise. Even if the new features' correlation with other features is provided by a domain expert, it remains unclear how to incorporate this prior knowledge into the learning process. 2) It is difficult to bound the dimension of Ut. ℓ1 regularizer is more of a heuristic workaround than a robust solution. The fact that FC models are not step-size free and require a careful setup of the step decay rate makes it challenging to single out less informative and redundant features. With new features inputting in different orders, the resultant Ut can retain completely different features. There has been no research yet on how to stabilize the sparse solution of Ut when the feature space varies wildly. 3) Resilience to feature drift is restricted in gradual settings. Old features remain observable through reconstruction, and their learned coefficients continue to influence decision-making at all rounds. If the distribution of an unobserved feature evolves gradually, its coefficient can be updated with incurred loss, conveying a certain degree of resilience to the so-called concept drift [Hu et al., 2020]. However, if such drift is abrupt, FC models are inadequate as the drifted feature begins to disturb the learned Ut and ϕ, resulting in large gradients and aggressive updates. The UOL process is thus distorted.

Application Scenarios. Existing applications appointing FC models as solutions include cyber threat detection [Li et al., 2019], smart sensing [Shi et al., 2021], and neuroimage analysis [Hou et al., 2023]. In these cases, features can become unobserved due to various reasons, including sensor failure, data transmission failure, battery exhaustion, and so forth. Although new features can emerge, they must be supplied with a foreseeable means. For example, when deploying new sensors or allowing domain experts to engineer a new set of descriptive features, there is an agenda for when the new features will be included in the UOL process. A buffer can be used to warm up the training of the learner and mapping in proactive manners, thus mitigating the negative effects of learning new features with a cold start. In these applications, the unobserved features carry strong discriminant information and simply omitting them from decision-making would incur a large prediction risk. FC models provide an effective solution for reconstructing the unobserved feature information, thus enabling more accurate online predictive modeling.

## 3.3 Evolutionary Ensemble (EE) Models

The groundwork for applying ensemble methods to a continuously evolving feature space was laid by [Wenerstrom and Giraud-Carrier, 2006], other types of methods were more popular in the interim. Recently, however, Evolutionary Ensemble methods have once again gained some traction [Schreckenberger et al., 2023]. Unlike PA and FC models that maintain a single model, EE models maintain multiple submodels (constructed using weak learners) corresponding to a subset of the observed feature space. The conceptual framework shared by these approaches includes three steps: the initialization of multiple weak learners, the repeated updating of these weak learners, and their combination to make a final prediction. The goal of EE methods is to find the optimal weight associated with each weak learner, taking a generalized additive [Lafferty, 1999; Lou et al., 2012] form:

<!-- formula-not-decoded -->

where wi is the associated weight of a weak learner Li.

Initialization. To initialize weak learners from the observed feature space, it is required to either track instances or at least approximate their statistics. For ensemble methods that use an OL capable weak learner, the respective learner can be updated with every matching instance from the feature space [Wenerstrom and Giraud-Carrier, 2006]. However, if the ensemble consists of offline weak learners, it is possible to approximate the respective feature statistics and generate weak learners from them [Schreckenberger et al., 2023].

Update. Generally, there are three components in EE that require updating: the weak learners themselves, weights associated with the weak learners, and the membership of weak learners. For ensemble methods that use online learning capable weak learners, the update strategy is straightforward by simply updating the weak learner [Wenerstrom and GiraudCarrier, 2006]. Methods that track features to generate offline weak learners require more effort, as decisions must be made regarding when and how to update the weak learner [Schreckenberger et al., 2023]. A common pattern observed in EE methods is that the weights associated with the weak learners are updated based on the individual performance of the weak learner. The membership of the individual weak learners in the ensemble is managed by either age [Wenerstrom and Giraud-Carrier, 2006] or observability of the respective feature [Schreckenberger et al., 2023].

Pros &amp; Cons. Ensemble methods are widely known for their robustness, making them a suitable choice for UOL problems as recent developments in EE have demonstrated. Vanishing or obsoleting features can be easily addressed by removing the associated weak learners, and new ensemble members can be added at any time if necessary. While maintaining multiple weak learners in an ensemble may lead to increased space and time complexity when compared to PA or FC methods, it has been shown in [Schreckenberger et al., 2023] that these complexities can scale linearly with the growth of the feature space O(|Ut|).

Unobserved features can become particularly problematic when dealing with complex weak learners, as those learned from multiple features require all of them to be present simultaneously. This necessitates a trade-off between simple and less discriminative weak learners involving fewer features, and complex discriminative weak learners that are likely to be inapplicable more frequently.

Application Scenarios. UOL has potential application scenarios in document classification [Wenerstrom and GiraudCarrier, 2006] and crowd-sensing networks [Schreckenberger et al., 2023] in which the feature spaces may be highly variable due to unreliable deployment of sensors by third parties. While this could be seen as a drawback, it can also be advantageous, as it increases the resolution of how the real world is captured by the system. Methods that dynamically update their composition and attribute importance to the observable features are essential in these volatile environments.

## 4 Evaluation

## 4.1 Real Datasets

Whereas existing UOL studies mostly use synthetic datasets, we argue that real-world datasets are a must to gain wider acceptance in the promotion of UOL research. To this end, we present four real datasets, which span various domains including natural language, smart (crowd) sensing, cybersecurity, and healthcare. We hope to stimulate further research by elaborating on how the feature space dynamism is manifested in real applications. Astute readers can map their research projects onto the scenarios from which the presented datasets are generated, thus writing a new chapter in UOL research.

1) imdb [Maas et al., 2011] is used for sentiment analysis based on movie reviews, which are represented as bags of words - counts of each word in a review. As language evolves, the vocabulary used in these reviews can expand; for example, due to new actors being mentioned. However, old features may disappear over time, such as when actors retire and cease to be mentioned in future reviews. 2) crowdsense [Schreckenberger et al., 2023] is collected from a crowd-sensing network, where the features are created from a variety of environmental sensors (e.g., sound pressure, eCO2 level, and eTVOC level) scattered across the 56 biggest cities in Spain. The feature space is ever-changing as new sensing data is continuously being generated while many old sensors cease to provide data. The learning task is to predict the government's restriction severity based on the sensed crowdedness of the regions. 3) naticusdroid [Mathur et al., 2021] is tasked with the detection of mobile malware in Android devices. It uses permission flags, such as those for accessing the camera, as features. However, due to the ever-evolving Android OS versions, various manufacturers, and different device models and functionalities, these permission flags may vary over time. The goal is to identify malicious applications based on their required permissions. 4) diabetes [Strack et al., 2014] dataset documents a major concern in healthcare, with patients often returning to the hospital within 30 days of completing a treatment program [Strack et al., 2014]. This dataset presents a unique challenge due to its varying feature space, which is a result of different drugs administered and missing characteristics such as age or weight.

## 4.2 Evaluation Protocol

Prior UOL studies impose different modeling assumptions on feature space dynamics. PA models postulate trapezoidal data streams (e.g., [Zhang et al., 2016]), where all emerged features will be sustained in later rounds, leading to a monotonically increasing feature space. Some of the FC models assume feature evolvable streams (e.g., [Hou et al., 2017]), where an overlapping time slot in which both old and new features are concurrently available is required before the former turn to unobserved. We argue that these two assumptions merely lead to special cases of open feature space. The corresponding solutions tailored based on the assumptions are part of the general UOL methods. To progress further, UOL research should focus on the least constrained version of feature dynamics. As such, we benchmark six state-of-the-art UOL methods in the most general setting of open feature space.

Metric. On each dataset, the instances are presented to model in a one-pass fashion. The accuracy of any algorithm is gauged by cumulative error rate: CER = 1 T ∑Tt=1 [[yt ̸= ˆ yt]], where T equates to the number of samples in the dataset, and [[·]] counts one if its argument is true and zero otherwise.

Performance Analysis. We analyze the performance of two representative UOL models from each category (i.e., PA, FC, and EE). The results are documented in Table 1, which reveals that the model performance has been steadily improving over time, indicating a thriving yet competitive status quo of UOL research. Of the models evaluated, ORF3V, published in 2023, holds the lowest CER on average at 12.23%.

Upon closer inspection, however, some exceptional data points can be observed. For instance, the low CERs attained by FAE and ORF3V on diabetes may be attributed to an unfair metric, as the dataset holds an imbalanced ratio of 0.111 between positive and negative instances. This suggests that ORF3V has yielded a highly biased classifier by predicting all instances into the majority class, thus learning nothing. In addition, OVFM runs out of memory on imdb, highlighting the drawback of FC models discussed in Section 3.2: their high memory consumption for recording all emerged features. Indeed, the overall dimension of imdb is 7500, which is larger than the other three datasets by one order of magnitude. Without an effective sparsification mechanism, the feature reconstruction mapping becomes complex and intractable.

These findings bring to light several open challenges in UOL research, which will be discussed in the next section.

## 5 Open Challenges and Future Detections

Label Imbalance, Scarcity, and Noise. Binary classification is the default setting in current UOL research due to its simplicity, however, extending it to other setups is non-trivial but vital. First, our study of the diabetes dataset revealed that no previous studies have considered the imbalanced learning problem, where traditional metrics such as recall, precision, F1, and AUC are missing. Second, labeling data is onerous and costly, while semi-supervised or active learning methods for UOL are lacking. Third, human labelers are prone to making mistakes, while current UOL is not equipped with noise-tolerant functions. A commonality behind these issues is to learn robust relations among data, which can outline a decision boundary that is not overwhelmed by majority class, unlabeled instances, or noisy labels. This task is challenging when feature space varies, such that no distance metric exists to probe data relation. Note that FC models cannot be directly applied as they mostly require correct and full labels.

Table 1: Comparative results in CER ± variance, yielded from 10 repeated runs. The lower the better.

| Category   | Model                                                                          | imdb                    | crowdsense              | naticusdroid            | diabetes                |
|------------|--------------------------------------------------------------------------------|-------------------------|-------------------------|-------------------------|-------------------------|
| PA         | OLSF [Zhang et al., 2016] OLVF [Beyazit et al., 2019]                          | .461 ± .015 .392 ± .002 | .317 ± .029 .298 ± .001 | .496 ± .010 .423 ± .000 | .232 ± .052 .201 ± .001 |
| FC         | OCDS [He et al., 2019] OFVM [He et al., 2021a]                                 | .208 ± .015 -           | .245 ± .004 .182 ± .011 | .443 ± .012 .418 ± .121 | .291 ± .009 .323 ± .084 |
| EE         | FAE [Wenerstrom and Giraud-Carrier, 2006] ORF3V [Schreckenberger et al., 2023] | .488 ± .004 .285 ± .003 | .501 ± .001 .136 ± .010 | .492 ± .002 .237 ± .024 | .164 ± .004 .111 ± .000 |

Concept Drift. Concept drift occurs when the distribution of features, either conditioned on class or not, evolves over time, although the set of features itself does not change [Hu et al., 2020]. Unfortunately, UOL does not explicitly consider drifting concepts, despite the fact that EE models refresh their weak learners on a regular basis and thus possess certain resilience to it. Tailoring methods to detect and adapt to concept drift is difficult in a UOL context, as existing distribution estimators are mainly parametric, requiring a fixed feature set. To wit, a Bayesian estimator will have its density exceeding 1 if new random variables emerge halfway. In other words, the core law of total probability cannot be applied unless one presumes the probability of all unseen features is known.

Open-world Crisis. When evaluating traditional learning systems pointwise with respect to a fixed test set, its static coverage is limited in terms of assuring safety and resilience to "unknown unknowns" in high-stakes operating environments [Hendrycks et al., 2021]. To address this challenge, UOL tackled the input end, leaving the output end to a different track of research, coined open-world learning (OWL) [Boult et al., 2019], which focuses on new and unseen labels that can emerge during a learning continuum. By combining UOL and OWL, a highly flexible computing paradigm is enabled, one which does not impose any assumptions on either the input or output of a learning system, thereby improving methods for monitoring unexpected environmental hazards. However, this is challenging, as most existing OWL methods require gauging and minimizing the volume of the region each known class spans, so that new classes can be distinguished as out-of-region samples. This idea cannot work once the feature space changes, as each known class can encompass instances of different feature sets.

Security &amp; privacy. Current UOL models compute all instances on central servers, which may cause security and privacy (S&amp;P) implications. Distributed UOL provides an alternative approach that divides the computing endeavor into multiple parties, each of whom holds their own data and does not share with others. This distributed UOL can be further divided into two research thrusts: 1) UOL for S&amp;P: the current S&amp;P community is troubled by the fact that all data parties have non-aligned feature sets (e.g., vertical federated learning [Liu et al., 2022a]). Rather than enforcing a protocol or consensus to make them share a common feature subset, UOL provides a more flexible and powerful learning paradigm that allows any new party to join and introduce new features. 2) S&amp;P for UOL: distribution does not automatically guarantee Security and Privacy. UOL will require carefully designed protocols to ensure that original data cannot be reconstructed by a honest but curious party. This may involve stipulating communication among parties and/or applying obfuscation or encryption on gradients.

Algorithmic Fairness. A superficial correlation between label and new features that convey protected information, such as gender, ethnicity, occupation, or even zipcode, can easily lead to online learners with unwanted bias [Barocas et al., 2017]. Surprisingly, the absence of certain features can also cause bias; for instance, in crowdsensing applications, a lack of access to technology, including sensors and smartphones, could be indicative of spatial injustice [Hino et al., 2018]. To promote algorithmic fairness in UOL model, it is essential to ensure that superficial correlation nor feature observability will result in disadvantaged prediction groups.

## 6 Conclusion

In this survey, we presented the concept of Utilitarian Online Learning (UOL), a unified framework for online learning in open feature spaces. We taxonomized the state-of-the-art models into three categories and outlined their generic objective functions. We discussed the pros and cons of each category, conducted benchmarking evaluations, and highlighted open challenges. UOL is an area with more unknowns than knowns. We hope that our survey can provide researchers with the most up-to-date knowledge, particularly those striving to tame streaming data from non-static and high-stakes environments, and will shed some light on the future.

"Intelligence can be observed to grow and evolve . . . through accumulation of knowledge of how to sense, decide, and act in a complex and changing world." - James S. Albus, Outline for a Theory of Intelligence (1991)

## Acknowledgements

This work was supported in part by the Commonwealth Cyber Initiative (CCI), the National Natural Science Foundation of China (NSFC) under Grant No. 62120106008, and the German Federal Ministry for Housing, Urban Development and Building under Grant No. 13622847.

## References

1. [Aggarwal, 2007] Charu C Aggarwal. Data streams: models and algorithms, volume 31. Springer, 2007.
2. [Alagurajah et al., 2020] Jeevithan Alagurajah, Xu Yuan, and Xindong Wu. Scale invariant learning from trape- zoidal data streams. In ACM SAC, pages 505-508, 2020.
3. [Barocas et al., 2017] Solon Barocas, Moritz Hardt, and Arvind Narayanan. Fairness in machine learning. Nips tutorial, 1:2017, 2017.
4. [Bell et al., 2009] Gordon Bell, Tony Hey, and Alex Szalay. Beyond the data deluge. Science, 323:1297-1298, 2009.
5. [Beyazit et al., 2018] Ege Beyazit, Matin Hosseini, Anthony Maida, and Xindong Wu. Learning simplified decision boundaries from trapezoidal data streams. In ICANN, pages 508-517, 2018.
6. [Beyazit et al., 2019] Ege Beyazit, Jeevithan Alagurajah, and Xindong Wu. Online learning from data streams with varying feature spaces. In AAAI, pages 3232-3239, 2019.
7. [Bollegala, 2017] Danushka Bollegala. Dynamic fea- ture scaling for online learning of binary classifiers. Knowledge-Based Systems, 129:97-105, 2017.
8. [Boult et al., 2019] Terrance E Boult, Steve Cruz, Ak- shay Raj Dhamija, Manuel Gunther, James Henrydoss, and Walter J Scheirer. Learning and the unknown: Survey- ing steps toward open world recognition. In AAAI, 2019.
9. [Capponi et al., 2019] Andrea Capponi, Claudio Fiandrino, Burak Kantarci, Luca Foschini, Dzmitry Kliazovich, and Pascal Bouvry. A survey on mobile crowdsensing systems: Challenges, solutions, and opportunities. IEEE Communi- cations Surveys & Tutorials, 21(3):2419-2465, 2019.
10. [Cesa-Bianchi and Lugosi, 2006] Nicolo Cesa-Bianchi and Gábor Lugosi. Prediction, learning, and games. Cam- bridge university press, 2006.
11. [Cesa-Bianchi and Orabona, 2021] Nicolò Cesa-Bianchi and Francesco Orabona. Online learning algorithms. Annual Review of Statistics and Its Application, 2021.
12. [Crammer et al., 2006] Koby Crammer, Ofer Dekel, Joseph Keshet, Shai Shalev-Shwartz, and Yoram Singer. Online passive aggressive algorithms. Journal of Machine Learn- ing Research, 7:551-585, 2006.
13. [De Santis et al., 1988] Alfredo De Santis, George Markowsky, and Mark N Wegman. Learning proba- bilistic prediction functions. In FOCS, 1988.
14. [Dong et al., 2021] Jiahua Dong, Yang Cong, Gan Sun, Tao Zhang, Xu Tang, and Xiaowei Xu. Evolving metric learn- ing for incremental and decremental features. IEEE Trans- actions on Circuits and Systems for Video Technology, 32(4):2290-2302, 2021.
15. [Freund et al., 2008] Yoav Freund, Sanjoy Dasgupta, Mayank Kabra, and Nakul Verma. Learning the structure of manifolds using random projections. In NeurIPS, 2008.
16. [Gomes et al., 2013] Joao Bartolo Gomes, Mohamed Med- hat Gaber, Pedro AC Sousa, and Ernestina Menasalvas. Mining recurring concepts in a dynamic feature space. IEEE Transactions on Neural Networks and Learning Sys- tems, 25(1):95-110, 2013.
17. [Gu et al., 2022] Shilin Gu, Yuhua Qian, and Chenping Hou. Incremental feature spaces learning with label scarcity. ACM Transactions on Knowledge Discovery from Data, 16(6):1-26, 2022.
18. [He et al., 2019] Yi He, Baijun Wu, Di Wu, Ege Beyazit, Sheng Chen, and Xindong Wu. Online learning from capricious data streams: A generative approach. In IJCAI, 2019.
19. [He et al., 2021a] Yi He, Jiaxian Dong, Bo-Jian Hou, Yu Wang, and Fei Wang. Online learning in variable fea- ture spaces with mixed data. In ICDM, pages 181-190, 2021.
20. [He et al., 2021b] Yi He, Baijun Wu, Di Wu, Ege Beyazit, Sheng Chen, and Xindong Wu. Toward mining capricious data streams: A generative approach. IEEE Transactions on Neural Networks and Learning Systems, 32(3):1228- 1240, 2021.
21. [He et al., 2021c] Yi He, Xu Yuan, Sheng Chen, and Xin- dong Wu. Online learning in variable feature spaces under incomplete supervision. In AAAI, pages 4106-4114, 2021.
22. [Hendrycks et al., 2021] Dan Hendrycks, Nicholas Carlini, John Schulman, and Jacob Steinhardt. Unsolved problems in ml safety. arXiv preprint arXiv:2109.13916, 2021.
23. [Hino et al., 2018] Miyuki Hino, Elinor Benami, and Nina Brooks. Machine learning for environmental monitoring. Nature Sustainability, 1(10):583-588, 2018.
24. [Hou et al., 2017] Bo-Jian Hou, Lijun Zhang, and Zhi-Hua Zhou. Learning with feature evolvable streams. In NeurIPS, volume 30, 2017.
25. [Hou et al., 2021a] Bo-Jian Hou, Yu-Hu Yan, Peng Zhao, and Zhi-Hua Zhou. Storage fit learning with feature evolv- able streams. In AAAI, pages 7729-7736, 2021.
26. [Hou et al., 2021b] Bo-Jian Hou, Lijun Zhang, and Zhi-Hua Zhou. Prediction with unpredictable feature evolution. IEEE Transactions on Neural Networks and Learning Sys- tems, pages 1-10, 2021.
27. [Hou et al., 2023] Chenping Hou, Ruidong Fan, Ling-Li Zeng, and Dewen Hu. Adaptive feature selection with aug- mented attributes. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2023.
28. [Hu et al., 2020] Hanqing Hu, Mehmed Kantardzic, and Tegjyot S Sethi. No free lunch theorem for concept drift detection in streaming data classification: A review. Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, 10(2):e1327, 2020.
29. [Kimura et al., 2022] Tasuku Kimura, Yasuko Matsubara, Koki Kawabata, and Yasushi Sakurai. Fast mining and forecasting of co-evolving epidemiological data streams. In KDD, pages 3157-3167, 2022.
30. [Koriyama et al., 2013] Yukio Koriyama, Antonin Macé, Rafael Treibich, and Jean-Franc ¸ois Laslier. Optimal ap- portionment. Journal of Political Economy, 2013.
31. [Kraskov et al., 2004] Alexander Kraskov, Harald Stögbauer, and Peter Grassberger. Estimating mutual information. Physical review E, 69(6), 2004.
32. [Lafferty, 1999] John Lafferty. Additive models, boosting, and inference for generalized divergences. In COLT, pages 125-133, 1999.
33. [Li et al., 2019] Yi-Fan Li, Yang Gao, Gbadebo Ayoade, Hemeng Tao, Latifur Khan, and Bhavani Thuraisingham. Multistream classification for cyber threat data with het- erogeneous feature space. In WWW, 2019.
34. [Lian et al., 2022] Heng Lian, John Scovil Atwood, Bojian Hou, Jian Wu, and Yi He. Online deep learning from doubly-streaming data. In ACM MM, 2022.
35. [Liu et al., 2022a] Ji Liu, Jizhou Huang, Yang Zhou, Xuhong Li, Shilei Ji, Haoyi Xiong, and Dejing Dou. From distributed machine learning to federated learning: A sur- vey. Knowledge and Information Systems, 64(4):885-917, 2022.
36. [Liu et al., 2022b] Yanfang Liu, Xiaocong Fan, Wenbin Li, and Yang Gao. Online passive-aggressive active learning for trapezoidal data streams. IEEE Transactions on Neural Networks and Learning Systems, 2022.
37. [Lou et al., 2012] Yin Lou, Rich Caruana, and Johannes Gehrke. Intelligible models for classification and regres- sion. In KDD, pages 150-158, 2012.
38. [Lou et al., 2013] Yin Lou, Rich Caruana, Johannes Gehrke, and Giles Hooker. Accurate intelligible models with pair- wise interactions. In KDD, pages 623-631, 2013.
39. [Maas et al., 2011] Andrew L. Maas, Raymond E. Daly, Pe- ter T. Pham, Dan Huang, Andrew Y. Ng, and Christopher Potts. Learning word vectors for sentiment analysis. In ACL, pages 142-150, June 2011.
40. [Mathur et al., 2021] Akshay Mathur, Laxmi M. Podila, Keyur Kulkarni, Quamar Niyaz, and Ahmad Y. Javaid. Naticusdroid: A malware detection framework for android using native and custom permissions. Journal of Informa- tion Security and Applications, 58, 2021.
41. [McMahan, 2017] H Brendan McMahan. A survey of algo- rithms and analysis for adaptive online learning. Journal of Machine Learning Research, 18(1):3117-3166, 2017.
42. [Penrose, 1946] Lionel S Penrose. The elementary statistics of majority voting. Journal of the Royal Statistical Society, 109(1):53-57, 1946.
43. [Pishgoo et al., 2022] Boshra Pishgoo, Ahmad Akbari Azi- rani, and Bijan Raahemi. A dynamic feature selection and intelligent model serving for hybrid batch-stream process- ing. Knowledge-Based Systems, 256:109749, 2022.
44. [Schreckenberger et al., 2023] Christian Schreckenberger, Yi He, Stefan Luedtke, Christian Bartelt, and Heiner Stuckenschmidt. Online random feature forests for learning in varying feature spaces. AAAI, 2023.
45. [Shi et al., 2021] Yuan Shi, Ang Li, TK Satish Kumar, and Craig A Knoblock. Building survivable software systems by automatically adapting to sensor changes. Applied Sci- ences, 11(11):4808, 2021.
46. [Strack et al., 2014] Beata Strack, Jonathan P DeShazo, Chris Gennings, Juan L Olmo, Sebastian Ventura, Krzysztof J Cios, and John N Clore. Impact of hba1c mea- surement on hospital readmission rates: analysis of 70,000 clinical database patient records. BioMed research inter- national, 2014, 2014.
47. [Vovk, 1997] Vladimir Vovk. Derandomizing stochastic pre- diction strategies. In COLT, pages 32-44, 1997.
48. [Weld and Bansal, 2019] Daniel S Weld and Gagan Bansal. The challenge of crafting intelligible intelligence. Com- munications of the ACM, 62(6):70-79, 2019.
49. [Wenerstrom and Giraud-Carrier, 2006] Brent Wenerstrom and Christophe Giraud-Carrier. Temporal data mining in dynamic feature spaces. In ICDM, 2006.
50. [Wu et al., 2010] Xindong Wu, Kui Yu, Hao Wang, and Wei Ding. Online streaming feature selection. In ICML, 2010.
51. [Wu et al., 2013] Xindong Wu, Xingquan Zhu, Gong-Qing Wu, and Wei Ding. Data mining with big data. IEEE Transactions on Knowledge and Data Engineering, 26(1):97-107, 2013.
52. [Wu et al., 2023] Di Wu, Shengda Zhuo, Yu Wang, Zhong Chen, and Yi He. Online semi-supervised learning with mix-typed streaming features. In AAAI, 2023.
53. [Xiao et al., 2017] Yanshan Xiao, Bo Liu, Jie Yin, and Zhifeng Hao. A multiple-instance stream learning frame- work for adaptive document categorization. Knowledge- Based Systems, 120:198-210, 2017.
54. [Yu et al., 2020] Kui Yu, Xianjie Guo, Lin Liu, Jiuyong Li, Hao Wang, Zhaolong Ling, and Xindong Wu. Causality- based feature selection: Methods and evaluations. ACM Computing Surveys, 53(5):1-36, 2020.
55. [Yu et al., 2021] Haiyang Yu, Chunyi Chen, and Huamin Yang. Online probabilistic forecasting method for trape- zoidal photovoltaic stream data. Journal of Power Elec- tronics, 21:1701-1711, 2021.
56. [Zhang et al., 2015] Qin Zhang, Peng Zhang, Guodong Long, Wei Ding, Chengqi Zhang, and Xindong Wu. To- wards mining trapezoidal data streams. In ICDM, pages 1111-1116, 2015.
57. [Zhang et al., 2016] Qin Zhang, Peng Zhang, Guodong Long, Wei Ding, Chengqi Zhang, and Xindong Wu. On- line learning from trapezoidal data streams. IEEE Transac- tions on Knowledge and Data Engineering, 28(10):2709- 2723, 2016.
58. [Zhang et al., 2020] Zhen-Yu Zhang, Peng Zhao, Yuan Jiang, and Zhi-Hua Zhou. Learning with feature and dis- tribution evolvable streams. In ICML, 2020.
