Topic Taxonomy Generation with LLMs for Enriched Transaction Tagging
Authors:
- Daniel de S. MoraesDMDaniel de S. Moraes
- Polyana B. Da CostaPCPolyana B. Da Costa
- Pedro T. Cutrim Dos SantosPSPedro T. Cutrim Dos Santos
- Ivan de J. P. PintoIvan de J. P. Pinto
- Sergio ColcherSergio Colcher
- Antonio J. G. BussonABAntonio J. G. Busson
- Matheus A. S. PintoMPMatheus A. S. Pinto
- Rafael H. RochaRafael H. Rocha
- Rennan GaioRGRennan Gaio
- Gabriela TourinhoGTGabriela Tourinho
- Marcos RabaioliMRMarcos Rabaioli
- David FavaroDFDavid Favaro
Open Access
- 17 January 2025
- journal article
- Published by Sociedade Brasileira de Computação in Journal of the Brazilian Computer Society
- Vol. 31 (1) , 1331-1341
Abstract
This work presents an unsupervised method for tagging banking consumers’ transactions using automatically constructed and expanded topic taxonomies. Initially, we enrich the bank transactions via web scraping to collect relevant descriptions, which are then preprocessed using NLP techniques to generate candidate terms. Topic taxonomies are created using instruction-based fine-tuned LLMs (Large Language Models). To expand existing taxonomies with new terms, we use zero-shot prompting to determine where to add new nodes. The resulting taxonomies are used to assign descriptive tags that characterize the transactions in the retail bank dataset. For evaluation, 12 volunteers completed a two-part form assessing the quality of the taxonomies and the tags assigned to merchants. The evaluation revealed a coherence rate exceeding 90% for the chosen taxonomies. Additionally, taxonomy expansion using LLMs demonstrated promising results for parent node prediction, with F1-scores of 89% and 70% for Food and Shopping taxonomies, respectively.Keywords
This publication has 14 references indexed in Scilit:
- Chain-of-Layer: Iteratively Prompting Large Language Models for Taxonomy Induction from Limited Examples2024
- Prompting or Fine-tuning? A Comparative Study of Large Language Models for Taxonomy Construction2023
- A Practical Survey on Zero-shot Prompt Design for In-context Learning2023
- TaxoCom: Topic Taxonomy Completion with Hierarchical Discovery of Novel Topic Clusters2022
- Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigm2021
- Low-resource Taxonomy Enrichment with Pretrained Language Models2021
- YAKE! Keyword extraction from single documents using multiple local featuresInformation Sciences, 2020
- TaxoGen2018
- Making Use of External Company Data to Improve the Classification of Bank Transactions2017
- SemEval-2016 Task 13: Taxonomy Extraction Evaluation (TExEval-2)2016