Abstract
This paper presents ViewFormer, a simple yet effective model for multi-view 3D shape recognition and retrieval. We systematically investigate the existing methods for aggregating multi-view information and propose a novel "view set" perspective, which minimizes the relation assumption about the views and releases the representation flexibility. We devise an adaptive attention model to capture pairwise and higher-order correlations of the elements in the view set. The learned multi-view correlations are aggregated into an expressive view set descriptor for recognition and retrieval. Experiments show the proposed method unleashes surprising capabilities across different tasks and datasets. For instance, with only 2 attention blocks and 4.8M learnable parameters, ViewFormer reaches 98.8% recognition accuracy on ModelNet40 for the first time, exceeding previous best method by 1.1%. On the challenging RGBD dataset, our method achieves 98.4% recognition accuracy, which is a 4.1% absolute improvement over the strongest baseline. ViewFormer also sets new records in several evaluation dimensions of 3D shape retrieval defined on the SHREC'17 benchmark.
Introduction
Understanding 3D objects is a cornerstone of computer vision, vital for applications ranging from autonomous driving to AR/VR. While 3D shapes can be represented as point clouds or voxels, "view-based" methods—which analyze a collection of 2D images of the object—often yield superior performance by leveraging advancements in 2D image recognition.
However, existing view-based methods typically impose rigid assumptions on how these images are organized. Some treat them as a sequence (assuming a circular camera trajectory), while others construct complex graphs to link views. In real-world scenarios, views may be captured from arbitrary angles or in no particular order. These rigid structures introduce "representation inflexibility" and unnecessary computational overhead. ViewFormer addresses this by treating views simply as an unordered set, where the spatial or temporal order is irrelevant.
Methodology
ViewFormer aggregates multi-view information through an adaptive attention mechanism. The architecture consists of four main stages:
- Initializer: A lightweight CNN (e.g., AlexNet or ResNet) extracts feature vectors from each individual 2D view.
- Encoder: A modified Transformer serves as the core. Crucially, the authors remove position encodings and the class token, allowing the model to focus purely on inter-view correlations within the unordered set.
- Transition: Features are pooled into a single "View Set Descriptor" by concatenating global Max and Mean pooling results.
- Decoder: A simple MLP projects this descriptor into a final category prediction.
Notably, ViewFormer achieves peak performance with as few as two attention blocks, demonstrating significant efficiency compared to deeper Transformer architectures.
Experimental Results
The model was evaluated on several gold-standard benchmarks, including ModelNet40/10, RGBD, and ShapeNet Core55. ViewFormer set new records across the board. On ModelNet40, it achieved 98.8% instance accuracy, outperforming previous state-of-the-art methods. It reached a perfect 100% accuracy on ModelNet10 and a massive 98.4% on the challenging RGBD dataset—a 4.1% absolute improvement over the strongest baseline.
Discussion and Key Insights
The success of ViewFormer highlights several key principles:
- Permutation Invariance: By treating views as a set, the model's understanding remains consistent regardless of input order.
- Attention as a Set Operator: The attention mechanism is naturally suited to capture correlations between any two views in a set, irrespective of their "distance" in a sequence or graph.
- Efficiency: A "shallow" encoder (2-4 blocks) is sufficient for the relatively small number of views (typically ~20) used in 3D shape recognition.
- Informative View Weighting: Attention maps reveal that the model automatically prioritizes "representative" views containing distinctive features.
Limitations and Future Work
Despite its success, a performance gap remains between view-based methods and raw 3D data (point clouds or voxels) in specific contexts. Future research could explore cross-modal distillation, using ViewFormer as a "teacher" to enhance more efficient point-based or voxel-based models, potentially bringing the best of both worlds to real-time 3D applications.
Summary updated