Hidden Clues in WM-811K: Uncovering the Spatial Signals Behind Wafer Map Prediction

Kabir TolaniarXiv 2026

TL;DR

When a deep learning model achieves high accuracy diagnosing defective computer chips on silicon wafers, is it actually reading the geometric defect patterns—or is it cheating using hidden background clues? By systematically stripping away and restoring spatial information on a classic semiconductor dataset, this study reveals that neural networks get a massive head start simply by memorizing wafer shapes and counting bad chips, long before they ever look at the exact pattern of failures.

What Problem Does This Paper Address?

In semiconductor manufacturing, circular silicon wafers are packed with rectangular chips (dies). Testing these dies produces a 2D "wafer map" showing healthy and failed chips. Specific spatial patterns of failures—like rings around the edge or directional scratches—point to distinct manufacturing glitches.

For years, researchers have trained Convolutional Neural Networks (CNNs) on the public WM-811K dataset to classify these defect patterns, chasing ever-higher accuracy. Because CNNs are notoriously opaque, however, it is hard to tell how they get the right answer. Are they genuinely recognizing complex spatial geometries, or are they relying on "shortcut learning"—exploiting accidental correlations, like associating a specific wafer shape or manufacturing batch with a certain defect? Furthermore, what if identical wafer maps are leaking across the train/test boundary? This paper steps back from chasing state-of-the-art accuracy to audit what signals actually drive wafer map predictions.

Methods

Instead of building a complex new classifier, the author uses a simple, conventional 8-layer CNN and manipulates the data in a clever ablation study—a "spatial information ladder." Every wafer map is converted into a $160 \times 160$ two-channel binary image (separating background, healthy dies, and failed dies) across four controlled representations:

  1. Layout-only: All failed dies are marked as healthy. Only the wafer's silhouette (valid die footprint) remains.
  2. Global-shuffle: The exact number of failed dies is restored, but scattered randomly across the wafer.
  3. Radial-shuffle: The wafer is divided into 8 concentric rings. Failed dies are randomized only within their original ring, preserving approximate distance from the center while destroying fine 2D shapes.
  4. Original: The intact wafer map.
Figure 1: Examples of Layout-only, Global-shuffle, Radial-shuffle, and Original representa- tions.

To prevent data leakage, the author introduces Strict Groups. Wafers from the same production lot—and any lots sharing an exact duplicate wafer map—are chained together and locked into the same fold during 3-fold cross-validation.

Datasets

The study uses WM-811K (also known as LSWMD), focusing on wafers labeled with eight systematic defect classes (Center, Donut, Edge-Loc, Edge-Ring, Loc, Near-full, Random, and Scratch).

An audit of the dataset's standard train/test split revealed a subtle flaw: while production lots didn't overlap, 92 exact duplicate wafer maps appeared in both training and test sets, and 3 duplicate pairs had conflicting labels. Dropping conflicting pairs left 25,513 wafer maps organized into 7,952 leakage-free Strict Groups.

Key Insights and Ideas

  • Blank wafers give away the answer: Without seeing a single failed chip (Layout-only), the CNN still substantially outperforms random guessing. Certain wafer footprints in WM-811K are strongly correlated with specific defects—a textbook dataset shortcut.
  • Counting and rough distance do the heavy lifting: Simply knowing how many chips failed and roughly how far they sit from the center accounts for the vast majority of the performance gains, before exact 2D patterns even enter the picture.
  • Different defects climb different rungs of the ladder: Near-full defects only need the total failure count (and actually do slightly worse when exact locations are restored, likely because shuffling smooths out noise into a uniform grid). Center and Donut defects jump dramatically once radial rings are introduced. Scratch—defined by a continuous line—flounders until the exact 2D pixel arrangement is restored.

Key Results

Using Macro-F1 (which weights rare and common classes equally; random guessing yields 0.125), predictive performance climbed steadily at every rung of the spatial ladder:

  • Layout-only: 0.3829 Macro-F1 (55.18% accuracy)
  • Global-shuffle: 0.5803 Macro-F1 (+0.1974 gain from failure count)
  • Radial-shuffle: 0.7439 Macro-F1 (+0.1636 gain from coarse radial distance)
  • Original: 0.8563 Macro-F1 (+0.1123 gain from exact 2D arrangement; 89.53% accuracy)
Figure 2: Macro-F1 as spatial information is incrementally restored with 95% Confidence interval using bootstrap resampling.

Per-class F1 scores highlight the structural mechanics: Near-full rocketed from 0.051 (Layout-only) to 0.948 (Global-shuffle), whereas Scratch lagged at 0.348 under Radial-shuffle before doubling to 0.699 on the Original maps.

Limitations and Future Work

The author notes four main limitations: the findings are restricted to a single public dataset (WM-811K); only one CNN architecture was tested; severe class imbalance leaves rare classes like Near-full (only 149 wafers) potentially unstable; and the spatial features (layout, count, radial location) may not be strictly independent. For future benchmarking, the author suggests pairing standard accuracy metrics with graded information-addition tests like this one to ensure models are genuinely learning defect geometries—and will generalize to unseen factories.

Summary updated

BibTeX
@misc{tolani2026hidden,
  author = {Kabir Tolani},
  title = {{Hidden Clues in WM-811K: Uncovering the Spatial Signals Behind Wafer Map Prediction}},
  year = {2026},
  eprint = {2611.31292},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31292},
}
Figure