SandHouse
Pages

Inductive Bias

The inductive bias (also known as learning bias) of a learning algorithm is the set of assumptions that the learner uses to predict outputs of given inputs that it has not encountered.<sup>\[1\]</sup> Inductive bias is anything which makes the algorithm learn one pattern instead of another pattern (e.g., step-functions in decision trees instead of continuous functions in linear regression models). Learning involves searching a space of solutions for a solution that provides a good explanation of the data. However, in many cases, there may be multiple equally appropriate solutions.<sup>\[2\]</sup> An inductive bias allows a learning algorithm to prioritize one solution (or interpretation) over another, independently of the observed data.

The following is a list of common inductive biases in machine learning algorithms.

• Maximum **conditional independence**: if the hypothesis can be cast in a Bayesian framework, try to maximize conditional independence. This is the bias used in the Naive Bayes classifier.
• Minimum **cross-validation** error: when trying to choose among hypotheses, select the hypothesis with the lowest cross-validation error. Although cross-validation may seem to be free of bias, the "no free lunch" theorems show that cross-validation must be biased, for example assuming that there is no information encoded in the ordering of the data.
• Maximum margin: when drawing a boundary between two classes, attempt to maximize the width of the boundary. This is the bias used in support vector machines. The assumption is that distinct classes tend to be separated by wide boundaries.
• **Minimum description length**: when forming a hypothesis, attempt to minimize the length of the description of the hypothesis.
• Minimum features: unless there is good evidence that a feature is useful, it should be deleted. This is the assumption behind feature selection algorithms.
• Nearest neighbors: assume that most of the cases in a small neighborhood in feature space belong to the same class. Given a case for which the class is unknown, guess that it belongs to the same class as the majority in its immediate neighborhood. This is the bias used in the k-nearest neighbors algorithm. The assumption is that cases that are near each other tend to belong to the same class.

Conditional Independence

This is the inductive bias that “should” be used in a Bayesian framework. Conditional independence describes situations in which an observation does not provide any additional information when evaluating a hypothesis, i.e. it is an irrelevant observation.

If A is the hypothesis and B,C are observations, then the conditional independence of B,C can be describe using conditional probability.

P(A|B,C)=P(A|C)

This means that knowing B does not change our probability evaluation of A. When Aand Bare conditionally independent of Cis in the case above, you will sometimes see the notation (A⟂⟂B | C).