融合时间、结构与语义信号,精准识别大模型生成的刷评攻击
TH-GNN: Heterogeneous Temporal Graph Neural Networks for LLM-Agent Shilling Attack Detection

- 构建异构时序图神经网络,分类型注意力+时序编码捕捉多维度特征
- 在5类攻击、4个数据集上平均F1达0.870,最低注入率下比最强文本基线高11.5个百分点
- 适合关注推荐系统安全、对抗大模型生成攻击的研究者与工程师
大语言模型(LLM)可规模化生成逼真的虚假用户、流畅评论和连贯评分,系统性绕过推荐系统防御。仅依赖文本的检测器对评论嵌入语义漂移敏感,但忽略图结构与时间协同;仅基于图的检测器虽能发现邻域异常,却无法推理评论语义或大模型生成内容带来的跨模态不一致。我们提出TH-GNN,一种双层异构图变换器架构的异构时序图神经网络,在每条边引入可学习的正弦时序编码,实现按类型与关系的注意力机制。跨模态注意力融合用户结构嵌入与冻结的RoBERTa评论/商品描述表示,同时使用GRU建模日志间隔时间以捕捉时间爆发性。在五个攻击家族和四个基准数据集上评估,TH-GNN取得0.870的平均F1分数,相较于最强文本基线,在Agent4SR攻击中最低注入率下分别提升10.9和11.5个百分点。结果表明,联合建模时间、结构与语义信号对检测复杂大模型驱动的刷评攻击具有显著有效性。
原文摘要 · Abstract (English)
LLM agents can now generate realistic shilling profiles, fluent reviews, and coherent ratings at scale, systematically defeating recommender-system defenses. Text-only detectors that flag semantic drift in review embeddings are blind to graph structure and temporal coordination, while graph-only detectors that exploit neighborhood anomalies cannot reason over review semantics or the cross-modal inconsistencies produced by LLM-generated content. We propose TH-GNN, a heterogeneous temporal graph neural network with a two-layer Heterogeneous Graph Transformer backbone that applies per-type and per-relation attention augmented with learnable sinusoidal temporal encodings on every edge. Cross-modal attention fuses structural user embeddings with frozen RoBERTa representations of reviews and item descriptions, while a GRU operating over log inter-arrival times captures temporal burstiness. Evaluated across five attack families and four benchmark datasets, TH-GNN achieves a grand-mean F1 score of 0.870, outperforming the strongest text-only baseline on Agent4SR attacks by 10.9 percentage points and 11.5 percentage points at the lowest injection rate. These results demonstrate the effectiveness of jointly modeling temporal, structural, and semantic signals for detecting sophisticated LLM-driven shilling attacks.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。