arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.07660cs.CVcs.LG
收藏

我们是否需要教基础模型什么是生成图像?基于解析谱自适应的无梯度生成伪影检测

Need We Teach Foundation Models What is a Generative Image? Gradient-Free Generative Artifact Detection via Analytic Spectral Adaptation

Harbin University of Commerce(哈尔滨商业大学)

Qiaoyu Chen, Bing Zhang

AI总结:

提出无梯度方法,将生成伪影检测重构为分布外异常度量问题,通过解析解耦统计与语义偏差,在零样本设置下显著优于梯度优化方法。

摘要:

通过基于梯度的更新来适应基础模型以检测生成伪影会损害其内在表示。在有限样本上优化时,模型会过拟合到局部领域捷径。在专门数据上微调大量权重会引入错误的归纳偏差,在高维特征空间中引起可测量的 $\mathcal{L}_2$ 范数扰动——我们将这一现象形式化为锚点漂移。非线性激活放大了这种漂移,损害了跨未见领域的零样本伪造检测。我们提出了一种无梯度方法,将检测从二分类重新定义为分布外(OOD)异常度量问题。将冻结的基础模型视为稳定的坐标系,通过解析解耦统计和语义偏差,在真实视觉流形上建立一个绝对的自然锚点,该锚点源自注意力加权的空间矩和感知不一致性的正交投影。在极端零样本设置下(在面部伪造上训练,在通用文本到图像生成上测试),我们的方法显著优于梯度优化范式。无反向传播的前向传递和线性求解器实现了硬件无关、边缘可部署的校准,延迟极低。此外,Sherman-Morrison公式使得能够针对新型攻击进行即时在线学习,并通过协方差增量传输实现隐私保护的联邦协作。

英文摘要:

Adapting foundation models to detect generative artifacts via gradient-based updates compromises their intrinsic representations. Under optimization on limited samples, models overfit to local domain shortcuts. Fine-tuning massive weights on specialized data introduces erroneous inductive biases, inducing a measurable $\mathcal{L}_2$ norm perturbation in the high-dimensional feature space -- a phenomenon we formalize as anchor drift. Amplified by nonlinear activations, this drift impairs zero-shot forgery detection across unseen domains.We propose a gradient-free methodology reframing detection from binary classification to an out-of-distribution (OOD) anomaly measurement problem. Treating a frozen foundation model as a stable coordinate system, we establish an absolute natural anchor on the real visual manifold by analytically decoupling statistical and semantic deviations, derived from attention-weighted spatial moments and orthogonal projection of perceptual inconsistencies. Evaluated in an extreme zero-shot setting (trained on face forgeries, tested on universal Text-to-Image generations), our method significantly outperforms gradient-optimized paradigms. Backpropagation-free forward passes and linear solvers enable hardware-agnostic, edge-deployable calibration with minimal latency. Furthermore, the Sherman-Morrison formula unlocks instantaneous online learning against novel attacks and enables privacy-preserving federated collaboration via covariance delta transmission.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑