Abstract
Financial risk detection, such as identifying money laundering and credit card fraud, relies heavily on analyzing directed transaction networks. Standard Graph Attention Networks (GATs) often exhibit a significant "directional bias," prioritizing incoming edges and neglecting critical outgoing information. We present DEDGAT (Dual Embedding of Directed Graph Attention Networks), a novel architecture that utilizes dual node embeddings to represent "sender" and "receiver" roles independently. DEDGAT achieves state-of-the-art results on large-scale financial datasets and demonstrates industrial scalability on graphs with billions of nodes.
Introduction
In financial risk control, relationships between accounts are modeled as graphs where nodes represent accounts and edges represent transactions. Unlike many social networks, financial transactions are inherently directed; the act of sending money is fundamentally different from receiving it.
Most popular Graph Neural Networks (GNNs), such as GCN or GAT, were originally designed for undirected graphs. When applied to directed financial networks, these models often fail to exploit "out-degree" information. For instance, in money-laundering schemes, an account dispersing funds to numerous others (high out-degree) is as suspicious as one receiving funds from many sources (high in-degree). This paper addresses the "directional bias" in standard GATs, where models effectively become blind to half of the structural information by over-weighting in-degree edges.
Methodology
To address the limitations of standard GATs, the researchers propose two iterations of directed graph attention:
- DGAT (Directed Graph Attention Network): Explicitly calculates two separate sets of attention weights for in-neighbors (incoming edges) and out-neighbors (outgoing edges).
- DEDGAT (Dual Embedding DGAT): The core contribution. DEDGAT posits that a single feature vector cannot capture the dual nature of a node. Instead, each node $i$ is represented by two separate embeddings:
- $t_i$ (Target/In-degree): Captures characteristics as a receiver.
- $s_i$ (Source/Out-degree): Captures characteristics as a sender.
These dual embeddings are processed through separate attention branches and then aggregated, ensuring that a node's identity as a sender is not obscured by its identity as a receiver during the learning process.
Experimental Results
Performance Metrics
DEDGAT was evaluated on three large-scale directed graph datasets: Elliptic (Bitcoin transactions), Ant (Ant Group transfer records), and DGraphFin (financial social network). The model consistently outperformed baselines across all metrics.
Node Classification Performance (AUC): | Model | Elliptic | Ant | DGraphFin | | :--- | :--- | :--- | :--- | | GAT | 95.06% | 97.43% | 76.24% | | MagNet | 92.84% | 91.95% | 79.71% | | DEDGAT | 96.18% | 98.16% | 81.37% |
Restoring Directional Balance
In standard GAT, the importance assigned to in-degree edges is approximately 1.73 times higher than out-degree edges. DEDGAT restores this balance to nearly a 1:1 ratio, creating a more holistic representation of the graph structure.
Industrial Scalability
Implemented using the AGL (Ant Graph Learning) distributed system, DEDGAT demonstrates significant industrial viability. A 2-layer DEDGAT model was trained on a graph containing billions of nodes and hundreds of billions of edges in just 14 hours, proving its readiness for real-world banking and fintech environments.
Conclusion
DEDGAT effectively mitigates directional bias in graph attention by decoupling the sender and receiver roles of nodes via dual embeddings. This approach provides a significant performance boost in financial fraud detection. Future research will explore more sophisticated fusion methods for dual embeddings and the integration of temporal dynamics to capture the time-sensitive nature of financial risk.
Summary updated