arXiv:2605.23070cs.CV2026-05被引 1

通过流模型速度不匹配检测异常,无需重建图像。

Flow Mismatching: Unsupervised Anomaly Detection via Velocity Discrepancies in Flow Matching Models

论文配图:Flow Mismatching: Unsupervised Anomaly Detection via Velocity Discrepancies in Flow Matching Models
图 1 · 摘自论文原文
  • 利用流匹配模型的预测速度与几何路径速度对比
  • 异常处速度差异显著,生成像素级热图
  • 适合无监督异常检测,尤其对复杂纹理有效

我们提出Flow Mismatching,一种不依赖重建的无监督异常检测方法。将流匹配视为几何动力学,核心思想是:异常出现在模型学习的正常流与指向目标图像的几何路径不一致的位置。在仅用正常图像训练的流匹配模型基础上,沿从高斯噪声到目标图像的仿射路径,比较模型预测的速度(反映正常生成动态)与几何速度(包含异常内容)。异常会引发两者间强烈局部不一致。通过对多个时间步和路径上的不匹配进行聚合,得到像素级热图和图像级分数,无需测试时优化、特征记忆或额外校准。分析表明,总体不匹配可分解为不可约去噪项和测试路径与正常路径得分函数间的Fisher散度项,揭示了驱动异常分离的得分差成分,并解释了鲁棒路径聚合的有效性。在MVTec-AD和VisA上的实验表明,性能优于当前主流的重建类及近期流匹配类方法。

原文摘要 · Abstract (English)

We propose Flow Mismatching, an unsupervised anomaly detection method that deliberately avoids reconstruction-based paradigms. Instead, we treat flow matching as geometric dynamics and leverage a key insight: anomalies occur at places where the learned normal flow disagrees with the geometric path toward a test image. Given a flow matching model trained only on normal images, we probe its learned velocity field along affine paths from Gaussian noise to a target image. Along each path, we compare the model-predicted velocity, which follows normal generative dynamics, with the geometric velocity toward the target, which includes any anomalous content. Anomalies induce strong local disagreement between these velocities. Aggregating the mismatch over different time steps and multiple paths yields pixel-wise heatmaps and image-level scores without test-time optimization, feature memories, or additional calibration. Our analysis shows that the population mismatch decomposes into an irreducible denoising term and a Fisher-divergence term between the test-path and normal-path score functions, which identifies the score-gap component that drives anomaly separation and explains the effectiveness of robust path aggregation. Extensive experiments on MVTec-AD and VisA demonstrate superior performance compared with SOTA reconstruction-based and recent flow matching-based approaches.

异常检测流匹配无监督图像生成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。