Decision Trees for the efficient evaluation of discrete functions: worst
case and expected case analysis
We study the problem of evaluating a discrete function by adaptively querying the values of its variables until they uniquely determine the value of the function. Each variable has a cost which has to be paid in order to read its value. This problem arises in several applications, among them, automatic diagnosis design and active learning. We consider two goals: the minimization of the expected cost paid for evaluating the function and the minimization of the worst case cost. A strategy for evaluating the function can be represented by a decision tree. We provide an algorithm which builds a decision tree whose expected cost is an approximation of the minimum possible expected cost. This is the best possible approximation achievable, under the assumption that , and significantly improves on the previous best known result which is an approximation, where is the minimum probability among the objects. We also show how to obtain approximation, in fact best possible, w.r.t the worst case minimization. Therefore, we also address the issue regarding the existence of a trade-off between the minimization of the worst cost and the expected cost. We present a polynomial time procedure that given a parameter and two decision trees and , the former with worst cost and the latter with expected cost , produces a decision tree with worst testing cost at most and expected cost at most . For the relevant case of uniform costs, the bound is improved to and . An interesting consequence of this result is the existence of a decision tree that provides simultaneously an approximation for both criteria.
View on arXiv