[Paper Review] Adversarial Learning of Deepfakes in Accounting
This paper demonstrates how adversarial autoencoders can learn disentangled latent representations of real journal entries in ERP systems, enabling attackers to generate adversarial journal entries that evade detection by Computer-Assisted Audit Techniques (CAATs). The method enables two attack scenarios—anomaly replacement and anomaly augmentation—where fraudulent entries are disguised as legitimate transactions by manipulating latent factors, thereby undermining audit controls.
Nowadays, organizations collect vast quantities of accounting relevant transactions, referred to as 'journal entries', in 'Enterprise Resource Planning' (ERP) systems. The aggregation of those entries ultimately defines an organization's financial statement. To detect potential misstatements and fraud, international audit standards demand auditors to directly assess journal entries using 'Computer Assisted AuditTechniques' (CAATs). At the same time, discoveries in deep learning research revealed that machine learning models are vulnerable to 'adversarial attacks'. It also became evident that such attack techniques can be misused to generate 'Deepfakes' designed to directly attack the perception of humans by creating convincingly altered media content. The research of such developments and their potential impact on the finance and accounting domain is still in its early stage. We believe that it is of vital relevance to investigate how such techniques could be maliciously misused in this sphere. In this work, we show an adversarial attack against CAATs using deep neural networks. We first introduce a real-world 'thread model' designed to camouflage accounting anomalies such as fraudulent journal entries. Second, we show that adversarial autoencoder neural networks are capable of learning a human interpretable model of journal entries that disentangles the entries latent generative factors. Finally, we demonstrate how such a model can be maliciously misused by a perpetrator to generate robust 'adversarial' journal entries that mislead CAATs.
Motivation & Objective
- To investigate the vulnerability of Computer-Assisted Audit Techniques (CAATs) to adversarial attacks using deep generative models in accounting.
- To develop a thread model that camouflages fraudulent journal entries within legitimate ERP transaction data.
- To train an adversarial autoencoder that disentangles latent generative factors in real-world journal entries for malicious use.
- To demonstrate how learned latent space can be exploited to generate adversarial entries that evade detection by rule-based and statistical CAATs.
- To assess the feasibility of deepfake-like manipulation in financial data to mislead auditors and undermine audit integrity.
Proposed method
- Trained an adversarial autoencoder on real journal entry data from an ERP system to learn a disentangled latent representation of transaction attributes.
- Used a conditional sampling strategy to traverse latent factor trajectories while fixing certain attributes (e.g., GL account or amount) to generate adversarial entries.
- Implemented two attack classes: anomaly replacement (splitting large, suspicious entries into smaller, compliant ones) and anomaly augmentation (adding multiple entries to obscure rare GL account usage).
- Leveraged the learned latent space $ q_s(z_{k=14}) $ to sample adversarial entries that preserve semantic consistency but evade detection rules.
- Applied the model to real-world data, generating entries that remain within internal control thresholds (e.g., approval limits) and avoid statistical anomalies.
- Evaluated the attack’s effectiveness by simulating how such entries would be processed by standard CAATs, including red-flag tests and Benford’s Law-based checks.
Experimental results
Research questions
- RQ1Can adversarial autoencoders learn disentangled, human-interpretable representations of real journal entries in ERP systems?
- RQ2To what extent can such learned representations be exploited to generate adversarial journal entries that evade detection by CAATs?
- RQ3Can adversarial attacks on CAATs be designed to specifically bypass rule-based and statistical audit controls in accounting data?
- RQ4How effective are adversarial journal entries in camouflaging fraudulent activities such as large, unapproved postings or isolated GL account usage?
- RQ5What are the implications of deepfake-like manipulation in financial data for audit integrity and financial statement reliability?
Key findings
- The adversarial autoencoder successfully disentangled the latent generative factors of journal entries, enabling fine-grained control over attributes like amount, GL account, and company code.
- Adversarial entries were successfully generated that split a single high-value invoice posting ($47,632.45) into five smaller entries, each below the $25,000 approval threshold, evading rule-based detection.
- In the anomaly augmentation scenario, 15 adversarial entries were generated that shared the same rare GL account (B24), effectively obfuscating a single isolated posting and reducing its statistical anomaly score.
- The generated adversarial entries maintained semantic and structural consistency with real data, making them plausible to both human auditors and automated CAATs.
- The attack demonstrated that even state-of-the-art CAATs relying on statistical and rule-based checks can be evaded through targeted manipulation of the latent space.
- The study provides empirical evidence that deepfake-style manipulation of accounting data is feasible and poses a real threat to audit systems relying on machine learning and data analytics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.