GraphFAS: A Distributed System for Automated Graph Feature Generation and Selection in Industrial Transaction Networks

Yice Luo, Yun Zhu, Xi Chen, Yongchao Liu, Xintan Zeng, Chengying Huan, Kai Zhang, Jinrui Zhang, Juelu Zhang, Jiajun ZhengarXiv 2026 · arXiv

TL;DR

GraphFAS is a distributed system deployed at Alipay that automates graph feature generation and selection for large-scale fraud detection. By decoupling non-parametric graph feature aggregation from downstream model training, it delivers a $10\times$ reduction in feature engineering cycle time while providing human-interpretable, audit-compliant features that outperform state-of-the-art Graph Neural Networks (GNNs).

What Problem Does This Paper Address?

In financial risk control, detecting fraudulent activities within massive transaction networks is a high-stakes game. Traditional industrial solutions rely heavily on manual feature engineering. As shown in Figure 1, this process is slow, labor-intensive, and often takes over a month to complete with no guarantee of finding optimal features.

Figure 1: Traditional feature engineering workflows. The manual process is high-cost, while simulation is computa- tionally expensive.

While Graph Neural Networks (GNNs) offer an automated alternative by learning structural patterns natively, they face three major hurdles in production:

  1. Opaque "Black-Box" Embeddings: Financial regulators demand transparency and auditability. GNN latent vectors lack explicit semantic meaning.
  2. High Computational Latency: End-to-end GNN training and inference introduce significant latency, conflicting with real-time or low-latency production requirements.
  3. Scalability Bottlenecks: Traditional wrapper-based feature selection algorithms (like Boruta) operate in standalone environments and cannot scale to industrial graphs with hundreds of millions of nodes and edges.

GraphFAS bridges this gap by automating the generation of explicit, human-interpretable structural features that integrate seamlessly with standard tabular models (like LightGBM) and explainability frameworks (like TreeSHAP).

Methods

GraphFAS splits the graph representation problem into two decoupled, non-parametric stages: Graph Feature Generation and Distributed Feature Selection.

Figure 4: GraphFAS procedure overview.

1. Graph Feature Generation

Instead of learning parameters via gradient descent, GraphFAS uses algorithmic graph transformations:

  • $K$-hop Subgraph Extraction: It extracts local ego-subgraphs (1-hop, 2-hop, 3-hop) around target seed nodes using parallel neighborhood sampling.
  • Metric Computation: It calculates 12 structural metrics across distance-based, connection-based, and spectral categories (e.g., degree, closeness, spectral radius).
  • Multi-Scale Aggregation: Features are hierarchically aggregated using six parameter-free operators (Max, Min, Mean, Std, Sum, Count) to capture structural density and extreme behaviors.

2. Distributed Feature Selection

To scale feature selection, the authors extended the Boruta algorithm to a distributed architecture using a Manager-Worker paradigm implemented on the GeaLearning framework.

Figure 3: System architecture of GraphFAS.

Each worker process trains its own importance-scoring model (using TreeSHAP) on a partition of the data. To combat the instability caused by skewed class distributions across partitions, GraphFAS introduces median-based aggregation. Instead of averaging importance scores, it takes the median score across all workers, making the system highly resilient to outlier partitions.

Datasets

The system was evaluated on both public benchmarks and massive, real-world industrial datasets from Alipay:

  • Public Benchmarks: Eight standard datasets from PyTorch Geometric (PyG) and SNAP, including citation networks (Cora, CiteSeer, PubMed, DBLP), co-purchasing networks (Computers, Photo), and social/large-scale networks (Flickr, Reddit).
  • Industrial Datasets (Alipay): Three multi-relational transaction networks containing chatting, payment, trade, and financial cooperation edges:
  • Dataset1-1M: 1.4M nodes, 2.8M edges, 25K seeds.
  • Dataset2-5M: 5.6M nodes, 10.9M edges, 70K seeds.
  • Dataset3-97M: 97.2M nodes, 285.4M edges, 3.5M seeds.
  • Note: All industrial datasets suffer from severe class imbalance, with fewer than 0.1% positive (fraudulent) samples.

Key Insights and Ideas

  • Decoupling is Feature, Not a Bug: By separating feature generation from model training, GraphFAS allows engineers to run feature selection once and flexibly update downstream tabular models without expensive graph retraining.
  • The Power of the Median: In highly imbalanced fraud datasets, a few data shards might contain a disproportionate number of fraud cases, skewing the mean feature importance. Using the median across distributed workers ensures robust feature screening.
  • Native Explainability: Because the generated features represent concrete topological statistics (e.g., "ratio of 2-hop fraud neighbors"), they are natively compatible with TreeSHAP. This allows risk analysts to directly audit why a user was flagged as fraudulent.

Key Results

1. Fraud Detection Performance

On Alipay's production datasets, GraphFAS consistently outperformed GIPA, an industrial-strength GNN baseline:

  • On Dataset1-1M, GraphFAS achieved an absolute AUC improvement of 6.14% (86.26% vs. 80.12%).
  • On the massive Dataset3-97M, GraphFAS reached a near-perfect 99.90% AUC, compared to GIPA's 95.21%.

2. Efficiency and Scalability

  • Ablation & Speed: As shown in the ablation study (Figure 6), the full GraphFAS pipeline provides the best trade-off between accuracy and runtime, eliminating irrelevant features to achieve over a 10$\times$ speedup compared to running without feature selection.
Figure 6: Ablation study across different datasets. Left y-axis: accuracy; right y-axis: log2(training time).
  • Distributed Scaling: When scaling from 16 to 64 containers on Dataset3-97M, execution time dropped from 3866 seconds to 1075 seconds, yielding a 3.6$\times$ overall speedup.
  • Feature Optimization: Sensitivity analysis (Figure 5) revealed that model accuracy stabilizes across multiple datasets when selecting around 500 features, preventing overfitting from noisy, high-dimensional feature spaces.
Figure 5: Sensitivity analysis on the number of features

Limitations and Future Work

While GraphFAS offers massive practical advantages for industrial deployment, the authors note a fundamental trade-off: decoupling feature generation from model training inherently sacrifices some representational capacity compared to end-to-end learned embeddings.

Additionally, while the paper notes that emerging graph foundation models struggle to generalize across diverse financial networks without complex retraining, the authors leave direct benchmarking against these foundation model-based approaches as an open direction for future work.

Summary updated

Abstract

Industrial fraud detection often relies on costly expert-crafted features that overlook graph-structured relational signals, while GNNs often do not meet the interpretability and deployment requirements of financial risk control. We propose GraphFAS (Graph Feature Automated Selection), a distributed feature selection procedure based on Boruta that bridges this gap through: (1) a non-parametric graph feature generation module that constructs explicit, interpretable structural features via multi-hop subgraph extraction and multi-scale aggregation without learned parameters; and (2) an automated distributed feature selection algorithm extending Boruta with median-based aggregation across partitions to robustly identify informative features at scale with minimal domain expertise. Compared with end-to-end GNN pipelines, GraphFAS decouples feature aggregation from model training, enabling direct integration with tabular models and direct compatibility with TreeSHAPbased explanations. Deployed in Alipay, GraphFAS delivers orderof-magnitude improvements in engineering efficiency while showing strong performance against expert-driven and graph-learning baselines on large-scale graphs.
BibTeX
@misc{luo2026graphfas,
  author = {Yice Luo and Yun Zhu and Xi Chen and Yongchao Liu and Xintan Zeng and Chengying Huan and Kai Zhang and Jinrui Zhang and Juelu Zhang and Jiajun Zheng},
  title = {{GraphFAS: A Distributed System for Automated Graph Feature Generation and Selection in Industrial Transaction Networks}},
  year = {2026},
  eprint = {2609.08970},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.08970},
}
Figure