GLASS
Unsupervised industrial anomaly detector trained with synthetic anomalies at the feature level and the image level.
Segmentation · 210 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Segmentation
- Parameters
- 72.8M
- Operations
- 210
- Framework
- PyTorch
- Recurrent
- No
- Published
- ECCV 2024
- Cited by
- 96 (as of 30 October 2026)
- Authors
- Qiyu Chen, Huiyuan Luo, Chengkan Lv, Zhengtao Zhang
- Source
- GitHub: cqylunlun/glass
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16883
- Graph hash
- a2b88226a18eb5bc962401bf3d7fe1706d1d128cb60a889acf6e484382f4c45c
- Skeleton hash
- 0d7768bc5d068d71ff67d175cf2fc40d5c00647c725eea4ac62d64e8ec7ab9c7
- Architecture hash
- d3d0c659baaf3617a1f4f56749b8098a96ac7c4e258ccb8120d24d2a65c14862
- Diagram SHA-256
- 750e6693ce39b87b3439c237b9076486350fa96967323a8b36337d6fe6b20f42
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
GLASS (Global and Local Anomaly co-Synthesis Strategy) is a framework for unsupervised industrial anomaly detection and localization that centers on how anomalies are synthesized. The paper argues that existing synthesis strategies are limited in coverage and controllability, particularly for weak defects that are very similar to normal regions.
GLASS synthesizes anomalies at two levels: Global Anomaly Synthesis (GAS) works at the feature level and Local Anomaly Synthesis (LAS) at the image level. The synthesized anomalies are meant to lie near the normal distribution, and the method produces them with Gaussian noise guided by gradient ascent and truncated projection. DTD, a texture dataset, serves as auxiliary data for augmentation.
The paper reports a detection AUROC of 99.9% on MVTec AD, with further results on the VisA and MPDD datasets. The repository also releases the datasets built for the paper (WFDD, MAD-man and MAD-sys); WFDD holds 4101 woven fabric images in 4 categories. The authors credit SimpleNet as an inspiration for the code.
Key idea. GLASS synthesizes near-in-distribution anomalies at the feature level and the image level, using Gaussian noise guided by gradient ascent and truncated projection.
- GLASS
- Global and Local Anomaly co-Synthesis Strategy
- industrial anomaly detection
- anomaly localization
- anomaly synthesis
- unsupervised anomaly detection
- MVTec AD
- weak defect detection
- gradient ascent
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{chen2024unifiedanomalysynthesisstrategy,
title={A Unified Anomaly Synthesis Strategy with Gradient Ascent for Industrial Anomaly Detection and Localization},
author={Qiyu Chen and Huiyuan Luo and Chengkan Lv and Zhengtao Zhang},
year={2024},
eprint={2407.09359},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2407.09359},
}