Autor: |
Busson, Antonio J. G., Rocha, Rafael, Gaio, Rennan, Miceli, Rafael, Pereira, Ivan, Moraes, Daniel de S., Colcher, Sérgio, Veiga, Alvaro, Rizzi, Bruno, Evangelista, Francisco, Santos, Leandro, Marques, Fellipe, Rabaioli, Marcos, Feldberg, Diego, Mattos, Debora, Pasqua, João, Dias, Diogo |
Rok vydání: |
2023 |
Předmět: |
|
Druh dokumentu: |
Working Paper |
DOI: |
10.5753/bwaif.2023.229322 |
Popis: |
This work proposes the Two-headed DragoNet, a Transformer-based model for hierarchical multi-label classification of financial transactions. Our model is based on a stack of Transformers encoder layers that generate contextual embeddings from two short textual descriptors (merchant name and business activity), followed by a Context Fusion layer and two output heads that classify transactions according to a hierarchical two-level taxonomy (macro and micro categories). Finally, our proposed Taxonomy-aware Attention Layer corrects predictions that break categorical hierarchy rules defined in the given taxonomy. Our proposal outperforms classical machine learning methods in experiments of macro-category classification by achieving an F1-score of 93\% on a card dataset and 95% on a current account dataset. |
Databáze: |
arXiv |
Externí odkaz: |
|