MesonGS: Post-training Compression of 3D Gaussians via Efficient Attribute Transformation

Shuzhao Xie, Weixiang Zhang, Chen Tang, Yunpeng Bai, Rongwei Lu, Shijia Ge, Zhi Wang · DOI

Abstract

3D Gaussian Splatting (3D-GS) has emerged as a powerful technique for high-quality real-time novel view synthesis. However, the large memory footprint of these models poses significant challenges for storage and transmission. We present MesonGS, a post-training compression codec that reduces 3D-GS file sizes by over 20x without requiring expensive retraining. MesonGS introduces a universal pruning strategy and leverages efficient attribute transformations, such as Euler angle conversion and Region Adaptive Hierarchical Transform (RAHT), to achieve state-of-the-art compression ratios while maintaining high rendering quality.

Introduction

The explicit nature of 3D Gaussian Splatting allows for impressive rendering speeds but results in massive file sizes, often exceeding 1 GB per scene due to the millions of Gaussian points required. Each point carries multiple attributes: position, rotation, scale, opacity, and spherical harmonic (SH) coefficients. Existing compression techniques often rely on computationally intensive distillation or heavy retraining. MesonGS addresses this by providing an effective post-training solution that compresses pre-trained models quickly with minimal degradation in visual quality.

Methodology

The MesonGS pipeline is structured into four primary stages designed to minimize redundancy and maximize entropy coding efficiency.

The MesonGS pipeline overview illustrating the stages from pruning to entropy coding.

1. Universal Gaussian Pruning

MesonGS employs a novel importance score to identify and remove insignificant Gaussians. This score integrates view-dependent factors (actual pixel contribution during rendering) and view-independent factors (Gaussian volume). This dual approach is more effective than traditional gradient-based methods at preserving visual fidelity while reducing point count.

2. Attribute Transformation

To further reduce the data footprint, MesonGS transforms Gaussian attributes into more compressible formats:

  • Euler Angle Replacement: 4-element rotation quaternions are replaced with 3-element Euler angles. Unlike covariance matrix conversion, Euler angles are robust to quantization and always map to valid rotation matrices.
  • Region Adaptive Hierarchical Transform (RAHT): This transform, adapted from point cloud compression, concentrates attribute energy (e.g., opacity, scale) into fewer coefficients, significantly lowering entropy for subsequent coding.

3. Quantization Strategies

  • Block Quantization: Finer-grained, block-wise quantization is applied to attribute channels to prevent quality bottlenecks.
  • Vector Quantization: High-degree SH coefficients, which constitute approximately 85% of the total file size, are compressed using a codebook-based clustering approach.

4. Lightweight Finetuning

A brief finetuning stage "heals" quantization-induced artifacts. A straight-through estimator is utilized to enable gradient flow through discrete quantization steps.

Key Insights

A critical finding of MesonGS is the superiority of Euler angles over covariance matrices for compression. Quantizing covariance matrices often leads to "indefinite" matrices that break the renderer, whereas Euler angles consistently yield valid physical states. Furthermore, pruning based on actual forward-pass contribution proves more reliable than gradient-based heuristics.

Experimental Results

MesonGS was evaluated on standard benchmarks including Mip-NeRF 360, Tank&Temples, Deep Blending, and Synthetic-NeRF.

Importance distribution of Gaussians across various unbounded scenes, showing that a small percentage of Gaussians carry the majority of visual importance.

On the Mip-NeRF 360 dataset, MesonGS achieved a ~23x reduction in average file size (from 641.7 MB to 27.6 MB) with a negligible drop in PSNR (from 28.98 dB to 28.61 dB). Notably, the encoding process is exceptionally fast; for a Synthetic-NeRF scene, MesonGS completes in 4 seconds, outperforming competitors like C3DGS by a wide margin.

Conclusion and Future Work

MesonGS provides a highly efficient, post-training framework for 3D-GS compression. While current results are state-of-the-art, future improvements could involve allowing coordinate updates during finetuning or integrating compression-aware training from the outset to push compression ratios even further.

Summary updated

BibTeX
@inproceedings{xie2024mesongs,
  author = {Shuzhao Xie and Weixiang Zhang and Chen Tang and Yunpeng Bai and Rongwei Lu and Shijia Ge and Zhi Wang},
  title = {{MesonGS: Post-training Compression of 3D Gaussians via Efficient Attribute Transformation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73414-4\_25},
}
Figure