TAMCA: Time-Aware Multi-Scale Convolutional Attention for Multi-Class Industrial Anomaly Detection
Abstract
1. Introduction
- We propose TAMCA, a time-aware diffusion reconstruction framework for multi-class industrial anomaly detection. It addresses the stage-wise mismatch caused by shared attention across all timesteps and fixed receptive-field configurations.
- To enhance contextual modeling during diffusion denoising, a Multi-Scale Convolutional Attention (MSCA) module is incorporated into the reconstruction network. By combining local depthwise convolution with decomposed large-kernel convolution, MSCA jointly captures local texture details and long-range structural dependencies while maintaining a lightweight design.
- To inject timestep information in a targeted manner, MSCA-T maps the diffusion timestep embedding to a branch-level gating coefficient. The generated gate selectively regulates the contribution of the large-kernel context branch at different noise levels, enabling a better balance between global structure recovery and local detail preservation.
- During inference, Diffusion-aware Consistency Ensembling (DiCE) serves as a stabilization strategy for anomaly map fusion. It estimates the reliability of multi-view anomaly maps using median consensus and performs reliability-weighted fusion, thereby suppressing view-specific false responses and improving the spatial consistency and boundary stability of anomaly maps.
2. Related Work
2.1. Anomaly Detection
2.2. Diffusion Models
3. Method
3.1. Latent Diffusion Model
3.2. Multi-Scale Convolutional Attention
3.3. Time-Aware Multi-Scale Convolutional Attention
3.4. Diffusion-Aware Consistency Ensembling
4. Experiments
4.1. Datasets
4.2. Evaluation Metrics
4.3. Experimental Setup
4.4. Quantitative Comparison
5. Ablation Study
5.1. Main Component Ablation
5.2. Ablation on Time Modulation Strategies
5.3. Visualization of Gate Coefficients
5.4. Sensitivity Analysis on the Number of DiCE Views
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Fu, Y.; Lin, A. RD-RE: Reverse Distillation with Feature Reconstruction Enhancement for Industrial Anomaly Detection. Computers 2026, 15, 21. [Google Scholar] [CrossRef] [Scilit]
- Liao, J.; Su, Y.; Tu, R.-C.; Jin, Z.; Sun, W.; Li, Y.; Xu, X.; Tao, D.; Yang, X. AD-FM: Multimodal LLMs for Anomaly Detection via Multi-Stage Reasoning and Fine-Grained Reward Optimization. Proc. AAAI Conf. Artif. Intell. 2026, 40, 15234–15242. [Google Scholar] [CrossRef] [Scilit]
- Hernandez-Jaimes, M.L.; Martinez-Cruz, A.; Ramírez-Gutiérrez, K.A.; Morales-Reyes, A. Network traffic inspection to enhance anomaly detection in the Internet of Things using attention-driven Deep Learning. Integration 2025, 103, 102398. [Google Scholar] [CrossRef] [Scilit]
- Wei, H.; Zhao, L.; Li, R.; Hu, G.; Zhang, M.; Ouyang, B.; Ruan, C.; Tan, J.; Xu, Y. PP-Former: Exploring Purified Intrinsic Normal Prototypes for Industrial Anomaly Detection. Knowl.-Based Syst. 2026, 331, 114759. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Liu, F.; Liao, J.; Tian, S.; Foo, C.-S.; Yang, X. FIND: Few-Shot Anomaly Inspection with Normal-Only Multi-Modal Data. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Honolulu, HI, USA, 19–23 October 2025; pp. 23290–23299. [Google Scholar] [CrossRef] [Scilit]
- Roth, K.; Pemula, L.; Zepeda, J.; Scholkopf, B.; Brox, T.; Gehler, P. Towards Total Recall in Industrial Anomaly Detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 19–24 June 2022; pp. 14318–14328. [Google Scholar] [CrossRef] [Scilit]
- Kim, D.; Kim, H.; Jeong, D.; Suh, S.; Cho, H. SPACE: Spatial-Aware Consistency Regularization for Anomaly Detection in Industrial Applications. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, Tucson, AZ, USA, 28 February–4 March 2025; pp. 7184–7194. [Google Scholar] [CrossRef] [Scilit]
- Wu, R.; Zhu, H.; Zhang, S.; Wang, M.; Li, Z.; Li, H.; Zhou, J.; Cui, J.; Chen, F.; Sun, P.; et al. RcAE: Recursive Reconstruction Framework for Unsupervised Industrial Anomaly Detection. Proc. AAAI Conf. Artif. Intell. 2026, 40, 10736–10744. [Google Scholar] [CrossRef] [Scilit]
- Li, C.-L.; Sohn, K.; Yoon, J.; Pfister, T. CutPaste: Self-Supervised Learning for Anomaly Detection and Localization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Virtual, 19–25 June 2021; pp. 9664–9674. [Google Scholar] [CrossRef] [Scilit]
- Duan, Y.; Xu, W.; Wu, Q.; Xie, G.-S.; Zhao, F.; Shan, C. AnomalyControl: Highly-Aligned Anomalous Image Generation with Controlled Diffusion Model. In Proceedings of the 33rd ACM International Conference on Multimedia, Dublin, Ireland, 27–31 October 2025; pp. 8048–8057. [Google Scholar] [CrossRef] [Scilit]
- Zavrtanik, V.; Kristan, M.; Skočaj, D. DRAEM: A Discriminatively Trained Reconstruction Embedding for Surface Anomaly Detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Virtual, 11–17 October 2021; pp. 8330–8339. [Google Scholar] [CrossRef] [Scilit]
- Zavrtanik, V.; Kristan, M.; Skočaj, D. DSR: A Dual Subspace Re-Projection Network for Surface Anomaly Detection. In Proceedings of the European Conference on Computer Vision, Tel Aviv, Israel, 23–27 October 2022; Springer: Cham, Switzerland, 2022; pp. 539–554. [Google Scholar] [CrossRef] [Scilit]
- Liu, W.; Li, R.; Zheng, M.; Karanam, S.; Wu, Z.; Bhanu, B.; Radke, R.J.; Camps, O. Towards Visually Explaining Variational Autoencoders. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 8640–8649. [Google Scholar] [CrossRef] [Scilit]
- Zheng, B.; Gan, J.; Xu, X.; Chen, X.; Li, W.; Huang, X.; Ni, N.; Wu, Y. Bridging 3D Anomaly Localization and Repair via High-Quality Continuous Geometric Representation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Honolulu, HI, USA, 19–23 October 2025; pp. 27063–27072. [Google Scholar] [CrossRef] [Scilit]
- Fučka, M.; Zavrtanik, V.; Skočaj, D. SALAD: Semantics-Aware Logical Anomaly Detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Honolulu, HI, USA, 19–23 October 2025; pp. 21843–21852. [Google Scholar] [CrossRef] [Scilit]
- Liang, Y.; Zhang, J.; Zhao, S.; Wu, R.; Liu, Y.; Pan, S. Omni-Frequency Channel-Selection Representations for Unsupervised Anomaly Detection. IEEE Trans. Image Process. 2023, 32, 4327–4340. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lai, Z.; Lu, Y.; Li, X.; Lin, J.; Qu, Y.; Li, M.; Cao, L. AnomalyPainter: Vision-Language-Diffusion Synergy for Realistic and Diverse Unseen Industrial Anomaly Synthesis. Proc. AAAI Conf. Artif. Intell. 2026, 40, 5800–5808. [Google Scholar] [CrossRef] [Scilit]
- Yao, H.; Liu, M.; Yin, Z.; Yan, Z.; Hong, X.; Zuo, W. GLAD: Towards Better Reconstruction with Global and Local Adaptive Diffusion Models for Unsupervised Anomaly Detection. In Proceedings of the European Conference on Computer Vision, Milan, Italy, 29 September–4 October 2024; Springer: Cham, Switzerland, 2024; pp. 1–17. [Google Scholar] [CrossRef] [Scilit]
- Wu, K.; Xu, C.; Zhang, R. A Diffusion-Based Time-Frequency Dual-Stream Contrastive Learning Model for Multivariate Time Series Anomaly Detection. Entropy 2026, 28, 448. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, B.; Li, W.; Yu, G.; Liu, X.; Chen, W.; Tian, L. One-Step Diffusion with Inverse Residual Fields for Unsupervised Industrial Anomaly Detection. arXiv 2026, arXiv:2604.18393. [Google Scholar] [CrossRef] [Scilit]
- Ho, J.; Jain, A.; Abbeel, P. Denoising Diffusion Probabilistic Models. Adv. Neural Inf. Process. Syst. 2020, 33, 6840–6851. [Google Scholar] [CrossRef] [Scilit]
- Rombach, R.; Blattmann, A.; Lorenz, D.; Esser, P.; Ommer, B. High-Resolution Image Synthesis with Latent Diffusion Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 19–24 June 2022; pp. 10684–10695. [Google Scholar] [CrossRef] [Scilit]
- Yi, J.; Yoon, S. Patch SVDD: Patch-Level SVDD for Anomaly Detection and Segmentation. In Proceedings of the Asian Conference on Computer Vision, Kyoto, Japan, 30 November–4 December 2020; Springer: Cham, Switzerland, 2021; Volume 12627, pp. 375–390. [Google Scholar] [CrossRef] [Scilit]
- Lin, Y.; Yan, H.; Tong, X.; Chang, Y.; Wang, H.; Zhou, Z.; Gao, S.; Wang, Y.; Zhang, W. Commonality in Few: Few-Shot Multimodal Anomaly Detection via Hypergraph-Enhanced Memory. Proc. AAAI Conf. Artif. Intell. 2026, 40, 7015–7023. [Google Scholar] [CrossRef] [Scilit]
- Defard, T.; Setkov, A.; Loesch, A.; Audigier, R. PaDiM: A Patch Distribution Modeling Framework for Anomaly Detection and Localization. In Proceedings of the International Conference on Pattern Recognition Workshops, Virtual, 10–15 January 2021; Springer: Cham, Switzerland, 2021; pp. 475–489. [Google Scholar] [CrossRef] [Scilit]
- Huang, C.; Guan, H.; Jiang, A.; Zhang, Y.; Spratling, M.; Wang, Y.-F. Registration Based Few-Shot Anomaly Detection. In Proceedings of the European Conference on Computer Vision, Tel Aviv, Israel, 23–27 October 2022; Springer: Cham, Switzerland, 2022; pp. 303–319. [Google Scholar] [CrossRef] [Scilit]
- Hinton, G.E.; Salakhutdinov, R.R. Reducing the Dimensionality of Data with Neural Networks. Science 2006, 313, 504–507. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kingma, D.P.; Welling, M. Auto-Encoding Variational Bayes. arXiv 2013, arXiv:1312.6114. [Google Scholar] [CrossRef] [Scilit]
- Schlegl, T.; Seeböck, P.; Waldstein, S.M.; Schmidt-Erfurth, U.; Langs, G. Unsupervised Anomaly Detection with Marker Discovery. In Proceedings of the Information Processing in Medical Imaging, Boone, NC, USA, 25–30 June 2017; Springer: Cham, Switzerland, 2017; pp. 146–157. [Google Scholar] [CrossRef] [Scilit]
- You, Z.; Cui, L.; Shen, Y.; Yang, K.; Lu, X.; Zheng, Y.; Le, X. A Unified Model for Multi-Class Anomaly Detection. Adv. Neural Inf. Process. Syst. 2022, 35, 4571–4584. [Google Scholar] [CrossRef] [Scilit]
- Song, J.; Meng, C.; Ermon, S. Denoising Diffusion Implicit Models. arXiv 2020, arXiv:2010.02502. [Google Scholar] [CrossRef] [Scilit]
- Liu, Y.; Wang, Y.; Dai, Y.; Liu, X.; Li, Y.; Chen, B.; Hu, D. Spatially-Grounded Diffusion for Few-Shot Anomaly Image Generation. arXiv 2026, arXiv:2604.08301. [Google Scholar] [CrossRef] [Scilit]
- Lu, F.; Yao, X.; Fu, C.-W.; Jia, J. Removing Anomalies as Noises for Industrial Defect Localization. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 2–6 October 2023; pp. 16166–16175. [Google Scholar] [CrossRef] [Scilit]
- Zhang, X.; Li, N.; Li, J.; Dai, T.; Jiang, Y.; Xia, S.-T. Unsupervised Surface Anomaly Detection with Diffusion Probabilistic Model. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 2–6 October 2023; pp. 6759–6768. [Google Scholar] [CrossRef] [Scilit]
- Mousakhan, A.; Brox, T.; Tayyub, J. Anomaly Detection with Conditioned Denoising Diffusion Models. In Proceedings of the DAGM German Conference on Pattern Recognition, Munich, Germany, 10–13 September 2024; Springer: Cham, Switzerland, 2024; pp. 181–195. [Google Scholar] [CrossRef] [Scilit]
- He, H.; Zhang, J.; Chen, H.; Chen, X.; Li, Z.; Chen, X.; Wang, Y.; Wang, C.; Xie, L. A Diffusion-Based Framework for Multi-Class Anomaly Detection. Proc. AAAI Conf. Artif. Intell. 2024, 38, 8472–8480. [Google Scholar] [CrossRef] [Scilit]
- Bergmann, P.; Fauser, M.; Sattlegger, D.; Steger, C. MVTec AD: A Comprehensive Real-World Dataset for Unsupervised Anomaly Detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 16–20 June 2019; pp. 9592–9600. [Google Scholar] [CrossRef] [Scilit]
- Zou, Y.; Jeong, J.; Pemula, L.; Zhang, D.; Dabeer, O. Spot-the-Difference Self-Supervised Pre-Training for Anomaly Detection and Segmentation. In Proceedings of the European Conference on Computer Vision, Tel Aviv, Israel, 23–27 October 2022; Springer: Cham, Switzerland, 2022; pp. 392–408. [Google Scholar] [CrossRef] [Scilit]
- He, H.; Bai, Y.; Zhang, J.; He, Q.; Chen, H.; Gan, Z.; Wang, C.; Li, X.; Tian, G.; Xie, L. MambaAD: Exploring State Space Models for Multi-Class Unsupervised Anomaly Detection. Adv. Neural Inf. Process. Syst. 2024, 37, 71162–71187. [Google Scholar] [CrossRef] [Scilit]
- Luo, W.; Cao, Y.; Yao, H.; Zhang, X.; Lou, J.; Cheng, Y.; Shen, W.; Yu, W. Exploring Intrinsic Normal Prototypes within a Single Image for Universal Anomaly Detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA, 11–15 June 2025; pp. 9974–9983. [Google Scholar] [CrossRef] [Scilit]
- Gu, Z.; Liu, L.; Chen, X.; Yi, R.; Zhang, J.; Wang, Y.; Wang, C.; Shu, A.; Jiang, G.; Ma, L. Remembering Normality: Memory-Guided Knowledge Distillation for Unsupervised Anomaly Detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 2–6 October 2023; pp. 16401–16409. [Google Scholar] [CrossRef] [Scilit]
- Deng, H.; Li, X. Anomaly Detection via Reverse Distillation from One-Class Embedding. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 19–24 June 2022; pp. 9737–9746. [Google Scholar] [CrossRef] [Scilit]





| Category | Non-Diffusion Method | Diffusion-Based Method | |||||||
|---|---|---|---|---|---|---|---|---|---|
| PaDiM [25] | MKD [41] | RD4AD [42] | UniAD [30] | DRAEM [11] | DDPM [21] | LDM [22] | DiAD [36] | Ours | |
| Bottle | 97.9/- | 98.7/- | 99.6/99.9/98.4 | 99.7/100./100. | 97.5/99.2/96.1 | 63.6/71.8/86.3 | 93.8/98.7/93.7 | 99.7/96.5/91.8 | 99.3/99.9/99.7 |
| Capsule | 73.4/- | 68.3/- | 94.1/96.9/96.9 | 86.9/97.8/94.4 | 65.3/92.5/90.4 | 52.9/82.0/90.5 | 60.5/81.4/90.5 | 89.0/97.5/95.5 | 95.6/97.9/88.7 |
| Metal nut | 88.0/- | 64.9/- | 100./100./99.5 | 99.2/99.9/99.5 | 72.8/95.0/92.0 | 60.0/74.4/89.4 | 53.0/80.1/89.4 | 99.1/96.0/91.6 | 97.5/99.8/98.9 |
| Hazelnut | 85.5/- | 97.1/- | 60.8/69.8/86.4 | 99.8/100./99.3 | 93.7/97.5/92.3 | 87.0/90.4/88.1 | 93.0/95.8/89.8 | 99.5/99.7/97.3 | 97.5/99.5/99.1 |
| Pill | 68.8/- | 79.7/- | 97.5/99.6/96.8 | 93.7/98.7/95.7 | 82.2/94.9/92.4 | 55.8/84.0/91.6 | 62.1/93.1/91.6 | 95.7/98.5/94.5 | 97.6/99.6/96.7 |
| Transistor | 86.6/- | 73.4/- | 94.2/95.2/90.0 | 99.8/98.0/93.8 | 74.8/77.4/71.1 | 57.8/44.6/57.1 | 61.0/57.8/59.1 | 99.8/99.6/97.4 | 97.5/99.8/99.8 |
| Screw | 56.9/- | 75.6/- | 97.7/99.3/95.8 | 87.5/96.5/89.0 | 92.0/95.7/89.9 | 53.6/71.9/85.9 | 58.7/81.9/85.6 | 90.7/99.7/97.9 | 90.8/94.3/86.1 |
| Cable | 70.9/- | 78.2/- | 84.1/89.5/82.5 | 95.2/95.9/88.0 | 57.8/74.0/76.3 | 55.6/69.7/76.0 | 55.7/74.8/77.7 | 94.8/98.8/95.2 | 93.2/97.2/95.5 |
| Zipper | 79.7/- | 87.4/- | 99.5/99.9/99.2 | 95.8/99.5/97.1 | 98.8/99.9/99.2 | 64.9/77.4/88.1 | 73.6/89.5/90.6 | 95.1/99.1/94.4 | 97.7/98.9/94.4 |
| Toothbrush | 95.3/- | 75.3/- | 97.2/99.0/94.7 | 94.2/97.4/95.2 | 90.6/96.8/90.0 | 57.5/68.0/83.3 | 78.6/83.9/83.3 | 99.7/99.9/99.2 | 97.9/99.6/99.8 |
| Carpet | 93.8/- | 69.8/- | 98.5/99.6/97.2 | 99.8/99.9/99.4 | 98.0/99.1/96.7 | 95.5/98.7/91.0 | 99.4/99.8/99.4 | 99.4/99.9/98.3 | 99.8/99.9/99.8 |
| Leather | 99.9/- | 93.6/- | 100./100./100. | 100./100./100. | 98.7/99.3/95.0 | 98.4/99.5/96.3 | 97.4/99.0/96.3 | 99.8/99.7/97.6 | 100./100./100. |
| Tile | 93.3/- | 89.5/- | 98.3/99.3/96.4 | 99.3/99.8/98.2 | 99.8/100./100. | 93.6/97.5/92.0 | 97.1/98.7/94.1 | 96.8/99.9/98.4 | 95.5/99.6/98.9 |
| Grid | 73.9/- | 83.8/- | 98.0/99.4/96.5 | 98.2/99.5/97.3 | 99.3/99.7/98.2 | 83.5/93.9/86.9 | 67.3/82.6/84.4 | 98.5/99.8/97.7 | 99.3/99.8/98.6 |
| Wood | 98.4/- | 93.4/- | 99.2/99.8/98.3 | 98.6/99.6/96.6 | 99.8/100./100. | 98.6/99.6/97.5 | 97.8/99.4/95.9 | 99.7/100./100. | 98.9/99.8/99.4 |
| Average | 84.2/- | 81.9/- | 94.6/96.5/95.2 | 96.5/98.8/96.2 | 88.1/94.7/92.0 | 71.9/81.6/86.6 | 76.6/87.8/88.1 | 97.2/99.0/96.5 | 97.2/99.0/97.0 |
| Category | Non-Diffusion Method | Diffusion-Based Method | |||||||
|---|---|---|---|---|---|---|---|---|---|
| PaDiM [25] | MKD [41] | RD4AD [42] | UniAD [30] | DRAEM [11] | DDPM [21] | LDM [22] | DiAD [36] | Ours | |
| Bottle | 96.1/- | 91.8/- | 97.8/68.2/67.6 | 98.1/66.0/69.2 | 87.6/62.5/56.9 | 59.9/4.9/11.7 | 86.9/49.1/50.0 | 98.4/52.2/54.8 | 96.8/48.2/53.5 |
| Capsule | 96.9/- | 88.3/- | 98.8/43.4/50.0 | 98.5/42.7/46.5 | 50.5/6.0/10.0 | 63.1/6.2/9.7 | 90.0/7.9/27.3 | 97.1/42.0/45.3 | 97.4/44.9/47.4 |
| Metal nut | 84.8/- | 64.2/- | 93.8/62.3/65.4 | 94.8/55.5/66.4 | 62.2/31.1/21.0 | 62.7/14.6/29.2 | 70.5/19.3/30.7 | 97.3/30.0/38.3 | 97.5/79.9/82.3 |
| Hazelnut | 96.3/- | 91.2/- | 97.9/36.2/51.6 | 98.1/55.2/56.8 | 96.9/70.0/60.5 | 91.2/24.1/28.3 | 95.1/51.2/53.5 | 98.3/79.2/80.4 | 98.5/65.0/61.7 |
| Pill | 87.7/- | 69.7/- | 97.5/63.4/65.2 | 95.0/44.0/53.9 | 94.4/59.1/44.1 | 55.3/4.0/8.4 | 74.9/10.2/15.0 | 95.7/46.0/51.4 | 93.1/64.4/48.6 |
| Transistor | 92.3/- | 71.7/- | 85.9/42.3/45.2 | 97.9/59.5/64.6 | 64.5/23.6/15.1 | 53.2/5.8/11.4 | 85.5/25.0/30.7 | 95.1/15.6/31.7 | 96.1/60.3/64.7 |
| Screw | 94.1/- | 92.1/- | 99.4/40.2/44.6 | 98.3/28.7/37.6 | 95.5/33.8/40.6 | 91.1/1.8/3.8 | 91.7/2.2/4.6 | 97.9/60.6/59.6 | 98.1/33.8/63.4 |
| Cable | 81.0/- | 89.3/- | 85.1/26.3/33.6 | 97.3/39.9/45.2 | 71.3/14.7/17.8 | 66.5/6.7/10.6 | 89.3/18.5/26.2 | 96.8/50.1/57.8 | 97.7/50.1/54.9 |
| Zipper | 94.8/- | 86.1/- | 98.5/53.9/60.3 | 96.8/40.1/49.9 | 98.3/74.3/69.3 | 67.4/3.5/7.6 | 66.9/5.3/7.4 | 96.2/60.7/60.0 | 98.8/52.8/55.5 |
| Toothbrush | 95.6/- | 88.9/- | 99.0/53.6/58.8 | 98.4/34.9/45.7 | 97.7/55.2/55.8 | 76.9/4.0/7.7 | 93.7/20.4/9.8 | 99.0/78.7/72.8 | 99.1/68.7/64.8 |
| Carpet | 97.6/- | 95.5/- | 99.0/58.5/60.4 | 98.5/49.9/51.1 | 98.6/78.7/73.1 | 89.2/18.8/44.3 | 99.1/70.6/66.0 | 98.6/42.2/46.4 | 99.1/79.7/61.8 |
| Leather | 84.8/- | 96.7/- | 99.3/38.0/45.1 | 98.8/32.9/34.4 | 97.3/60.3/57.4 | 97.3/38.9/43.2 | 99.0/45.9/44.0 | 98.8/56.1/62.3 | 98.9/45.7/59.5 |
| Tile | 80.5/- | 85.3/- | 95.3/48.5/60.5 | 91.8/42.1/50.6 | 98.0/93.6/86.0 | 87.0/35.2/36.6 | 90.1/43.9/51.6 | 92.4/65.7/64.1 | 94.3/56.8/53.9 |
| Grid | 71.0/- | 82.3/- | 99.2/46.0/47.4 | 96.5/23.0/28.4 | 98.7/44.5/46.2 | 63.1/0.7/1.9 | 52.4/1.1/1.9 | 96.6/66.0/64.1 | 99.4/49.5/51.3 |
| Wood | 89.1/- | 80.5/- | 95.3/47.8/51.0 | 93.2/37.2/41.5 | 96.0/81.4/74.6 | 84.7/30.9/37.3 | 92.3/44.1/46.6 | 93.3/43.3/43.5 | 93.2/46.7/48.7 |
| Average | 89.5/- | 84.9/- | 96.1/48.6/53.8 | 96.8/43.4/49.5 | 87.2/52.5/48.6 | 73.9/13.3/19.5 | 85.1/27.6/31.0 | 96.8/52.6/55.5 | 97.2/56.4/58.1 |
| Non-Diffusion Method | Diffusion-Based Method | ||||||
|---|---|---|---|---|---|---|---|
| RD4AD [42] | UniAD [30] | DRAEM [11] | DDPM [21] | LDM [22] | DiAD [36] | Ours | |
| PRO | 91.1 | 90.7 | 71.1 | 49.0 | 66.3 | 90.7 | 91.8 |
| Category | Non-Diffusion Method | Diffusion-Based Method | ||||
|---|---|---|---|---|---|---|
| UniAD [30] | DRAEM [11] | DDPM [21] | LDM [22] | DiAD [36] | Ours | |
| PCB1 | 93.3/3.9/8.3/64.1 | 94.6/31.8/37.2/52.8 | 75.7/1.1/2.8/36.1 | 84.5/2.1/4.9/54.3 | 98.7/49.6/52.8/80.2 | 99.2/58.1/61.0/82.4 |
| PCB2 | 93.9/4.2/9.2/66.9 | 92.3/10.0/18.6/66.2 | 76.2/0.7/1.6/30.8 | 89.5/2.5/6.7/52.7 | 95.2/7.5/16.7/67.0 | 97.3/11.2/17.8/78.7 |
| PCB3 | 97.3/13.8/21.9/70.6 | 90.8/14.1/24.4/42.9 | 83.3/1.0/2.5/56.1 | 94.4/9.2/17.4/67.8 | 96.7/8.0/18.8/68.9 | 98.0/16.1/24.1/75.1 |
| PCB4 | 94.9/14.7/22.9/72.3 | 94.4/31.0/37.6/75.7 | 73.0/1.4/3.5/29.9 | 80.4/2.1/4.2/40.3 | 97.0/17.6/27.2/85.0 | 98.1/26.1/28.9/89.3 |
| Macaroni1 | 97.4/3.7/9.7/84.0 | 95.0/19.1/24.1/67.0 | 87.4/0.4/1.0/61.2 | 81.6/0.3/1.3/47.3 | 94.1/10.2/16.7/68.5 | 94.6/10.2/15.3/69.8 |
| Macaroni2 | 95.2/0.9/4.3/76.6 | 94.6/3.9/12.4/65.2 | 84.8/0.2/0.6/54.1 | 87.2/0.3/0.6/57.2 | 93.6/0.9/2.8/73.1 | 95.5/4.0/4.4/79.6 |
| Capsules | 88.7/3.0/7.4/43.7 | 97.1/27.8/33.7/62.8 | 77.1/1.1/2.8/34.6 | 75.5/1.1/2.7/34.8 | 97.3/10.0/21.0/77.9 | 98.6/17.5/31.9/81.6 |
| Candle | 98.5/17.6/27.9/91.6 | 82.2/10.1/19.0/65.6 | 76.4/0.4/1.4/34.1 | 85.3/0.9/1.9/46.8 | 97.3/12.8/22.8/89.4 | 97.9/17.2/22.6/90.8 |
| Cashew | 98.6/51.7/58.3/87.9 | 80.7/9.9/15.7/38.5 | 74.5/2.7/5.2/58.7 | 90.5/5.1/10.1/68.3 | 90.9/53.1/60.9/61.8 | 91.7/48.1/52.9/73.1 |
| Chewing gum | 98.8/54.9/56.1/81.3 | 91.0/62.3/63.3/40.9 | 74.7/1.4/2.8/37.9 | 84.1/3.1/6.9/52.9 | 94.7/11.9/25.8/59.5 | 96.4/51.5/51.9/63.6 |
| Fryum | 95.9/34.0/40.6/76.2 | 92.4/38.8/38.5/69.5 | 85.7/9.4/17.2/58.4 | 89.9/14.8/24.8/60.1 | 97.6/58.6/60.1/81.3 | 97.5/58.9/57.2/82.7 |
| Pipe fryum | 98.9/50.2/57.7/91.5 | 91.1/38.1/39.6/61.8 | 87.0/6.9/12.9/69.6 | 96.4/31.0/37.2/77.6 | 99.4/72.7/69.9/89.9 | 99.2/36.3/65.0/91.8 |
| Average | 95.9/21.0/27.0/75.6 | 91.3/24.7/30.3/59.0 | 79.7/2.2/4.5/46.8 | 86.6/6.0/9.9/55.0 | 96.0/26.1/33.0/75.2 | 97.0/29.6/36.1/79.8 |
| Baseline | MSCA | MSCA-T | DiCE | PRO | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ✓ | 96.7 | 98.7 | 96.3 | 96.4 | 52.3 | 54.9 | 90.4 | |||
| ✓ | ✓ | 96.9 | 98.8 | 96.6 | 96.7 | 54.1 | 56.7 | 90.9 | ||
| ✓ | ✓ | ✓ | 97.0 | 98.9 | 96.7 | 96.8 | 54.7 | 57.0 | 91.1 | |
| ✓ | ✓ | 97.0 | 98.8 | 96.7 | 97.0 | 56.1 | 57.9 | 91.5 | ||
| ✓ | ✓ | ✓ | 97.2 | 99.0 | 97.0 | 97.2 | 56.4 | 58.1 | 91.8 |
| MSCA | +Add-Time | +Concat-Time | MSCA-T | PRO | |||
|---|---|---|---|---|---|---|---|
| ✓ | 96.7 | 54.1 | 56.7 | 90.9 | |||
| ✓ | ✓ | 96.8 | 54.6 | 56.9 | 91.0 | ||
| ✓ | ✓ | 96.9 | 55.3 | 57.3 | 91.2 | ||
| ✓ | ✓ | 97.2 | 56.1 | 57.9 | 91.5 |
| Views | Params (M) | Peak GPU Memory (GB) | Training Time | Inference Time (ms/image) | PRO | |||
|---|---|---|---|---|---|---|---|---|
| 1 | 865 | 13.2 | N/A | 420 | 97.0 | 56.1 | 57.9 | 91.5 |
| 2 | 865 | 13.8 | N/A | 810 | 97.0 | 56.2 | 58.0 | 91.6 |
| 4 | 865 | 15.1 | N/A | 1570 | 97.2 | 56.4 | 58.1 | 91.8 |
| 8 | 865 | 17.5 | N/A | 3080 | 97.2 | 56.3 | 58.1 | 91.7 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Li, X.; Guan, Y.; Jiang, J.; Ye, M.; Yan, H.; Zhang, C. TAMCA: Time-Aware Multi-Scale Convolutional Attention for Multi-Class Industrial Anomaly Detection. Eng 2026, 7, 480. https://doi.org/10.3390/eng7090480
Li X, Guan Y, Jiang J, Ye M, Yan H, Zhang C. TAMCA: Time-Aware Multi-Scale Convolutional Attention for Multi-Class Industrial Anomaly Detection. Eng. 2026; 7(9):480. https://doi.org/10.3390/eng7090480
Chicago/Turabian StyleLi, Xiaoli, Yantong Guan, Jin Jiang, Maozhang Ye, Huangping Yan, and Chentao Zhang. 2026. "TAMCA: Time-Aware Multi-Scale Convolutional Attention for Multi-Class Industrial Anomaly Detection" Eng 7, no. 9: 480. https://doi.org/10.3390/eng7090480
APA StyleLi, X., Guan, Y., Jiang, J., Ye, M., Yan, H., & Zhang, C. (2026). TAMCA: Time-Aware Multi-Scale Convolutional Attention for Multi-Class Industrial Anomaly Detection. Eng, 7(9), 480. https://doi.org/10.3390/eng7090480

