Prior knowledge for pattern recognition

From HandWiki
Revision as of 16:50, 6 February 2024 by Rjetedi (talk | contribs) (url)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Pattern recognition is a very active field of research intimately bound to machine learning. Also known as classification or statistical classification, pattern recognition aims at building a classifier that can determine the class of an input pattern. This procedure, known as training, corresponds to learning an unknown decision function based only on a set of input-output pairs [math]\displaystyle{ (\boldsymbol{x}_i,y_i) }[/math] that form the training data (or training set). Nonetheless, in real world applications such as character recognition, a certain amount of information on the problem is usually known beforehand. The incorporation of this prior knowledge into the training is the key element that will allow an increase of performance in many applications.

Prior Knowledge

Prior knowledge[1] refers to all information about the problem available in addition to the training data. However, in this most general form, determining a model from a finite set of samples without prior knowledge is an ill-posed problem, in the sense that a unique model may not exist. Many classifiers incorporate the general smoothness assumption that a test pattern similar to one of the training samples tends to be assigned to the same class.

The importance of prior knowledge in machine learning is suggested by its role in search and optimization. Loosely, the no free lunch theorem states that all search algorithms have the same average performance over all problems, and thus implies that to gain in performance on a certain application one must use a specialized algorithm that includes some prior knowledge about the problem.

The different types of prior knowledge encountered in pattern recognition are now regrouped under two main categories: class-invariance and knowledge on the data.

Class-invariance

A very common type of prior knowledge in pattern recognition is the invariance of the class (or the output of the classifier) to a transformation of the input pattern. This type of knowledge is referred to as transformation-invariance. The mostly used transformations used in image recognition are:

Incorporating the invariance to a transformation [math]\displaystyle{ T_{\theta}: \boldsymbol{x} \mapsto T_{\theta}\boldsymbol{x} }[/math] parametrized in [math]\displaystyle{ \theta }[/math] into a classifier of output [math]\displaystyle{ f(\boldsymbol{x}) }[/math] for an input pattern [math]\displaystyle{ \boldsymbol{x} }[/math] corresponds to enforcing the equality

[math]\displaystyle{ f(\boldsymbol{x}) = f(T_{\theta}\boldsymbol{x}), \quad \forall \boldsymbol{x}, \theta . }[/math]

Local invariance can also be considered for a transformation centered at [math]\displaystyle{ \theta=0 }[/math], so that [math]\displaystyle{ T_0\boldsymbol{x} = \boldsymbol{x} }[/math], by using the constraint

[math]\displaystyle{ \left.\frac{\partial}{\partial \theta}\right|_{\theta=0} f(T_{\theta} \boldsymbol{x}) = 0 . }[/math]

The function [math]\displaystyle{ f }[/math] in these equations can be either the decision function of the classifier or its real-valued output.

Another approach is to consider class-invariance with respect to a "domain of the input space" instead of a transformation. In this case, the problem becomes finding [math]\displaystyle{ f }[/math] so that

[math]\displaystyle{ f(\boldsymbol{x}) = y_{\mathcal{P}},\ \forall \boldsymbol{x}\in \mathcal{P} , }[/math]

where [math]\displaystyle{ y_{\mathcal{P}} }[/math] is the membership class of the region [math]\displaystyle{ \mathcal{P} }[/math] of the input space.

A different type of class-invariance found in pattern recognition is permutation-invariance, i.e. invariance of the class to a permutation of elements in a structured input. A typical application of this type of prior knowledge is a classifier invariant to permutations of rows of the matrix inputs.

Knowledge of the data

Other forms of prior knowledge than class-invariance concern the data more specifically and are thus of particular interest for real-world applications. The three particular cases that most often occur when gathering data are:

  • Unlabeled samples are available with supposed class-memberships;
  • Imbalance of the training set due to a high proportion of samples of a class;
  • Quality of the data may vary from a sample to another.

Prior knowledge of these can enhance the quality of the recognition if included in the learning. Moreover, not taking into account the poor quality of some data or a large imbalance between the classes can mislead the decision of a classifier.

Notes

  1. B. Scholkopf and A. Smola, "Learning with Kernels", MIT Press 2002.

References