Part2Word: Learning Joint Embedding of Point Clouds and Text by Matching Parts to Words

Chuan Tang, Xi Yang, Bojian Wu, Zhizhong Han, Yi Chang

Abstract

Parts2Words is a novel framework designed to bridge the gap between 3D shapes and natural language by establishing fine-grained correspondences between point cloud parts and individual words. Unlike traditional methods that rely on global feature compression or 2D rendered views, Parts2Words utilizes optimal transport theory—specifically the Earth Mover’s Distance (EMD)—to align local geometric features with textual descriptions. This approach effectively addresses structural ambiguity and the lack of granularity inherent in previous models. Experimental results on the Text2Shape dataset demonstrate that Parts2Words significantly outperforms existing state-of-the-art methods in cross-modal retrieval tasks.

Introduction

Understanding the relationship between 3D geometry and human language is a cornerstone of intelligent interaction in fields like CAD, robotics, and the metaverse. However, current shape-text matching methods face two major hurdles:

  1. Structural Ambiguity: Many models represent 3D shapes as a collection of 2D rendered views, which often leads to "self-occlusion" where important parts of a shape are hidden from the camera.
  2. Lack of Granularity: Most existing approaches rely on global features, compressing an entire 3D object and a full sentence into single vectors. This "coarse" matching fails to capture specific details, such as a "curved chair leg" or a "round glass tabletop," which are essential for precise retrieval.

Methodology

The authors propose an end-to-end network that treats shape-text matching as a local alignment problem rather than a global one.

The Parts2Words architecture utilizes a part-based approach to match 3D point cloud segments with word embeddings using Earth Mover's Distance.

The architecture consists of three main modules:

  • Shape Encoder: Instead of 2D views, the model uses raw point clouds. A backbone (such as PointNet++) segments the cloud into semantic parts. These point-wise features are then pooled to create distinct embeddings for each part (e.g., "base," "seat," "backrest").
  • Text Encoder: A bi-directional Gated Recurrent Unit (GRU) processes the text to produce context-aware embeddings for every word in the description.
  • Matching Module: To find the best alignment between a set of parts and a set of words, the authors use Optimal Transport. Specifically, they calculate the Earth Mover’s Distance (EMD) using the Sinkhorn algorithm. This allows the model to "transport" features from words to their corresponding parts in a way that minimizes the overall cost, effectively finding the most logical pairings.

The model is trained using a multi-task loss that combines a standard segmentation loss (to ensure parts are identified correctly) and a triplet ranking loss (to ensure matching shape-text pairs are closer in the embedding space than non-matching ones).

Data Engineering

The primary benchmark is Text2Shape, which contains 3D models from ShapeNet paired with natural language descriptions. Because the original dataset lacked point clouds and part labels, the authors performed a significant data engineering effort:

  • They sampled point clouds from the original meshes.
  • They rectified incorrect color information in the source data.
  • They registered the models with PartNet to obtain hierarchical, fine-grained part segmentation ground truth.

Key Results

Parts2Words achieves a new state-of-the-art (SOTA) on the Text2Shape dataset, significantly outperforming previous methods like TriCoLo and Y2Seq2Seq.

Quantitative results show Parts2Words outperforming previous methods in S2T and T2S retrieval tasks. Data preprocessing involved rectifying colors and adding part annotations.
  • Quantitative Performance: In Shape-to-Text (S2T) retrieval, the model achieved a Recall@1 (RR@1) of 19.38%, a substantial jump from the previous SOTA of 16.33%. In Text-to-Shape (T2S), it reached 12.72% RR@1.
  • Qualitative Insights: The model excels at finding shapes that match specific, detailed adjectives. For example, it can distinguish between a "circular table with no legs" and one with "4 short legs," whereas global methods often confuse these similar categories.
  • Granularity Trade-offs: Interestingly, the authors found that the coarsest segmentation (S1) performed better than the finest (S3). They hypothesize that very fine parts are harder to align with simple, plain-language words.

Conclusion

Parts2Words demonstrates that 3D shapes are naturally compositional. By forcing the model to match specific parts (like "legs") to corresponding words, it learns a much more robust and interpretable joint embedding than global-blob approaches. While the Sinkhorn algorithm is efficient, future work may explore scaling to larger part/word sets and extending the framework to more diverse, "in-the-wild" 3D objects beyond furniture.

Summary updated

Abstract

It is important to learn joint embedding for 3D shapes and text in different shape understanding tasks, such as shape-text matching, retrieval, and shape captioning. Current multi-view based methods learn a mapping from multiple rendered views to text. However, these methods can not analyze 3D shapes well due to the self-occlusion and limitation of learning manifolds. To resolve this issue, we propose a method to learn joint embedding of point clouds and text by matching parts from shapes to words from sentences in a common space. Specifically, we first learn segmentation prior to segment point clouds into parts. Then, we map parts and words into an optimized space, where the parts and words can be matched with each other. In the optimized space, we represent a part by aggregating features of all points within the part, while representing each word with its context information, where we train our network to minimize the triplet ranking loss. Moreover, we also introduce cross-modal attention to capture the relationship of part-word in this matching procedure, which enhances joint embedding learning. Our experimental results outperform the state-of-the-art in multi-modal retrieval under the widely used benchmark.
BibTeX
@inproceedings{tang2023part,
  author = {Chuan Tang and Xi Yang and Bojian Wu and Zhizhong Han and Yi Chang},
  title = {{Part2Word: Learning Joint Embedding of Point Clouds and Text by Matching Parts to Words}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.00665},
}
Figure