Advancing Anomaly Detection: Non-Semantic Financial Data Encoding with LLMs

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Bakumenko, Alexander, Hlaváčková-Schindler, Kateřina, Plant, Claudia, Hubig, Nina C.
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914059582963712
author Bakumenko, Alexander
Hlaváčková-Schindler, Kateřina
Plant, Claudia
Hubig, Nina C.
author_facet Bakumenko, Alexander
Hlaváčková-Schindler, Kateřina
Plant, Claudia
Hubig, Nina C.
contents Detecting anomalies in general ledger data is of utmost importance to ensure trustworthiness of financial records. Financial audits increasingly rely on machine learning (ML) algorithms to identify irregular or potentially fraudulent journal entries, each characterized by a varying number of transactions. In machine learning, heterogeneity in feature dimensions adds significant complexity to data analysis. In this paper, we introduce a novel approach to anomaly detection in financial data using Large Language Models (LLMs) embeddings. To encode non-semantic categorical data from real-world financial records, we tested 3 pre-trained general purpose sentence-transformer models. For the downstream classification task, we implemented and evaluated 5 optimized ML models including Logistic Regression, Random Forest, Gradient Boosting Machines, Support Vector Machines, and Neural Networks. Our experiments demonstrate that LLMs contribute valuable information to anomaly detection as our models outperform the baselines, in selected settings even by a large margin. The findings further underscore the effectiveness of LLMs in enhancing anomaly detection in financial journal entries, particularly by tackling feature sparsity. We discuss a promising perspective on using LLM embeddings for non-semantic data in the financial context and beyond.
format Preprint
id arxiv_https___arxiv_org_abs_2406_03614
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Advancing Anomaly Detection: Non-Semantic Financial Data Encoding with LLMs
Bakumenko, Alexander
Hlaváčková-Schindler, Kateřina
Plant, Claudia
Hubig, Nina C.
Machine Learning
Computation and Language
Risk Management
Detecting anomalies in general ledger data is of utmost importance to ensure trustworthiness of financial records. Financial audits increasingly rely on machine learning (ML) algorithms to identify irregular or potentially fraudulent journal entries, each characterized by a varying number of transactions. In machine learning, heterogeneity in feature dimensions adds significant complexity to data analysis. In this paper, we introduce a novel approach to anomaly detection in financial data using Large Language Models (LLMs) embeddings. To encode non-semantic categorical data from real-world financial records, we tested 3 pre-trained general purpose sentence-transformer models. For the downstream classification task, we implemented and evaluated 5 optimized ML models including Logistic Regression, Random Forest, Gradient Boosting Machines, Support Vector Machines, and Neural Networks. Our experiments demonstrate that LLMs contribute valuable information to anomaly detection as our models outperform the baselines, in selected settings even by a large margin. The findings further underscore the effectiveness of LLMs in enhancing anomaly detection in financial journal entries, particularly by tackling feature sparsity. We discuss a promising perspective on using LLM embeddings for non-semantic data in the financial context and beyond.
title Advancing Anomaly Detection: Non-Semantic Financial Data Encoding with LLMs
topic Machine Learning
Computation and Language
Risk Management
url https://arxiv.org/abs/2406.03614