Feature-based anomaly detection is widely adopted in industrial inspection due to the strong representational power of large pre-trained vision encoders. While most existing methods focus on improving within-category anomaly scoring, practical deployments increasingly require task-agnostic operation under continual category expansion, where the category identity is unknown at test time. In this setting, overall performance is often dominated by expert selection, namely routing an input to an appropriate normality model before any head-specific scoring is applied. However, routing rules that compare head-specific anomaly scores across independently constructed heads are unreliable in practice, as score distributions can differ substantially across categories in scale and tail behavior. We propose GCR, a lightweight mixture-of-experts framework for stabilizing task-agnostic continual anomaly detection through geometry-consistent routing. GCR routes each test image directly in a shared frozen patch-embedding space by minimizing an accumulated nearest-prototype distance to category-specific prototype banks, and then computes anomaly maps only within the routed expert using a standard prototype-based scoring rule. By separating cross-head decision making from within-head anomaly scoring, GCR avoids cross-head score comparability issues without requiring end-to-end representation learning. Experiments on MVTec AD and VisA show that geometry-consistent routing substantially improves routing stability and mitigates continual performance collapse, achieving near-zero forgetting while maintaining competitive detection and localization performance. These results indicate that many failures previously attributed to representation forgetting can instead be explained by decision-rule instability in cross-head routing. Code is available at https://github.com/jw-chae/GCR


翻译:基于特征的异常检测凭借大规模预训练视觉编码器的强大表征能力,在工业检测领域得到广泛应用。现有方法多聚焦于提升类别内的异常评分性能,而实际部署场景日益要求在持续类别扩展下实现任务无关操作,其中测试时类别身份未知。在此设定下,整体性能往往由专家选择机制主导,即在执行任何专家特定评分前,将输入样本路由至合适的正常性模型。然而,通过比较独立构建的专家间异常评分来实现路由的规则在实践中并不可靠,因为不同类别间的评分分布在量级和尾部行为上可能存在显著差异。本文提出GCR——一种轻量化的专家混合框架,通过几何一致性路由实现任务无关持续异常检测的稳定化。GCR在共享的冻结补丁嵌入空间中,通过最小化测试图像到类别特定原型库的累积最近邻原型距离,直接执行路由决策,随后仅在被选专家内部采用标准的基于原型的评分规则计算异常热力图。通过将跨专家决策与专家内异常评分解耦,GCR在无需端到端表征学习的情况下,有效规避了跨专家评分可比性问题。在MVTec AD和VisA数据集上的实验表明,几何一致性路由显著提升了路由稳定性并缓解了持续性能退化,在保持竞争力的检测与定位性能的同时实现了接近零遗忘。这些结果表明,先前被归因于表征遗忘的诸多失效案例,实际上可解释为跨专家路由中决策规则的不稳定性。代码已开源:https://github.com/jw-chae/GCR

0
下载
关闭预览

相关内容

基于图注意力机制和Transformer的异常检测
专知会员服务
62+阅读 · 2022年5月16日
「工业物联网异常检测技术」最新2022研究综述
专知会员服务
64+阅读 · 2022年5月3日
专知会员服务
34+阅读 · 2021年9月16日
基于深度学习的图异常检测技术综述
专知会员服务
86+阅读 · 2021年7月28日
专知会员服务
110+阅读 · 2020年10月27日
异常检测(Anomaly Detection)综述
极市平台
20+阅读 · 2020年10月24日
异常检测论文大列表:方法、应用、综述
专知
126+阅读 · 2019年7月15日
基于机器学习的KPI自动化异常检测系统
运维帮
13+阅读 · 2017年8月16日
侦测欺诈交易(异常点检测)
GBASE数据工程部数据团队
20+阅读 · 2017年5月10日
国家自然科学基金
3+阅读 · 2017年12月31日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
VIP会员
相关资讯
异常检测(Anomaly Detection)综述
极市平台
20+阅读 · 2020年10月24日
异常检测论文大列表:方法、应用、综述
专知
126+阅读 · 2019年7月15日
基于机器学习的KPI自动化异常检测系统
运维帮
13+阅读 · 2017年8月16日
侦测欺诈交易(异常点检测)
GBASE数据工程部数据团队
20+阅读 · 2017年5月10日
相关基金
国家自然科学基金
3+阅读 · 2017年12月31日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员