Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GoodBoyCole/PointGST

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parameter-Efficient Fine-Tuning in Spectral Domain for Point Cloud Learning🚀

Dingkang Liang1* ,Tianrui Feng1* ,Xin Zhou1* , Yumeng Zhang2, Zhikang Zou2, and Xiang Bai 1✉️

1 Huazhong University of Science and Technology, 2 Baidu Inc.

(*) equal contribution, (​✉️​) corresponding author.

arXiv Code License PWC PWC PWC PWC

News

[2025-07-26] PointGST is accepted by TPAMI. 🎉

[2024-10-10] PointGST is released. 🔥

Abstract

Recently, leveraging pre-training techniques to enhance point cloud models has become a hot research topic. However, existing approaches typically require full fine-tuning of pre-trained models to achieve satisfied performance on downstream tasks, accompanying storage-intensive and computationally demanding. To address this issue, we propose a novel Parameter-Efficient Fine-Tuning (PEFT) method for point cloud, called PointGST (Point cloud Graph Spectral Tuning). PointGST freezes the pre-trained model and introduces a lightweight, trainable Point Cloud Spectral Adapter (PCSA) to fine-tune parameters in the spectral domain.

Extensive experiments on challenging point cloud datasets across various tasks demonstrate that PointGST not only outperforms its fully fine-tuning counterpart but also significantly reduces trainable parameters, making it a promising solution for efficient point cloud learning. More importantly, it improves upon a solid baseline by +2.28%, 1.16%, and 2.78%, resulting in 99.48%, 97.76%, and 96.18% on the ScanObjNN OBJ_BG, OBJ_OBLY, and PB_T50_RS datasets, respectively. This advancement establishes a new state-of-the-art, using only 0.67% of the trainable parameters.

Overview

Getting Started

Installation

We recommend using Anaconda for the installation process:

git clone https://github.com/jerryfeng2003/PointGST.git
cd PointGST/

Requirements

conda create -y -n pgst python=3.9
conda activate pgst
pip install torch==2.0.0 torchvision==0.15.1 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu118
pip install -r requirements.txt

# Chamfer Distance & emd
cd ./extensions/chamfer_dist
python setup.py install --user
cd ../emd
python setup.py install --user

# PointNet++
pip install "git+https://github.com/erikwijmans/Pointnet2_PyTorch.git#egg=pointnet2_ops&subdirectory=pointnet2_ops_lib"

# GPU kNN
pip install --upgrade https://github.com/unlimblue/KNN_CUDA/releases/download/0.2/KNN_CUDA-0.2-py3-none-any.whl

Datasets

See DATASET.md for details.

Main Results

Baseline Trainable Parameters Dataset Config Acc. Download
Point-MAE
(ECCV 22)
0.6M ModelNet40
OBJ_BG
OBJ_ONLY
PB_T50_RS
modelnet
scan_objbg
scan_objonly
scan_hardest
93.5
91.74
90.19
85.29
ckpt
ckpt
ckpt
ckpt
ACT
(ICLR 23)
0.6M ModelNet40
OBJ_BG
OBJ_ONLY
PB_T50_RS
modelnet
scan_objbg
scan_objonly
scan_hardest
93.4
93.46
92.60
88.27
ckpt
ckpt
ckpt
ckpt
ReCon
(ICML 23)
0.6M ModelNet40
OBJ_BG
OBJ_ONLY
PB_T50_RS
modelnet
scan_objbg
scan_objonly
scan_hardest
93.6
94.49
92.94
89.49
ckpt
ckpt
ckpt
ckpt
PointGPT-L
(NeurIPS 24)
2.4M ModelNet40
OBJ_BG
OBJ_ONLY
PB_T50_RS
modelnet
scan_objbg
scan_objonly
scan_hardest
94.8
98.97
97.59
94.83
ckpt
ckpt
ckpt
ckpt
PointGPT-L (voting)
(NeurIPS 24)
2.4M ModelNet40
OBJ_BG
OBJ_ONLY
PB_T50_RS
modelnet
scan_objbg
scan_objonly
scan_hardest
95.3
99.48
97.76
96.18
log
log
log
log

The evaluation commands with checkpoints should be in the following format:

CUDA_VISIBLE_DEVICES=<GPU> python main.py --test --config <path/to/cfg> --exp_name <path/to/output> --ckpts <namet>

# further enable voting mechanism
CUDA_VISIBLE_DEVICES=<GPU> python main.py --test --vote --config <path/to/cfg> --exp_name <path/to/output> --ckpts <name>

All the experiments are conducted on a single NVIDIA 3090 GPU.

t-SNE visualization

# t-SNE on ScanObjectNN
CUDA_VISIBLE_DEVICES=<GPU> python main.py --config <path/to/cfg> --ckpts <path/to/ckpt> --tsne --exp_name <name>

Training

If you plan to fine-tune on top of pretrained models, please download the weights for Point-MAE, ACT, ReCon, or PointGPT accordingly.

CUDA_VISIBLE_DEVICES=<GPU> python main.py --finetune_model --config <path/to/cfg>  --ckpts <path/to/ckpt> --exp_name <name>

To Do

  • Release the inference code for classification.
  • Release the checkpoints for classification.
  • Release the training code for classification.

Acknowledgement

This project is based on Point-BERT (paper, code), Point-MAE (paper, code), ACT(paper, code), ReCon (paper, code), PointGPT(paper, code), IDPT (paper, code), and DAPT(paper, code). Thanks for their wonderful works.

Citation

If you find this repository useful in your research, please consider giving a star ⭐ and a citation.

@article{liang2024pointgst,
  title={Parameter-Efficient Fine-Tuning in Spectral Domain for Point Cloud Learning},
  author={Liang, Dingkang and Feng, Tianrui and Zhou, Xin and Zhang, Yumeng and Zou, Zhikang and Bai, Xiang},
  journal={IEEE transactions on pattern analysis and machine intelligence},
  year={2025},
  publisher={IEEE}
}

Update 2025-09-27 17:28:45

Fixed bug to improve stability - ID: ateihatu

Update 2025-09-27 17:28:55

Improved performance with comprehensive testing - ID: 31uci0zu

Update 2025-09-27 17:29:05

Improved performance for better maintainability - ID: 7oltgptc

Update 2025-09-27 17:29:15

Updated dependencies to support new requirements - ID: trkgtbev

Update 2025-09-27 17:29:25

Refactored code with improved error handling - ID: 2jvz7r3o

Update 2025-09-27 17:29:35

Added configuration with comprehensive testing - ID: 0mbu4hj5

Update 2025-09-27 17:29:45

Updated documentation with improved error handling - ID: ax771pf3

Update 2025-09-27 17:31:17

Updated documentation with modern best practices - ID: n6019j8e

Update 2025-09-27 17:31:27

Enhanced UI following security guidelines - ID: 3ovzbnrn

Update 2025-09-27 17:31:37

Added configuration for better maintainability - ID: r3fbt81r

Update 2025-09-27 17:31:47

Improved performance for enhanced functionality - ID: uwsrk0a6

Update 2025-09-27 17:31:57

Optimized algorithm with comprehensive testing - ID: x31q2zw6

Update 2025-09-27 17:32:07

Improved performance to support new requirements - ID: whb3qtsu

Update 2025-09-27 17:32:17

Added new feature following security guidelines - ID: 8i18yyzz

Update 2025-09-27 17:32:27

Updated documentation with improved error handling - ID: dk5yd946

Update 2025-09-27 17:32:37

Added new feature with improved error handling - ID: xvk4819t

Update 2025-09-27 17:32:47

Added configuration to optimize resource usage - ID: rmot1o7c

Update 2025-09-27 17:32:57

Fixed bug with improved error handling - ID: r3agew8w

Update 2025-09-27 17:33:07

Enhanced UI for better user experience - ID: o9uoawui

Update 2025-09-27 17:33:16

Optimized algorithm following security guidelines - ID: 6j83dfd7

Update 2025-09-27 17:33:26

Improved performance to support new requirements - ID: lagv0r0i

Update 2025-09-27 17:33:36

Updated dependencies following security guidelines - ID: dih62if0

Update 2025-09-27 17:33:46

Refactored code to improve stability - ID: rpmarwvt

About

[IEEE TPAMI] Parameter-Efficient Fine-Tuning in Spectral Domain for Point Cloud Learning

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Python 88.4%
  • Cuda 10.4%
  • C++ 1.2%