3D CoCa v3: Contrastive Learners with Scene Graphs for Urban Scene Understanding

Nannan Zhang, Ting Huang, Zeyu Zhang, Haoyu Chen, Yanjie Zhu, Hao TangarXiv 2026

TL;DR

Teaching AI to understand a living room is one thing; teaching it to grasp the sprawling, multi-scale geometry of an entire city block is another. 3D CoCa v3 bridges this gap by marrying multi-view 3D geometry with structured "scene graphs" that map out how buildings and roads relate to one another across space. By combining contrastive vision-language pre-training with smart caption retrieval, it sets a new bar for answering complex spatial questions about 3D urban worlds.

What Problem Does This Paper Address?

Imagine looking at a 3D scan of a city neighborhood and asking an AI: "Which is closer to the government building, the office space or the bridge?"

Most existing 3D vision-language models cut their teeth on indoor environments—cozy rooms with sofas and tables. When scaled up to sprawling urban environments, they hit a wall. Current models tend to focus either on the global vibe of a scene or on isolated objects, losing track of fine-grained geometry and complex, multi-scale spatial relationships (like a construction zone sitting to the right of a U-shaped high-rise, which is behind a municipal building).

While scene graphs—structured networks where nodes are objects and edges are their spatial relationships—are great at capturing this layout, nobody had cleanly woven them into a unified framework that both aligns 3D scenes with text (contrastive learning) and generates answers (generative decoding) at a city scale.

Figure 1. Comparison of 3D CoCa, 3D CoCa v2, and our 3D CoCa v3. Previous methods focus on indoor 3D scene understand- ing through contrastive learning, generative captioning, and test- time search. Our framework extends this paradigm to urban scenes with geometry-aware multi-view representations, MSG-based re- lational descriptions, and question-guided multimodal decoding.

Methods

3D CoCa v3 extends the CoCa (Contrastive Captioners) lineage from indoor rooms to urban landscapes in two clear stages:

  1. Scene-CLIP Pre-training (Learning to See Geometry & Relations): Instead of chewing on raw, unruly point clouds directly, the authors render 50 different 2D RGB camera views per city scene alongside matching XYZ point maps (images where pixels store 3D coordinates instead of colors). These pairs are fused in a shared Vision Transformer initialized from UniScene3D.

  2. What's new: The model aligns these visual features with text at two scales: individual camera views and the aggregated whole scene. Crucially, the scene-level text comes from Multi-view Scene Graphs (MSG), ensuring relational layouts are baked right into the visual embeddings. They also add a within-scene grounding loss (matching specific views to specific descriptions) and a geometric neighborhood consistency loss so nearby viewpoints share similar embeddings.

  3. Multimodal Decoding (Answering Questions): Once pre-trained, the vision encoder is frozen. When a user asks a question, a rule-based question-guided caption retrieval module scans candidate MSG-derived scene descriptions and pulls the single most relevant caption. A 2B-parameter Qwen LLM (adapted efficiently via LoRA) reads both the question and this retrieved caption, while attending to the 3D visual features via gated cross-attention to generate the final answer.

Datasets

  • City3D-9.6K (Newly Introduced): Built atop the 193 urban point-cloud scenes of City-3DQA, this synthetic dataset adds 9,650 rendered RGB images and aligned XYZ point maps (50 views per scene). Using Qwen, the authors generated 9,650 view-level captions alongside Multi-view Scene Graphs (MSGs) that link shared buildings across views to produce holistic, relational scene captions.
Figure 2. Construction pipeline of City3D-9.6K. (a) Multi-view RGB images and point maps are rendered from urban point clouds, with corresponding view-level captions generated by Qwen. (b) Multi-view scene graphs (MSG) associate shared entities and spatial relationships across viewpoints, providing structured context for scene-level caption generation.
  • City-3DQA: Used for training and evaluation (~450K QA pairs across six cities), split both sentence-wise (seen cities, unseen questions) and city-wise (entirely unseen cities).
  • GeoEval3D: An evaluation benchmark of 952 queries across GoogleEarth and UrbanScene3D testing spatial reasoning, comparison, counting, and metric height/distance estimation.

Key Insights and Ideas

  • Local + Global Alignment is Complementary: Ablations show that dropping either view-level or scene-level contrastive alignment hurts multi-hop reasoning. You need individual views for crisp local geometry and aggregated views for the big-picture city layout.
  • Retrieve, Don't Just Memorize: How you feed scene captions to the decoder matters. Rather than training sequentially on captions and QA, retrieving a question-relevant scene caption at prompt time acts like handing the LLM a tailored cheat sheet of spatial relationships, boosting accuracy by over 1.5 percentage points on unseen cities.
  • Cross-Attention Beats Concatenation: Injecting 3D visual features into the LLM via gated cross-attention consistently outperforms simply concatenating visual tokens to the text prompt, allowing cleaner interplay between 3D coordinates and language.

Key Results

  • City-3DQA: 3D CoCa v3 achieves 88.35% overall top-1 accuracy on the sentence-wise split—leaping past 3D CoCa v2 by 20.88 percentage points (and jumping 25.08 points on tricky multi-hop questions to hit 80.97%). On the harder city-wise split (unseen cities), it reaches 64.79% top-1 accuracy, beating 3D CoCa v2 (+3.57 points) and graph-based Sg-CityU (+1.03 points).
  • GeoEval3D: Ranks best on 7 out of 8 metrics. On GoogleEarth, it reaches 75.56% on spatial reasoning and 82.34% on comparison (beating GeoProg3D by 11.56 and 22.61 points), while cutting height estimation error down to 40.38m. On UrbanScene3D, it sweeps all metrics, including a counting Mean Absolute Error of just 0.50.

Limitations and Future Work

While the authors do not include a dedicated limitations section, two nuances stand out in their findings:

  • Lower Top-10 Diversity: On City-3DQA, the authors note that while top-1 accuracy is state-of-the-art, top-10 accuracy (Acc@10) lags behind several baselines (e.g., 94.84% vs. 99.22% for 3D CoCa v2 on the city-wise split).
  • Architecture-Dependent MSG Gains: In ablation studies, adding MSG supervision improved single-hop and multi-hop accuracy on a CoCa-style decoder, yet caused a slight dip in reported overall accuracy (62.89% to 62.62%), noting that structured relational benefits vary across decoder architectures and question types. Future work is not explicitly discussed in the paper.

Summary updated

Abstract

Understanding large-scale 3D urban scenes requires representations that capture both multi-scale geometric structures and complex spatial relationships. However, existing 3D vision-language methods primarily emphasize global semantic alignment or object-level representations, leaving structured relational modeling underexplored within unified contrastive and generative frameworks. In this paper, we present 3D CoCa v3, a scene-graph-enhanced contrastive and generative framework for urban 3D scene understanding. Our framework features a Pyramid Vision Encoder for multi-scale geometric representation learning and a language-model-based decoder with question-guided caption retrieval and visual cross-attention. We further introduce MSG-based relational descriptions to enrich contrastive 3D-language alignment with structured spatial relationships. To support semantic and relational supervision, we construct City3D-9.6K, a multi-view urban vision-language dataset with aligned visual-geometric observations, scene captions, and scene graphs. Extensive experiments on City-3DQA demonstrate that 3D CoCa v3 achieves 88.35% and 64.79% overall top-1 accuracy on the sentence-wise and city-wise splits, surpassing 3D CoCa v2 by 20.88 and 3.57 percentage points, respectively. Furthermore, 3D CoCa v3 achieves the best performance on GeoEval3D, demonstrating its effectiveness in urban spatial reasoning and geometric understanding. Code is available at https://github.com/AIGeeksGroup/3DCoCav3.
BibTeX
@misc{zhang2026d,
  author = {Nannan Zhang and Ting Huang and Zeyu Zhang and Haoyu Chen and Yanjie Zhu and Hao Tang},
  title = {{3D CoCa v3: Contrastive Learners with Scene Graphs for Urban Scene Understanding}},
  year = {2026},
  eprint = {2611.33835},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33835},
}
Figure