Yuan Xie, Zhuo Chen, Xin Tan, Zhizhong Zhang, Lizhuang Ma, Ruixin Zhang, Yulong Chen, Yanyun Qu, Rizen Guo, Xiaofan Li, Guanna Jiang
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
With the rise of generative models, there is a growing interest in unifying all tasks within a generative framework. Anomaly detection methods also fall into this scope and utilize diffusion models to generate or reconstruct normal samples when given arbitrary anomaly images. However, our study found that the diffusion model suffers from severe "faithfulness hallucination" and "catastrophic forgetting", which can't meet the unpredictable pattern increments. To mitigate the above problems, we propose a continual diffusion model that uses gradient projection to achieve stable continual learning. Gradient projection deploys a regularization on the model updating by modifying the gradient towards the direction protecting the learned knowledge. But as a double-edged sword, it also requires huge memory costs brought by the Markov process. Hence, we propose an iterative singular value decomposition method based on the transitive property of linear representation, which consumes tiny memory and incurs almost no performance loss. Finally, considering the risk of "over-fitting" to normal images of the diffusion model, we propose an anomaly-masked network to enhance the condition mechanism of the diffusion model. For continual anomaly detection, ours achieves first place in 17/18 settings on MVTec and VisA.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2502.19848")
get_code_for_paper("2502.19848")
have("2502.19848")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2502.19848.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2502.19848)
Connect an agent — have() is free.