arXiv:2511.12122cs.LG2025-11被引 13

用Transformer实时识别会计交易中的隐藏异常行为。

Dynamic Anomaly Identification in Accounting Transactions via Multi-Head Self-Attention Networks

  • 将交易数据转为时序矩阵,通过多头自注意力捕捉全局依赖。
  • 在公开数据集上AUC、F1等指标均优于基线模型。
  • 适合金融风控与智能审计场景,对环境变化鲁棒。

本文针对复杂交易环境中会计交易的动态异常检测问题,提出一种基于Transformer的实时检测方法,以应对隐蔽异常行为和高时效性要求。该方法首先将多维交易记录表示为时序矩阵,通过嵌入层和位置编码实现输入的低维映射;随后构建包含多头自注意力的序列建模结构,从多角度捕获全局依赖并聚合特征,增强异常模式识别能力;网络进一步融合前馈层与正则化策略,实现深层特征表示与精准异常概率估计。在公开数据集上开展大量实验,包括对比分析、超参数敏感性测试、环境敏感性测试和数据扰动测试。结果表明,所提方法在AUC、F1-Score、Precision和Recall上均优于基线模型,且在不同环境条件与数据扰动下保持稳定性能。验证了基于Transformer框架在会计交易动态异常检测中的适用性与优势,为智能财务风险控制与审计提供了方法支持。

原文摘要 · Abstract (English)

This study addresses the problem of dynamic anomaly detection in accounting transactions and proposes a real-time detection method based on a Transformer to tackle the challenges of hidden abnormal behaviors and high timeliness requirements in complex trading environments. The approach first models accounting transaction data by representing multi-dimensional records as time-series matrices and uses embedding layers and positional encoding to achieve low-dimensional mapping of inputs. A sequence modeling structure with multi-head self-attention is then constructed to capture global dependencies and aggregate features from multiple perspectives, thereby enhancing the ability to detect abnormal patterns. The network further integrates feed-forward layers and regularization strategies to achieve deep feature representation and accurate anomaly probability estimation. To validate the effectiveness of the method, extensive experiments were conducted on a public dataset, including comparative analysis, hyperparameter sensitivity tests, environmental sensitivity tests, and data sensitivity tests. Results show that the proposed method outperforms baseline models in AUC, F1-Score, Precision, and Recall, and maintains stable performance under different environmental conditions and data perturbations. These findings confirm the applicability and advantages of the Transformer-based framework for dynamic anomaly detection in accounting transactions and provide methodological support for intelligent financial risk control and auditing.

异常检测Transformer金融风控时序建模

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。