Introduction
In classical machine learning, features are typically assumed to be available at no cost. However, real-world scenarios—such as medical diagnostics or industrial sensor monitoring—often involve significant costs (monetary, time, or risk) to acquire specific data points. While online decision tree models like the Very Fast Decision Tree (VFDT) handle streaming data efficiently, they generally assume all features are provided upfront. This paper introduces UFODT (Utility of Features for Online learning of Decision Trees), a framework designed for the fully online setting where both features and labels are initially unknown, necessitating active feature acquisition to balance prediction accuracy against acquisition costs.
Methodology
UFODT integrates an active planning oracle within an online learning loop to optimize feature selection dynamically. The framework relies on three core components:
- Online Learning (Outer Loop): Utilizing Posterior Sampling (Thompson Sampling), the model maintains a belief over parameters $\theta$. At each time step, it samples a hypothesis to balance exploration of feature-label relationships with exploitation of known patterns.
- Active Planning (Inner Loop): To select the most informative features, UFODT employs the Equivalence Class Edge Cut (EC2) surrogate objective. As an adaptive submodular function, EC2 allows a greedy selection strategy to achieve near-optimal cost-efficiency.
- Continuous Feature Handling: Instead of exhaustive searching for split points, the model uses the Exp3 adversarial bandit algorithm to learn optimal discretization thresholds over time, significantly reducing computational overhead.
To address non-stationary environments, UFODT incorporates a discounted update rule, ensuring the model prioritizes recent observations and can adapt to concept drift.
Experimental Evaluation
The framework was benchmarked against state-of-the-art models (VFDT and EFDT) across diverse datasets, including stationary UCI datasets (LED, Zoo, SPECT Heart), social and financial datasets (Compas, FICO), and synthetic datasets with concept drift (Stagger).
Results and Discussion
UFODT demonstrates a superior balance between predictive performance and resource consumption.
As shown in the utility plots, UFODT variants often match or exceed the performance of traditional online decision trees. More importantly, this utility is achieved at a fraction of the cost.
The cost analysis reveals that UFODT significantly reduces the number of feature queries. For instance, on the Stagger dataset, UFODT-EC2 incurred a cost of approximately 343, whereas EFDT required 720. The use of the EC2 surrogate effectively transforms a computationally prohibitive planning problem into a tractable greedy optimization without sacrificing theoretical guarantees. Furthermore, the model's Bayesian nature allows for the incorporation of prior knowledge, leading to higher data efficiency compared to models relying on rigid Hoeffding bounds.
Conclusion
UFODT provides a robust framework for cost-sensitive online learning. By combining posterior sampling with adaptive submodular planning, it achieves high accuracy while minimizing feature acquisition costs. While the current implementation assumes conditional independence between features (Naïve Bayes assumption), future work could explore more complex dependency structures. This research paves the way for practical, budget-aware AI in domains like personalized medicine and interactive troubleshooting.
Summary updated