arXiv:2610.07615cs.LGOct 2026

Manuscript Offprint

arXiv:2610.07615

AFA-BANDIT: Provably Near-Optimal Online Multi-Feature Classification Under Budget Constraints

AbdAlRahman Odeh, Teng-Hui Huang, Hesham El Gamal

ABSTRACT

Active Feature Acquisition (AFA) is a classification problem in which an agent decides which costly features to acquire before predicting each sample's label. Unlike batch AFA, which trains a fixed policy and classifier offline on fully observed data, online AFA updates its predictor from revealed labels as samples arrive. Existing online methods either use deep reinforcement learning (RL) without performance guarantees or maximize cost-adjusted reward rather than enforce a global budget. We formulate online AFA as a combinatorial Bandits with Knapsacks (BwK) problem that couples acquisition and prediction. Unlike prior bandit-based AFA and classical BwK, our setting has combinatorial complexity, evolving rewards, a global budget, and structured side information. We obtain an improved regret upper bound over standard BwK bounds in this framework, leveraging a cardinality-aware confidence bound and the subset update structure. To avoid an exponentially large action space, we propose LP-Chain, a variant that searches a cost-aware chain of feature subsets with a size that grows linearly with the number of features. While the regret upper bound is specific to the combinatorial framework, LP-Chain empirically achieves comparable predictive performance. On synthetic data, LP-Chain outperforms HEDGE-based BwK and deep RL-based online AFA baselines and scales favorably to more features.

Index Terms— Multi-Armed Bandits, Online Learning, Active Feature Acquisition, Classification, Optimization

1. INTRODUCTION

Real-world intelligent systems must make decisions with limited resources. Acquiring information reduces uncertainty at a cost, e.g., in battery energy, latency, computation, or capacity [1, 2]. Active Feature Acquisition (AFA) studies a sequential, resource-constrained decision-making problem: at each round, the learner acquires a subset of features at a cost and predicts the sample's label; it then uses the revealed label and acquired features to update its predictor before moving on to a new sample [3].

In batch-learning AFA, an agent has access to a labeled training dataset in which all features are observed for every sample. The agent jointly learns an acquisition policy and a classifier subject to an acquisition cost constraint [4]. The policy and the classifier are then deployed at inference time for cost-efficient classification of unseen samples [5]. However, this standard train–test paradigm is impractical for many decision-making applications. An agent often observes only on-policy outcomes, leaving off-policy outcomes unobserved [6]. Moreover, when the environment is time-varying, an agent optimized during training suffers from generalization error at inference time [7].

Online AFA addresses these limitations by continuously updating the acquisition policy as the agent interacts with the environment. In [8], the authors proposed a method that maximizes potential merit (predictive utility per unit cost) over data streams, but compared it empirically only against a random acquisition policy in a limited request-or-not setting. More recent works have adopted neural-network-based reinforcement learning (RL) approaches, owing to their ability to approximate the complex acquisition–prediction relation in online AFA. Kachuee et al. [9] proposed a two-network architecture in which a Deep Q-Network (DQN) learns the acquisition policy by maximizing the marginal certainty gain per unit cost, while a feed-forward network is trained to maximize prediction accuracy. However, such highly non-linear black-box architectures generally do not provide performance guarantees.

Toward provably efficient solvers for online AFA, a body of work has adopted a multi-armed bandit (MAB) approach. In [10], a two-step formulation was proposed in which first-step actions correspond to feature acquisitions and second-step actions correspond to predictions, with accuracy as the unknown reward. Although a regret analysis was provided, the acquisition cost is subtracted from the reward, so no global budget constraint is enforced. Rahbar et al. [11] applied a combinatorial MAB to the acquisition of test outcomes generated by a binary hidden state. Because they focus on minimizing acquisition costs, their regret result does not apply to prediction performance under a budget constraint.

MAB-based online AFA with a global budget constraint is closely related to Bandits with Knapsacks (BwK) [12]. In BwK, each arm is associated with a random reward and random resource costs drawn from unknown distributions. Pulling an arm yields a sample of its reward and costs, and the agent aims to maximize the cumulative reward until the budget of any resource is exhausted. A well-known result is that BwK algorithms achieve an optimal regret bound relative to an optimal policy with full knowledge of the reward and cost distributions [13]. However, to the best of our knowledge, no BwK-based framework exists for online AFA.

Our contributions are summarized as follows. First, we formulate the online AFA problem as a predictor-coupled combinatorial BwK problem, distinguishing our setting from existing bandit-based AFA formulations through its evolving rewards, structured feedback, and global acquisition budget. Second, in this combinatorial framework, we establish an upper bound on regret relative to the reward achieved by an optimal policy that knows the data-generating distributions, and show that it is tighter than a direct application of the classical BwK bound. Third, to reduce the exponential complexity (i.e., the size of the power set), our LP-Chain uses a cost-aware greedy incremental subset-construction step that builds a chain of candidate subsets whose size grows linearly with the number of features, and empirically attains comparable predictive performance to that of its combinatorial, provable counterpart. Finally, we empirically demonstrate that LP-Chain achieves better predictive performance than a BwK baseline and the closest online AFA baseline, which is based on deep RL.

References (31)