Towards Generalizable 3D Anomaly Detection via Relational Inconsistency Modeling

KunHo Heo, SuYeon Kim, Hayoung Lee, Chanse Oh, MyeongAh ChoNeurIPS 2026

TL;DR

Current 3D anomaly detection models memorize what "normal" objects look like and flag anything unfamiliar, causing them to panic when encountering rare shapes or entirely new object categories. This paper flips the script with GRIM, a framework that explicitly learns what defects are—defining them not by absolute appearance, but as localized "relational inconsistencies" where a patch breaks geometric harmony with its neighbors. As a result, a single unified model can spot defects across dozens of categories—even on unseen, real-world objects it was never trained on.

What Problem Does This Paper Address?

Imagine inspecting parts on a factory floor using 3D point clouds (collections of 3D coordinates representing an object's surface). Because real defects are rare, 3D anomaly detection (3DAD) is typically trained only on defect-free parts.

Existing methods are "normality-centered": they either try to reconstruct normal shapes (flagging high reconstruction errors) or store normal features in a memory bank (flagging unfamiliar test features). The catch? "Unfamiliar" does not always mean "defective." Without an explicit definition of what constitutes a defect, rare but valid normal geometries trigger false alarms, while subtle defects slip right inside the normal boundary.

Figure 1: Comparison of previous normality-centered 3DAD methods and our relation-based defect learning framework. (a) Previous methods (e.g., MC3D-AD) rely on normal feature distributions, often resulting in false positives and false negatives. (b) Our method uses pseudo-anomalies as controlled violations of geometric relations among normal structures. By distinguishing relation- violating pseudo-anomalies from normal regions, the model produces more discriminative point-level anomaly scores, reducing both false positives and false negatives.

To survive this ambiguity, most prior models are trained one-category-at-a-time (one model for bottles, another for gears). If you try to train a single unified model across many categories—or test it cross-domain on objects it has never seen—the entangled "normal" distributions blur the decision boundaries completely. The authors ask: instead of memorizing every normal shape in the universe, can we teach a model a universal, category-agnostic rule for what a 3D defect actually is?

Methods

The authors observe that a dent or bump isn't inherently weird in isolation; it’s weird because it clashes with the smooth surface around it. To capture this, they propose GRIM (Generalizable Relational Inconsistency Modeling).

While GRIM uses standard tools like Farthest-Point Sampling to group points into local patches and a pretrained frozen encoder (PointMAE) to extract initial patch features, it introduces three novel components to learn relational rules:

  • Controlled Pseudo-Anomaly Generation: During training, GRIM takes normal point clouds and injects synthetic local perturbations—bulges, sinks, and holes—along surface normals. Unlike prior work that tries to realistically simulate every possible industrial defect, GRIM uses these simple primitives purely as controlled "relational violations" to give a binary classifier clear supervision.
  • Edge-aware Graph Refinement (EGR): GRIM connects local point groups into a directed $K$-nearest-neighbor graph. Crucially, the edges explicitly encode pairwise geometric relationships between patches: relative spatial displacement, point spread differences, surface normal alignment, and curvature variations. Message passing along these edges ensures each node knows whether it geometrically "agrees" with its neighbors.
  • Cluster-Deviation Modeling (CDM): Even with local graph context, how does a patch compare to structurally similar peers elsewhere on the object? CDM clusters the refined node features on the fly (both during training and per-sample at test time) and measures each patch's cosine distance from its cluster center. A dedicated margin loss pushes anomalous patches away from their structural peer group, turning relative cluster deviation into a sharp anomaly signal.
Figure 3: Overview of the proposed method. Given grouped features from an input sample as nodes, we construct edge features encoding geometric relationships between local groups, and perform Edge-aware Graph Refinement (EGR) to obtain refined node features. The refined features are then passed through Cluster-Deviation Modeling (CDM), which captures relative deviations within clusters, and fed into the classifier together with the features.

Datasets

No new datasets are introduced; GRIM is evaluated on two established 3D anomaly benchmarks (using only 4 normal training samples per category!):

  • Anomaly-ShapeNet: A synthetic dataset of 1,600 point clouds spanning 40 object categories.
  • Real3D-AD: A challenging real-world dataset across 12 categories. Notably, while its training scans are full 360° captures, test scans are partial single-view captures, creating a tough geometric shift.

Key Insights and Ideas

  • Unified models don't have to sacrifice accuracy: Previously, unified multi-category models lagged behind specialized single-category models. By learning how neighbors relate rather than what objects look like, a single GRIM model beats specialized models on their own turf.
  • Zero-shot domain transfer actually works in 3D: Because geometric consistency (smoothness, normal continuity) is physics- and geometry-driven rather than category-specific, relational defect rules transfer seamlessly from synthetic CAD shapes to noisy, single-view real-world scans.
  • You don't need realistic fake defects: In ablations, training with just one synthetic primitive (e.g., only bulges or only sinks) already yields near-peak performance, and two primitives occasionally beat three. The model isn't memorizing defect shapes; it just needs an excuse to learn what broken geometry feels like.

Key Results

GRIM achieves state-of-the-art Area Under the ROC Curve (AUROC) for both object-level detection (O-AUROC) and point-level localization (P-AUROC):

  • In-Domain Dominance: Trained as a single unified model across all classes, GRIM hits 97.4% / 94.5% (O/P-AUROC) on Anomaly-ShapeNet and 87.2% / 91.3% on Real3D-AD, outperforming the best prior category-specific baselines by up to 7.4% and beating the prior unified baseline (MC3D-AD) by 8.9% to 18.6%.
  • Remarkable Cross-Domain Generalization: When trained purely on synthetic Anomaly-ShapeNet and tested directly on real-world Real3D-AD without fine-tuning, GRIM scores 83.6% / 89.6%. Not only does it crush MC3D-AD (which collapses to 55.4% / 38.3%), it actually beats every baseline model that was trained directly on Real3D-AD.
  • Clean Localization: Visually, prior unified methods paint almost entire unseen objects as anomalous in cross-domain tests, whereas GRIM cleanly pinpoints tiny dents and protrusions.
Figure 4: Qualitative comparison across various object categories, showing in-domain results (trained and tested on Anomaly-ShapeNet) and cross-domain results (trained on Anomaly-ShapeNet and tested on Real3D-AD). Red colored regions indicate detected anomalies.

Limitations and Future Work

While the paper lacks a dedicated limitations section, the authors explicitly note an important boundary in their discussion: the empirical sufficiency of their three simple synthetic primitives (bulge, sink, hole) reflects their effectiveness as training supervision on the evaluated benchmarks, not a claim that these primitives cover all real-world defect categories (for instance, missing structural components or global warping that doesn't violate local smoothness might behave differently). Future work is positioned around building upon relational inconsistency modeling as a foundational direction for generalizable 3D inspection.

Summary updated

Abstract

3D anomaly detection (3DAD) aims to identify defective regions in point cloud data, serving as a critical component in industrial inspection systems. Existing methods are normality-centered — learning the distribution of normal samples and treating deviations as anomalies — without explicitly modeling what constitutes a defect. This leads to ambiguous decision boundaries with increased false positives and negatives, particularly in unified and cross-domain settings where diverse normal distributions further blur the boundaries. We propose a relational inconsistency modeling framework that characterizes defects as violations of geometric consistency among neighboring structures. Our approach learns category-agnostic defect cues through pseudo-anomalies designed as controlled relational violations, instantiated by two key modules: Edge-aware Graph Refinement (EGR) for encoding geometric relationships among local regions, and Cluster-Deviation Modeling (CDM) for identifying regions that are relationally incompatible within their structural peer group. Extensive experiments on Anomaly-ShapeNet and Real3D-AD demonstrate consistent improvements over prior state-of-the-art methods in both in-domain and cross-domain settings, validating the effectiveness of learning an explicit, relation-based defect criterion for 3D anomaly detection.
BibTeX
@inproceedings{heo2026towards,
  author = {KunHo Heo and SuYeon Kim and Hayoung Lee and Chanse Oh and MyeongAh Cho},
  title = {{Towards Generalizable 3D Anomaly Detection via Relational Inconsistency Modeling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=TGK0r4DOru},
}
Figure