Abstract
Recent work on contrastive losses for learning joint embeddings over multimodal data has been successful at downstream tasks such as retrieval and classification. On the other hand, work on joint representation learning for 3D shapes and text has thus far mostly focused on improving embeddings through modeling of complex attention between representations, or multi-task learning. We show that with large batch contrastive learning we achieve state-of-the-art (SoTA) on text-shape retrieval without complex attention mechanisms or losses. Prior work in 3D and text representations has also focused on bimodal representation learning using either voxels or multi-view images with text. To this end, we propose a trimodal learning scheme to achieve even higher performance and better representations for all modalities.
Introduction
As 3D content creation expands through virtual reality, augmented reality, and advanced scanning technologies, the demand for efficient search and retrieval tools has grown. However, text-to-shape retrieval remains a significant challenge. 3D data is inherently sparse and high-dimensional, while human language is abstract and often underspecified (e.g., "a wooden chair with four legs").
Previous attempts to bridge this gap often relied on computationally expensive attention mechanisms or required granular "part-level" labels to align text with geometry. TriCoLo (Trimodal Contrastive Loss) introduces a simpler, more scalable approach by incorporating a third modality—2D images—into the training process to act as a bridge between abstract language and dense 3D data.
Methods
The core innovation of TriCoLo is the Trimodal Contrastive Loss. Instead of training a model to match text directly to voxels, the framework trains three separate encoders simultaneously to map different data types into a shared embedding space.
- Text Encoder: A Bi-directional GRU (Bi-GRU) that processes natural language descriptions.
- Voxel Encoder: A 3D CNN that processes $64^3$ colored voxel grids.
- Image Encoder: A Multi-View CNN (MVCNN) that aggregates features from six rendered images of the 3D object using view pooling.
The model utilizes a symmetric NT-Xent contrastive loss across all pairs of modalities: (Text, Voxel), (Text, Image), and (Voxel, Image). This forces the model to learn a "universal" embedding space where a specific object's description, its 3D structure, and its 2D snapshots all cluster together. At retrieval time, the system is flexible; while queries are text-based, matching can be performed against voxels, images, or the sum of image and voxel embeddings (I+V), which has proven most effective.
Datasets and Evaluation
The framework was evaluated on two primary benchmarks:
- Text2Shape: A standard benchmark consisting of over 15,000 chairs and tables from ShapeNet, each paired with roughly five human-written captions.
- ShapeNet c13: A more diverse dataset introduced in this work, extending the paired text-shape format to 13 object categories (including sofas, lamps, and clocks) to test "open-world" retrieval capabilities.
Key Insights and Results
- Images as a Bridge: Incorporating 2D images helps the model learn better text-to-3D alignments. Images capture surface textures and colors more clearly than voxels while remaining more structured than raw text.
- Simplicity and Scaling: TriCoLo demonstrates that large-batch contrastive learning is a powerful baseline that can outperform complex architectures using part-based attention. On the Text2Shape test set, TriCoLo achieved a Recall@1 (RR@1) of 12.22%, significantly outperforming the previous global baseline of 8.60%.
- Complementary Modalities: Voxels capture the geometric "bones" of an object, while multi-view images capture its "skin." Combining these at retrieval time (I+V) consistently yields the best results, suggesting the modalities provide non-redundant information.
- Zero-Shot Grounding: The model showed a strong ability to ground abstract concepts, successfully distinguishing between objects with subtle geometric differences, such as picnic tables versus tennis tables.
Limitations and Future Work
While successful, the current implementation uses $64^3$ voxels, which limits the capture of fine-grained geometric details. Future iterations may explore point clouds or meshes to improve resolution. Additionally, the authors noted that retrieval "failure" is often subjective; the model may retrieve a valid object that matches the text description but is not the specific ground-truth item in the dataset. This highlights a need for more nuanced semantic metrics in 3D retrieval research.
Summary updated