Classifier chains
Classifier chains is a machine learning method for problem transformation in multi-label classification. It combines the computational efficiency of the binary relevance method while still being able to take the label dependencies into account for classification.[1]
Problem transformation
Several problem transformation methods exist. One of them is the Binary Relevance method (BR). Given a set of labels [math]\displaystyle{ \mathit{L}\, }[/math] and a data set with instances of the form [math]\displaystyle{ \mathit{(x, Y)}\, }[/math] where [math]\displaystyle{ \mathit{x}\, }[/math] is a feature vector and [math]\displaystyle{ Y \subseteq L }[/math] is a set of labels assigned to the instance. BR transforms the data set into [math]\displaystyle{ \left \vert L \right \vert }[/math] data sets and learns [math]\displaystyle{ \left \vert L \right \vert }[/math] binary classifiers [math]\displaystyle{ H: X \rightarrow \{l, \neg l\} }[/math] for each label [math]\displaystyle{ l \in L }[/math]. During this process the information about dependencies between labels is not preserved. This can lead to a situation where a set of labels is assigned to an instance although these labels never co-occur together in the data set. Thus, information about label co-occurrence can help to assign correct label combinations. Loss of this information can in some cases lead to a decrease in classification performance.[2]
Another approach, which takes into account label correlations, is the Label Powerset method (LP). Each combination of labels in a data set is considered to be a single label. After transformation a single-label classifier [math]\displaystyle{ H: X \rightarrow \mathcal{P}(L) }[/math] is trained where [math]\displaystyle{ \mathcal{P}(L) }[/math] is the power set of all labels in [math]\displaystyle{ \mathit{L} }[/math]. The main drawback of this approach is that the number of label combinations grows exponentially with the number of labels. For example, a multi-label data set with 10 labels can have up to [math]\displaystyle{ 2^{10} = 1024 }[/math] label combinations. This increases the run-time of classification.
The Classifier Chains method is based on the BR method and it is efficient even on a big number of labels. Furthermore, it considers dependencies between labels.
Method description
For a given set of labels [math]\displaystyle{ \mathit{L}\, }[/math] the Classifier Chain model (CC) learns [math]\displaystyle{ \left \vert L \right \vert }[/math] classifiers as in the Binary Relevance method. All classifiers are linked in a chain through feature space.
Given a data set where the [math]\displaystyle{ i }[/math]-th instance has the form [math]\displaystyle{ \mathit{(x_{i}, Y_{i})}\, }[/math] where [math]\displaystyle{ \mathit{Y_{i}}\, }[/math] is a subset of labels, [math]\displaystyle{ \mathit{x_{i}}\, }[/math] is a set of features. The data set is transformed in [math]\displaystyle{ \left \vert L \right \vert }[/math] data sets where instances of the [math]\displaystyle{ j }[/math]-th data set has the form [math]\displaystyle{ ((x_{i}, l_{1}, ..., l_{j-1}), l_{j}), l_{j} \in \{0,1\} }[/math]. If the [math]\displaystyle{ j }[/math]-th label was assigned to the instance then [math]\displaystyle{ \mathit{l_{j}}\, }[/math] is [math]\displaystyle{ 1 }[/math], otherwise it is [math]\displaystyle{ 0 }[/math]. Thus, classifiers build a chain where each of them learns binary classification of a single label. The features given to each classifier are extended with binary values that indicate which of previous labels were assigned to the instance.
By classifying new instances the labels are again predicted by building a chain of classifiers. The classification begins with the first classifier [math]\displaystyle{ \mathit{C_{1}}\, }[/math] and proceeds to the last one [math]\displaystyle{ \mathit{C_{|L|}}\, }[/math] by passing label information between classifiers through the feature space. Hence, the inter-label dependency is preserved. However, the result can vary for different order of chains. For example, if a label often co-occur with some other label, then only instances of the label which comes later in the chain will have information about the other one in its feature vector. In order to solve this problem and increase accuracy it is possible to use ensemble of classifiers.[3]
In Ensemble of Classifier Chains (ECC) several CC classifiers can be trained with random order of chains (i.e. random order of labels) on a random subset of data set. Labels of a new instance are predicted by each classifier separately. After that, the total number of predictions or "votes" is counted for each label. The label is accepted if it was predicted by a percentage of classifiers that is bigger than some threshold value.
Adaptations
There is also regressor chains, which themselves can resemble vector autoregression models if the order of the chain makes sure temporal order is respected.
References
- ↑ Read, Jesse; Bernhard Pfahringer; Geoff Holmes; Eibe Frank (2009). "Classifier Chains for Multi-label Classification". Proc 13th European Conference on Principles and Practice of Knowledge Discovery in Databases and 20th European Conference on Machine Learning 2009. http://www.cs.waikato.ac.nz/~ml/publications/2009/chains.pdf.
- ↑ Dembczynski, Krzysztof; Willem Waegeman; Weiwei Cheng; Eyke Hüllermeier (2010). "On label dependence in multi-label classification". Workshop Proceedings of Learning from Multi-Label Data 2010: 5–12. http://www.mathematik.uni-marburg.de/~eyke/publications/mld10.pdf.
- ↑ Rokach, Lior (2010). "Ensemble-based classifiers". Artif. Intell. Rev. (Norwell, MA, USA: ACM) 33 (1–2): 1–39. doi:10.1007/s10462-009-9124-7. http://www.ise.bgu.ac.il/faculty/liorr/AI.pdf.
External links
- Better Classifier Chains for Multi-label Classification Presentation on Classifier Chains by Jesse Read and Fernando Pérez Cruz
Original source: https://en.wikipedia.org/wiki/Classifier chains.
Read more |