OpenPatch: a 3D patchwork for Out-Of-Distribution detection

Paolo Rabino, Antonio Alliegro, Francesco Cappio Borlino, Tatiana Tommasi · DOI

Introduction

Deep learning models often struggle when they encounter "novelty"—classes of objects they never saw during training. This is the core challenge of Out-Of-Distribution (OOD) detection. While this field is well-studied for 2D images, 3D data (like point clouds from LiDAR or depth cameras) has been largely neglected. Existing 3D OOD methods typically require a "learning stage" where the model is fine-tuned on a specific set of known data. This is problematic for real-world robotics where computational resources are limited, data is scarce, and there is a significant domain gap between synthetic training data and noisy real-world sensor data.

The OpenPatch Framework

OpenPatch shifts the focus from global object shapes to local patch representations. By breaking objects down into local patches and comparing them to a memory bank of known features, it identifies OOD samples with high accuracy and extreme sample efficiency.

Overview of the OpenPatch pipeline, illustrating patch feature extraction, memory bank creation via coreset selection, and the test scoring process.

The approach consists of three main pillars:

  1. Patch Feature Extraction: Instead of looking at the final output of a neural network, OpenPatch extracts features from the intermediate layers of a frozen, pre-trained 3D backbone. These layers represent local geometric structures, such as the leg of a table or the curve of a cylinder.
  2. Memory Bank & Coreset Subsampling: These patches are stored in a class-specific memory bank. To maintain speed and memory efficiency, the system uses "coreset" sampling—a technique that selects a small, diverse subset of patches that effectively represent the entire dataset.
  3. The Scoring Function: When a new object is tested, the system evaluates its patches based on Distance (how different a patch is from the closest known one) and Entropy (whether patches are assigned to many different known classes). The final normality score weights entropy by distance to catch objects that are either geometrically alien or semantically confusing.

Experimental Results

The authors evaluated OpenPatch on the 3DOS benchmark, specifically the challenging Synth to Real track, using synthetic models from ModelNet40 as In-Distribution (ID) data and real-world point clouds from ScanObjectNN as OOD data.

Superior Performance and Sample Efficiency

OpenPatch consistently outperformed other training-free baselines like 1-Nearest Neighbor or Mahalanobis distance. On the PointBert backbone, it achieved an AUROC of 78.7 and a significantly lower FPR95 (64.3) compared to competitors.

AUROC performance across different values of K (samples per class), highlighting OpenPatch's stability and superior performance in few-shot scenarios.

A key finding is the method's extreme sample efficiency. Even with only 5 samples per class (5-shot), OpenPatch maintained stable and high detection rates, whereas traditional methods often require hundreds of samples to define "normality."

Conclusion

OpenPatch provides a robust, "plug-and-play" solution for 3D OOD detection. By leveraging local granularity and compositional novelty, it avoids the pitfalls of global feature smoothing and the "catastrophic forgetting" associated with fine-tuning. While its effectiveness depends on the quality of the pre-trained backbone, its training-free nature and safety-focused performance (lower FPR95) make it a promising candidate for real-world 3D perception systems.

Summary updated

BibTeX
@misc{rabino2023openpatch,
  author = {Paolo Rabino and Antonio Alliegro and Francesco Cappio Borlino and Tatiana Tommasi},
  title = {{OpenPatch: a 3D patchwork for Out-Of-Distribution detection}},
  year = {2023},
  eprint = {2310.03388},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.03388},
}
Figure