Align3D-AD: Cross-Modal Feature Alignment and Dual-Prompt Learning for Zero-shot 3D Anomaly Detection

Letian Bai, Xuanming Cao, Juan Du, Chengyu TaoNeurIPS 2026

TL;DR

Spotting defects in 3D scans without prior examples usually involves turning 3D objects into colorless 2D snapshots and feeding them to vision models trained on colorful photographs—creating a massive mismatch between what the model expects and what it sees. Align3D-AD bridges this gap by using real color images during training as a "Rosetta Stone" to teach the model how colorless 3D geometry maps to rich visual concepts. At test time, it needs only the 3D scan, yet still spots and localizes anomalies with state-of-the-art precision.

What Problem Does This Paper Address?

Imagine running a factory making a brand-new part. You need to automatically inspect 3D point clouds for dents or cracks, but you don't have thousands of "normal" parts yet to train an AI. This is zero-shot 3D anomaly detection: spotting defects on unseen object categories using a model trained only on unrelated, auxiliary items.

To do this, researchers usually lean on Vision-Language Models like CLIP. Because CLIP only understands 2D images, standard methods project 3D point clouds into multi-view 2D renderings (think gray, textureless clay models).

Here’s the catch: CLIP learned about the world by looking at vibrant RGB photographs full of color and texture. Feeding it abstract, purely geometric gray renderings creates a severe domain gap. Without texture cues, the vision encoder struggles to extract deep, meaningful features, leaving defect detection accuracy on the table.

Figure 1: Motivation of Align3D-AD. (a) An overview of the existing framework for zero-shot 3D anomaly detection. (b) A comparison between the previous paradigm and the proposed method. By incorporating RGB guidance during training, the proposed model yields RGB-aligned representations, thereby effectively mitigating the domain gap inherent in the vision encoder.

Methods

While existing pipelines rely solely on 3D renderings, Align3D-AD introduces paired RGB images during training only to guide the model across two progressive stages:

Figure 2: Overall framework of Align3D-AD. Our model consists of two stages: Cross-Modal Feature Alignment and Modality-Aware Prompt Learning. Stage 1 aligns rendering and RGB features in the RGB feature space, further refined by the semantic consistency reweighting strategy. Stage 2 performs modality-aware prompt learning for both RGB-aligned and rendering branches, with the dual-prompt contrastive alignment activated in the later phase to enhance prompt discriminability. During inference, anomaly predictions from both branches are integrated to produce the final anomaly detection results.
  1. Cross-Modal Feature Alignment (Stage 1): Both the 3D rendering and its matching RGB photo are passed through a frozen CLIP vision encoder. Lightweight, learnable neural networks (MLPs) act as "translators," projecting the colorless rendering features into the rich RGB semantic space using cosine similarity. Later in training, a novel Semantic Consistency Reweighting (SCR) strategy kicks in: instead of treating every image patch equally, it gives higher learning weights to local 3D patches that show strong holistic agreement with the overall RGB image, preventing noisy local mismatches from derailing alignment.
  2. Modality-Aware Prompt Learning (Stage 2): Following standard practice, the model learns text prompts representing "normal" and "anomalous" states. What’s new is Dual-Prompt Learning: instead of forcing one set of prompts to understand both pure geometry and RGB-aligned semantics, each branch gets its own dedicated prompts. In the final training epochs, Dual-Prompt Contrastive Alignment pulls "normal" prompts from both branches together while pushing "normal" and "defect" prompts apart, sharpening their boundaries.

At inference, RGB cameras aren't needed. The 3D scan is rendered from 9 viewpoints, processed through both the raw rendering branch and the learned RGB-aligner, back-projected into 3D space, and fused into a final anomaly score.

Datasets

No new benchmarks were introduced; the authors evaluated on three standard 3D industrial inspection datasets:

  • MVTec3D-AD and Eyecandies: Used for one-vs-rest evaluations (train on one object class, test on the remaining unseen classes) and cross-dataset generalization. Both contain 3D scans paired with RGB data.
  • Real3D-AD: Used strictly as a cross-dataset test target (trained on a single MVTec3D-AD class). Crucially, Real3D-AD contains no RGB data at all, serving as an ideal stress test for whether the model truly operates on 3D geometry alone at test time.

Key Insights and Ideas

  • Geometry and semantics are complementary, not redundant: Raw renderings excel at catching sharp structural deformities (like dents), while RGB-aligned features are much better at tracing crisp anomaly boundaries and cutting down false alarms. Fusing both beats using either one alone.
  • Bigger vision backbones aren't an automatic win: Swapping CLIP out for newer, heavier vision-language models (like SigLIP2-L/16) actually dropped object-level detection scores (from 83.0% to 73.7% AUROC). Models more heavily optimized on natural RGB photos can suffer an even wider domain gap when confronted with colorless 3D renderings.
  • "Less is more" when regularizing: Activating the reweighting (SCR) and prompt-contrastive modules only in the final epochs of each stage is crucial. Turning them on too early or training them too long over-constrains the feature space and suppresses geometric cues.

Key Results

Align3D-AD outperforms existing zero-shot 3D methods across both classification (Object AUROC / O-R) and point-level segmentation (Pixel AUROC / P-R and Per-Region Overlap / P-P):

Table 1: One-vs-rest results on MVTec3D-AD and Eyecandies. Best results in bold. * indicates results reproduced by ourselves.
  • One-vs-Rest: On MVTec3D-AD, Align3D-AD hits 83.0% O-R and 86.5% P-P, beating the strong PointAD baseline (+1.0% O-R, +2.1% P-P). On Eyecandies, it reaches 71.3% O-R and 74.2% P-P (+2.2% O-R and +2.9% P-P over PointAD).
  • Cross-Dataset Transfer: Even when tested on RGB-free Real3D-AD, it achieves 76.1% O-R and 76.7% P-R—jumping +5.1% in P-R over PointAD.
  • Efficiency: Inference takes 0.19 seconds per object (5.30 FPS) using 2,791 MB of GPU memory—nearly matching PointAD (0.18s) while running more than 3× faster than multi-modal GS-CLIP (0.62s).

Limitations and Future Work

  • Training overhead: Requiring paired RGB guidance and dual-branch prompt learners increases architectural complexity during training, even if test-time inference remains lightweight.
  • Sensitivity to rendering quality: Because the pipeline translates 3D point clouds into 2D snapshots rather than processing raw points directly, detection accuracy remains vulnerable to poor rendering quality or suboptimal camera viewpoints.
  • Future directions: The authors hope this work inspires broader cross-modal 3D research—moving beyond strictly isolated 3D point-cloud processing by borrowing rich visual priors from 2D modalities during training.

Summary updated

Abstract

Zero-shot 3D anomaly detection aims to identify anomalies without access to training data from target categories. However, existing methods mainly rely on projecting 3D observations into multi-view representations that primarily capture geometric cues rather than realistic visual semantics and process them with vision encoders pretrained on RGB data, leading to a significant domain gap between the encoder and the projected representations. To address this issue, we propose Align3D-AD, a unified two-stage framework that leverages the RGB modality from auxiliary categories as cross-modal guidance for zero-shot 3D anomaly detection. First, we introduce a cross-modal feature alignment paradigm that maps rendering features into the RGB semantic space. Unlike prior works that implicitly rely on pretrained encoders, our method enables direct semantic transfer from RGB observations. A semantic consistency reweighting strategy is further introduced to refine feature alignment by reweighting local regions according to holistic semantic consistency. Second, we propose a modality-aware prompt learning framework with dual-prompt contrastive alignment. By assigning independent prompts to RGB-aligned and rendering features, our method captures complementary semantics across modalities, while the contrastive alignment further enhances prompt representations to improve discriminability. Extensive experiments on MVTec3D-AD, Eyecandies, and Real3D-AD demonstrate that Align3D-AD outperforms existing zero-shot methods overall under both one-vs-rest and cross-dataset settings, highlighting its generalization capability and robustness. The source code is available at https://github.com/Protein111/Align3D-AD.
BibTeX
@inproceedings{bai2026align,
  author = {Letian Bai and Xuanming Cao and Juan Du and Chengyu Tao},
  title = {{Align3D-AD: Cross-Modal Feature Alignment and Dual-Prompt Learning for Zero-shot 3D Anomaly Detection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=P5rO538Rjx},
}
Figure