Advancing Anomaly Detection: Non-Semantic Financial Data Encoding with LLMs
Alexander Bakumenko (1), Kate\v{r}ina Hlav\'a\v{c}kov\'a-Schindler (2), Claudia Plant (2), and Nina C. Hubig (1) ((1) Clemson University, USA, (2) University of Vienna, Austria)

TL;DR
This paper explores using Large Language Model embeddings to improve anomaly detection in financial ledger data, demonstrating that LLMs enhance model performance especially with sparse, non-semantic features.
Contribution
Introduces a novel approach employing LLM embeddings for non-semantic financial data, improving anomaly detection accuracy over traditional methods.
Findings
LLM embeddings improve anomaly detection performance.
Models outperform baselines, sometimes significantly.
LLMs help address feature sparsity in financial data.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsStock Market Forecasting Methods · Financial Markets and Investment Strategies · Complex Systems and Time Series Analysis
MethodsLogistic Regression
