通过分析特征流形的局部结构,精准识别隐蔽后门攻击。
TED++: Submanifold-Aware Backdoor Detection via Layerwise Tubular-Neighbourhood Screening
- 构建每类特征流形的管状邻域,捕捉其局部厚度。
- 仅需每类5个干净样本,仍可实现近似完美检测。
- 适合防御数据稀缺下的隐蔽后门攻击,对安全研究者有价值。
随着深度神经网络在关键应用中的普及,隐蔽后门攻击——即恶意训练数据触发模型异常行为而外观正常——带来了严重安全风险。现有防御方法在攻击者利用微小距离异常或干净样本稀缺时易失效。为此,我们提出TED++,一种基于子流形感知的框架,能有效检测逃逸现有防御的隐蔽后门。TED++首先为每一类的隐藏特征流形构造管状邻域,并仅用少量干净激活样本估算其局部‘厚度’。接着采用局部自适应排序(LAR)检测偏离允许管状区域的激活。通过跨层聚合这些调整后的排名,TED++捕捉输入在演化类子流形上的忠实度。基于此类‘管约束’行为特征,若输入的LAR排名序列显著偏离,则被标记为可疑。大量实验在基准数据集和任务上验证,即使在自适应攻击和数据有限场景下,TED++仍达当前最优检测性能。尤为突出的是,仅需每类5个保留样本,仍能实现近乎完美的检测,相较次优方法提升最高达14%的AUROC。代码已公开于https://github.com/namle-w/TEDpp。
原文摘要 · Abstract (English)
As deep neural networks power increasingly critical applications, stealthy backdoor attacks, where poisoned training inputs trigger malicious model behaviour while appearing benign, pose a severe security risk. Many existing defences are vulnerable when attackers exploit subtle distance-based anomalies or when clean examples are scarce. To meet this challenge, we introduce TED++, a submanifold-aware framework that effectively detects subtle backdoors that evade existing defences. TED++ begins by constructing a tubular neighbourhood around each class's hidden-feature manifold, estimating its local ``thickness'' from a handful of clean activations. It then applies Locally Adaptive Ranking (LAR) to detect any activation that drifts outside the admissible tube. By aggregating these LAR-adjusted ranks across all layers, TED++ captures how faithfully an input remains on the evolving class submanifolds. Based on such characteristic ``tube-constrained'' behaviour, TED++ flags inputs whose LAR-based ranking sequences deviate significantly. Extensive experiments are conducted on benchmark datasets and tasks, demonstrating that TED++ achieves state-of-the-art detection performance under both adaptive-attack and limited-data scenarios. Remarkably, even with only five held-out examples per class, TED++ still delivers near-perfect detection, achieving gains of up to 14\% in AUROC over the next-best method. The code is publicly available at https://github.com/namle-w/TEDpp.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。