GGL: Generative Shape Reconstruction with Geometry-Guided Langevin Dynamics
Trained models for GGL (WACV 2027) · Paper · Code
Linus Härenstam-Nielsen, Dmitrii Pozdeev, Thomas Dagès, Nikita Araslanov and Daniel Cremers (Technical University of Munich, Munich Center for Machine Learning)
GGL reconstructs shapes from sparse or incomplete point clouds by running geometry-guided Langevin dynamics in the latent space of a VecSet-style shape autoencoder, using an unconditioned latent diffusion model as the prior.
Models
| Folder | Model | Checkpoint | Training run |
|---|---|---|---|
autoencoder |
Shape autoencoder (10 decoder layers) | checkpoint_4500.safetensors |
point_l16_8gpus_5324830s16 |
unconditioned |
Unconditioned latent diffusion model (the GGL prior) | checkpoint_5000.safetensors |
point_bl16_uncond_multiclass_pretrained_8gpus_5353395s51 |
class_conditioned |
Class-conditioned latent diffusion model | checkpoint_5000.safetensors |
point_bl16_multiclass_pretrained_8gpus_5350908s18 |
Both diffusion models use the latent space of autoencoder.
Autoencoder ablation (paper table "Autoencoder ablation")
Each row of the table pairs an autoencoder with a diffusion model trained on chairs in that autoencoder's latent space.
| Decoder layers | Autoencoder | Diffusion model (chairs) |
|---|---|---|
| 25 (VecSet) | ablations/autoencoder_25_decoder_layers (point_l0_8gpus_5349646s6, step 4500) |
ablations/diffusion_chairs_25_decoder_layers (point_bl0_chairs_8gpus_5354873s6, step 5000) |
| 10 (ours) | autoencoder |
ablations/diffusion_chairs_10_decoder_layers (point_bl16_nopos_8gpus_5334894s42, step 3700) |
| 1 | ablations/autoencoder_1_decoder_layer (point_l25_all_8gpus_5361392s11, step 4500) |
ablations/diffusion_chairs_1_decoder_layer (point_bl25_chairs_8gpus_5372596s32, step 5000) |
Usage
pip install -U huggingface_hub
hf download Linusnie/GGL --local-dir ggl/models
python fit_latents.py \
--output-dir results \
--pointcloud-path ggl/dataset/sparse_chairs/datalist.json \
--model-path ggl/models/unconditioned/checkpoints/checkpoint_5000.safetensors \
--autoencoder-path ggl/models/autoencoder/checkpoints/checkpoint_4500.safetensors \
--yaml-config configs/sparse/config_ggl.yaml
Each folder holds the training config.yaml next to checkpoints/; the loaders in the code read it from there.
The autoencoder entry in the diffusion configs is the path on the training cluster, so pass the autoencoder
explicitly with --autoencoder-path, as above.
The checkpoints are safetensors files holding the model weights, with the training counters (epoch_idx,
global_batch_idx, sample_idx) as metadata. The optimizer state is not included. utils.load_checkpoint in the
code reads them, and a checkpoint_N.pt path falls back to the checkpoint_N.safetensors file next to it.
Training data
All models are trained on shapes from ShapeNet. Use of the models is subject to the ShapeNet terms of use (non-commercial research and educational use).
License
MIT, as the code. See the ShapeNet note above.