MCP
arXivarXiv
Preprint
Published: August 16, 2026
cs.LG

Temporal Graph Prototype-conditioned Conformal Prediction for Fraud Detection

Abstract
Conformal prediction (CP) provides distribution-free coverage guarantees and has emerged as a principled tool for uncertainty quantification. In edge-level fraud detection on temporal interaction graphs, where false positives and false negatives both carry substantial cost, such coverage guarantees are particularly appealing for risk-aware decision making. However, directly applying existing graph conformal predictors yields inefficient prediction sets due to two recurring properties of fraud data. Fraudulent interactions are often embedded in benign-dominated neighborhoods that dilute calibration signals, while extreme class imbalance leaves scarce labeled-fraud support in the calibration split and leads to overly conservative class-conditional thresholds. To address these issues, we propose ProtoCP, a conformal prediction framework for edge-level fraud detection on temporal graphs. ProtoCP improves calibration efficiency by focusing calibration on fraud-relevant subgraph context and producing more stable nonconformity scores under class imbalance and temporal drift. Specifically, it leverages learned prototypes to suppress benign-dominated noise in the calibration context and introduces a neighborhood-relative scoring mechanism with temporal score diffusion for stable class-conditional calibration. Experiments on four fraud benchmarks (YelpChi, S-FFSD, FTFD, and BankSim) show that ProtoCP achieves the target coverage with consistently smaller prediction sets than state-of-the-art baselines. Our codes are available at https://github.com/Picard1701ent/ProtoCP.git
0
AI overview
Reviews
Citation graph
References · 50
Structured
This preview uses generator v1; v2 is available

Overview

Targeting edge-level fraud detection on temporal transaction graphs, this paper proposes the prototype-conditional conformal prediction framework ProtoCP, which performs calibration on prototype-constrained subgraphs to suppress benign-neighborhood noise, achieving efficient uncertainty estimation with distribution-free coverage guarantees.

Background and Core Challenges of Conformal Prediction in Temporal Graph Fraud Detection

Conformal prediction (CP) provides distribution-free coverage guarantees and has become a principled class of tools in uncertainty quantification. In edge-level fraud detection on temporal interaction graphs, where both false positives and false negatives incur extremely high deployment costs, such coverage guarantees are especially valuable for supporting risk-aware decision-making.

When existing general-purpose graph conformal prediction methods are directly transferred to this scenario, two inherent properties of fraud data cause them to produce inefficient prediction sets that fail practical needs. The two scenario-specific problems are: first, fraudulent interactions are often hidden in neighborhoods dominated by benign samples, which dilutes the calibration signal and distorts neighborhood-based calibration, further increasing overall prediction uncertainty; second, extreme class imbalance means labeled fraud samples account for a very small share of the calibration set, and extreme nonconformity scores from overconfident mispredictions disproportionately inflate the calibration quantile for the fraud class — a problem further amplified when distribution shift occurs between calibration and test sets.

Positioning of Existing Graph Conformal Prediction Methods and the Scenario Adaptation Gap

Existing graph-structured conformal prediction work must first address the challenge that graph-structured data poses to the core conformal assumption of exchangeability: because nodes and edges are coupled through topology, graph data inherently violates the exchangeability assumption of i.i.d. samples. Two mainstream existing approaches restore coverage guarantees in different settings: one verifies exchangeability in the transductive setting via permutation-equivariant graph neural networks; the other, in the inductive setting, recomputes nonconformity scores as each new sample arrives, thereby inductively guaranteeing prediction coverage.

To further shrink prediction sets and improve set efficiency, a series of follow-up optimization methods for static graphs have been derived, including SNAPS, which pools nonconformity scores among structurally similar nodes; DAPS, which diffuses scores across the full graph; the Clarkson method, which uses path-length-weighted neighborhoods as calibration context; and RR-GNN, which combines graph-structured class-conditional conformal prediction with residual-adaptive scores.

The base assumptions of all the above general graph conformal methods do not account for the distribution-shift characteristics of temporal graphs. When such methods are directly transferred to temporal graph fraud detection, the already hard-to-satisfy exchangeability constraint is further broken by temporal drift.

Core Design of the Prototype-Conditional Conformal Prediction Framework ProtoCP

For the fraud detection task on temporal transaction graphs, the paper proposes the tailored conformal prediction framework ProtoCP, whose core design is to carry out the calibration process on prototype-conditional subgraphs, using learned prototypes to retain fraud-relevant neighboring nodes and suppress noise from benign samples. The framework consists of three core components: prototype-based fraudulent subgraph extraction, prototype-conditional relative nonconformity scoring, and temporal graph calibration. The accompanying end-to-end module diagram that follows helps you clearly grasp the complete computational path of the framework, from data input to calibrated output.

Fig. 1: Overall pipeline of the prototype-based temporal graph conformal prediction method

ProtoCP's Operating Mechanism and Performance Optimization Principles

ProtoCP's overall training objective combines three weighted loss terms, where LeffL_{eff} is a smooth surrogate for the expected prediction set size and LprotoL_{proto} is a margin-based prototype loss.

The combined design of prototype-conditional calibration and temporal score diffusion ultimately stabilizes the nonconformity score distribution of the fraud class. Under temporal drift, this property directly yields more stable class-conditional calibration. When running across temporal windows, ProtoCP's fraud-class coverage decays far less than the comparison baselines, and the expansion of prediction set sizes is kept at a lower level, maintaining more compact prediction sets throughout long-duration runs.

Performance Evaluation on Multiple Benchmark Datasets and Robustness Verification Under Temporal Drift

Experiments on four public fraud detection datasets show that ProtoCP consistently achieves target coverage of 0.97 to 0.99 on all datasets, attains the smallest prediction set sizes on the S-FFSD, FTFD, and BankSim datasets, and remains competitive on the YelpChi dataset. Traditional conformal methods, which ignore spatiotemporal dependencies between samples, often fail to achieve the expected coverage; stronger baselines such as CF-GNN and NCPNet can achieve effective coverage on most datasets but produce larger prediction sets.

The prototype-conditional mechanism narrows the coverage deviation term of conformal prediction via two paths: first, by grouping behaviorally similar edges, it yields more homogeneous within-prototype score distributions, compressing the first term of the deviation; second, by learning stable prototypes that capture recurring patterns, it reduces the frequency mismatch in the second term. After prototype conditioning, the temporal score diffusion operation smooths each edge's nonconformity score within its temporal neighborhood, further reducing interference from local spatiotemporal noise and empirically shrinking the absolute value of the coverage deviation term.

To verify that prototype-based nonconformity scores can mitigate the coverage gap under temporal drift, the study divides the test set into four consecutive temporal windows and computes, per class, the KS distance between the standard and prototype-based nonconformity scores in each window and the calibration set. Please refer to the figure immediately following, focusing on the difference in KS-distance growth trends between the two methods as the temporal windows advance.

Fig. 2: Visualization of the KS distance of nonconformity score distributions across temporal windows on the S-FFSD dataset, showing results for the benign class and the fraud class separately.

Core Conclusions and Final Takeaways of the Method

This work focuses on conformal prediction for fraud detection in temporal interaction graphs, and addresses the inherent pain points of the scenario — an over-high proportion of benign neighbors and extreme class imbalance that degrade conformal calibration efficiency — with a tailored conformal prediction solution.

The framework's core design logic is to build fraud-rich calibration subgraphs using learned prototypes, and then combine neighborhood-relative nonconformity scores with a temporal diffusion mechanism to further improve calibration stability.

Experiments on four public fraud detection datasets show that ProtoCP can consistently meet the preset coverage requirements while outputting more compact prediction sets than all compared conformal baselines, with particularly clear advantages in class-level effectiveness on the fraud class.

Links
arXiv
arXiv
↗
PDF
↗
Conference paper
dblp
›
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first