SGFormer: Semantic Graph Transformer for Point Cloud-Based 3D Scene Graph Generation

Changsheng Lv, Mengshi Qi, Xia Li, Zhengyuan Yang, Huadong Ma

Abstract

Generating 3D scene graphs from point clouds is a fundamental task for spatial reasoning and scene understanding. Traditional methods relying on Graph Convolutional Networks (GCNs) often struggle with over-smoothing and local information bottlenecks. We present SGFormer, a novel Transformer-based framework that incorporates edge-aware self-attention and semantic injection from Large Language Models (LLMs). SGFormer achieves a state-of-the-art relationship prediction performance of 56.25% R@50 on the 3DSSG dataset, marking a 40.94% absolute improvement over previous benchmarks.

Introduction

3D Scene Graph Generation (SGG) involves identifying object instances and their semantic relationships within a 3D environment. While object detection has matured, modeling the intricate web of relationships—such as "supported by" or "close by"—remains challenging. Current GCN-based architectures are limited by their local receptive fields and the tendency for node features to converge in deep networks (over-smoothing). SGFormer addresses these challenges by utilizing a global Transformer architecture and leveraging external linguistic knowledge to enhance visual features.

Figure 1: Comprehensive overview of the SGFormer pipeline, comparing its global aggregation and qualitative results against traditional GCN methods.

Methodology

The SGFormer architecture is built upon two core innovations designed to handle the complexity and sparsity of 3D point clouds.

Graph Embedding Layer (GEL)

To overcome the local limitations of GCNs, the GEL implements a Multi-Head Edge-aware Self-Attention mechanism. Unlike standard self-attention which focuses solely on node interactions, the GEL treats edges as first-class features. These edge features are updated iteratively alongside node features, allowing the model to capture global scene context and complex inter-object dependencies without the degradation associated with deep GCNs.

Figure 2: Comparison of information aggregation: Traditional GCNs rely on local neighborhoods, while the Semantic Graph Transformer enables global context through edge-aware self-attention.

Semantic Injection Layer (SIL)

3D point clouds are often noisy, making it difficult to distinguish between similar-looking objects or identify rare relationships. The SIL addresses this by injecting "common sense" descriptions generated by ChatGPT. These descriptions (e.g., "a sink is typically built into a cabinet") are converted into embeddings using a pre-trained CLIP text encoder. Through cross-attention, these semantic priors guide the visual feature extraction, significantly improving performance on long-tail and zero-shot relationship categories.

Experimental Evaluation

We evaluated SGFormer on the 3DSSG benchmark, which consists of 1,084 training scenes with 27 object categories and 16 relationship classes.

Key Results

  • State-of-the-Art Performance: SGFormer achieved a 56.25% Recall@50 for relationship prediction, a massive 40.94% absolute increase over the previous state-of-the-art, EdgeGCN.
  • Robustness in Complex Scenes: In environments with high object density and complex relationships, SGFormer demonstrated an 88.36% improvement.
  • Long-Tail and Zero-Shot Success: The integration of LLM-based semantic priors allowed the model to correctly identify relationships never seen during training, such as "window close by box," where baseline models failed.

Discussion and Future Work

SGFormer effectively demonstrates that Transformers are superior to GCNs for global scene understanding and that LLMs can serve as powerful feature enhancers for 3D vision tasks. However, challenges remain in predicting extremely rare physical interactions (e.g., "plant standing in cabinet"). Future research will focus on end-to-end training from raw point clouds and optimizing the computational efficiency of the Transformer layers for large-scale environments.

Summary updated

BibTeX
@inproceedings{lv2024sgformer,
  author = {Changsheng Lv and Mengshi Qi and Xia Li and Zhengyuan Yang and Huadong Ma},
  title = {{SGFormer: Semantic Graph Transformer for Point Cloud-Based 3D Scene Graph Generation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i5.28197},
}
Figure