Abstract
In many real-world decision-making scenarios, such as medical diagnosis or financial forecasting, the information (context) required to make an optimal choice is not free. This paper addresses the Contextual Multi-Armed Bandit with Costly Observations (CMAB-CO) problem. We propose a framework that treats information acquisition as a two-stage Markov Decision Process (MDP). Two algorithms, Simultaneous Optimistic Observation Selection (Sim-OOS) and Sequential Optimistic Observation Selection (Seq-OOS), are introduced. We prove that both achieve sublinear regret and demonstrate their effectiveness on a real-world breast cancer dataset, showing significant performance gains over standard contextual bandit approaches as information costs rise.
Introduction
In the standard Contextual Multi-Armed Bandit (MAB) problem, an agent observes a "context" (e.g., a patient’s symptoms) and chooses an action (e.g., a treatment) to maximize a reward. Most existing models assume this context is provided at no cost. However, in practice, gathering context is often expensive—doctors must order costly blood tests, and financial analysts must pay for proprietary data.
This paper introduces the Contextual Multi-Armed Bandits with Costly Observations (CMAB-CO) framework. The challenge is a "dual learning" problem: the agent must simultaneously learn which observations are worth paying for and which actions to take based on those observations. Naive approaches that combine observations and actions into a single "meta-action" suffer from exponential state-space growth, making learning inefficient.
Methods
The authors formalize the problem as a two-stage Markov Decision Process (MDP):
- Stage 1 (Observation Selection): The agent chooses a subset of features to observe and pays the associated costs.
- Stage 2 (Action Selection): Based on the observed context, the agent chooses a final action and receives a reward.
Two primary algorithms based on the Upper Confidence Bound for Reinforcement Learning (UCRL2) approach are proposed:
- Sim-OOS (Simultaneous Optimistic Observation Selection): The agent selects a set of features to observe all at once, suitable for parallel testing environments.
- Seq-OOS (Sequential Optimistic Observation Selection): The agent selects observations one by one. This allows for conditional logic, where the agent can stop acquiring data if preliminary results suggest further tests are not cost-effective.
Both algorithms utilize "optimism in the face of uncertainty," maintaining confidence intervals for expected rewards and the probability of encountering specific context states.
Experimental Evaluation
The algorithms were validated using a breast cancer dataset from the National Surgical Adjuvant Breast and Bowel Project (NSABP), consisting of 10,000 patient records (simulated to 200,000). Contextual features included age, estrogen receptor status, tumor stage, and WHO score, while actions involved four different chemotherapy regimes. The researchers simulated varying costs for diagnostic tests to evaluate how the algorithms adapted to financial constraints.
Results and Discussion
The mathematical analysis confirms that both Sim-OOS and Seq-OOS achieve sublinear regret ($O(\sqrt{T})$), meaning they converge toward the optimal "Oracle" policy over time.
As shown in the figure above, the OOS algorithms significantly outperform the standard Contextual-UCB as the cost of information increases. While the gain for Contextual-UCB (which always observes all features) drops sharply as costs rise, Seq-OOS and Sim-OOS learn to skip unnecessary tests, maintaining higher net rewards. Seq-OOS demonstrates the highest efficiency due to its ability to perform early stopping during the observation phase.
Conclusion
By reducing the bandit problem to a two-stage MDP, this work provides a rigorous and computationally feasible solution for decision-making with costly information. While the current model assumes fixed costs and scales with the total number of context states, it sets a foundation for future research into dynamic costs and high-dimensional feature spaces. The ability to balance the value of information against its cost is a critical step toward deploying machine learning in resource-constrained real-world environments.
Summary updated