Anyview: Generalizable Indoor 3D Object Detection with Variable Frames

Zhenyu Wu, Xiuwei Xu, Ziwei Wang, Chong Xia, Linqing Zhao, Jiwen Lu, Haibin Yan · DOI

Introduction

In the field of robotics, 3D object detection is a critical capability for tasks ranging from navigation to manipulation. However, current state-of-the-art models often suffer from a lack of flexibility regarding their input data. Most detectors are optimized for either single-view monocular frames or dense, pre-reconstructed scene-level point clouds. This binary specialization creates a significant gap in real-world applications where a robot might capture a variable number of views—more than one, but far fewer than a complete scan—before needing to make a decision.

Comparison between traditional 3D detection pipelines (a) and the proposed Anyview model (b), which handles variable numbers of views efficiently.

Anyview addresses this limitation by introducing a framework that is inherently scale-independent. It can process any number of input RGB-D frames using a single model, maintaining high accuracy across different levels of scene completeness.

The Challenge of Input Variability

Standard 3D detectors are often "brittle" because they are trained on fixed input densities. A model trained on the ScanNet dataset, for instance, typically expects a high-fidelity reconstruction built from hundreds of frames. When presented with only five or ten views, the resulting point cloud is sparse and full of holes, causing the detector to fail. Conversely, monocular models designed for single frames cannot effectively aggregate information when multiple viewpoints are available, missing out on the benefits of multi-view consistency.

Proposed Method: The Anyview Architecture

The Anyview framework decouples local geometric feature extraction from global scene reasoning. This modularity is achieved through three primary components designed for maximum flexibility:

The Anyview architecture: Depth maps are processed into single-view point clouds, then into scene proxies via a shared Geometry Learner, and finally fused in a Transformer-based global reasoning module.

1. Shared Geometric Learner

Instead of merging all input frames into a single global point cloud at the start, Anyview processes each frame independently using a shared Geometric Learner. This component extracts "scene proxies"—compact local feature descriptors—from each view. By treating frames individually at this stage, the model ensures that local geometric structures are captured reliably, regardless of the total number of views in the set.

2. Spatial Mixture and Global Reasoning

The extracted scene proxies are projected into a unified world coordinate system using camera extrinsic parameters. A Spatial Mixture Module then feeds these proxies into a Transformer Encoder. This allows the model to perform local-global feature interaction, effectively "stitching" the disparate views into a coherent semantic scene.

3. Dynamic Token Strategy

To maintain computational efficiency as the number of input frames ($N$) varies, Anyview employs a Dynamic Token Strategy. As $N$ increases, the number of tokens ($T$) extracted per frame is adaptively reduced such that the total number of tokens ($N \times T$) remains approximately constant. This prevents the computational cost from exploding with dense inputs while ensuring a consistent global feature density for the Transformer.

4. Scale-Independent Training

To further bolster generalizability, the authors utilize "Random View Dropping" and "Global Random Cuboid" cropping during training. These techniques force the model to learn robust object representations that are not dependent on specific viewpoint densities or scene completeness.

Experimental Evaluation

The researchers evaluated Anyview using the ScanNet dataset, reorganized into three benchmarks to test its versatility:

  • ScanNet-SV (Single View): Evaluates monocular performance.
  • ScanNet-MV (Multi-View): Evaluates performance using a sparse set of RGB-D images (typically 50 frames) without full reconstruction.
  • ScanNet-Rec (Reconstruction): The standard benchmark using fully reconstructed meshes.

Key Results

Anyview demonstrated superior performance and generalizability compared to established baselines like 3DETR and ImVoteNet:

  • High Accuracy: On the ScanNet-MV benchmark, Anyview achieved 60.7 [email protected], outperforming 3DETR-m (54.7 mAP) with a similar parameter footprint (~7.6M).
  • Cross-Scale Robustness: A model trained on 50 views maintained a high performance of 32.7 mAP when tested on a single view, actually surpassing ImVoteNet, which is a specialized monocular detector.
  • Efficiency: The dynamic token strategy successfully decoupled performance from linear computational growth, allowing the model to scale from 5 to 50 views seamlessly.

Conclusion and Future Directions

Anyview represents a significant step toward flexible 3D perception for robotics. By moving away from fixed-scale assumptions, it enables robots to operate effectively in dynamic environments with varying data availability. Future work may focus on incorporating temporal consistency to treat frames as a sequence rather than a set, and extending the framework to other modalities like LiDAR or pure RGB.

Summary updated

BibTeX
@misc{wu2023anyview,
  author = {Zhenyu Wu and Xiuwei Xu and Ziwei Wang and Chong Xia and Linqing Zhao and Jiwen Lu and Haibin Yan},
  title = {{Anyview: Generalizable Indoor 3D Object Detection with Variable Frames}},
  year = {2023},
  eprint = {2310.05346},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.05346},
}
Figure