Creating and sharing knowledge for telecommunications

An Empirical Comparison of Portuguese and Multilingual BERT Models for Auto-Classification of NCM Codes in International Trade

Lima, R. L ; Fernandes, AF ; Bombasar, J. B ; Silva, B.A.S ; Crocker, P. ; Leithardt, V. L.

Big Data and Cognitive Computing Vol. 6, Nº 1, pp. 1 - 17, January, 2022.

ISSN (print):
ISSN (online): 2504-2289

Scimago Journal Ranking: 0,68 (in 2022)

Digital Object Identifier: 10.3390/bdcc6010008

Abstract
Classification problems are common activities in many different domains and supervised learning algorithms have shown great promise in these areas. The classification of goods in international trade in Brazil represents a real challenge due to the complexity involved in assigning the correct category codes to a good, especially considering the tax penalties and legal implications of a misclassification. This work focuses on the training process of a classifier based on bidirectional encoder representations from transformers (BERT) for tax classification of goods with MCN codes which are the official classification system for import and export products in Brazil. In particular, this article presents results from using a specific Portuguese-language-pretrained BERT model, as well as results from using a multilingual-pretrained BERT model. Experimental results show that Portuguese model had a slightly better performance than the multilingual model, achieving an MCC 0.8491, and confirms that the classifiers could be used to improve specialists’ performance in the classification of goods.