Skip to main content
QUICK REVIEW

[Paper Review] Continual Learning for Unsupervised Anomaly Detection in Continuous Auditing of Financial Accounting Data

Hamed Hemati, Marco Schreyer|arXiv (Cornell University)|Dec 25, 2021
Anomaly Detection Techniques and ApplicationsComputer Science5 citations
TL;DR

This paper proposes a continual learning (CL) framework for unsupervised anomaly detection in continuous auditing of financial accounting data, using autoencoders with experience replay and elastic weight consolidation to mitigate catastrophic forgetting. The method reduces false positives and false negatives by retaining knowledge of evolving journal entry distributions over time, outperforming baselines on real-world datasets.

ABSTRACT

International audit standards require the direct assessment of a financial statement's underlying accounting journal entries. Driven by advances in artificial intelligence, deep-learning inspired audit techniques emerged to examine vast quantities of journal entry data. However, in regular audits, most of the proposed methods are applied to learn from a comparably stationary journal entry population, e.g., of a financial quarter or year. Ignoring situations where audit relevant distribution changes are not evident in the training data or become incrementally available over time. In contrast, in continuous auditing, deep-learning models are continually trained on a stream of recorded journal entries, e.g., of the last hour. Resulting in situations where previous knowledge interferes with new information and will be entirely overwritten. This work proposes a continual anomaly detection framework to overcome both challenges and designed to learn from a stream of journal entry data experiences. The framework is evaluated based on deliberately designed audit scenarios and two real-world datasets. Our experimental results provide initial evidence that such a learning scheme offers the ability to reduce false-positive alerts and false-negative decisions.

Motivation & Objective

  • Address the challenge of detecting fraud in non-stationary journal entry distributions common in real-world accounting systems.
  • Overcome catastrophic forgetting in deep learning models trained on streaming audit data in continuous auditing environments.
  • Improve the reliability of unsupervised anomaly detection by enabling models to learn incrementally from evolving data distributions.
  • Demonstrate the effectiveness of continual learning in reducing false-positive and false-negative decisions in financial audit scenarios.

Proposed method

  • Employ an autoencoder-based anomaly detection model trained incrementally on streaming journal entries to detect deviations from normal posting patterns.
  • Integrate experience replay (ER) and elastic weight consolidation (EWC) to preserve previously learned knowledge during continual training.
  • Use reconstruction loss as the anomaly score, where higher loss indicates potential anomalies.
  • Design two synthetic audit scenarios: (1) decaying target department with gradual distribution shift, and (2) injected local and global anomalies to test detection robustness.
  • Train models using incremental data batches representing time-ordered journal entries, simulating continuous auditing workflows.
  • Evaluate performance using reconstruction loss differences between anomalous and normal entries, with SEL (single-epoch learning) and JEL (joint-embedding learning) as baselines.

Experimental results

Research questions

  • RQ1Can continual learning mitigate catastrophic forgetting in deep learning models used for unsupervised anomaly detection in continuous auditing?
  • RQ2How does continual learning compare to stationary training in reducing false-positive alerts when detecting anomalies in evolving journal entry distributions?
  • RQ3To what extent can continual learning preserve detection capability for rare or localized anomalies in shifting data distributions?
  • RQ4Which CL regularization technique—experience replay, elastic weight consolidation, or fine-tuning—yields the best trade-off between anomaly detection accuracy and knowledge retention?

Key findings

  • Experience replay (ER) achieved the lowest false-positive alert difference, with a ΔFP of -1.08 ± 0.371 on the Philadelphia Payments dataset under exponential decay.
  • In the decaying department scenario, ER reduced false positives by 1.08 units compared to baseline SEL, outperforming SFT (ΔFP = 1.82) and EWC (ΔFP = 2.03).
  • For the anomalous postings scenario, ER achieved the highest anomaly detection performance, with a reconstruction loss difference (ΔFN) of 47.69 ± 6.482 for local anomalies in the Philadelphia dataset.
  • ER reduced false-negative risk by maintaining low reconstruction loss for the decaying target department (2.24 ± 0.292) while increasing loss for injected anomalies (47.69 ± 6.482).
  • Elastic weight consolidation (EWC) showed moderate performance, with ΔFP = 2.03 ± 0.218 in the most challenging decay setup, indicating persistent forgetting.
  • The baseline SEL method performed poorly in both scenarios, with high false-positive differences (e.g., ΔFP = 1.45 ± 0.115) and low anomaly detection sensitivity (e.g., ℒRec(A_P1) = 7.03 ± 0.130).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.