Can Shape-Infused Joint Embeddings Improve Image-Conditioned 3D Diffusion?

Cristian Sbrolli, Paolo Cudrano, Matteo Matteucci

Abstract

Generating accurate 3D reconstructions from single 2D images remains a significant challenge in computer vision. While current state-of-the-art methods leverage Denoising Diffusion Probabilistic Models (DDPMs) guided by CLIP embeddings, these models often suffer from "3D-blindness," prioritizing semantic category over geometric fidelity. This paper introduces Contrastive Image-Shape Pre-training (CISP), a novel embedding space that aligns 2D images directly with 3D voxel representations. By replacing semantic-heavy CLIP guidance with CISP, the researchers achieve superior structural coherence, ensuring that generated 3D models preserve the specific geometric nuances of the input reference.

Introduction

The ability to generate 3D shapes from a single 2D image is a critical requirement for fields ranging from industrial design to medical imaging. Modern approaches typically utilize diffusion models conditioned on CLIP (Contrastive Language-Image Pre-training). However, because CLIP is trained on 2D images and text, it lacks an inherent understanding of structural depth and occlusions. This often results in "shape collapse," where the model generates a generic version of an object rather than the specific instance shown in the prompt. This research addresses this gap by proposing a joint embedding space that is explicitly aware of 3D geometry.

Methodology

The proposed framework operates in two distinct stages: the creation of the CISP embedding and the application of a 3D diffusion generator.

1. CISP (Contrastive Image-Shape Pre-training)

Instead of aligning images with text, CISP aligns 2D images with 3D voxel grids. The architecture employs:

  • Image Encoder: A Data-efficient image Transformer (DeiT) to process 2D visual data.
  • Shape Encoder (3D-DeiT): A modified DeiT where standard 2D convolutions are replaced with 3D convolutions, allowing the model to process voxelized 3D data.
  • Contrastive Objective: The model is trained to maximize the cosine similarity between an image and its corresponding 3D shape in the latent space while minimizing similarity with non-matching pairs.

2. 3D Diffusion Generation

The generator utilizes a 3D adaptation of the Ablated Diffusion Model (ADM). This model is conditioned on the CISP embeddings through cross-attention mechanisms. During inference, the model iteratively refines Gaussian noise into a clean 3D voxel shape, guided by the geometric constraints provided by the CISP latent vector.

Experimental Setup

The researchers evaluated the model using several key datasets:

  • ShapeNet: The primary training ground, focusing on categories such as Airplanes, Cars, Chairs, Tables, and Watercraft.
  • Pix3D: Used to evaluate performance on "in-the-wild" real-world furniture images.
  • OOD Generalization: A custom set of hand-drawn sketches was used to test the model's ability to handle out-of-distribution (OOD) inputs.

Key Insights

Coherence vs. Quality

A central finding of the study is the distinction between visual quality and structural coherence. While CLIP-guided models can produce high-quality, realistic 3D objects, they often fail to match the specific geometry of the input image. CISP prioritizes coherence, ensuring that details like the specific curvature of a chair's backrest or the number of legs are accurately reflected in the 3D output.

Smooth Latent Manifolds

CISP demonstrates a smoother latent manifold compared to CLIP. When interpolating between two image embeddings, CISP produces gradual structural transitions (e.g., a standard chair slowly morphing into a swivel chair). In contrast, CLIP often exhibits "abrupt metamorphosis," jumping between discrete semantic concepts without geometric continuity.

The Value of 3D Knowledge

Despite being trained on significantly less data than the billions of pairs used for CLIP, CISP’s explicit 3D awareness allows it to outperform CLIP in reconstruction tasks. This suggests that for 3D generation, the type of data (3D-aware) is more impactful than the raw volume of data (2D-only).

Results

Quantitative results highlight the effectiveness of the CISP approach:

  • Reconstruction Accuracy: In 1-Nearest Neighbor Accuracy (1-NNA) tests, CISP-guided models matched or exceeded state-of-the-art models like LION and PVD.
  • Alignment Metrics: Using F-Score to measure alignment with ground truth, CISP achieved a score of 0.421, significantly higher than the 0.340 achieved by CLIP-guided models at 15 samples.
  • Qualitative Fidelity: Visual inspections confirm that CISP correctly captures unique details, such as specific engine placements on aircraft, which CLIP-guided models frequently generalize or omit.

Conclusion and Future Work

CISP represents a significant step forward in image-conditioned 3D generation by proving that shape-infused embeddings are superior to purely semantic ones for maintaining structural integrity. Current limitations include a sensitivity to image backgrounds and the computational constraints of voxel resolutions. Future research will focus on scaling CISP to larger, more diverse 3D datasets and exploring more efficient representations like point clouds or meshes to move beyond the limitations of voxel grids.

Summary updated

BibTeX
@inproceedings{sbrolli2024can,
  author = {Cristian Sbrolli and Paolo Cudrano and Matteo Matteucci},
  title = {{Can Shape-Infused Joint Embeddings Improve Image-Conditioned 3D Diffusion?}},
  booktitle = {IJCNN},
  year = {2024},
  doi = {10.1109/ijcnn60899.2024.10649907},
}
Figure