Abstract
The Classification with Costly Features (CwCF) problem addresses the challenge of maximizing classification accuracy while minimizing the cost of feature acquisition. This paper revitalizes reinforcement learning approaches to CwCF by replacing traditional linear models with Deep Q-Learning. By incorporating modern enhancements such as Dueling architectures and the Retrace algorithm, the authors develop a general-purpose RL agent that achieves state-of-the-art performance across diverse benchmarks, demonstrating the effectiveness of non-linear sequential decision-making in cost-sensitive environments.
Introduction
In many practical domains, information comes at a price. Medical diagnostics, cybersecurity, and resource-constrained IoT devices all face the Classification with Costly Features (CwCF) problem: which data points are worth the cost of acquisition? Traditional solutions often rely on static feature sets or specialized tree-based models. This work frames CwCF as a sequential decision-making problem, perfectly suited for the adaptive capabilities of Reinforcement Learning (RL).
Methodology: CwCF as a Sequential Decision Process
The authors model the CwCF task as a Markov Decision Process (MDP). An agent observes the current state—defined by the set of features already acquired—and chooses to either "buy" a new feature or terminate the process by classifying the sample.
Deep Q-Network with Feature Masking
A key innovation is the use of a Deep Q-Network (DQN) to handle the non-linear relationships between features. The network processes a "masked" input vector where unknown feature values are zeroed, accompanied by a binary mask indicating which features are currently known.
To stabilize and optimize training, the authors implement several modern RL techniques:
- Dueling Architecture & Double Q-learning: These prevent overestimation and separate state value from action advantage.
- Retrace Algorithm: Enables efficient learning from off-policy data.
- Supervised Pre-training: The classification layer is pre-trained on random feature subsets, giving the RL agent a significant head start in learning accurate classification boundaries.
- HPC Integration: The agent can optionally "hand off" difficult samples to an external High-Performance Classifier (HPC) for improved accuracy at a higher cost.
Key Insights and Results
The approach was tested on eight diverse datasets, including image data (MNIST, CIFAR) and physical/biological data (Wine, Yeast).
- Robustness and Performance: Unlike specialized algorithms that excel only on specific data types, the Deep RL agent consistently achieved state-of-the-art results across all benchmarks.
- Efficiency: On the
miniboonedataset, the agent reached near-maximum accuracy using only 15 of the 50 available features, demonstrating significant cost savings. - Adaptive Behavior: The agent learns to tailor its acquisition strategy to individual samples. If initial features suggest a clear classification, it stops early; otherwise, it selectively acquires more informative, albeit costly, features.
Limitations and Future Work
While highly effective, the model's performance on very small datasets (e.g., yeast) was sometimes comparable to simpler linear models, suggesting that deep architectures may be overkill for low-dimensional problems. Additionally, the trade-off between cost and accuracy is controlled by a hyperparameter $\lambda$, which currently requires manual tuning. Future research could investigate handling grouped "macro-features" to better reflect real-world data acquisition processes.
Summary updated