Skip to content

Repository files navigation

LLM/Text Prototype Point Cloud Segmentation

This is a project for reproducing and extending recent LLM-guided point cloud segmentation ideas, including ICLR 2025-style multimodal/few-shot motivation and class-level language priors.

This server workspace is the active project for exploring LLM-guided point cloud segmentation. It reuses the DPA/S3DIS data convention and wraps a pretrained 3D backbone with a semantic segmentation head plus optional CLIP text-prototype guidance.

Why This Project Exists

The research question is whether language priors from LLM-generated class descriptions can improve point cloud segmentation. The current implementation starts from class-level text prototypes and keeps a path open for stronger point/text or entity/text alignment later.

Main Files

  • train_textproto.py: initial pretrained-backbone + text prototype training entry.
  • train_textproto_opt.py: optimized training variant used in later runs.
  • train_textproto_tuned.py: tuned variant with class-balanced loss, per-class gates, partial freezing, and optimizer groups.
  • models/pretrained_backbone.py: adapter that exposes pretrained 3D backbone features to the segmentation head.
  • language_prior/build_text_prototypes.py: builds CLIP text prototypes from S3DIS class descriptions.
  • language_prior/s3dis_descriptions.json: LLM-generated class descriptions.
  • scripts/: launch scripts for smoke tests, prototype generation, and training variants.
  • PROJECT_STATUS.md: current experiment summary and next steps.

Current Limitation

The active server currently reports no GPU. Use this instance for reading, editing, packaging, and log analysis only. Full training should wait for a GPU instance.

Typical Commands

# Build CLIP text prototypes when CLIP is installed.
bash scripts/build_clip_text_prototypes.sh

# Quick sanity check on a GPU server.
bash scripts/smoke_baseline.sh

# Baseline and language-guided training variants.
bash scripts/train_baseline.sh
bash scripts/train_textproto.sh
bash scripts/train_textproto_llm_warm_gate.sh

Acknowledgements

This project benefits from the open-source 3D vision community. We sincerely thank Zhaochong An for releasing COSeg and related few-shot point cloud segmentation resources, which provide valuable references for our reproduction and extension work. We also thank the Pointcept team for open-sourcing a high-quality point cloud learning codebase and infrastructure that have greatly supported research in 3D scene understanding.

Git Hygiene

The outputs/ directory is about 14GB and is intentionally ignored. Keep code, configs, launch scripts, language descriptions, and small prototype metadata in Git; keep checkpoints and logs outside Git or upload them as separate artifacts.

About

Language-guided point cloud segmentation with text prototypes and pretrained 3D backbones.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages