arXiv:2611.02673cs.AINov 2026

Manuscript Offprint

arXiv:2611.02673

Auditing Representation-Space Fraud Detection: A Bayesian IRL Framework for Calibrated Uncertainty and Its Limits

Shivam Swarup, Divya Prakash Shrivastava, Rakesh Thakur

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Shilling detectors for recommender systems are almost always evaluated by one number, detection AUROC, with no account of when it can be trusted. We audit representation-space detection with VEIL (Variational Evaluation via Inverse-reinforcement Learning), a pairwise (Bradley-Terry) Bayesian reward-inference framework over frozen encoder embeddings, after the Bayesian auditing paradigm for LLM alignment [1]: (A) a base posterior; (B) a hierarchical ARD extension with a learned confidence; and (C) a label-routed organic/attacker mixture used as an evidence-accumulation check. We prove (Prop. 1) that no detector built on a representation invariant to some transformation of user profiles can beat chance against an attack indistinguishable from organic profiles under that invariance. Detection is near-perfect against synthetic-structure attacks (AUROC 0.936–1.000) but collapses under donor-mimicry, which clones a real user's item set and splices in 1–3 target items: to chance on MovieLens-1M (0.48–0.51), partially on Amazon Musical Instruments, and least on CiaoDVD. Donor-mimicry is not undetectable: a non-learned baseline, each profile's maximum raw item-set Jaccard similarity to any other, reaches AUROC 0.92–0.97 (average precision 0.50–0.57) on all four donor-mimicry configurations, including ML-1M, where every embedding-based score is at chance. The signal is in the raw profiles; LightGCN's representation discards it, placing injected profiles closer to their true donor than its zero-propagation MF reduction does (distance 1.98 vs. 3.09). Severity varies by dataset, encoder, and detection method, with no one axis predicting the others. The limit lies in the representation, not the attack, and raw-similarity checks are a necessary complement to any learned detector.

Keywords: Shilling attack detection; recommender systems; Bayesian inverse reinforcement learning; calibrated uncertainty; representation invariance; graph neural networks

1 Introduction

A shilling-detection paper is, almost without exception, evaluated by a single number: detection AUROC on whatever attacks the authors chose to inject. That number says nothing about when it can be trusted: whether confidence tracks the actual difficulty of the attack, or whether a slightly more realistic attack would collapse it to chance unnoticed. Table 1 shows exactly this in our own pipeline: every synthetic and GAN-generated attack we test – classic random/average/bandwagon injection, AUSH, and AUSH with per-profile rating-style heterogenization – is detected at AUROC 0.936–1.000 regardless of which of our three inference components is used, and a single change to the attack (cloning a real user's item-set and rating history and splicing in only 1–3 target items) drives detection to AUROC 0.48–0.51: exact chance, across all three components and an 8-seed sweep. A detector reporting only the first number would have shipped, unqualified, a system blind to the second attack.

This gap is not primarily a modeling problem to be closed with a better detector; it is structural. Proposition 1 proves that any detector, however trained or complex, operating on a representation invariant to some transformation of user profiles cannot beat chance once an attack's profiles are indistinguishable under that invariance – a property of the representation, not a claim that the attack itself is undetectable (§6.6). This holds for every classifier in this paper, and for the widely-used label-free encoder we test (§6.5) it is not hypothetical: donor-mimicry attacks, constructed to approximately satisfy the proposition's hypothesis, drive detection from near-ceiling to exact chance. Nor is severity predictable from any single axis of comparison: §6.8 shows it varies by dataset, encoder architecture, and detection method, with a ranking on one axis not transferring once a second also varies. Given a failure mode that is provable, empirically confirmed, and not bounded by checking any one dimension, the right response is not a detector claiming to have solved it but an auditing framework that reports calibrated confidence in its own detections and is checked against exactly these axes. VEIL, our BIRL-style auditing framework, is built for that job. Its three-stage structure – quantify ambiguity in a posterior, audit that posterior's trustworthiness via calibrated epistemic uncertainty, validate the audit against evidence accumulation – follows the shift of Bou et al.'s Alignment Auditor for verifying LLM objectives [1], which we adapt to shilling detection: "is this user manipulating the system" becomes a Bayesian reward to infer, not a label to predict.

Concretely, we fit a static pairwise Bradley–Terry reward model by variational inference over frozen recommender embeddings (§4) in three components: (A) a base posterior with fixed confidence; (B) a hierarchical extension with per-dimension relevance priors and a learned confidence α\alpha as the calibrated-uncertainty audit signal; and (C) a two-branch organic/attacker mixture whose attacker-branch posterior we watch contract as evidence accumulates. Component (C) routes profiles by their labels, so it is an auditing experiment, not an unsupervised detector (a label-free attempt yields only a weakly attack-related partition; Appendix A). We run all three on a supervised GNN (Sup-GNN, trained on the attack labels: a circular positive control) and a label-free LightGCN (the honest test).

Running VEIL end to end surfaces three findings, plus a validation check: Component C's attacker-branch posterior contracts monotonically as injected-profile evidence accumulates, decoupled from point-estimate accuracy (§6.4) – expected Bayesian behavior, confirming the machinery works rather than a finding in its own right. First, and unexpected: Component B's learned α\alpha varies across the attack-difficulty ladder but not as a clean “confident when easy, unsure when hard” dial – lowest on the easiest configurations, peaking on the hardest attack still well above chance, and intermediate once detection has collapsed (§6.3). Second, the donor-mimicry collapse has a specific, traceable mechanism on our label-free encoder: LightGCN's adjacency construction and BPR loss never read a rating value, only item identity (§6.5), so no realism added to an attack's rating values could have mattered. This is not a new vulnerability class [2–5]; our contribution is a mechanistic, calibrated account of where and why that limit bites a BIRL-style auditing framework, not its discovery. Third, the collapse is not a property of ML-1M, of LightGCN, or of VEIL's detection method alone: it is severe on ML-1M, partial on Musical Instruments, and largely absent on CiaoDVD (§6.7); the matrix-factorization reduction of LightGCN is more robust than LightGCN on ML-1M's hardest point but less robust on both CiaoDVD points; and VEIL beats a classical RDMA/WDMA baseline on CiaoDVD but is comparable to it on ML-1M, where both collapse (§6.8). No one axis predicts the others, which is the empirical counterpart to Proposition 1: a detectability limit whose severity cannot be assumed to transfer without checking.

References (24)