高维潜在空间中基于时间反转的流匹配与最坏传输用于图像异常检测
Time-reversed Flow Matching with Worst Transport in High-dimensional Latent Space for Image Anomaly Detection
AI总结:
本文提出时间反转流匹配(rFM),通过密度代理估计目标域的规律性,解决传统流匹配在大规模数据中的计算难题,并引入局部最坏传输流(WT-Flow)提升性能,实现高效的一步推断。
摘要:
基于似然的深度生成模型在图像异常检测(IAD)中被广泛研究,特别是归一化流,但其严格的反向架构可逆性需求通常限制了可扩展性,特别是在大规模数据场景中。尽管时间参数化流匹配(FM)作为一种可扩展的替代方案,但在IAD中仍因雅可比行列式估计的高昂成本而计算困难。本文提出时间反转流匹配(rFM),将目标从精确似然计算转向通过密度代理估计目标域的规律性。我们揭示了这一范式中的两个根本性理论瓶颈:首先,反向向量场在初始时间边界处表现出非利普希茨奇点,导致爆炸性估计误差。其次,高维高斯流形中的测度集中性诱导了结构化不规则性,产生一个向内势场(CPF),使轨迹偏离最优传输(OT)路径。我们识别这些观察为FM和rFM之间的内在双重性。为了解决这些问题,我们引入局部最坏传输流(WT-Flow),放大rFM观测到的CPF以缓解初始奇点,同时通过密度代理避免精确分布转换的需要。在五个数据集上的实验表明,WT-Flow在单尺度流方法中实现了最先进的性能,并与领先多尺度方法具有竞争力。此外,所提出的框架实现了优越的一步推断,每张图像的流延迟仅为6.7毫秒。我们的代码可在https://github.com/lil-wayne-0319/fmad上获得。
英文摘要:
Likelihood-based deep generative models have been widely investigated for Image Anomaly Detection (IAD), particularly Normalizing Flows, yet their strict architectural invertibility needs often constrain scalability, particularly in large-scale data regimes. Although time-parameterized Flow Matching (FM) serves as a scalable alternative, it remains computationally challenging in IAD due to the prohibitive costs of Jacobian-trace estimation. This paper proposes time-reversed Flow Matching (rFM), which shifts the objective from exact likelihood computation to evaluating target-domain regularity through density proxy estimation. We uncover two fundamental theoretical bottlenecks in this paradigm: first, the reversed vector field exhibits a non-Lipschitz singularity at the initial temporal boundary, precipitating explosive estimation errors. Second, the concentration of measure in high-dimensional Gaussian manifolds induces structured irregularities, giving rise to a Centripetal Potential Field (CPF) that steers trajectories away from Optimal Transport (OT) paths. We identify these observations as the inherent dualities between FM and rFM. To address these issues, we introduce local Worst Transport Flow matching (WT-Flow), which amplifies the observed CPF of rFM to mitigate the initial singularity while circumventing the need for exact distribution transformations via density proxy. Experiments on five datasets demonstrate that WT-Flow achieves state-of-the-art performance among single-scale flow-based methods, and competitive performance against leading multi-scale approaches. Furthermore, the proposed framework enables superior one-step inference, achieving a per-image flow latency of only 6.7 ms. Our code is available on https://github.com/lil-wayne-0319/fmad.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。