SF-DST: Adapting Vision-Language Models for Anomaly Detection via Asymmetric Modulation and A-LoRA
Abstract
Vision-Language Models (VLMs) show great potential for Industrial Anomaly Detection (IAD) but often overlook subtle high-frequency defects due to their semantic bias. Additionally, adapting them with only normal training images risks rank collapse of the low-rank adaptation subspace. To address these issues, we propose a unified framework termed SF-DST. First, we design Spatial-Frequency Dual-Stream Transformer, which explicitly captures intra-patch details via a parallel, patch-aligned discrete cosine transform branch. It incorporates Asymmetric Cross-Modal Modulation (ACMM), in which spatial semantics act as a context gate that selectively injects spectral residuals through a zero-initialized gate, substantially mitigating the texture blindness of VLM encoders. Second, Anomaly-Aware LoRA (A-LoRA) enforces orthogonal regularization on the adaptation subspace while optimizing a hypersphere-based objective. Spectral diagnostics confirm that A-LoRA keeps the adaptation subspace well-conditioned: it triples the effective rank of the weight update over vanilla LoRA, doubles that of the learned feature covariance, and better preserves the pre-trained representation. Experiments on MVTec-AD, VisA and MMAD show that A-LoRA outperforms five PEFT alternatives including DoRA under an identical backbone and objective, and that SF-DST is competitive with strong specialist detectors, achieving the best VisA image-level AUROC among protocol-matched methods, while additionally providing language-based defect understanding that vision-only detectors cannot offer.