View N-gram Network for 3D Object Retrieval

Xinwei He, Tengteng Huang, Song Bai, Xiang BaiICCV 2019

Abstract

How to aggregate multi-view representations of a 3D object into an informative and discriminative one remains a key challenge for multi-view 3D object retrieval. Existing methods either use view-wise pooling strategies which neglect the spatial information across different views or employ recurrent neural networks which may face the efficiency problem. To address these issues, we propose an effective and efficient framework called View N-gram Network (VNN). Inspired by n-gram models in natural language processing, VNN divides the view sequence into a set of visual n-grams, which involve overlapping consecutive view sub-sequences. By doing so, spatial information across multiple views is captured, which helps to learn a discriminative global embedding for each 3D object. Experiments on 3D shape retrieval benchmarks, including ModelNet10, ModelNet40 and ShapeNetCore55 datasets, demonstrate the superiority of our proposed method.

Introduction

In the field of 3D object retrieval, representing a 3D model through a collection of 2D snapshots—a multi-view representation—is a widely adopted strategy. The fundamental challenge lies in aggregation: fusing these individual view features into a single, highly descriptive global descriptor or "fingerprint."

Traditional approaches typically fall into two categories. View-wise pooling methods, such as MVCNN, are efficient but ignore spatial relationships between views (e.g., the proximity of a car's front to its side). Conversely, Recurrent Neural Networks (RNNs) treat views as a sequence to capture order but are computationally expensive and often sensitive to the starting viewpoint, which hinders robustness to unaligned objects.

Comparison of view aggregation strategies: (a) Pooling, (b) RNN, and (c) the proposed n-gram approach.

Methodology

The View N-gram Network (VNN) introduces a "middle ground" by treating a sequence of 2D images as "words" in a sentence, utilizing the NLP concept of n-grams to capture local spatial relationships. Unlike RNNs that model global sequences, VNN focuses on local neighborhoods, which are more stable and discriminative for 3D objects.

The overall architecture of the View N-gram Network (VNN), illustrating the feature extraction, n-gram learning, and recognition stages.

The VNN pipeline consists of four main stages:

  1. View Feature Extraction: A shared CNN (VGG-11 pre-trained on ImageNet) extracts a feature vector for each 2D view of the 3D object.
  2. n-Gram Learning Unit (n-GLU): This core component defines a "visual n-gram" as a sequence of $n$ consecutive views. A 2D convolutional filter slides across the view sequence to capture local spatial dependencies across 3-7 adjacent views.
  3. Attentional Feature Aggregation: Instead of simple max-pooling, the authors use a parameterless attention module. It calculates the correlation between a global "proxy" feature and each individual n-gram feature, allowing the network to prioritize the most informative sub-sequences.
  4. Multi-scale Fusion: The network employs parallel branches with different n-gram sizes ($n=3, 5, 7$) to capture varying levels of detail. These features are concatenated to form the final 3D shape descriptor.

Experimental Evaluation

VNN was evaluated on three major benchmarks: ModelNet10, ModelNet40, and ShapeNetCore55. On ModelNet40, VNN achieved a Mean Average Precision (mAP) of 89.3%, significantly outperforming established methods like GIFT (81.9%) and GVCNN (85.7%).

Crucially, on the ShapeNetCore55 "perturbed" dataset—where models are randomly rotated—VNN reached 81.2% mAP. This demonstrates the model's inherent rotation robustness; because n-grams look at small, overlapping windows, a rotation simply shifts the sequence of n-grams rather than fundamentally altering the descriptor content. Ablation studies further confirmed that combining multiple n-gram scales (3, 5, and 7) provides the most comprehensive spatial information.

Conclusion

VNN offers an efficient and rotation-robust alternative to RNN-based multi-view aggregation. By focusing on local spatial context through visual n-grams and utilizing a parameterless attention mechanism, it achieves state-of-the-art performance without increasing memory footprint or training complexity. Future work may explore more sophisticated fusion strategies and adapt the model to handle unorganized, "in-the-wild" photo collections of 3D objects.

Summary updated

BibTeX
@inproceedings{he2019view,
  author = {Xinwei He and Tengteng Huang and Song Bai and Xiang Bai},
  title = {{View N-gram Network for 3D Object Retrieval}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  url = {https://openreview.net/forum?id=9Z9TnAAD3P3},
}
Figure