On the Rate of Convergence of a Classifier Based on a Transformer Encoder

Iryna Gurevych, Michael C. Kohler, Gözde Gül Şahin · IEEE Transactions on Information Theory · 2022

Pattern recognition based on a high-dimensional predictor is considered. A classifier is defined which is based on a Transformer encoder. The rate of convergence of the misclassification probability of the classifier towards the optimal misclassification probability is analyzed. It is shown that this classifier is able to circumvent the curse of dimensionality provided the a posteriori probability satisfies a suitable hierarchical composition model. Furthermore, the difference between the Transformer classifiers theoretically analyzed in this paper and the ones used in practice today is illustrated by means of classification problems in natural language processing.

Read the paper · More papers on PaperTik