Manuscript Offprint
arXiv:2610.16694Feature-Context Consistency: Unsupervised Adversarial Detection with Drift Stability on Attributed Graphs
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Adversarial detection on evolving attributed graphs faces two challenges: fraud labels arrive late or not at all, and natural distributional drift erodes any trained decision boundary. Modern detectors can reach strong detection rates when labels are available and the distribution is stationary; sustaining that quality without labels and under drift is the open problem. We identify feature-context consistency — the alignment between a node's attributes and its aggregated neighborhood attributes — as a single structural signal that addresses both. We formalize it as the Context Boost (CB) score within a Restricted Boltzmann Machine framework (CB-RBM) and prove two complementary worst-case guarantees: a strict separation between the expected CB of legitimate and adversarial nodes, with gap growing linearly in model capacity, whenever the adversary's context stays far enough from legitimate neighborhood context; and a Wasserstein-Lipschitz bound on how far the CB distribution moves under natural drift. We validate on XBlock Ethereum phishing (~153K nodes) and Reddit banned-user detection (~11K nodes), with two further datasets in the appendix spanning diverse domains. With zero labels, CB-RBM achieves AUROC ≥ 0.96 on four adversarial attacks and keeps FPR close to its calibrated 5% target under drift — outperforming supervised GNNs (hundreds of labels), unsupervised graph-anomaly baselines, and a standard RBM whose FPR collapses to 89–100%. What typically requires separate mechanisms — label-free operation and drift stability — here follows from a single structural regularity of the data. Code: https://github.com/serval-uni-lu/CB-RBM.
1 Introduction
Within networked systems, adversarial actors (e.g., scammers in cryptocurrency transaction graphs, banned users on social platforms, fake reviewers in e-commerce networks) operate at scale to bypass systems' security and business protection measures. The stakes are substantial: cryptocurrency fraud alone reached $9.3 billion in 2024 [1, 2], with comparable damage from coordinated review rings, account abuse, and platform manipulation [3]. These systems are naturally represented as attributed graphs, where nodes carry features and edges encode relationships, and detection requires exploiting both channels together. Adversarial manipulation then consists of introducing new nodes and edges in the graph following a specific (adversarial) feature distribution.
Yet deploying detectors on these graphs faces two compounding constraints. First, label scarcity: adversarial entities typically operate for days or weeks before being flagged—if they are ever reported at all—leaving no reliable supervisory signal during the critical early window when the most damage is done [4]. Second, distributional drift [5, 6]: user behavior, network topology, and feature distributions evolve continuously through organic growth and churn [7], inducing natural
Preprint.
concept drift [8]. A detector trained on a snapshot implicitly encodes the feature distribution of that moment; as legitimate entities migrate to new regions of feature space, the learned decision boundary becomes stale—legitimate activity that was once well within the normal range now falls outside it, triggering escalating false alarms [9]. The standard remedy is periodic retraining, but this loops back to the first problem. Retraining requires fresh labels, which arrive late and incomplete. In particular, supervised fraud GNNs [10–12] depend on exactly these labels, and unsupervised graph detectors such as DOMINANT [13] and CoLA [14] carry no guarantee against drift-induced false alarms. Without a mechanism that is inherently stable under drift, practitioners are trapped in a cycle where the model is either stale or starved of supervision.
We identify feature-context consistency—the alignment between an entity’s own attributes and the aggregated attributes of its neighbors—as a single structural signal that simultaneously addresses both problems. A legitimate entity develops feature patterns that are statistically coherent with those of its neighbors, because repeated interaction shapes both parties. An adversarial entity, by contrast, is injected without this history: its features may mimic legitimate patterns, but its neighborhood context is absent, random, or structurally inconsistent—and the adversary cannot unilaterally control the features of its neighbors. This enables label-free detection. The same signal is also robust to drift, because natural drift moves node features and their mean-pooled context in tandem and preserves their alignment, which gives drift stability without retraining. Both properties follow from the same structural fact: in attributed graphs with meaningful relationships, feature-context correlation is nonzero for legitimate entities and broken for early-stage adversarial injections.
Operationalizing this insight requires a label-free model whose score function is analytically decomposable into feature and feature-context contributions, so the loss of coherent context for adversarial nodes is expressible in closed form. Energy-based models satisfy the label-free requirement, learning an unnormalized density from legitimate data alone [15]. Among these, the Restricted Boltzmann Machine [16], a well-studied neural-network EBM, additionally provides a closed-form free energy whose per-hidden-unit decomposition supports the separation and drift bounds in §5 — unlike GNNs or alternative EBMs (score-based, energy-GAN). RBMs carry a track record in unsupervised fraud and anomaly detection [17–19], yet remain unexplored for attributed-graph adversarial detection. A standard RBM, however, models features in isolation — capturing what an entity looks like, not whether that appearance is consistent with its surroundings [20]. We extend the Gaussian-Bernoulli RBM with a gated context pathway that conditions the energy on aggregated neighborhood features, yielding the Context-Boosted RBM (CB-RBM). The Context Boost (CB) score — the reduction in free energy from conditioning on neighborhood context — directly measures feature-context consistency and underlies both our detection mechanism and drift guarantees.
Our main contributions are as follows.
• Method (§4). We propose CB-RBM, an RBM with a GLU-gated context pathway conditioning the free energy on aggregated neighborhood features, and the Context Boost (CB) score—the free-energy reduction from context—as a label-free detection signal.
• Theoretical framework ( ). Under five empirically verifiable assumptions, we prove a strict separation between the expected CB of legitimate and adversarial nodes (Theorem 1) and a Wasserstein-Lipschitz bound on how far the CB distribution moves under drift (Theorem 2, Corollary 2)—coupling label-free detection and drift stability through a single feature-context correlation structure.
• Detection boundary analysis ( , ). The analysis reveals that CB detects absence of legitimate network context rather than feature deviation, characterizing the detection signal and delineating its scope.
• Empirical validation ( ). On XBlock Ethereum phishing [21] and Reddit banned users [22], CB-RBM (0 labels) achieves AUROC 0.96 on all non-white-box attacks and keeps FPR close to its calibrated 5% target under 20-step drift, ahead of supervised GNNs trained on hundreds of labels, unsupervised graph-anomaly baselines and a standard RBM whose FPR rises to 89–100%.
DAE [24] score attribute and structure reconstruction errors, GAD-NR [25] reconstructs each node's neighborhood, CoLA [14] contrasts each node with its local subgraph, CONAD [26] adds contrastive learning over augmented anomalies, and OCGNN [27] fits a one-class boundary around normal embeddings. CB-RBM uses no reconstruction target or contrastive loss. Context enters the energy of a trained model through a gated pathway, and the score is the free-energy reduction that context produces, in closed form and decomposable over hidden units (Definition 1).
Distribution shift and dynamic graphs. Concept-drift methods detect a shift and then adapt or retrain [8, 28], and change detection extends to graph streams [9]. GDN [29] uses labels to counter structural distribution shift between training and test nodes, and WhENDS [30] whitens normal edge embeddings over time to track normality shift in dynamic graphs. Dynamic-graph detectors such as StrGNN [31] and TADDY [32] model temporal evolution to score anomalous edges [33]. These approaches address shift through adaptation, robustness objectives, embedding alignment or explicit temporal modeling. In our main drift evaluation, CB-RBM keeps its trained parameters and threshold frozen, and Theorem 2 bounds how far its scores move under smooth drift.
Generalist detectors. ARC [34], UNPrompt [35] and AnomalyGFM [36] train one detector on some graphs and apply it to unseen graphs with few or no target labels. UNPrompt predicts latent node attributes from neighborhoods and AnomalyGFM uses node-neighbor representation residuals. Their shift is across graphs, whereas ours is temporal drift within one deployed graph.
Positioning. Our contribution relative to these families is the Context Boost differential and the analysis it admits, a conditional separation of expected scores (Theorem 1) and a Wasserstein bound on how far the scores move under drift (Theorem 2). Section 6.4 and Appendix D compare representatives of the node-level families under our protocol.
3 Problem Setup
Graph. Let be an attributed directed graph with node features for each . Each node represents an entity (e.g., wallet, user, reviewer) and each directed edge an interaction. Our detector uses no adversarial labels. It is trained one-class on a pool of nodes assumed legitimate, in practice accounts with no abuse report after an aging window, and its threshold is set on a held-out slice of the same pool.
Neighborhood context. The context of node i aggregates the features of its neighbors :
where is a per-dimension sign vector that corrects for anti-homophilic dimensions, ensuring that the signed context is positively correlated with node features for legitimate nodes. The construction of s is detailed in §4. The mean-pool aggregator is ablated in Appendix G.
Threat model. An adversary aiming to evade detection injects a new node i that it controls (features and edges), but not the existing nodes around it; the chosen feature distribution and neighborhood structure depend on the attack strategy. We distinguish four attack strategies of increasing sophistication:
-
Isolated Injection — adversarial features with context , here , drawn independently of , so the node has no legitimate neighborhood context.
-
Feature Camouflage — legitimate features with as above, so the node still lacks genuine context.
-
Sybil attack — , and the adversary links to a fully connected clique of 50 decoys with near-legitimate features (legitimate , ), so its fabricated context is the mean-pool (1) over , where is the neighborhood before the attack.
-
Relation Camouflage — , and an adaptive adversary links to the 10 highest-degree legitimate nodes , so its partially genuine context is the mean-pool (1) over .
These four patterns span the canonical injected-adversary threats established in graph fraud detection and adversarial graph learning [37, 38]; attack families requiring training-time graph or label manipulation (e.g., topology poisoning [39], backdoor attacks) lie outside this scope. We separately evaluate robustness to adversarial contamination of the training pool assumed legitimate in §6.5. White-box PGD [40], which needs gradient access to the detector, is a stress test in Appendix H.
4 CB-RBM
We extend the Gaussian-Bernoulli RBM [41], a Gaussian-visible, Bernoulli-hidden variant suited to real-valued features, with a context pathway that conditions hidden unit activations on neighborhood features. The model's visible inputs are a node's features and neighborhood context (Eq. (1)), with binary hidden units as the latent layer.
Sign vector construction. The sign vector s in Eq. (1) is estimated from training data as , flipping anti-homophilic dimensions so that the signed context is positively correlated with node features across all dimensions. This is fitted once before training from feature statistics alone (no labels) and kept fixed. Because it needs no labels, it can be re-estimated on any new window of unlabeled nodes exactly as it was first fitted, and this refresh restores calibration after sign corruption (Appendix E.2).
Energy function. The joint energy is
where is a Gated Linear Unit [42] context embedding and . When context is absent ( ), the multiplicative factor vanishes and the model recovers a standard RBM. The free energy marginalizing over is
Context Boost score.
Definition 1 (Context Boost). The Context Boost score is
CB measures how much neighborhood context reduces free energy beyond features alone. The quadratic term cancels exactly in the subtraction, so CB depends only on hidden-unit activations, not on feature reconstruction cost. For a legitimate node with consistent context, the context pathway activates strongly and CB is large. For an adversarial node with absent or random context, the context contribution vanishes (algebraically when , suppressed by the GLU gate when noisy) and CB is near zero (Theorem 1; Figure 1).
Training. We train exclusively on legitimate node pairs via Contrastive Divergence CD-1 [16]. No attack labels are used. We set the sparsity penalty ; nonzero sparsity drives mean hidden activations below 0.5 and weakens the context contribution.
Detection. The detection score for node is . The threshold is set at the 95th percentile of over a held-out calibration slice of the pool, setting a nominal 5% calibration target. Nodes with are flagged as adversarial. Figure 4 and Algorithm 1 (Appendix A) summarize the full pipeline.
Complexity. Training costs per epoch on training nodes and inference per node, as for a standard RBM, since the single-hop context is precomputed once and only closed-form free energies are evaluated [43].
5 Theoretical Guarantees
We establish two complementary results for the CB score. The first gives a sufficient condition under which the expected CB of legitimate nodes exceeds that of adversarial nodes. The second shows that CB remains stable under natural concept drift, explaining why a single threshold serves both detection and drift resilience. Both are worst-case certificates rather than predictions of the observed error, which Section 6 measures directly. Full proofs are deferred to Appendix B. Remarks below provide intuition and justification; constants are verified in Table 2.
5.1 Assumptions
Assumption 1 (Signed Structural Correlation). The signed mean-pool context (1) satisfies
Remark 5.1. s corrects anti-homophilic dimensions [44] via , computed once on the training set. Per-dimension covariances are non-negative by construction, so whenever any dimension has nonzero neighbor covariance, which we measure directly (§6). Assumption 2 (Coherent Activation). After training, a fraction of hidden units satisfy
where and .
Remark 5.2. A nontrivial fraction of hidden units jointly activate on matched (x, c) pairs. Under the Gaussian-projection and symmetry assumptions of the arcsine argument in Appendix B, , which predicts on XBlock and 0.36 on Reddit before training. After training, and 0.95, that is, 97 of 256 and 122 of 128 hidden units (Table 2).
Assumption 3 (Bounded Moments). and .
Assumption 4 (Adversarial Context Gap). The adversarial context distribution satisfies, for every hidden unit j,
Remark 5.3. Here bounds positive gated-context activation under adversarial context, and denotes the detection gap. Theorem 1 certifies separation when the adversarial positive-context bound lies sufficiently below the dominance margin of Assumption 5.
Assumption 5 (Coherent Dominance). The expected gain of the coherent units of Assumption 2 on their joint-positive events exceeds the expected negative contribution of all units by a margin independent of , (both normalized by and defined in Appendix B.2).
Remark 5.4. Assumption 1 captures homophily [45]. Assumption 2 formalizes the consequences of training on correlated data. Assumption 3 imposes standard boundedness conditions. Assumption 4 bounds the positive gated-context activation that adversarial context can produce—a realistic constraint, since attackers cannot fabricate authentic interaction history at scale. Assumption 5 involves only the legitimate distribution and the trained model, so it is checked without adversarial data. Before training, the arcsine bound on checks the coherence of Assumption 2 on which the gain rests.
5.2 Separation and Stability
Let denote the expected CB under the legitimate distribution, the expected CB under adversarial features and context, and the feature deviation of an adversarial node from the legitimate support.
Theorem 1 (Separation). Under Assumptions 1–5, . If, in addition, for some independent of , where , then , a strict separation growing linearly in . For any threshold , Chebyshev's inequality gives
Both bounds are finite since (Lemma 2).
Proof sketch. Step 1: Decomposition. Write where .
Step 2: Legitimate lower bound. On the joint-positive event (Assumption 2), Lemma 1 gives . Summing the coherent units' gains and subtracting every unit's expected negative contribution, Assumption 5 gives .
Step 3: Adversarial upper bound. Whatever the features, , so Assumption 4 gives and hence .
Step 4: Tail bounds. Since (Lemma 2), both variances are finite and Chebyshev yields the bounds in (8)–(9). See Appendix B.2 for the full proof.
Corollary 1 (Detection Guarantee). Under the conditions of Theorem 1, setting gives
Remark 5.5. Separation is certified when the adversarial positive-context bound lies below the legitimate dominance margin , and the certified margin shrinks as grows. The Chebyshev bounds are finite but can be vacuous, since exceeds the measured Var[CB] by on XBlock and on Reddit, so detection is measured on the full score distributions (Figure 1, Table 1).
Theorem 2 (Drift Stability). Let undergo natural drift where:
(i) Correlation structure persists: for all .
(ii) Drift is smooth in Wasserstein-1, for all , and every is supported on .
Then for CB-RBM trained on ,
where is the Lipschitz constant of CB on that region (Lemma 3). Corollary 3 gives a worst-case horizon over which the legitimate mean remains above the midpoint threshold .
Proof sketch. CB is L-Lipschitz (Lemma 3); Kantorovich–Rubinstein gives . Telescoping over steps yields (10); full proofs, including Corollary 2 and the drift-horizon corollary, in Appendix B.
Corollary 2 (Quantile Stability). Under condition (ii) of Theorem 2, the quantile functions of the detection score satisfy .
Remark 5.6. Natural drift preserves feature-context correlation and causes CB to change gradually at rate per step. Adversarial injection breaks this correlation and causes immediate CB suppression. This asymmetry is what enables a single threshold to simultaneously detect adversaries and tolerate drift. Corollary 2 controls the score quantiles on average but not the 95th percentile pointwise, which Appendix I.2 measures directly.
General attacks. The separation condition depends on an attack only through the positive-context bound of Assumption 4, since holds for any adversarial features. Feature deviation acts as a bounded perturbation. At fixed context, it changes each unit's contribution by at most (Appendix B.2). The context-interpolation sweep in Appendix J moves the attack context from its revealing to its camouflaging end. Detection falls below 50% once the camouflaging share exceeds on XBlock and 0.58 on Reddit, and the hardest camouflage is whichever context brings closest to .
6 Experiments
6.1 Setup
Datasets. We use two attributed graphs from distinct domains: (1) XBlock (153K Ethereum wallet nodes, 0.7% phishing, 38 features, ) and (2) Reddit (11K social-media users, 3.3% banned,

(a) XBlock

(b) Reddit
Figure 1: CB score distributions, with calibrated threshold (5% FPR).

(a) XBlock

(b) Reddit
Figure 2: Squared separation gap vs. (Thm. 1).
73 features, . Context vectors are a per-dimension sign-corrected mean-pool over graph neighbors (Eq. (1)), preserving regardless of homophily direction. Full dataset details and verified Assumption 1–3 constants in Appendix C; two further datasets — Tolokers (crowdsourcing) and YelpChi (e-commerce review fraud) — evaluated in Appendix K.
Baselines. We benchmark CB-RBM against six baselines from the GADBench [46] suite. GraphSAGE [47], GAT [48] and GCN [49] represent supervised fraud GNNs, foundational variants that GADBench shows match or exceed specialized fraud-GNN refinements, and DOMINANT [13], CoLA [14] and GAE [50] represent unsupervised attributed-graph anomaly detection. A standard RBM without context (Std-RBM) is the ablation. We also compare against nine detectors from the neighborhood-aware and drift-aware classes closest to our setting. These are the supervised XGBGraph [46], BWGNN [23] and Graph Transformer [51], the shift-robust GDN [29], the generalist ARC [34], the reconstruction-based GAD-NR [25] and AnomalyDAE [24], the contrastive CONAD [26] and the one-class OCGNN [27]. Two further ablations, a parameter-free signed-cosine score and a context-conditioned MLP without the RBM and GLU (Context-MLP), isolate our formulation. The nine detectors follow their published configurations, with model selection on a held-out validation split (Appendix D). Supervised GNNs use 932 / 166 labeled adversaries on XBlock / Reddit; all other methods use zero labels.
Metrics. TPR@5%FPR: true positive rate at a 5%-FPR-calibrated threshold on legitimate nodes (no adversarial labels needed). Stability: 1 – FPR , fraction of legitimate nodes correctly classified under drift. Combined Score: TPR@5%FPR × Stability per attack; we also report the mean over the four attacks as “average Combined”.
CB-RBM configuration. for XBlock and for Reddit (capacity ablation in Appendix G), 100 epochs of CD-1, sparsity cost = 0.
Table 1: Attack benchmark. Each cell: AUROC / TPR@5%FPR (%). Best per row in bold.
| Attack | Energy-based | Supervised | Unsupervised | |||||
|---|---|---|---|---|---|---|---|---|
| CB-RBM | Std-RBM | SAGE | GAT | GCN | DOM. | CoLA | GAE | |
| Isolated Inj. | 99.9/100 | 86.8/51.6 | 97.6/90.1 | 91.7/75.2 | 95.4/80.8 | 96.9/78.1 | 56.4/17.2 | 98.1/89.5 |
| Feat. Camo | 99.9/100 | 51.3/11.0 | 92.6/77.8 | 54.6/10.2 | 84.0/29.7 | 96.4/72.5 | 57.3/16.2 | 96.7/78.7 |
| Sybil | 99.8/100 | 86.8/51.6 | 98.8/94.9 | 99.4/100 | 99.6/100 | 98.1/98.8 | 62.5/21.6 | 96.6/77.4 |
| Rel. Camo | 97.6/96.8 | 86.8/51.6 | 98.6/92.4 | 98.2/97.8 | 97.8/87.8 | 97.0/86.9 | 72.1/20.2 | 97.7/88.9 |
| Isolated Inj. | 99.4/97.2 | 60.0/10.7 | 61.9/0.5 | 73.5/38.3 | 82.2/62.8 | 98.0/91.3 | 93.7/83.8 | 99.1/97.3 |
| Feat. Camo | 99.6/98.2 | 52.4/4.3 | 55.1/0.0 | 58.4/18.2 | 57.3/29.5 | 90.6/79.7 | 92.7/79.0 | 90.5/86.5 |
| Sybil | 100/100 | 60.0/10.7 | 68.2/1.8 | 92.9/66.7 | 81.8/33.3 | 99.9/100 | 85.8/43.2 | 97.4/86.8 |
| Rel. Camo | 97.3/88.2 | 60.0/10.7 | 83.2/19.7 | 82.1/5.2 | 83.7/19.2 | 93.2/52.8 | 77.9/18.7 | 89.3/48.5 |
6.2 Separation Gap and Theory Validation
A clear structural divide separates legitimate from adversarial CB score distributions on both datasets (Fig. 1): legitimate and naturally drifted nodes concentrate well above the threshold , while all four attack types cluster predominantly below it — regardless of whether the adversary copies features, fabricates context, or rewires edges. On each dataset, a single threshold calibrated from the legitimate distribution generalizes across all four attacks.
To understand why some attacks come closer to the threshold than others, we measure , the fraction of the RBM's learned legitimate-context activation that each attack achieves () — the effective adversarial correlation through the trained GLU weights, which rises when an adversary connects to legitimate hubs — and plot it against the squared separation gap (Figure 2; the squared form reflects the Chebyshev error bound of Theorem 1). The result traces a smooth, monotonically decreasing curve on both datasets, consistent with Theorem 1, whose certified margin shrinks as grows. Sybil's fabricated context is rejected by the learned weights; Relation Camouflage, the only attack that acquires connections to real legitimate hubs, reaches the highest (0.51–0.64) and the steepest gap reduction. Natural Drift preserves the legitimate correlation structure () and sits at near-zero gap — explaining why the same threshold that catches adversaries does not trigger false alarms under drift.
6.3 Attack Benchmark
Table 1 compares per-attack detection. The four attacks span a spectrum of adversarial context quality, from uncorrelated (Isolated Injection, Feature Camouflage) through fabricated (Sybil) to partially genuine (Relation Camouflage). CB-RBM's AUROC tracks this spectrum cleanly on both datasets: it stays above on three attacks and drops to on Relation Camouflage (where the adversary acquires genuine hub connections), consistent with the -dependent separation of Theorem 1. Across all four attacks on both datasets ( scale, vs 0.68), CB-RBM maintains AUROC and TPR@5%FPR at zero labels. Over 3 seeds, the standard deviation of CB-RBM's AUROC is at most 0.1 points on XBlock and 1.2 on Reddit, and that of its TPR at most 0.3 and 4.5 points. Supervised GNNs, despite their full label budget, remain undertrained in this regime (best Reddit supervised result: GAT at TPR on Sybil). Unsupervised baselines avoid labels but their signal does not transfer reliably across datasets (CoLA: TPR).
6.4 Drift Stability
Following standard practice in the concept drift literature [8, 28], we model gradual drift as an incremental random walk in feature space over steps, with neighborhood context recomputed at each step to reflect the evolving features. Figure 3 reports the Combined Score (detection stability, §6.1) as drift accumulates, using each method's mean TPR across the four attacks of Table 1 (FPR is measured on legitimate nodes only, so we average TPR across attacks but use a single FPR curve); additional drift regimes and real temporal validation are in Appendix I.

(a) XBlock

(b) Reddit
Figure 3: Combined Score under gradual drift across 20 time steps.
Figure 3 reveals three patterns. First, reconstruction-based detectors (GAE, DOMINANT), strong on the static benchmark (§6.3), collapse as their learned reconstruction targets become stale — DOMINANT drops to near zero on XBlock, and GAE from 0.75 to 0.07 on Reddit. Second, supervised GNNs split by label availability. On XBlock, where labels provide a strong training signal, GNNs learn robust decision boundaries that generalize under drift, achieving Combined Scores up to 0.84 (GraphSAGE). On Reddit, where labels are scarce, the same architectures remain undertrained (§6.3), and their Combined Score remains below 0.36 throughout — stable only because there is weak TPR to degrade. Third, CB-RBM is the only method that consistently leads on both datasets, maintaining average Combined ≥ 0.87 at T=20 in both the label-rich and label-scarce regimes. Theorem 2 bounds how far the scores move under smooth drift, and Figure 3 measures the resulting detection and false alarms at the frozen threshold. Across five chronological XBlock windows from 2017 through 2018, with the model, sign vector and threshold frozen on the earliest window, CB-RBM keeps the legitimate-wallet FPR at or below 5%, reaching 3.1% by late 2018, and detects 100% of isolated injections built from real held-out phishing features. GAT and GraphSAGE, which score the phishing wallets in the original graph, detect 84–89% and 81% (Appendix I.4).
Table 1 and Figure 3 report eight methods per attack and over the full drift trajectory. We compare the other detectors of §6.1 with the same Combined Score at the last drift step, T=20 (Appendix D). At that step, the strongest baselines are GraphSAGE (0.84) and XGBGraph (0.81, with TPR 0.98 but drift FPR 17.8%) on XBlock and GAD-NR (0.63) on Reddit, against 0.94 and 0.88 for CB-RBM. Over five seeds, the Combined Scores of XGBGraph, Graph Transformer, BWGNN and GDN vary with a standard deviation below 0.05. GAD-NR misses the self-consistent Sybil clique on XBlock (0% TPR). GDN reaches 10.4% drift FPR on XBlock and ARC 47.2% on Reddit. The ablations show that each ingredient fails on its own. The RBM without context collapses under drift, the signed-cosine score reaches only 0.17 and 0.57 Combined, and Context-MLP reaches a static AUROC of at least 0.95 on every Reddit attack yet raises 96% false alarms under drift. The principle supplies detection, and the closed-form differential supplies the calibration that survives drift.
6.5 Discussion
What does CB detect? The CB score fires on absence of legitimate neighborhood context rather than on feature deviation itself. The GLU gate suppresses the context pathway whenever the aggregated neighborhood correlation departs from the pattern learned during training, so a node is flagged for failing to corroborate the model's learned correlation pattern, a stricter test than raw feature-context geometry. Controlled decomposition experiments (Appendix F) confirm this on both datasets: legitimate features paired with random or absent context are flagged as reliably as adversarial features with random context (Combined 0.91), while legitimate features with legitimate context consistently evade detection (Combined 0.11). An XBlock trace gives CB = 1046 for a median legitimate node, 952 after 20 drift steps, and 28 for an injected adversary (Appendix F). The same mechanism also bounds what CB-RBM can catch — an adversary who acquires genuine network connections eventually restores the correlation signal and evades, consistent with the trajectory in Figure 2.
Why the drift bound is conservative. Theorem 2 bounds the worst case: it allows every feature coordinate to move adversarially within the drift budget. Natural drift does not look like this, because features and their aggregated context co-evolve through the mean-pool operator and preserve their legitimate correlation step-by-step; movement along this correlated direction lies in a low-sensitivity region of the softplus differences in Eq. (4). The observed CB shift at T=20 is therefore smaller than the bound evaluated at the measured value of by more than two orders of magnitude — a slack on XBlock and a slack on Reddit (Table 12). At T=20, the empirical 95th percentile of the legitimate scores shifts by 42.7 on XBlock and 3.4 on Reddit, while mean FPR at the frozen threshold reaches 6.1% and 7.1% (Appendix I.2).
False-positive recovery under drift. When adversarial context approaches legitimate context, supervised baselines with adequate labels can detect better. YelpChi, where the raw correlation gap is negative ( ), tests this regime (Appendix K.2). Even there, CB-RBM's drift stability pays off as a no-cost filter stacked atop those supervised baselines — on YelpChi it eliminates 87.6–93.5% of each baseline's drift-induced false alarms with no extra labels, training, or pipeline changes (Appendix L).
Ablation. The context pathway is what CB-RBM relies on; the surrounding architectural choices are largely fungible. Removing context (reducing the model to a free-energy RBM) collapses Combined Score by two to three orders of magnitude on both datasets, whereas varying hidden capacity within each dataset's stable range or swapping the pooling operator (mean, max, or attention) leaves detection near its ceiling (Combined 0.87 at the per-dataset optima; Appendix G).
Robustness. Contaminating the training and calibration pools with up to 10% fraud flips no sign dimension and keeps FPR at or below 5.0%, although Relation Camouflage TPR on XBlock falls to 39.0% (Appendix E.1). A stale sign vector raises FPR without hurting Isolated Injection detection, and re-estimating it without labels restores the 5% target (Appendix E.2). Drift that delays, weakens or reverses the feature-context link keeps FPR at or below 6.2% on XBlock and 13.2% on Reddit at T=20, and when all eight methods are recalibrated under co-evolving drift, CB-RBM keeps the highest Combined Score (Appendix I.3). With a Sybil clique that grows from 2 to 50 members over 50 steps, CB-RBM flags 100% of the attackers on both datasets from step 10, against 51.3% on XBlock and 9.5% on Reddit for a standard RBM (Appendix I.5).
Limitations. CB-RBM relies on , which can fail in random or adversarially curated topologies. Detection also degrades as collapses, allowing supervised baselines with adequate labels to perform better. The method is most effective against adversaries who lack legitimate neighborhood history; as the analysis shows, an attacker who successfully acquires genuine hub connections (Relation Camouflage) reduces the detection gap and, in the limit, becomes indistinguishable from legitimate users (Appendices J and L). Substantial topology change can impair calibration at the frozen threshold, and a label-free threshold refresh then restores the 5% target (Appendix I.3). Finally, white-box adversaries with gradient access to the detector can lower detection (Appendix H), and our drift analysis assumes smooth drift, so abrupt or adversarial distribution shifts may need mechanisms beyond the algebraic cancellation we exploit.
7 Conclusion
We presented CB-RBM, a label-free detector exploiting feature-context consistency: the same structural signal — nonzero correlation between a node's features and its neighborhood context — simultaneously enables detection (broken for injected adversaries) and keeps calibration under drift (preserved under population-level shifts). On XBlock (153K Ethereum wallets) and Reddit (11K users), CB-RBM achieves AUROC ≥ 0.96 on all non-white-box attacks at zero labels and maintains Combined Score ≥ 0.87 at T=20 under drift, while supervised GNNs underperform even with their full label set, unsupervised baselines collapse under drift, and Std-RBM loses calibration entirely. The analysis reveals a clear detection boundary: CB-RBM detects absence of legitimate network context, not feature deviation — explaining both its strengths and its fundamental limit against adversaries who acquire genuine connections. Two extensions follow naturally: dynamic graphs with streaming edges, where the same Lipschitz structure carries over; and porting the Context Boost principle to other generative architectures (Appendix M).
Acknowledgments and Disclosure of Funding
This work was funded in part by the Luxembourg National Research Fund (FNR), grant reference NCER22/IS/16570468/NCER-FT, through the FutureFinTech National Centre of Excellence in Research and Innovation, co-funded by the Luxembourg Ministry of Finance. For the purpose of open access, and in fulfilment of the obligations arising from the grant agreement, the authors have applied a Creative Commons Attribution 4.0 International (CC BY 4.0) license to any Author Accepted Manuscript version arising from this submission. This work was also supported by the Luxembourg AI Factory (L-AIF, grant agreement ID 1012343366). The authors declare no competing interests.
References
[1] Federal Bureau of Investigation. 2023 internet crime report. Technical report, Internet Crime Complaint Center (IC3), 2023. URL https://www.ic3.gov/annualreport/reports/2023_ic3report.pdf.
[2] Federal Bureau of Investigation. 2024 internet crime report. Technical report, Internet Crime Complaint Center (IC3), 2024. URL https://www.ic3.gov/AnnualReport/Reports/2024_IC3Report.pdf.
[3] Ishai Rosenberg, Asaf Shabtai, Yuval Elovici, and Lior Rokach. Adversarial machine learning attacks and defense methods in the cyber security domain. ACM Computing Surveys (CSUR), 54(5):1–36, 2021.
[4] Jiajing Wu, Qi Yuan, Dan Lin, Wei You, Weili Chen, Chuan Chen, and Zibin Zheng. Who are the phishers? phishing scam detection on ethereum via network embedding. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 52(2):1156–1166, 2020.
[5] Qiao Yuan, Sheng-Uei Guan, Pin Ni, Tianlun Luo, Prudence Wong, Victor Chang, and Ka Lok Man. Continual graph learning: A survey. Pattern Recognition, page 113600, 2026.
[6] Man Wu, Xin Zheng, Qin Zhang, Xiao Shen, Xiong Luo, Xingquan Zhu, and Shirui Pan. Graph learning under distribution shifts: A comprehensive survey on domain adaptation, out-of-distribution, and continual learning. arXiv preprint arXiv:2402.16374, 2024.
[7] Raphael Auer, Bernhard Haslhofer, Stefan Kitzler, Pietro Saggese, and Friedhelm Victor. The technology of decentralized finance (defi). Digital Finance, 6(1):55–95, 2024.
[8] Jie Lu, Anjin Liu, Fan Dong, Feng Gu, Joao Gama, and Guangquan Zhang. Learning under concept drift: A review. IEEE transactions on knowledge and data engineering, 31(12):2346–2363, 2018.
[9] Daniele Zambon, Cesare Alippi, and Lorenzo Livi. Concept drift and anomaly detection in graph streams. IEEE transactions on neural networks and learning systems, 29(11):5592–5605, 2018.
[10] Yingtong Dou, Zhiwei Liu, Li Sun, Yutong Deng, Hao Peng, and Philip S Yu. Enhancing graph neural network-based fraud detectors against camouflaged fraudsters. In Proceedings of the 29th ACM international conference on information & knowledge management, pages 315–324, 2020.
[11] Zhiwei Liu, Yingtong Dou, Philip S Yu, Yutong Deng, and Hao Peng. Alleviating the inconsistency problem of applying graph neural network to fraud detection. In Proceedings of the 43rd international ACM SIGIR conference on research and development in information retrieval, pages 1569–1572, 2020.
[12] Yang Liu, Xiang Ao, Zidi Qin, Jianfeng Chi, Jinghua Feng, Hao Yang, and Qing He. Pick and choose: a gnn-based imbalanced learning approach for fraud detection. In Proceedings of the web conference 2021, pages 3168–3177, 2021.
[13] Kaize Ding, Jundong Li, Rohit Bhanushali, and Huan Liu. Deep anomaly detection on attributed networks. In Proceedings of the 2019 SIAM international conference on data mining, pages 594–602. SIAM, 2019.
[14] Yixin Liu, Zhao Li, Shirui Pan, Chen Gong, Chuan Zhou, and George Karypis. Anomaly detection on attributed networks via contrastive self-supervised learning. IEEE transactions on neural networks and learning systems, 33(6):2378–2392, 2021.
[15] Yilun Du and Igor Mordatch. Implicit generation and modeling with energy based models. Advances in neural information processing systems, 32, 2019.
[16] Geoffrey E Hinton. Training products of experts by minimizing contrastive divergence. Neural computation, 14(8):1771–1800, 2002.
[17] Apapan Pumsirirat. Credit card fraud detection using deep learning based on auto-encoder and restricted boltzmann machine. International Journal of advanced computer science and applications, 2018.
[18] Ugo Fiore, Francesco Palmieri, Aniello Castiglione, and Alfredo De Santis. Network anomaly detection with the restricted boltzmann machine. Neurocomputing, 122:13–23, 2013.
[19] Łukasz Korycki and Bartosz Krawczyk. Adversarial concept drift detection under poisoning attacks for robust data stream mining. Machine learning, 112(10):4013–4048, 2023.
[20] Geoffrey E Hinton. A practical guide to training restricted boltzmann machines. In Neural Networks: Tricks of the Trade: Second Edition, pages 599–619. Springer, 2012.
[21] Liang Chen, Jiaying Peng, Yang Liu, Jintang Li, Fenfang Xie, and Zibin Zheng. Phishing scams detection in ethereum transaction network. ACM Transactions on Internet Technology (TOIT), 21(1):1–16, 2020.
[22] Srijan Kumar, Xikun Zhang, and Jure Leskovec. Predicting dynamic embedding trajectory in temporal interaction networks. In Proceedings of the 25th ACM SIGKDD international conference on knowledge discovery & data mining, pages 1269–1278, 2019.
[23] Jianheng Tang, Jiajin Li, Ziqi Gao, and Jia Li. Rethinking graph neural networks for anomaly detection. In International conference on machine learning, pages 21076–21089. PMLR, 2022.
[24] Haoyi Fan, Fengbin Zhang, and Zuoyong Li. AnomalyDAE: Dual autoencoder for anomaly detection on attributed networks. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5685–5689. IEEE, 2020.
[25] Amit Roy, Juan Shu, Jia Li, Carl Yang, Olivier Elshocht, Jeroen Smeets, and Pan Li. GAD-NR: Graph anomaly detection via neighborhood reconstruction. In Proceedings of the 17th ACM international conference on web search and data mining, pages 576–585, 2024.
[26] Zhiming Xu, Xiao Huang, Yue Zhao, Yushun Dong, and Jundong Li. Contrastive attributed network anomaly detection with data augmentation. In Pacific-Asia conference on knowledge discovery and data mining, pages 444–457. Springer, 2022.
[27] Xuhong Wang, Baihong Jin, Ying Du, Ping Cui, Yingshui Tan, and Yupu Yang. One-class graph neural networks for anomaly detection in attributed networks. Neural computing and applications, 33(18):12073–12085, 2021.
[28] João Gama, Indrè Žliobaitė, Albert Bifet, Mykola Pechenizkiy, and Abdelhamid Bouchachia. A survey on concept drift adaptation. ACM computing surveys (CSUR), 46(4):1–37, 2014.
[29] Yuan Gao, Xiang Wang, Xiangnan He, Zhenguang Liu, Huamin Feng, and Yongdong Zhang. Alleviating structural distribution shift in graph anomaly detection. In Proceedings of the sixteenth ACM international conference on web search and data mining, pages 357–365, 2023.
[30] Xiaoyang Xu, Xiaofeng Lin, Koh Takeuchi, Kyohei Atarashi, and Hisashi Kashima. Robust anomaly detection under normality distribution shift in dynamic graphs. arXiv preprint arXiv:2509.17400, 2025.
[31] Lei Cai, Zhengzhang Chen, Chen Luo, Jiaping Gui, Jingchao Ni, Ding Li, and Haifeng Chen. Structural temporal graph neural networks for anomaly detection in dynamic graphs. In Proceedings of the 30th ACM international conference on Information & Knowledge Management, pages 3747–3756, 2021.
[32] Yixin Liu, Shirui Pan, Yu Guang Wang, Fei Xiong, Liang Wang, Qingfeng Chen, and Vincent CS Lee. Anomaly detection in dynamic graphs via transformer. IEEE Transactions on Knowledge and Data Engineering, 35(12):12081–12094, 2021.
[33] Ocheme Anthony Ekle and William Eberle. Anomaly detection in dynamic graphs: A comprehensive survey. ACM Transactions on Knowledge Discovery from Data, 18(8):1–44, 2024.
[34] Yixin Liu, Shiyuan Li, Yu Zheng, Qingfeng Chen, Chengqi Zhang, and Shirui Pan. ARC: A generalist graph anomaly detector with in-context learning. Advances in Neural Information Processing Systems, 37:50772–50804, 2024.
[35] Chaoxi Niu, Hezhe Qiao, Changlu Chen, Ling Chen, and Guansong Pang. Zero-shot generalist graph anomaly detection with unified neighborhood prompts. arXiv preprint arXiv:2410.14886, 2024.
[36] Hezhe Qiao, Chaoxi Niu, Ling Chen, and Guansong Pang. AnomalyGFM: Graph foundation model for zero/few-shot anomaly detection. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 2, pages 2326–2337, 2025.
[37] Leman Akoglu, Hanghang Tong, and Danai Koutra. Graph based anomaly detection and description: a survey. Data mining and knowledge discovery, 29(3):626–688, 2015.
[38] Lichao Sun, Yingtong Dou, Carl Yang, Kai Zhang, Ji Wang, Philip S Yu, Lifang He, and Bo Li. Adversarial attack and defense on graph data: A survey. IEEE Transactions on Knowledge and Data Engineering, 35(8):7693–7711, 2022.
[39] Daniel Zügner, Amir Akbarnejad, and Stephan Günnemann. Adversarial attacks on neural networks for graph data. In Proceedings of the 24th ACM SIGKDD international conference on knowledge discovery & data mining, pages 2847–2856, 2018.
[40] Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. arXiv preprint arXiv:1706.06083, 2017.
[41] Max Welling, Michal Rosen-Zvi, and Geoffrey E Hinton. Exponential family harmoniums with an application to information retrieval. Advances in neural information processing systems, 17, 2004.
[42] Yann N Dauphin, Angela Fan, Michael Auli, and David Grangier. Language modeling with gated convolutional networks. In International conference on machine learning, pages 933–941. PMLR, 2017.
[43] Shuangfei Zhai, Yu Cheng, Weining Lu, and Zhongfei Zhang. Deep structured energy based models for anomaly detection. In International conference on machine learning, pages 1100–1109. PMLR, 2016.
[44] Jiong Zhu, Yujun Yan, Lingxiao Zhao, Mark Heimann, Leman Akoglu, and Danai Koutra. Beyond homophily in graph neural networks: Current limitations and effective designs. Advances in neural information processing systems, 33:7793–7804, 2020.
[45] Kazi Zainab Khanam, Gautam Srivastava, and Vijay Mago. The homophily principle in social network analysis: A survey. Multimedia Tools and Applications, 82(6):8811–8854, 2023.
[46] Jianheng Tang, Fengrui Hua, Ziqi Gao, Peilin Zhao, and Jia Li. GADBench: Revisiting and benchmarking supervised graph anomaly detection. Advances in Neural Information Processing Systems, 36:29628–29653, 2023.
[47] Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. Advances in neural information processing systems, 30, 2017.
[48] Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua Bengio. Graph attention networks. arXiv preprint arXiv:1710.10903, 2017.
[49] Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016.
[50] Thomas N Kipf and Max Welling. Variational graph auto-encoders. arXiv preprint arXiv:1611.07308, 2016.
[51] Yunsheng Shi, Zhengjie Huang, Shikun Feng, Hui Zhong, Wenjin Wang, and Yu Sun. Masked label prediction: Unified message passing model for semi-supervised classification. arXiv preprint arXiv:2009.03509, 2020.
[52] Michel X Goemans and David P Williamson. Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming. Journal of the ACM (JACM), 42(6):1115–1145, 1995.
[53] Kay Liu, Yingtong Dou, Xueying Ding, Xiyang Hu, Ruitong Zhang, Hao Peng, Lichao Sun, and Philip S Yu. PyGOD: A python library for graph outlier detection. Journal of Machine Learning Research, 25(141):1–9, 2024.
[54] Bryan Hooi, Hyun Ah Song, Alex Beutel, Neil Shah, Kijung Shin, and Christos Faloutsos. FRAUDAR: Bounding graph fraud in the face of camouflage. In Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, pages 895–904, 2016.
[55] Oleg Platonov, Denis Kuznedelev, Michael Diskin, Artem Babenko, and Liudmila Prokhorenkova. A critical look at the evaluation of GNNs under heterophily: Are we really making progress? arXiv preprint arXiv:2302.11640, 2023.
[56] Shebuti Rayana and Leman Akoglu. Collective opinion spam detection: Bridging review networks and metadata. In Proceedings of the 21th acm sigkdd international conference on knowledge discovery and data mining, pages 985–994, 2015.
[57] Jens Behrmann, Will Grathwohl, Ricky TQ Chen, David Duvenaud, and Jörn-Henrik Jacobsen. Invertible residual networks. In International conference on machine learning, pages 573–582. PMLR, 2019.
A Pipeline and Algorithm
Figure 4 summarizes CB-RBM from its inputs to the detection decision, and Algorithm 1 gives the full procedure, including the label-free refresh.

Training: CD-1 on the pool assumed legitimate, no anomaly labels.
Calibration: is the 95th percentile of -CB on a held-out legitimate slice.
Label-free refresh: re-estimate s, recompute the contexts and re-estimate on the current unlabeled window, with the model frozen.
Figure 4: CB-RBM pipeline. The sign-corrected neighbor mean enters only through the GLU-gated pathway, and the Context Boost is the free-energy reduction due to context, in which the quadratic feature term cancels. The sign vector s and the threshold are label-free statistics that can be refreshed on a current unlabeled window without retraining (dashed arrows, Algorithm 1).
Algorithm 1 CB-RBM: training, calibration, scoring, and label-free refresh
Input: graph , pool assumed legitimate (no anomaly labels), calibration slice , capacity , target FPR 5%.
1: Sign vector. for (features only)
2: Context. for all Eq. (1)
3: Training. Fit by CD-1 on with
4: Calibration. th percentile of Eq. (4)
5: Scoring. At time , recompute from the current neighbors of node and flag if , with frozen
6: Label-free refresh (optional, e.g., on a schedule or after substantial topology change). Re-estimate as in line 1, recompute the contexts as in line 2 and re-estimate as in line 4 on the current unlabeled window, keeping frozen. No labels and no retraining.
B Full Proofs
We restate all results and provide complete proofs. Recall the CB score
where softplus(x) = log(1 + e^x), , and .
B.1 Supporting Lemmas
Lemma 1 (Softplus monotone increment). For all ,
Proof. Write
where is the sigmoid. For , , and for , , so
Therefore softplus(a + b) - softplus(a) ≥ log = softplus(b) - log 2.
Lemma 2 (Range of ). For each hidden unit and all , . Hence, under Assumption 3, with , and .
Proof. Since softplus is monotonically increasing with softplus' = , the mean-value theorem gives
Squaring and taking expectations under Assumption 3 gives , and Minkowski's inequality gives , so . The sign of equals the sign of (by monotonicity of softplus), so both positive and negative values occur.
Lemma 3 (Lipschitz continuity of CB). For any and with ,
where and . In particular, CB is L-Lipschitz with on .
Proof. For any , . Since each sigmoid value lies in , the difference in brackets lies in , so . By the triangle inequality, .
For the context channel, the GLU gate gives , so
Since , , and for , . Multiplying by (from softplus' = ) and summing: . Combining via the mean-value theorem on each channel yields the result.
B.2 Proof of Theorem 1 (Separation)
Proof. The proof proceeds in four steps: decomposition, legitimate lower bound, adversarial upper bound, and tail bounds.
Step 1: Decomposition. Write as in (11). We will analyze the per-unit contributions separately for the coherent units and their complement.
Step 2: Lower bound for legitimate nodes ( ). Let denote the set of coherent hidden units (those satisfying Assumption 2), , and for each let be its joint-positive event. On , Lemma 1 (with , ) gives
Write with , and define the conditional gains for , the normalized expected gain and the normalized expected negative contribution . By (12), for , and for every unit, so
Assumption 5 gives with independent of , hence
Step 3: Upper bound for adversarial nodes. For every unit and every input, . If , monotonicity of softplus gives . If , the mean-value theorem with softplus' = gives . The bound holds whatever the features, so Assumption 4 gives
With (14) and the condition of Theorem 1,
The certified margin decreases linearly as grows.
Degenerate context paths. A unit with has , hence , and contributes nothing to , or (15). Units with small contribute proportionally little to the adversarial bound.
Feature channel. Feature deviation enters only as a bounded perturbation. At fixed context, the gradient bound from the proof of Lemma 3 gives , so replacing legitimate features by adversarial features at distance moves each unit by at most and the score by at most . The bound (15) does not rely on this channel.
Step 4: Tail bounds. Steps 2–3 establish . For , Chebyshev's inequality gives
By Lemma 2, . Setting :
The adversarial tail follows identically: . Since (Steps 2–3) and the variances are bounded above by , the bounds are finite for any but need not fall below one. They certify finiteness and do not predict the observed error rates.
Remark B.1 (Rate under uncorrelated units). If the per-unit contributions are pairwise uncorrelated under (which holds approximately when the weight vectors span diverse directions), then with , and the right-hand side of (17) becomes . This refinement requires assumptions beyond Assumptions 1–5, and no bound in this paper relies on it.
B.3 Proof of Corollary 1 (Detection Guarantee)
Proof. Set , so . Applying (16):
Both variances are finite by Lemma 2, and by Theorem 1, so both bounds are finite. ☐
B.4 Proof of Theorem 2 (Drift Stability)
Proof. Step 1: Per-step Wasserstein–Lipschitz bound. By Lemma 3, CB is L-Lipschitz with on the region that carries every (condition (ii)). Kantorovich–Rubinstein duality gives
where the first inequality is the dual characterization of for L-Lipschitz observables and the second is condition (ii).
Step 2: Telescoping. By the triangle inequality,
which establishes (10).
Step 3: Drift horizon for the legitimate mean. Combining Step 2 with the legitimate baseline gives
Condition (i) preserves the assumed feature-context correlation, and is the initial legitimate baseline. With , the threshold remains strictly below whenever
the drift horizon (18). Within this horizon, the variance argument of Corollary 1 applies at time t with gap (variances remain bounded by Lemma 2).
Corollary 3 (Drift Horizon). Under the conditions of Theorem 2, with as in Corollary 1, the legitimate mean stays above the threshold, , for any in the worst-case drift horizon
Proof. Step 3 of the proof of Theorem 2 establishes . This exceeds exactly when , i.e., . The variances remain bounded by Lemma 2, so Chebyshev's inequality still applies at time , with gap in place of .
B.5 Proof of Corollary 2 (Quantile Stability)
Proof. Let be the law of the detection score under . Any coupling of and maps through to a coupling of and , and is -Lipschitz (Lemma 3), so . The triangle inequality for and condition (ii) give . On the real line the monotone quantile coupling is optimal, so , which proves the claim. The bound controls the average displacement of the quantiles, not any single quantile such as the 95th percentile that sets .
Remark B.2 (Tightness). The Wasserstein bound is a worst-case upper bound, loose for natural drift, since real drift moves x and c jointly along directions where the softplus difference (4) is nearly flat. We discuss this slack quantitatively in §6.5.
Remark B.3 (Coherent Activation justification). Assumption 2 (joint-positive activation for a fraction of hidden units with probability ) follows qualitatively from contrastive-divergence training on the correlated (x, c) pairs of Assumption 1: matched pairs raise both and on the same training events, since the model is rewarded for assigning low free energy when both channels fire coherently. In the Gaussian-projection regime, the arcsine law [52] relates Assumption 1's correlation to a sign-correlation lower bound , which under symmetric pre-activation marginals translates to . The constant is measured after model convergence and is bounded by the arcsine argument above.
Table 2: Verified Assumption 1–3 constants on training data.
| Dataset | (A1) | (A2) | (A3) | (A3) |
|---|---|---|---|---|
| XBlock | 0.30 | 0.38 | 6.6 | 23.5 |
| 0.68 | 0.95 | 8.6 | 7.8 |
C Datasets
XBlock [21] is an Ethereum transaction graph with 153,477 wallet nodes (1,127 labeled phishing, 0.7%) and 715,573 directed transaction edges. Node features are 38 per-wallet transaction statistics (counts, incoming/outgoing volumes, gas usage, temporal spread). The label-graph correlation is anti-homophilic. The sign-corrected feature-context correlation is (Eq. (1)). Reddit [22] is a social-media graph with 10,984 user nodes (366 banned users, 3.3%) and 168,016 edges between users who co-participate in subreddits. Features are 73-dimensional, combining 64 LIWC linguistic categories computed over each user's posts with 9 graph-structural signals (degree, clustering, centrality variants). Labels correlate homophilically with the graph. The sign-corrected feature-context correlation is . Features are globally normalized. A 10% held-out split of the pool assumed legitimate, which the datasets' benign labels define in our experiments, is used for threshold calibration and drift-induced FPR measurement, and a fixed attack-generation reserve of 200 labeled adversaries is held out per dataset, so the supervised baselines see the remaining 932 / 166 adversary labels; all other nodes are used for training. Without drift, the Reddit threshold is stable down to small calibration samples, with FPR at 530 calibration nodes and at 1,061 over three sampling seeds, and Isolated Injection TPR in that run.
Verified theorem assumptions. The constants entering Theorems 1–2 are measured on training data: on the pool assumed legitimate before training; , , after model convergence (Table 2). and are root-mean-square (RMS) norms over that pool, and the drift budgets of Table 12 evaluate at this value of rather than at a verified support radius. Assumption 5 holds for the trained models on both datasets.
The asymmetry on XBlock reflects sign-corrected aggregation of positive-mean transaction features under a heavy-tailed degree distribution; Reddit's centered LIWC features yield a balanced pair.
D Additional Baselines
Protocol. Every detector in Tables 3 and 4 is scored on the same legitimate evaluation nodes and the same attack reserve, with the attacks of §3. Under drift, models and thresholds stay frozen at , with the single exception of ARC described below, and the Combined Score follows §6.1.
Implementations. The nine detectors of §6.1 follow their published configurations, and model selection uses a held-out validation split of the training pool. XGBGraph, BWGNN and Graph Transformer are the GADBench models [46], and GAD-NR, CONAD, AnomalyDAE and OCGNN run through PyGOD [53]. CONAD and AnomalyDAE exhausted memory on XBlock's 153K nodes under this configuration and are reported on Reddit only. GDN and ARC run from their official repositories. ARC is a pretrained generalist detector applied without fine-tuning, with 300 legitimate nodes as its in-context normal set. It re-runs its per-graph preprocessing on every evaluated graph, which is its intended usage, while its threshold stays frozen at . Fixing that preprocessing at as well gives Combined Scores of 0.27 on XBlock and 0.46 on Reddit.
Ablations. The signed-cosine score is with the sign-corrected context, the feature-context principle with no learning. Context-MLP is a two-layer MLP trained on legitimate pairs to predict from and scored by , which keeps context conditioning without the free-energy differential or the GLU gate.
Table 3: All detectors at the last drift step, .
| Family | Method | XBlock | |||||
|---|---|---|---|---|---|---|---|
| TPR | Combined | TPR | Combined | ||||
| Ours | CB-RBM | 0.99 | 5.2 | 0.94 | 0.96 | 8.4 | 0.88 |
| Supervised | GraphSAGE | 0.89 | 5.6 | 0.84 | 0.06 | 5.0 | 0.05 |
| GAT | 0.71 | 11.6 | 0.63 | 0.32 | 4.6 | 0.31 | |
| GCN | 0.75 | 5.4 | 0.71 | 0.36 | 4.6 | 0.35 | |
| XGBGraph | 0.98 | 17.8 | 0.81 | 0.01 | 0.0 | 0.01 | |
| Graph Transformer | 0.87 | 11.1 | 0.77 | 0.07 | 3.8 | 0.07 | |
| BWGNN | 0.54 | 5.7 | 0.51 | 0.17 | 8.2 | 0.16 | |
| Shift-robust | GDN | 0.77 | 10.4 | 0.69 | 0.24 | 1.8 | 0.23 |
| Generalist | ARC | 0.40 | 7.0 | 0.37 | 0.86 | 47.2 | 0.45 |
| Reconstruction | DOMINANT | 0.84 | 99.0 | 0.01 | 0.81 | 43.2 | 0.46 |
| GAE | 0.84 | 66.6 | 0.28 | 0.80 | 91.8 | 0.07 | |
| GAD-NR | 0.53 | 3.4 | 0.51 | 0.67 | 5.4 | 0.63 | |
| AnomalyDAE | - | - | - | 0.60 | 82.0 | 0.11 | |
| Contrastive | CoLA | 0.19 | 15.4 | 0.16 | 0.56 | 8.6 | 0.51 |
| CONAD | - | - | - | 0.79 | 36.4 | 0.50 | |
| One-class | OCGNN | 0.20 | 7.0 | 0.18 | 0.46 | 7.0 | 0.43 |
| Ablation | Std-RBM (no context) | 0.41 | 99.8 | 0.001 | 0.09 | 89.4 | 0.010 |
| Signed cosine (no learning) | 0.18 | 7.7 | 0.17 | 0.86 | 33.4 | 0.57 | |
| Context-MLP (no RBM/GLU) | 0.76 | 29.9 | 0.53 | 0.92 | 95.7 | 0.04 | |
Table 4: Per-attack AUROC / TPR@5%FPR (%).
| Method | Isolated Inj. | Feat. Camo | Sybil | Rel. Camo |
|---|---|---|---|---|
| XGBGraph | 99.9 / 99.3 | 98.9 / 93.2 | 99.9 / 99.7 | 99.7 / 99.9 |
| Graph Transformer | 98.5 / 94.2 | 92.7 / 71.6 | 98.7 / 95.2 | 97.1 / 86.2 |
| BWGNN | 83.4 / 28.5 | 65.1 / 3.0 | 99.1 / 97.1 | 97.8 / 88.0 |
| GDN | 95.8 / 90.3 | 90.2 / 79.0 | 99.1 / 96.2 | 65.4 / 44.3 |
| ARC | 94.8 / 40.0 | 94.9 / 40.0 | 92.3 / 40.0 | 91.0 / 39.5 |
| GAD-NR | 99.7 / 100.0 | 99.4 / 100.0 | 60.1 / 0.0 | 82.0 / 12.3 |
| OCGNN | 77.3 / 34.9 | 68.9 / 38.0 | 55.5 / 5.1 | 61.9 / 0.5 |
| Signed cosine | 83.0 / 19.5 | 84.1 / 23.1 | 67.2 / 15.9 | 70.9 / 13.3 |
| Context-MLP | 97.1 / 81.5 | 96.1 / 77.4 | 97.6 / 90.3 | 93.4 / 54.9 |
| AnomalyDAE | - | - | - | - |
| CONAD | - | - | - | - |
| XGBGraph | 59.3 / 0.0 | 59.3 / 0.0 | 61.8 / 0.0 | 64.1 / 2.5 |
| Graph Transformer | 67.0 / 0.7 | 60.7 / 0.0 | 66.7 / 0.2 | 82.8 / 28.3 |
| BWGNN | 62.0 / 7.7 | 58.0 / 7.9 | 57.2 / 11.0 | 87.5 / 42.3 |
| GDN | 67.5 / 18.8 | 56.1 / 9.5 | 88.3 / 53.3 | 67.4 / 14.0 |
| ARC | 100.0 / 100.0 | 100.0 / 100.0 | 97.9 / 92.1 | 89.7 / 50.1 |
| GAD-NR | 100.0 / 100.0 | 100.0 / 100.0 | 91.0 / 55.5 | 77.3 / 11.5 |
| AnomalyDAE | 95.2 / 88.5 | 97.0 / 90.5 | 81.8 / 46.5 | 65.0 / 15.5 |
| CONAD | 97.7 / 93.0 | 88.2 / 77.5 | 99.8 / 100.0 | 92.0 / 43.5 |
| OCGNN | 94.5 / 75.5 | 96.3 / 87.0 | 67.6 / 0.0 | 78.3 / 23.0 |
| Signed cosine | 100.0 / 100.0 | 100.0 / 100.0 | 90.5 / 71.5 | 88.9 / 71.5 |
| Context-MLP | 99.5 / 100.0 | 99.3 / 100.0 | 98.1 / 97.0 | 95.4 / 69.0 |
E Robustness Experiments
E.1 Contaminated training pool
We mix fraud into the pool assumed legitimate and refit the sign vector, the model and the threshold on that pool, so the whole pipeline stays label-free. The legitimate nodes are split into training (80%), calibration (10%) and held-out (10%) sets. The natural level adds every non-reserve fraud node once, which is 0.8% of the training pool on XBlock and 1.9% on Reddit, and contaminates the calibration set at the same rate. The 5% and 10% levels oversample fraud to that share of both sets. The clean row is this protocol's own reference, refit on the 80% split, and is not the Table 1 model. FPR is measured on the held-out legitimate nodes at the threshold calibrated on the contaminated set, and the attacks follow §3. No sign dimension flips at any level on either dataset, and Isolated Injection, Feature Camouflage and Sybil stay at 100% TPR on XBlock and at least 92% on Reddit.
Table 5: Fraud in the training and calibration pools (FPR and TPR in %).
| Fraud in pool | XBlock | |||||
|---|---|---|---|---|---|---|
| FPR | AUROC | Rel. Camo TPR | FPR | AUROC | Rel. Camo TPR | |
| 0% (clean) | 4.6 | 0.99 | 80.5 | 4.0 | 0.98 | 65.5 |
| Natural | 4.3 | 0.99 | 85.6 | 4.5 | 0.98 | 63.5 |
| 5% | 3.4 | 0.99 | 68.2 | 4.6 | 0.98 | 70.0 |
| 10% | 2.7 | 0.99 | 39.0 | 5.0 | 0.98 | 66.0 |
Table 6: Sign vector with a share of its dimensions flipped, and after re-estimating it without labels (FPR and TPR in %).
| Flipped | XBlock | |||||
|---|---|---|---|---|---|---|
| FPR | Iso. TPR | FPR after refresh | FPR | Iso. TPR | FPR after refresh | |
| 0% | 5.0 | 100.0 | 5.0 | 5.0 | 97.5 | 5.0 |
| 10% | 19.1 | 100.0 | 5.0 | 11.6 | 99.0 | 5.0 |
| 25% | 94.4 | 100.0 | 5.0 | 93.4 | 98.0 | 5.0 |
| 50% | 99.9 | 100.0 | 5.0 | 97.5 | 97.5 | 5.0 |
E.2 Sign vector
We test a stale sign vector by flipping a random 10%, 25% or 50% of its dimensions while the model and the threshold stay fixed at their clean values, and then re-estimate s from feature statistics on the current unlabeled nodes, exactly as it was first fitted (Table 6). The refresh recovers all 38 XBlock and all 73 Reddit dimensions and restores Isolated Injection TPR to 100% and 97.5%. We also estimate s from random samples of unlabeled legitimate nodes, with the model and the threshold again fixed (Table 7). Isolated Injection TPR stays at 100% on XBlock and at least 97.5% on Reddit at every sample size. On Reddit, samples of 53 or 106 nodes still get some signs wrong in some seeds, so FPR varies widely across seeds, while from 1,061 nodes every seed recovers all signs.
F Feature-Context Decomposition
To identify which signal CB-RBM relies on, we score each test node under four controlled conditions that independently swap features and context between legitimate and adversarial/random sources. Condition A pairs adversarial features with random context; Condition B pairs legitimate features with the same random context; Condition C uses legitimate features with legitimate context (the null condition); Condition D pairs adversarial features with legitimate context. Results are summarized in Table 8.
Two regularities appear on both datasets. First, A≈B: random context triggers detection regardless of whether the features are adversarial or legitimate, confirming that CB primarily flags absent context rather than feature deviation. Second, Condition C is near zero, so legitimate features paired with legitimate context evade detection. The datasets diverge on Condition D. On XBlock, D≈C: legitimate context alone suppresses the score, and the feature channel contributes nothing measurable. On Reddit, D is substantially above C, so adversarial features with legitimate context are partially flagged. This residual feature sensitivity is consistent with Reddit's richer feature space (73 LIWC and structural features versus XBlock's 38 transaction statistics): the learned weights carry more discriminative feature signal, which surfaces when the context channel is inactive. The main-body interpretation (Section 6.5) still holds — CB-RBM is fundamentally a network-context-presence detector, with feature sensitivity acting only as a secondary channel when the feature space is informative on its own.
Unit-level trace. Table 9 follows single nodes through the trained models. A coherent unit has positive feature and gated context pre-activations, so it adds a positive increment to CB, and the last column averages the gated context pre-activation over these units. The legitimate node retains many coherent units and its gated context contribution after 20 drift steps, so its CB stays high. The injected
Table 7: Sign vector estimated from unlabeled legitimate nodes (FPR in %). is the standard deviation over 5 seeds.
| XBlock (38 dimensions) | Reddit (73 dimensions) | ||||
|---|---|---|---|---|---|
| n | Wrong dimensions | FPR | n | Wrong dimensions | FPR |
| 763 | 1.4 ± 0.8 | 6.9 ± 1.7 | 53 | 1.0 ± 0.9 | 28.7 ± 33.8 |
| 1,526 | 0.8 ± 0.8 | 6.5 ± 2.8 | 106 | 1.0 ± 0.9 | 28.7 ± 33.8 |
| 7,630 | 0.6 ± 0.5 | 5.1 ± 0.1 | 530 | 0.2 ± 0.4 | 6.0 ± 2.0 |
| 15,260 | 0.4 ± 0.5 | 5.1 ± 0.1 | 1,061 | 0.0 ± 0.0 | 5.0 ± 0.0 |
| 152,600 | 0.0 ± 0.0 | 5.0 ± 0.0 | 10,618 | 0.0 ± 0.0 | 5.0 ± 0.0 |
Table 8: Feature-context decomposition, Combined Score.
| Condition | Features | Context | XBlock | |
|---|---|---|---|---|
| A | adversarial | random | 0.942 | 0.921 |
| B | legitimate | random | 0.942 | 0.929 |
| C | legitimate | legitimate | 0.078 | 0.095 |
| D | adversarial | legitimate | 0.111 | 0.632 |
adversary has random context, the gate shrinks its context contribution, and its CB drops to 28.4 on XBlock and 33.8 on Reddit.
G Ablation
This appendix examines three design choices: the context module itself, the hidden-layer capacity , and the neighborhood-pooling operator used to construct the raw context vector .
Context module. Removing the context pathway reduces CB-RBM to Std-RBM, a standard RBM scored by free energy alone. Combining the attack-benchmark TPR (Table 1) with the drift FPR of Table 3 yields a mean Combined Score of on XBlock and on Reddit for Std-RBM, compared with 0.94 and 0.88 for CB-RBM. The collapse spans two to three orders of magnitude on both datasets and localizes the entire empirical benefit to the context channel.
Hidden-layer capacity. Figure 5 shades the min–max envelope of Combined Score across all four attacks as varies from 32 to 1024. A tight band at high Combined Score indicates a capacity where every attack is simultaneously well-detected; a wide or low band indicates a regime where at least one attack slips through. The lower boundary of the envelope is essentially Relation Camouflage — the attack with the largest and the smallest measured separation gap (Figure 2). The envelope rises with until the effective coherent-unit count (Assumption 2, measured on training data) saturates, and beyond saturation further capacity only over-fits the legitimate distribution. The two datasets diverge at this saturation point: XBlock's envelope keeps rising through as the larger pool ( legitimate nodes) absorbs additional capacity, while Reddit's envelope peaks at and degrades sharply for as Relation Camouflage Combined Score collapses from 0.81 to 0.33. The main body accordingly uses for XBlock and for Reddit.
Neighborhood pooling. The raw context vector is constructed by pooling neighbor features. Table 10 compares four operators on XBlock under two attacks chosen to bracket the attack-difficulty spectrum: Isolated Injection (random, unstructured context — the easiest case for CB-RBM) and PGD (white-box gradient attack perturbing and jointly — the hardest). We report only this pair because the remaining static attacks in Table 1 (Feature Camouflage, Sybil, Relation Camouflage) also rely on unstructured, Sybil-generated or hub-borrowed context and track Isolated Injection closely, adding no new information about the pooling operator; the contrast with PGD is what stress-tests the choice. We run this ablation only on XBlock because XBlock uses raw transaction statistics as features, so the pooling operator is the sole mechanism by which neighborhood information enters the model. Reddit features already include engineered graph-derived structural signals (9 of its 73 dimensions), so some neighborhood information is available to the model
Table 9: Unit-level trace through the trained models.
| Dataset | Node | CB | Coherent units | Mean gated context |
|---|---|---|---|---|
| XBlock | Legitimate (median CB) | 1046.0 | 111/256 | +7.36 |
| Same node after 20 drift steps | 952.0 | 88/256 | +6.51 | |
| Injected adversary | 28.4 | 97/256 | +0.55 | |
| Legitimate (median CB) | 116.2 | 57/128 | +2.41 | |
| Same node after 20 drift steps | 115.5 | 52/128 | +2.45 | |
| Injected adversary | 33.8 | 34/128 | +1.39 |

Figure 5: Capacity ablation. Shaded band shows min–max Combined Score across all four attacks at each . Dashed vertical lines mark the optimal values: for XBlock, for Reddit.
independently of how c is constructed, making the pooling operator less decisive on that dataset. Mean and attention pooling tie at Combined = 0.95 on Isolated Injection; max and weighted-degree trail slightly. Under PGD, mean and attention retain a meaningful score while max collapses to 0.15. All four operators preserve per-dimension alignment (they return a vector in the original feature space rather than a learned embedding), which is what the sign vector sign(Pearson(, )) requires to identify the legitimate correlation pattern.
H PGD Budget Sweep
This appendix evaluates CB-RBM under a white-box threat model: the adversary has gradient access to the detector's weights w, U, and the gate, and jointly optimizes v and c under an -budget. Starting from real adversarial nodes at their natural graph positions, we sweep the perturbation budget with 50 projected-gradient steps. Figure 6 plots detection AUROC on both datasets.
Detection degrades monotonically with on both datasets. On XBlock, AUROC falls from 0.90 at to 0.66 at , staying above random-chance across the full range. On Reddit, AUROC drops to 0.42 already at and continues to 0.07 at ; the starting AUROC is lower here because in-graph adversaries reach CB-RBM through the feature channel rather than the context-absence channel. Two factors explain the faster Reddit collapse. First, Reddit's 73-dimensional feature space gives the PGD optimizer more independent directions in which to move v under a fixed budget than XBlock's 38-dimensional space. Second, Reddit's higher base correlation means the learned GLU gate is tuned to strong context-feature agreement, so small coordinated perturbations to v and c move the CB score further per unit of perturbation than on XBlock. These results are consistent with the Limitations (§6.5): CB-RBM is designed as a low-cost first-line detector for the common operational case of an adversary without white-box gradient access; combining it with an adversarially trained or certified-robustness second stage would be the natural defense under the PGD threat model.
Table 10: Pooling operator on XBlock, Combined Score.
| Attack | Mean | Max | Weighted-deg. | Attention |
|---|---|---|---|---|
| Isolated Injection | 0.950 | 0.914 | 0.930 | 0.950 |
| PGD | 0.326 | 0.145 | 0.224 | 0.263 |

Figure 6: White-box PGD budget sweep. Detection AUROC vs. perturbation budget .
I Drift Stability Extensions
The main body reports Combined Score under a random-walk drift simulation, following standard practice in the concept-drift literature [8, 28]. This appendix extends that analysis with alternative drift regimes that vary tails and correlation structure, threshold-level and correlation-weakening drift, real temporal evolution on the XBlock 2017–2018 transaction data, and adversarial-trajectory detection latency ( I.1– I.5).
I.1 Alternative drift regimes
At each step , a drift increment is added to every node's features and the context vector is recomputed on the updated graph, so drift propagates jointly through node attributes and their aggregated neighborhood — matching how real distributional shift unfolds on evolving graphs such as the wallet-turnover and user-behavior patterns of the main-body domains. We compare five increment distributions chosen to cover the natural-drift regimes a detector is likely to encounter in deployment: Gaussian — isotropic bounded-variance drift in the same family as the main-body simulation; correlated and correlated — coordinated population shifts where subsets of features co-move, modeled with equicorrelated Gaussian increments; and heavy-tail df=10 / heavy-tail df=3 — bursty, outlier-driven drift modeled with Student- increments, smaller df yielding heavier tails. Table 11 reports the drift-induced false-positive rate at for CB-RBM and Std-RBM on both datasets. The per-step variance budget here is calibrated for cross-regime comparison and differs from the headline drift simulation; the qualitative pattern — Std-RBM collapse, CB-RBM stability — is unchanged.
CB-RBM stays at FPR across every regime and dataset, while Std-RBM exceeds in every regime and in four of the five XBlock regimes. Two observations are consistent with Theorem 2. First, the Wasserstein–Lipschitz bound is distribution-agnostic: it depends only on , not on the tails or correlation structure of the drift increment, consistent with CB-RBM behaving similarly across all five variants (the slightly lower df=3 row reflects Student-t's variance-matched mass concentrating near zero, so most nodes drift less than under Gaussian rather than more). Second, the two datasets respond oppositely to correlated drift by the same mechanism. Drift aligned with the learned (v, c) correlation lies in a near-flat valley of the CB surface — the softplus differences in Eq. (4) nearly cancel — so FPR drops; drift off this axis avoids the valley and FPR rises. Reddit's strong aligns closely with the equicorrelated increment, driving FPR toward zero (); XBlock's weaker lies further off-axis, raising FPR modestly (, still far below Std-RBM at every regime). This is consistent with the “conservative bound” discussion of Section 6.5: real drift's CB-impact depends on alignment with the learned correlation, while the worst-case Theorem 2 bound holds in either direction.
Table 11: Drift-induced FPR at under five drift regimes (%).
| Regime | XBlock | |||
|---|---|---|---|---|
| CB-RBM | Std-RBM | CB-RBM | Std-RBM | |
| Gaussian | 8.4 | 96.4 | 9.0 | 73.8 |
| Correlated | 12.8 | 95.8 | 2.8 | 74.0 |
| Correlated | 15.4 | 97.2 | 0.2 | 69.0 |
| Heavy-tail df=10 | 10.8 | 95.2 | 9.0 | 71.2 |
| Heavy-tail df=3 | 7.6 | 73.8 | 6.6 | 55.2 |
Table 12: Wasserstein–Lipschitz bound vs. observed CB shift on legitimate nodes (Gaussian drift). is the Lipschitz constant of CB evaluated at the RMS value of (Appendix C); is the per-step budget; the RMS-based budget is ; slack is budget/observed.
| Dataset | L | T | RMS-based budget | Observed |ΔCB| | Slack | |
|---|---|---|---|---|---|---|
| XBlock | 1189.5 | 1.23 | 5 | 7,288 | 23.3 | 312× |
| 10 | 14,575 | 35.7 | 408× | |||
| 15 | 21,863 | 46.1 | 474× | |||
| 20 | 29,151 | 55.4 | 526× | |||
| 154.0 | 1.70 | 5 | 1,313 | 0.68 | 1,921× | |
| 10 | 2,625 | 1.03 | 2,549× | |||
| 15 | 3,938 | 1.17 | 3,373× | |||
| 20 | 5,250 | 1.16 | 4,540× |
RMS-based numerical comparison. Table 12 grounds the slack-factor numbers reported in §6.5. is the Lipschitz expression of Lemma 3 evaluated at the RMS value of (Appendix C); is the per-step Wasserstein-1 budget; observed is the realized mean-CB shift on legitimate nodes after Gaussian-drift steps. The slack factor (bound/observed) grows with on both datasets and is consistent with the conservative-bound argument: the worst-case allows every coordinate to move adversarially, while real drift moves jointly along the legitimate-correlation axis where the softplus differences nearly cancel.
I.2 Threshold-level drift
Evaluating with the RMS-based gives 29,151 on XBlock and 5,250 on Reddit at (Table 12). The threshold is instead set by the 95th percentile of the legitimate scores, which we track in a separate three-seed run with the model and the threshold frozen at (Table 13). At this percentile shifts by 42.7 on XBlock and 3.4 on Reddit, about a thousandth of that budget, and mean FPR at the frozen threshold rises from to and . Using the same RMS-based value of , the horizon expression of Corollary 3 evaluates to 0.32 steps on XBlock and 0.12 on Reddit, while mean FPR at the frozen 95th-percentile threshold stays within 2.1 points of the target at every reported step through .
I.3 Correlation-weakening drift
The drift of Figure 3 moves features and context together. We weaken that link in three ways at , with the model and the threshold frozen at . Context lag recomputes each node's context from features steps behind its own. Private drift adds to each node an independent drift that its neighbors' context does not include, scaled by relative to the shared drift. Reversal negates each node's drift relative to its neighborhood on a fraction of the dimensions, so features and context anti-align there (Table 14). Recalibrating the threshold at the 95th percentile of the drifted pool's scores, the label-free refresh of Algorithm 1, returns FPR to by construction, and under reversal it keeps Isolated Injection TPR at on XBlock and at least on Reddit. Table 15 applies the same recalibration to the eight methods of Table 1 under the co-evolving drift of Figure 3 and scores the four attacks against the recalibrated threshold.
Table 13: Shift of the 95th-percentile threshold and FPR (%) at the threshold frozen at . is the standard deviation over 3 drift seeds.
| T | XBlock | |||
|---|---|---|---|---|
| Threshold shift | FPR | Threshold shift | FPR | |
| 1 | 5.6 ± 1.9 | 5.1 ± 0.1 | 0.18 ± 0.01 | 5.1 ± 0.0 |
| 5 | 14.1 ± 4.2 | 5.4 ± 0.1 | 0.84 ± 0.23 | 5.5 ± 0.1 |
| 10 | 27.3 ± 5.8 | 5.6 ± 0.1 | 1.67 ± 0.31 | 6.0 ± 0.1 |
| 15 | 34.2 ± 6.6 | 5.8 ± 0.1 | 2.55 ± 0.27 | 6.4 ± 0.2 |
| 20 | 42.7 ± 5.9 | 6.1 ± 0.1 | 3.41 ± 0.27 | 7.1 ± 0.3 |
Table 14: Correlation-weakening drift at , measured and legitimate FPR (%) at the frozen threshold. Each block has its own co-evolving reference run.
| Regime | XBlock | |||
|---|---|---|---|---|
| ρ | FPR | ρ | FPR | |
| Co-evolving (reference) | 0.141 | 5.4 | 0.615 | 7.5 |
| Context lag, L=5 | 0.141 | 5.3 | 0.588 | 8.2 |
| Context lag, L=10 | 0.142 | 5.3 | 0.567 | 9.4 |
| Context lag, L=20 | 0.144 | 5.6 | 0.509 | 10.6 |
| Private drift, p=0.3 | 0.138 | 5.4 | 0.602 | 8.0 |
| Private drift, p=0.6 | 0.125 | 5.7 | 0.568 | 9.4 |
| Private drift, p=1.0 | 0.113 | 6.2 | 0.506 | 13.2 |
| Co-evolving (reference) | 0.146 | 6.1 | 0.613 | 7.8 |
| Reversed, 10% of dims | 0.145 | 6.1 | 0.581 | 8.1 |
| Reversed, 25% of dims | 0.144 | 6.2 | 0.534 | 8.5 |
| Reversed, 50% of dims | 0.141 | 6.1 | 0.464 | 10.1 |
Topology change. We also change the edges at , on top of the feature drift, with the model and the threshold frozen at . Growth keeps every edge and adds , or new triadic edges, the pattern of cumulative interaction graphs such as ours, where on-chain edges are permanent and Reddit interactions accumulate. It raises the legitimate FPR to 12.6, 24.7 and on XBlock and 12.9, 24.6 and on Reddit. The label-free threshold refresh restores on both, with Isolated Injection TPR at on XBlock and 95.5, 93.0 and on Reddit. Random rewiring of of edges, evaluated as a topology stress test, raises the FPR to and , and the refresh restores with Isolated Injection TPR at and .
I.4 Real temporal validation (XBlock)
To check that synthetic drift is not the only regime where CB-RBM holds up, we train on XBlock data through 2017 (a dataset with natively timestamped edges) and evaluate on five cumulative windows, the 2017 training window and 2018-Q1 through Q4. Between windows the Ethereum ecosystem evolves organically — new wallets appear, transaction patterns shift, and each window adds roughly 200K–500K new edges over the preceding one — producing real natural drift rather than a simulated increment. Figure 7 plots FPR and TPR at the calibrated 5%-FPR operating point for all eight methods across the five windows. Node features in each window use transactions up to its cutoff only, and the scaler, sign vector and threshold are fitted on the training window and then frozen. Rebuilding each window's context from pre-cutoff edges only gives FPR 5.0, 3.8, 3.4, 3.2 and 3.1% across the five windows, against 5.0, 3.5, 3.2, 3.2 and 3.1% for the construction used in Figure 7.
CB-RBM holds at TPR= 100% across all five windows; the runner-up (GAT) holds around 84%–89%. The feature distribution drifts monotonically — grows from 0 to over the windows — without translating into an FPR increase or TPR drop for CB-RBM. The supervised GNN baselines are also stable at lower absolute levels ( ), while Std-RBM and GAE hold flat in the 45–55% band, DOMINANT trends slightly higher (up to ), and CoLA stays below 16%. Real temporal evolution therefore reproduces the pattern of the synthetic drift simulation.
Table 15: Threshold recalibration for the eight methods of Table 1 under the co-evolving drift at , Combined Score before and after, from this experiment's run. Best refreshed score in bold.
| Method | XBlock | |||
|---|---|---|---|---|
| Frozen | Refreshed | Frozen | Refreshed | |
| CB-RBM | 0.92 | 0.90 | 0.88 | 0.90 |
| Std-RBM | 0.003 | 0.004 | 0.016 | 0.014 |
| GraphSAGE | 0.82 | 0.82 | 0.06 | 0.06 |
| GAT | 0.60 | 0.61 | 0.11 | 0.11 |
| GCN | 0.74 | 0.72 | 0.15 | 0.15 |
| DOMINANT | 0.01 | 0.02 | 0.53 | 0.64 |
| CoLA | 0.19 | 0.07 | 0.16 | 0.13 |
| GAE | 0.32 | 0.01 | 0.05 | 0.48 |


Figure 7: XBlock real-temporal validation. (Left) FPR and (right) TPR at the calibrated 5%-FPR operating point across five windows (trained and calibrated on the 2017 window, evaluated on 2017–2018 windows).
CB-RBM and the supervised GNNs remain near the calibration target, while the reconstruction and density baselines show increased false alarms.
I.5 Detection latency
To complement the aggregate FPR view, Table 16 reports the trajectory step at which each detector first fires on a five-scenario suite: one benign control (natural drift, which should not trigger an alarm) and the four adversarial scenarios of Table 1. The setup evolves 200 target nodes over under each scenario; the first-fire step is the earliest at which at least of those nodes exceed the detection threshold. "Never" means the condition is not triggered within steps.
The pattern is the dual of the drift-stability view. Std-RBM false-alarms on natural drift at (XBlock) / (Reddit) and is blind to every adversarial trajectory: the free-energy channel alone cannot distinguish the attacks from legitimate drift once context is excluded. CB-RBM shows the opposite pattern, staying silent under natural drift and firing on every adversarial trajectory. Sybil and Relation Camouflage are fixed-state attacks (the clique injection or hub rewire is present from ), and CB-RBM fires immediately. Isolated Injection and Feature Camouflage are evolving trajectories: context interpolates from legitimate at toward random by , so CB-RBM (correctly) does not fire while the context still resembles legitimate input, and the first-fire step marks the crossing where the context has decayed enough to become distinguishable. Two-channel latency therefore separates cleanly: the feature-only model fires on the wrong trajectory, while the context-aware model fires on the right ones.
Growing Sybil. The Sybil attack of Table 1 uses a clique of fixed size from the start. Here the clique size grows from 2 to 50 over 50 steps. At each step the clique is rebuilt at its current size and the context of the 195 XBlock and 200 Reddit attack nodes connected to it is recomputed, while each detector keeps the threshold calibrated at (Table 17). With two members CB-RBM already flags of the attack nodes on XBlock and on Reddit, crosses on Reddit by step 4
Table 16: First-fire step (first with of 200 target nodes flagged). Lower is better for adversarial rows; “never” is correct for natural drift.
| Scenario | XBlock | |||
|---|---|---|---|---|
| CB-RBM | Std-RBM | CB-RBM | Std-RBM | |
| Natural drift (benign) | never | 15 | never | 23 |
| Sybil | 0 | never | 0 | never |
| Relation Camouflage | 0 | never | 0 | never |
| Isolated Injection | 18 | never | 24 | never |
| Feature Camouflage | 24 | never | 26 | never |
Table 17: Fraction of attack nodes flagged (%) as the Sybil clique grows from 2 to 50 members.
| Step | Clique size | XBlock | |||
|---|---|---|---|---|---|
| CB-RBM | Std-RBM | CB-RBM | Std-RBM | ||
| 0 | 2 | 92.3 | 51.3 | 61.0 | 9.5 |
| 10 | 12 | 100.0 | 51.3 | 100.0 | 9.5 |
| 20 | 21 | 100.0 | 51.3 | 100.0 | 9.5 |
| 30 | 31 | 100.0 | 51.3 | 100.0 | 9.5 |
| 40 | 40 | 100.0 | 51.3 | 100.0 | 9.5 |
| 50 | 50 | 100.0 | 51.3 | 100.0 | 9.5 |
(between the rows of the table) and flags 100% on both datasets by step 10. Std-RBM stays at 51.3% and 9.5% throughout.
J Context Interpolation Sweep
We complement Table 1’s discrete attacks with a context interpolation sweep: a continuous-intensity extension of the camouflage concept introduced in the fraud-detection literature [54]. An attacker parameter interpolates between the more revealing and the more camouflaging context for the dataset:
c_{\alpha} \= \ (1 - \alpha)\,c_{\mathrm{revealed}} + \alpha\,c_{\mathrm{camo}}, \qquad \alpha \in [0,1], \tag{19}where is whichever of has closer to on that dataset (the harder camouflage), and is the other. On XBlock , so and ; on Reddit , so the roles swap — and . The sweep varies the attacker’s effective correlation continuously, and with it the measured gap , letting us read off the boundary at which the CB-RBM detection margin closes.
In Figures 8 and 9, denotes the hardest camouflage for that dataset (legit-mean context on XBlock, natural attack context on Reddit). This works because Relation Camouflage is a mirror operation in which the attacker picks whichever context distribution has closest to , minimizing .
XBlock (, ). Legit context is more coherent than the attacker’s own neighborhood, so injecting legit-mean context is the camouflage move. At TPR is 66% with ; at TPR is 56%; at TPR collapses to 4% with ; crossing at .
Reddit (, ). The attacker’s own context is already as coherent as the legit one, so the camouflage move is to keep attack context and not mix in legit-mean. At (pure legit-mean context) TPR is 100% with well below ; gives TPR 63%; at (pure attack context) TPR is 11% with crossing above ; crossing at .
Consequence. The “hardest” camouflage is not a fixed recipe but the context distribution that minimizes for the given dataset. For XBlock, legit-mean substitution minimizes ; for

(a) XBlock: detection degrades as .

(b) Reddit: detection degrades as .
Figure 8: Context interpolation sweep, detection view. TPR at the calibrated 5%-FPR operating point vs ; the 50% crossing marks .

(a) XBlock: as .

(b) Reddit: as .
Figure 9: Context interpolation sweep, separation view. Tail-band quantities (legit -pctile), (attack -pctile), and empirical tail-band midpoint ; shaded band is , with magnitudes at , 1 annotated.
Reddit, the attacker’s own natural context already achieves this. In both regimes, CB-RBM’s failure point is tied to a single scalar condition: the collapse of , consistent with the -dependence of the Theorem 1 margin.
K Generalization across Domains
CB-RBM’s two main-body datasets cover finance (XBlock) and social media (Reddit). This appendix tests whether the feature-context consistency principle transfers to further domains with different graph properties, label distributions, and fraud mechanics. Two additional organic datasets are reported: crowdsourcing (Tolokers) [55] and e-commerce review fraud (YelpChi) [56].
K.1 Tolokers (Crowdsourcing)
Tolokers [55] is a crowdsourcing graph with 11,758 worker nodes, 1,038,000 edges, 10 base features augmented to 19 with the same graph-structural signals used for Reddit (Appendix C), and a 21.8% unreliable-worker rate (organic labels). After sign correction , placing it below XBlock (0.30) at the lower end of the homophily range we test, with a positive raw correlation gap. Tolokers is substantially denser than the main-body graphs (average degree 88 vs. Reddit's 15).
CB-RBM leads the attack benchmark on three of four attacks and places within 0.9 points of the top on Sybil (Table 18). Under 20-step Gaussian drift it retains a stability of 0.936 (FPR of 6.4%, near the
Table 18: Attack benchmark on Tolokers. Each cell: AUROC / TPR@5%FPR (%). Best per row in bold.
| Attack | Energy-based | Supervised | Unsupervised | |||||
|---|---|---|---|---|---|---|---|---|
| CB-RBM | Std-RBM | SAGE | GAT | GCN | DOM. | CoLA | GAE | |
| Isolated Inj. | 96.4/89.3 | 51.2/4.2 | 88.4/52.5 | 72.0/34.0 | 92.8/58.7 | 73.3/23.7 | 55.0/26.2 | 92.7/77.8 |
| Feat. Camo | 97.5/87.8 | 51.2/6.0 | 66.7/28.0 | 54.4/18.7 | 70.0/34.3 | 77.9/33.5 | 57.6/38.5 | 95.4/86.5 |
| Sybil | 98.9/96.7 | 51.2/4.2 | 97.1/86.7 | 98.9/100 | 99.1/100 | 97.3/96.7 | 68.1/40.5 | 99.8/100 |
| Rel. Camo | 97.2/79.0 | 51.2/4.2 | 79.4/13.7 | 80.1/22.3 | 77.6/15.7 | 68.6/15.5 | 63.8/11.7 | 57.6/12.7 |
Table 19: Tolokers drift evaluation at : mean TPR (across the 4 attacks), drift stability, and Combined Score.
| Energy-based | Supervised | Unsupervised | ||||||
|---|---|---|---|---|---|---|---|---|
| CB-RBM | Std-RBM | SAGE | GAT | GCN | DOM. | CoLA | GAE | |
| Mean TPR | 0.882 | 0.047 | 0.452 | 0.438 | 0.522 | 0.424 | 0.292 | 0.693 |
| Stability | 0.936 | 0.676 | 0.890 | 0.934 | 0.944 | 0.940 | 0.782 | 0.686 |
| Combined Score | 0.826 | 0.031 | 0.403 | 0.409 | 0.493 | 0.398 | 0.229 | 0.475 |
calibrated 5% target), yielding a Combined Score of 0.826 — more than 0.33 above the best baseline (GCN at 0.493) and the Std-RBM ablation (Table 19). The detector's behavior on this denser, lower- domain is consistent with the feature-context consistency mechanism generalizing across feature modalities and homophily strengths where the raw correlation gap is positive.
K.2 YelpChi (E-commerce Review Fraud)
YelpChi is a review-fraud graph with 45,954 review nodes, labeled fraudulent reviews (organic), and three review-relationship edge types. We use the net_rtr edge subset (review-time-review, 1,147,232 edges, average degree 25), which links reviews of the same product posted in the same month, the channel through which coordinated review rings surface. The other two edge types are either too sparse (net_rur: of legitimate nodes have degree zero) or too dense for PyGOD baselines to finish in reasonable time (net_rsr: 6.8M edges). The 32 base features are augmented to 41 with the same nine graph-structural signals used for Reddit and Tolokers. After sign correction ; the natural fraud context has , giving a raw correlation gap . This unfavorable gap indicates that coordinated fraud rings can retain neighborhood context slightly more coherent than that of typical legitimate reviews, so a compressed margin is expected, and the experiments below measure detection in this regime.
Table 20 shows the expected margin compression: CB-RBM's AUROC drops from the it holds on XBlock, Reddit, and Tolokers to the range on three of the four attacks, and all three supervised GNNs — trained on YelpChi's abundant labels — overtake it on Combined Score (Table 21: SAGE 0.72, GCN 0.51, GAT 0.49 vs CB-RBM 0.41). Here the raw correlation gap is negative, and supervised baselines achieve higher Combined Scores. Two details confirm the mechanism rather than a generic performance loss. First, Relation Camouflage — the attack that most directly tests whether the context channel can distinguish rewired-to-legitimate-hubs adversaries from real legitimate nodes — is the only attack on which CB-RBM still leads on every metric: AUROC (98.2 vs SAGE's 97.5), TPR@5%FPR (86.5 vs 83.8), and Combined Score (0.81 vs 0.72); message-passing GNNs without the gated-context mechanism (GCN at 0.10 Combined, GAT at 0.37) suffer most, because the rewired context produces a coherence signature their attention or convolution cannot resolve. The feature-level and fabricated-context attacks (Iso, Feat, Sybil) rely on distinctions the compressed renders harder to separate, and supervised label access closes that gap. Second, CB-RBM remains the highest in drift stability of any method (0.933, narrowly above GCN's 0.930 and well above every other supervised and unsupervised baseline at ) while Std-RBM collapses to near-chance everywhere and loses stability entirely (0.006 at ), confirming that context remains the essential signal even in this compressed-margin regime. YelpChi is therefore
Table 20: Attack benchmark on YelpChi (net_rtr). Each cell: AUROC / TPR@5%FPR (%). Best per row in bold.
| Attack | Energy-based | Supervised | Unsupervised | |||||
|---|---|---|---|---|---|---|---|---|
| CB-RBM | Std-RBM | SAGE | GAT | GCN | DOM. | CoLA | GAE | |
| Isolated Inj. | 76.6/34.5 | 50.3/10.5 | 98.6/93.3 | 79.0/53.0 | 87.2/74.3 | 82.7/26.5 | 80.3/35.0 | 73.6/20.5 |
| Feat. Camo | 78.9/41.5 | 62.9/14.5 | 89.6/62.7 | 56.8/27.0 | 64.4/35.8 | 80.3/15.0 | 85.5/48.5 | 70.0/12.5 |
| Sybil | 74.9/15.0 | 50.3/10.5 | 98.9/94.2 | 99.5/100.0 | 99.8/100.0 | 73.1/15.5 | 60.0/5.5 | 61.7/12.0 |
| Rel. Camo | 98.2/86.5 | 50.3/10.5 | 97.5/83.8 | 82.7/41.7 | 79.2/11.0 | 72.8/15.5 | 61.8/11.5 | 61.5/11.5 |
Table 21: YelpChi (net_rtr) drift evaluation at : mean TPR (across the 4 attacks), drift stability, and Combined Score.
| Energy-based | Supervised | Unsupervised | ||||||
|---|---|---|---|---|---|---|---|---|
| CB-RBM | Std-RBM | SAGE | GAT | GCN | DOM. | CoLA | GAE | |
| Mean TPR | 0.444 | 0.115 | 0.835 | 0.554 | 0.553 | 0.181 | 0.251 | 0.141 |
| Stability | 0.933 | 0.006 | 0.861 | 0.885 | 0.930 | 0.598 | 0.879 | 0.443 |
| Combined Score | 0.414 | 0.001 | 0.718 | 0.490 | 0.514 | 0.108 | 0.221 | 0.062 |
an empirical boundary case. When the raw correlation gap is unfavorable, the supervised methods' label-access advantage catches up, though only on the attacks that do not specifically exercise the context-coherence signal.
L CB-RBM as a Drift-Filter Defense
Theorem 1 certifies separation only when the positive gated-context activation that adversarial context can produce stays below the legitimate dominance margin (Assumptions 4 and 5). On YelpChi the raw correlation gap is unfavorable (), and supervised baselines accordingly outperform CB-RBM standalone (Appendix K.2). This appendix tests whether CB-RBM still adds operational value in this regime. The setting we evaluate: an operator runs a deployed primary detector — typically a supervised model trained on labeled adversaries, or one pinned by operational constraints — whose false-alarm rate inflates under drift but which cannot easily be retrained. Layered downstream, CB-RBM suppresses alarms whose flagged nodes remain within the legitimate distribution learned at calibration, recovering precision without retraining or new labels. The rescue rate measures the fraction of drift-induced false positives that CB-RBM correctly suppresses.
Across all seven baselines, CB-RBM rescues 87.6–93.5% of drift-induced false positives (Table 22). Even where the raw correlation gap is unfavorable and CB-RBM is not the top standalone detector, layering it as a downstream filter preserves the method's operational value in this empirical regime. CB-RBM is an additive layer with no retraining cost, no label cost, and no architectural integration — a drop-in complement in such scenarios, not a replacement.
Established adversaries. Scoring naturally occurring adversaries with their accrued neighborhood context gives AUROC 0.84 on XBlock and 0.54 on Reddit. At on XBlock, using CB-RBM as a downstream filter reduces DOMINANT's drift FPR from to .
M Transferability of the Context Boost Principle
The Context Boost principle — score a node by the differential of a learned density under the presence vs absence of its neighborhood context — is not specific to the RBM. CB-RBM's algebraic cancellation in Eq. (4) (the quadratic feature term drops out of the subtraction) makes the construction particularly clean, but any generative model whose likelihood decomposes additively between a context-free and a context-conditional branch admits an analogous score. This appendix outlines the
Table 22: YelpChi rescue rates (%) at .
| Unsupervised | Supervised | ||||||
|---|---|---|---|---|---|---|---|
| Std-RBM | DOMINANT | GAE | CoLA | SAGE | GAT | GCN | |
| YelpChi | 93.5 | 89.9 | 93.2 | 87.6 | 91.0 | 90.9 | 92.9 |
structural requirements for porting the principle to other architectures and discusses what transfers automatically vs what needs re-derivation.
Structural requisites. To instantiate the Context Boost principle on a host model, three properties must hold. (i) Decomposable scalar score. A function on the joint input that can also be evaluated with context ablated, so that is well-defined and captures the incremental information content of . (ii) Gated context pathway. A mechanism that selectively suppresses uninformative or noisy context dimensions, so that random or absent context produces near-zero CB; CB-RBM uses a GLU gate, but attention, gating units, or learnable context masking all serve. (iii) Lipschitz continuity of . A bounded Lipschitz constant in both channels is necessary for Theorem 2's Wasserstein drift-stability argument to port.
Candidate instantiations. Several generative families satisfy these requisites and admit a natural Context Boost analogue. A variational autoencoder with a context-conditional encoder yields , with context-attention playing the gating role. A normalizing flow gives directly from invertibility, and Lipschitz-constrained flows [57] make Theorem 2 immediately applicable. A masked-modeling transformer over concatenated tokens produces as the gap between context-present and context-dropout NLL, with cross-attention weights on context tokens supplying the gate. In each case the operational payoff is the same: feature-context consistency is captured by a single decomposable score that supports detection and inherits drift stability via Lipschitz continuity — both from within a single model.
What transfers automatically, what does not. Assumptions 1 (signed structural correlation) and 3 (bounded moments) are properties of the data, independent of host architecture — any model inherits them. Assumptions 2 (coherent activation), 4 (adversarial context gap) and 5 (coherent dominance) are stated on the trained context pathway, so they and the constants that appear in the separation and drift bounds must be re-verified or reformulated for the host model. The per-unit decomposition used in the proof of Theorem 1 is also CB-RBM-specific; an analogous decomposition into architecture-native primitives (latent units for VAE, flow layers for normalizing flows, attention heads for transformers) is required to recover the -style separation scaling. What universally carries over is the framework: feature-context consistency as a drift-stable detection signal, operationalized as a decomposable score on a gated context pathway. CB-RBM is one convenient instantiation; the principle itself is broader.
NeurIPS Paper Checklist
1. Claims
Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope?
Answer: [Yes]
Justification: All numerical claims (AUROC ≥ 0.96 on four attacks, Combined Score ≥ 0.87 at T=20, calibrated 5% FPR, Std-RBM FPR collapse to 89–100%) are directly supported by Tables 1, 3 and Figures 1, 3. The zero-label claim is enforced by construction (threshold set from legitimate data only). The theory (Assumptions 1–5, Theorems 1–2) gives conditional worst-case results, with numerical comparisons of the bounds at root-mean-square constants in Appendix I; detection and drift performance are measured directly in §6.
2. Limitations
Question: Does the paper discuss the limitations of the work performed by the authors?
Answer: [Yes]
Justification: §6.5 (“Limitations”) identifies six scope boundaries: detection relies on , which can fail in random or adversarially curated topologies; detection degrades as collapses, where supervised baselines with adequate labels can perform better; adversaries who acquire genuine hub connections (Relation Camouflage) reduce the detection gap and can become indistinguishable from legitimate users in the limit; substantial topology change can impair calibration at the frozen threshold and needs the label-free threshold refresh; white-box adversaries with gradient access can lower detection; and the drift analysis assumes smooth drift, so abrupt or adversarial shifts may need additional mechanisms. Transferability across architectures is discussed in Appendix M; boundary-regime generalization in Appendix K.
3. Theory assumptions and proofs
Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?
Answer: [Yes]
Justification: Assumptions 1–5 are stated in §5 with informal justifications, empirical verifiability conditions, and remarks on how s-correction ensures . Measured values: (XBlock) and (Reddit); coherent-activation fraction and bounded-moment constants , verified after training on both datasets. Proof sketches appear in §5; complete proofs with supporting lemmas in Appendix B.
4. Experimental result reproducibility
Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)?
Answer: [Yes]
Justification: §6.1 specifies all hyperparameters ( for XBlock, for Reddit, CD-1, , 100 epochs) and evaluation protocol (95th-percentile of –CB over legitimate nodes, TPR@5%FPR metric). Dataset details: XBlock (153K nodes, 38 features, ) and Reddit (11K nodes, 73 features, ), both publicly available. Attack constructions are defined in §3, with the context-interpolation sweep in Appendix J. The six GADBench baselines use GADBench defaults [46], and the nine further detectors follow their published configurations with model selection on a held-out validation split (Appendix D).
5. Open access to data and code
Answer: [Yes]
Justification: The reference implementation of CB-RBM, the four attacks and the drift simulation is available at https://github.com/serval-uni-lu/CB-RBM under the MIT license. All four datasets used in this work (XBlock [21], Reddit [22], Tolokers [55], YelpChi [56]) are publicly available, and the feature construction is described in Appendix C.
6. Experimental setting/details
Answer: [Yes]
Justification: §6.1 specifies all training details. Appendix C provides feature categories and counts for each dataset, sign-vector construction, normalization, and context computation; full feature definitions are in the released code. Appendix G reports hyperparameter sensitivity ( , pooling operator).
7. Experiment statistical significance
Answer: [Yes]
Justification: The attack benchmark reports means over 3 random seeds with standard deviations in §6.3; XGBGraph, Graph Transformer, BWGNN and GDN use 5 seeds (§6.4, Appendix D); the sign-vector experiment reports standard deviations over 5 seeds (Appendix E.2) and the threshold-drift experiment over 3 seeds (Appendix I.2).
8. Experiments compute resources
Answer: [Yes]
Justification: All experiments run on a single GPU. CB-RBM training takes under 10 minutes per dataset, and the full benchmark, drift and ablation suite completes within a standard single-GPU budget. CONAD and AnomalyDAE exceeded memory on XBlock and are reported on Reddit only (Appendix D).
9. Code of ethics
Answer: [Yes]
Justification: All datasets used are publicly available and anonymized: XBlock (anonymized Ethereum wallet addresses), Reddit (anonymized user identifiers), Tolokers (anonymous worker IDs), YelpChi (anonymized reviewer identifiers). The work aims to improve fraud detection, a socially beneficial application. False-positive rates on legitimate users under drift are reported in §6.4 and Appendix I.
10. Broader impacts
Answer: [Yes]
Justification: §1 motivates the work by the scale of fraud losses. §6.5 (“Limitations”) states where the detector fails, namely graphs without feature-context correlation, adversaries with genuine connections, topology change and white-box adversaries. False alarms on legitimate accounts are the main negative consideration, and the paper reports them under drift at the calibrated threshold (§6.4). In deployment, is an operator-set false-positive budget (5% here), the flagged share of legitimate nodes stays at or below 16% under the five drift regimes of Table 11, and the score should rank cases for human review rather than block accounts automatically, since new or sparsely connected legitimate accounts can lack neighborhood context.
11. Safeguards
Answer: [N/A]
Justification: The paper proposes a fraud detection method, not a generative model or dataset release with misuse potential. The attack constructions described are standard synthetic evaluation tools, not deployable attack tooling.
12. Licenses for existing assets
Answer: [Yes]
Justification: XBlock [21], Reddit [22], Tolokers [55], and YelpChi [56] are all publicly available and properly cited. All are standard academic benchmarks used under their published terms.
13. New assets
Answer: [N/A]
Justification: No new datasets are released. The code is released under the MIT license at https://github.com/serval-uni-lu/CB-RBM.
14. Crowdsourcing and research with human subjects
Answer: [N/A]
Justification: No crowdsourcing or human subjects research. The Tolokers dataset consists of pre-existing, anonymized crowdsourcing graph data from prior work [55].
- Institutional review board (IRB) approvals or equivalent for research with human subjects
Answer: [N/A]
Justification: No human subjects research.
- Declaration of LLM usage
Answer: [N/A]
Justification: LLMs are not used as a component of the core method or experiments. Any use for writing assistance does not impact the scientific content or experimental results.