Feature selection with test cost constraint

Fan Min, Qinghua Hu, William Zhu · DOI

Abstract

Feature selection typically focuses on finding the minimal subset of features that preserves predictive power. However, real-world data acquisition often involves significant costs in terms of time, money, or resources. This paper introduces the Feature Selection with Test Cost Constraint (FSTC) problem, which aims to maximize the informative value of a feature set within a fixed budget. By framing FSTC as a Constraint Satisfaction Problem (CSP), the authors propose an exhaustive backtracking algorithm for optimal solutions and a scalable heuristic for large-scale applications.

Introduction

In classical machine learning, feature selection is often treated as finding a "minimal reduct"—the smallest subset of features that maintains the classification accuracy of the full set. This approach assumes that all features are equally accessible. In practice, acquiring features like medical lab results or specialized sensor data incurs costs. The FSTC problem addresses scenarios where a hard budget limit exists, requiring a trade-off between classification certainty (measured by the "positive region" in Rough Set Theory) and total acquisition cost.

Theoretical Framework

The paper utilizes Rough Set Theory to evaluate feature subsets. Data is represented as a decision table, where objects are described by conditional attributes and a decision attribute.

An example decision table used in Rough Set Theory to define the positive region and attribute dependencies. Note that objects $x_1$ and $x_5$ have identical attributes but different decisions, illustrating inconsistency.

The core innovation is viewing feature selection through the lens of a Constraint Satisfaction Problem (CSP). This framework defines the problem using four components: Input, Output, Constraint (the budget), and Optimization Objective (maximizing the positive region). This shift simplifies the extension of Rough Set definitions to cost-constrained scenarios.

Methodology

Two primary algorithms are proposed:

  1. Backtracking Algorithm: An exhaustive search that explores the decision tree of feature combinations. It uses pruning techniques to discard branches that exceed the cost budget. While it guarantees an optimal solution, its $O(2^{|C|})$ complexity limits it to small or medium datasets.
  2. $\lambda$-weighted Heuristic Algorithm: A polynomial-time approach for large datasets. It employs an "addition-deletion" strategy based on cost-weighted Information Gain. A parameter $\lambda$ balances information vs. cost. To avoid manual tuning, a "competition strategy" runs the algorithm with multiple $\lambda$ values and selects the best result.

Experimental Evaluation

The authors evaluated their algorithms using four datasets from the UCI Repository: Zoo, Voting, Tic-tac-toe, and Mushroom. Since these datasets lack inherent cost values, synthetic test costs were generated using a uniform distribution to simulate real-world constraints.

Results and Discussion

The backtracking algorithm demonstrated high efficiency, processing the Mushroom dataset (22 features) in under 0.4 seconds—ten times faster than previous exhaustive methods like SESRA. The heuristic algorithm, combined with the competition strategy, achieved optimal solutions in over 70% of the test cases. Notably, the heuristic's performance scales with the number of instances rather than features, making it suitable for big data contexts.

Conclusion

The FSTC framework provides a robust approach to feature selection under resource constraints. By relaxing the requirement for a perfect reduct in favor of the most informative affordable subset, it bridges the gap between theoretical feature selection and practical resource management. Future work includes applying the CSP viewpoint to Decision-Theoretic Rough Sets (DTRS) and exploring non-additive cost models.

Summary updated

BibTeX
@article{min2013feature,
  author = {Fan Min and Qinghua Hu and William Zhu},
  title = {{Feature selection with test cost constraint}},
  journal = {International Journal of Approximate Reasoning},
  year = {2013},
  doi = {10.1016/j.ijar.2013.04.003},
}
Figure