Contextualising Implicit Representations for Semantic Tasks

Theo W. Costain, Kejie Li, Victor Adrian PrisacariuWorkshops @ CVPR 2023

Abstract

Implicit Representations (IRs) have emerged as a powerful paradigm for 3D shape modeling, yet they often lack semantic awareness when trained solely for reconstruction. This paper introduces a lightweight "contextualising module" that extracts semantic information from frozen, geometry-only encodings. By leveraging a multi-scale PointTransformer to incorporate spatial context, we demonstrate that semantic features can be "unlocked" without retraining the original encoder. Our approach achieves significant improvements in semantic segmentation on benchmark datasets like ScanNet, outperforming traditional joint-training baselines while maintaining computational efficiency.

Introduction

Implicit Representations (IRs), including Neural Radiance Fields (NeRF), DeepSDF, and Occupancy Networks, have transformed 3D data storage and reconstruction by learning continuous functions over coordinate space. These models excel at capturing high-fidelity geometric details. However, a significant limitation persists: IRs trained exclusively for reconstruction are typically "semantically blind." Their internal feature encodings are optimized to locate surfaces but fail to distinguish between object categories, such as a chair versus a floor.

This limitation poses a challenge for the deployment of 3D "foundation models." If a pre-trained encoder is provided as a "black box"—without access to its weights or the original training data—downstream users cannot easily adapt it for semantic tasks. Traditionally, achieving high semantic performance required end-to-end retraining of the entire pipeline with labeled data. This research asks: can we reveal the semantic information already latent within geometric encodings by simply adding a lightweight contextual layer?

Methodology: The Contextualising Module

The authors propose a decoupled architecture that separates geometric reconstruction from semantic understanding. The core of this approach is the contextualising module, designed to bridge the gap between local geometric features and global semantic context.

The proposed architecture featuring a frozen encoder, a contextualising module based on a PointTransformer, and separate heads for reconstruction (UDF) and semantic segmentation.

Architecture Overview

The pipeline begins with a frozen, pre-trained encoder (specifically based on the RangeUDF architecture). This encoder generates feature encodings ($E_g$) optimized solely for Unsigned Distance Function (UDF) reconstruction. These features are then passed into the contextualising module, which is a lightweight variant of a PointTransformer.

The module processes the fixed geometric encodings through five distinct scales, utilizing downsampling and upsampling operations to capture a wide field of view. By analyzing the broader spatial context of the scene rather than isolated points, the module generates "context features" ($E_c$). These context features are concatenated with the original geometric features ($E_g$) to form a rich, multi-modal representation. This combined vector is finally fed into a standard semantic segmentation head.

Crucially, the original encoder and the reconstruction decoder remain frozen throughout the training of the semantic task. Only the contextualising module and the segmentation head are updated, making the process highly efficient and suitable for scenarios where the base model is a black box.

Experimental Setup

The effectiveness of the contextualising module was evaluated across three major 3D indoor scene datasets:

  • ScanNet: Comprising 1,613 real-world room scans with 20-class semantic labels.
  • SceneNN: Consisting of 76 indoor scans, used to validate performance on a 20-class subset.
  • 2D-3D-S (Stanford): Featuring 6 large-scale indoor areas (e.g., hallways, offices) with 13-class labels.

To test the model's ability to generalize across diverse environments, the researchers also created a "Triad" dataset, which is an amalgamation of all three sources.

Results and Discussion

The quantitative results indicate that the contextualising module successfully "recovers" semantic performance that is otherwise inaccessible in raw geometric encodings.

Quantitative Performance

On the ScanNet dataset, using a frozen "geometry-only" encoder without the module resulted in a mean Intersection-over-Union (mIoU) of only 0.296. The addition of the contextualising module dramatically boosted this to 0.694 mIoU. Notably, this approach outperformed the "Baseline" joint-training method, which achieved 0.536 mIoU. This suggests that decoupling geometry and semantics can lead to more specialized and effective feature representations.

Qualitative Insights: Untangling the Feature Space

The researchers utilized t-SNE visualizations to inspect the feature space. As shown in the visualizations below, features from a geometry-only model appear as a disorganized cluster when colored by semantic class. The contextualising module effectively "untangles" these features, creating distinct clusters for different semantic categories. This confirms that semantic information is indeed present in the geometric encodings but requires contextual processing to become linearly separable.

t-SNE visualizations comparing (a) geometry-only features, (b) context features, (c) concatenated features, and (d) joint-trained features. The module clearly improves semantic separability.

Efficiency and Robustness

The module is remarkably compact, containing only ~379,000 parameters—a significant reduction from the 7.8 million parameters in a full PointTransformer. Furthermore, the module demonstrated strong cross-dataset robustness; for instance, a module trained on ScanNet labels using encodings from a "Triad-trained" model maintained high accuracy. While the module reaches 90% of its peak performance very quickly (in 17% of the time it takes to train a full model), reaching full convergence is not significantly faster than joint training.

Conclusion

This work demonstrates that semantic awareness can be retrofitted onto "semantically blind" 3D implicit representations through a lightweight contextualising module. By leveraging spatial context, the module unlocks latent information within geometric encodings without the need for expensive end-to-end retraining. This approach paves the way for more flexible use of pre-trained 3D foundation models, allowing them to be adapted for diverse semantic tasks with minimal computational overhead. Future work may explore more advanced attention mechanisms, such as vector attention, to further enhance the performance of the semantic decoders.

Summary updated

BibTeX
@inproceedings{costain2023contextualising,
  author = {Theo W. Costain and Kejie Li and Victor Adrian Prisacariu},
  title = {{Contextualising Implicit Representations for Semantic Tasks}},
  booktitle = {Workshops @ CVPR},
  year = {2023},
}
Figure