Enhancing octree-based context models for point cloud geometry compression with attention-based child node number prediction

Chang Sun, Hui Yuan, Xiaolong Mao, Xin Lu, Raouf Hamzaoui · DOI

Abstract

In point cloud geometry compression, most octree-based context models use the cross-entropy between the one-hot encoding of node occupancy and the probability distribution predicted by the context model as the loss. This approach converts the problem of predicting the number (a regression problem) and the position (a classification problem) of occupied child nodes into a 255-dimensional classification problem. As a result, it fails to accurately measure the difference between the one-hot encoding and the predicted probability distribution. We first analyze why the cross-entropy loss function fails to accurately measure the difference. Then, we propose an attention-based child node number prediction (ACNP) module to enhance the context models. The proposed module can predict the number of occupied child nodes and map it into an 8-dimensional vector to assist the context model in predicting the probability distribution of the occupancy of the current node for efficient entropy coding. Experimental results demonstrate that the proposed module enhances the coding efficiency of octree-based context models.

Introduction and Problem Statement

3D point clouds are essential for applications like VR, autonomous driving, and immersive media, but their massive data volume necessitates advanced compression techniques. Most state-of-the-art methods utilize an octree structure, where 3D space is recursively divided into eight child nodes.

The standard approach treats the occupancy of these eight children as a 255-dimensional classification problem (since $2^8 = 256$ possible patterns, excluding the "all empty" state). These models are typically trained using cross-entropy loss. However, this method has a critical flaw: cross-entropy does not account for the number of occupied nodes. If the true pattern has one occupied node, cross-entropy penalizes a prediction of a different one-node pattern just as harshly as a prediction of an eight-node pattern. Predicting the correct count of nodes is essentially a regression problem that provides a vital hint for determining their exact positions.

Figure 1: Illustration of node occupancy patterns and the discrepancy between predicted probability distributions and training labels.

The ACNP Module

To address this, we propose the Attention-based Child Node Number Prediction (ACNP) module, a plug-and-play enhancement for existing context models like OctAttention and OctSqueeze. The module operates through several key stages:

  1. Feature Extraction: The module utilizes context information (ancestor and sibling nodes) through an attention layer and a two-layer Multi-Layer Perceptron (MLP).
  2. Number Prediction: Instead of 255-way classification, this branch predicts a single value: the number of occupied child nodes ($\hat{n}_i$).
  3. Dimension Expansion: To integrate this scalar into the neural network, it is mapped to an 8-dimensional vector using a Discrete Gaussian Distribution. This spreads the "probability" of the count across 8 dimensions, which is then normalized via Softmax.
  4. Integration: This 8D vector is concatenated with the main model’s internal features, acting as a "guide" to help the main model decide which of the 255 occupancy patterns is most likely.
Figure 2: The proposed ACNP module architecture and its integration into the context model.

Experimental Evaluation

The ACNP-enhanced models were evaluated on three major benchmarks: MPEG 8i (dense human bodies), MVUB (upper bodies), and SemanticKITTI (sparse LiDAR data).

Key Results

  • Efficiency Gains: Compared to the standard OctAttention, the ACNP-enhanced version reduced the bitrate (BPIP) by an average of 1.35% on MPEG 8i, 2.21% on MVUB, and 3.05% on SemanticKITTI.
  • Comparison to G-PCC: The proposed method outperformed the MPEG G-PCC standard by 17% to 21% across various datasets.
  • Generalization: The module proved effective on both dense and sparse data, demonstrating its robustness as an architectural improvement.

Complexity and Limitations

The primary trade-off for this increased efficiency is computational complexity. Adding the ACNP module nearly doubled the model size (e.g., OctAttention grew from 28M to 55.4M parameters). Additionally, encoding and decoding times increased by approximately 9% to 16%. While concurrent execution can mitigate some of this latency, it remains a consideration for real-time applications.

Conclusion

By recognizing that occupancy prediction is a hybrid task involving both regression (node count) and classification (node position), the ACNP module significantly improves the coding efficiency of octree-based context models. Future work will focus on reducing the module's complexity and exploring its application to other emerging context models in the field.

Summary updated

BibTeX
@article{sun2024enhancing,
  author = {Chang Sun and Hui Yuan and Xiaolong Mao and Xin Lu and Raouf Hamzaoui},
  title = {{Enhancing octree-based context models for point cloud geometry compression with attention-based child node number prediction}},
  journal = {IEEE Signal Processing Letters},
  year = {2024},
  doi = {10.1109/lsp.2024.3426918},
}
Figure