Artificial Intelligence 16 min read

Graph Computing for Risk Control in WeChat Pay: Platforms, Algorithms, and Practices

This talk presents how WeChat Pay leverages graph computing, including graph databases, engines, and algorithms such as GNN and PageRank, to combat fraud and money‑laundering by shifting from individual feature engineering to network‑level analysis, highlighting platform choices, practical experiences, and technology‑for‑good outcomes.

DataFunTalk
DataFunTalk
DataFunTalk
Graph Computing for Risk Control in WeChat Pay: Platforms, Algorithms, and Practices

WeChat Pay, as a national‑scale payment tool, generates massive transaction data that attracts sophisticated fraud schemes. Traditional feature‑based risk control struggles with the sheer volume and cost of features, prompting a shift to a network‑centric perspective that treats users and fraudsters as interconnected graphs.

The new risk view emphasizes moving from individual feature engineering to global network engineering, recognizing that fraud often operates as organized groups rather than isolated actors. This insight drives the adoption of graph algorithms and graph databases for more effective detection.

We built a three‑horse‑carriage graph computing platform: a graph computation engine, a graph storage engine (graph database), and business‑specific algorithm design. Open‑source platforms such as Angel (a general big‑data platform) and Plato (Tencent’s internal graph engine) were co‑developed and deployed.

Speed is the primary criterion when selecting a graph platform; experiments showed that slower platforms dramatically increase model training time, hindering iterative improvement. High‑performance graph databases like EasyGraph (based on S2Graph) and TigerGraph enable sub‑second queries compared to minutes with traditional SQL.

Algorithmic innovations include gang identification, graph neural networks (GNN), propagation coloring (e.g., Personalized PageRank), and time‑series anomaly detection using HP filters and Ego‑TLSTM. Sample augmentation via look‑alike networks and connected‑component analysis further improve detection of low‑sample fraud patterns.

Practical applications span fraud detection, money‑laundering prevention, and device‑user network analysis. Converting heterogeneous graphs to homogeneous ones allows semi‑supervised GNN training, achieving AUC improvements when combined with traditional feature models.

The initiative exemplifies "technology for good": the team contributes to anti‑fraud, anti‑gambling, and anti‑money‑laundering efforts, receiving gratitude from affected users and reinforcing the mission to use advanced graph analytics for a fairer, safer digital ecosystem.

Big Datafraud detectiongraph databaseGNNrisk controlgraph computingWeChat Pay
DataFunTalk
Written by

DataFunTalk

Dedicated to sharing and discussing big data and AI technology applications, aiming to empower a million data scientists. Regularly hosts live tech talks and curates articles on big data, recommendation/search algorithms, advertising algorithms, NLP, intelligent risk control, autonomous driving, and machine learning/deep learning.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.