Feature-context consistency: unsupervised adversarial detection with shift stability on attributed graphsFeature-Context Consistency: Unsupervised Adversarial Detection with Drift Stability on Attributed Graphs
Translation in progress — untranslated text is omitted.
The paper proposes CB-RBM, which uses the consistency between node attributes and aggregated neighborhood attributes (Context Boost score) as a single structural signal to detect adversarial nodes on attributed graphs under zero-label conditions, while maintaining stability to distribution shift. The authors provide two worst-case guarantees within a restricted Boltzmann machine framework: when the neighborhood context of adversarial nodes is sufficiently far from normal context, the expected CB scores of the two separate and the gap grows linearly with model capacity; under natural shift, the movement of the CB distribution is bounded by a Wasserstein-Lipschitz upper bound. On XBlock Ethereum phishing (approximately 153,000 nodes) and Reddit banned-user detection (approximately 11,000 nodes), CB-RBM achieves AUROC no lower than 0.96 under zero-label conditions against four adversarial attacks, and under shift the FPR is close to the calibrated 5% target, outperforming supervised GNNs using hundreds of labels, unsupervised graph anomaly baselines, and standard RBM whose FPR drops to 89%–100%.
- Adversarial detection on evolving attributed graphs is constrained both by late or missing labels and by natural distribution drift eroding decision boundaries. The authors argue that legitimate node features correlate with neighborhood context, while early-injection adversaries break that correlation.
- A Gaussian-Bernoulli RBM with a GLU-gated context pathway is trained on legitimate nodes using contrastive divergence. The detection score is the negative of the Context Boost, i.e., the free-energy decrease brought by neighborhood context; the threshold is the 95th percentile of −CB on a legitimate calibration set.
- Main experiments compare four injection attacks and 20-step drift on XBlock and Reddit. The authors report zero-label CB-RBM AUROC of at least 0.96, and average Combined at T=20 of at least 0.87; for Std-RBM, the authors state the FPR rises to 89–100%.
- The authors say the method relies on ρ0>0, the detection gap decreases when ∆ρ narrows or adversaries obtain real hub connections, white-box gradient access reduces detection, and the drift analysis assumes smooth drift. Experiments cover XBlock, Reddit, and appendix Tolokers and YelpChi, including 20-step drift and a real 2017–2018 time window.