Effective Early Stopping of Point Cloud Neural Networks

Thanasis Zoumpekas, Maria Salamó, Anna PuigarXiv 2022 · DOI

TL;DR

This paper introduces a novel early stopping technique for 3D point cloud neural networks that prioritizes the trade-off between training efficiency and segmentation accuracy. By using derivative-based mathematical criteria to identify a "stop-window" in performance metrics, the authors achieved training time reductions of up to 94% while maintaining accuracy levels nearly identical to models trained for the full 200 epochs.

What Problem Does This Paper Address?

Training deep learning models for 3D point cloud segmentation is notoriously resource-intensive. Unlike 2D images, point clouds are often massive, irregular, and noisy, requiring complex architectures like PointNet++ or KPConv that take significant time to converge.

While "early stopping" is a standard tool in a researcher's kit, most conventional methods focus almost exclusively on preventing overfitting (generalization) by monitoring validation loss. They don't explicitly aim to optimize for time efficiency. The authors argue that there is a missed opportunity to stop training much earlier—at a point where the model is "accurate enough"—without waiting for the marginal gains of later epochs that often lead to overfitting anyway.

Methods

The authors propose an automatic, "online" (real-time) stopping criterion based on the analysis of a performance metric, specifically the Instance Mean Intersection over Union (ImIoU).

Instead of looking at loss, they treat the accuracy metric as a continuous function $f(x)$ and calculate its first and second derivatives ($f'(x)$ and $f''(x)$) to identify local maxima and minima. Their algorithm looks for a specific stop-window:

  1. Initialization: The window starts at a local maximum (a peak in accuracy).
  2. Termination: The window ends at the subsequent local minimum (a trough).
  3. Stability Conditions: To avoid stopping due to minor noise, the window must be at least $N$ epochs long (size condition) and the oscillations within the window must be smaller than a threshold $D$ (range condition).

Once these conditions are met, the training stops, and the model state from the best-performing epoch within that window is selected as the final model.

Datasets

The researchers evaluated their method using the ShapeNet part segmentation dataset, a gold-standard benchmark in the field. It contains 16,881 3D point clouds across 16 object categories. They used a standard split of 12,137 models for training, 1,870 for validation, and 2,874 for testing.

Key Insights and Ideas

  • Accuracy over Loss: Most early stopping methods monitor validation loss. This paper suggests that monitoring the actual performance metric (ImIoU) provides a more direct signal for when a model has reached its practical peak.
  • The "Stop-Window" Philosophy: By defining a window between a peak and a trough, the algorithm captures the moment the model begins to plateau or oscillate, signaling that further training is unlikely to yield significant benefits.
  • Derivative-based Detection: Using $f'(x)$ and $f''(x)$ allows the system to mathematically define "peaks" and "valleys" in performance, making the stopping criteria more rigorous than simple thresholding.

Key Results

The authors tested their approach against four major architectures: PointNet, PointNet++, KPConv, and RSConv. They compared their method to a 200-epoch baseline and four conventional loss-based early stopping strategies.

Table 1: Summary of the process of detecting stop-windows monitoring ImIoU.

As shown in Table 1 above, the results were striking:

  • Massive Time Savings: The Efficiency Gain (EffGain) was highest for KPConv, which reached its stop-window at just epoch 12, representing a 94% reduction in training time compared to the 200-epoch baseline. RSConv saw a 90% gain, stopping at epoch 20.
  • High Fidelity: Despite stopping early, the models achieved nearly the same accuracy as the 200-epoch versions. For example, RSConv achieved an ImIoU of 84.82 within its stop-window, compared to a maximum of 85.47 over the full 200 epochs (a 99% similarity).
  • Outperforming Conventional Methods: Their technique consistently achieved higher ImIoU scores than the four conventional loss-based early stopping strategies, which often stopped too early or failed to capture the optimal accuracy peak.

Limitations and Future Work

The authors note that the policy rules for selecting the stop-window (the parameters $N$ and $D$) can be reformulated. While they used fixed values ($N=4, D=2$) for their experiments, these might need tuning for different datasets or architectures.

Additionally, the method requires testing the model on the full test set after every epoch to generate the performance metric curve. While the authors argue this cost is "negligible" (milliseconds to seconds) compared to training, in extremely large-scale production environments, this frequent evaluation could become a bottleneck. Future work could explore applying this logic to validation sets or using moving averages to smooth the metric curve further.

Summary updated

Abstract

Early stopping techniques can be utilized to decrease the time cost, however currently the ultimate goal of early stopping techniques is closely related to the accuracy upgrade or the ability of the neural network to generalize better on unseen data without being large or complex in structure and not directly with its efficiency. Time efficiency is a critical factor in neural networks, especially when dealing with the segmentation of 3D point cloud data, not only because a neural network itself is computationally expensive, but also because point clouds are large and noisy data, making learning processes even more costly. In this paper, we propose a new early stopping technique based on fundamental mathematics aiming to upgrade the trade-off between the learning efficiency and accuracy of neural networks dealing with 3D point clouds. Our results show that by employing our early stopping technique in four distinct and highly utilized neural networks in segmenting 3D point clouds, the training time efficiency of the models is greatly improved, with efficiency gain values reaching up to 94\%, while the models achieving in just a few epochs approximately similar segmentation accuracy metric values like the ones that are obtained in the training of the neural networks in 200 epochs. Also, our proposal outperforms four conventional early stopping approaches in segmentation accuracy, implying a promising innovative early stopping technique in point cloud segmentation.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
ShapeNet Part · segmentationProposed stop-window (SwMax), PointNet++ImIoU83.63Part Segmentation · split: test · backbone=PointNet++ · stop-window=epochs 22–26
Source quote
L161: \textbf{SwMax {(ImIoU)}} │ 81.76 │ 83.63 │ 82.80 │ 84.82
ShapeNet Part · segmentationProposed stop-window (SwMax), KPConvImIoU82.80Part Segmentation · split: test · backbone=KPConv · stop-window=epochs 10–14
Source quote
L161: \textbf{SwMax {(ImIoU)}} │ 81.76 │ 83.63 │ 82.80 │ 84.82
ShapeNet Part · segmentationProposed stop-window (SwMax), RSConvImIoU84.82Part Segmentation · split: test · backbone=RSConv · stop-window=epochs 12–21
Source quote
L161: \textbf{SwMax {(ImIoU)}} │ 81.76 │ 83.63 │ 82.80 │ 84.82
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
ShapeNet Part · segmentation200-epoch training maximum (Max), PointNet++ baselineImIoU84.93Part Segmentation · split: test · backbone=PointNet++ · training-duration=200 epochs
Source quote
L162: \textbf{Max {(ImIoU)}} │ 84.24 │ 84.93 │ 84.22 │ 85.47
ShapeNet Part · segmentation200-epoch training maximum (Max), KPConv baselineImIoU84.22Part Segmentation · split: test · backbone=KPConv · training-duration=200 epochs
Source quote
L162: \textbf{Max {(ImIoU)}} │ 84.24 │ 84.93 │ 84.22 │ 85.47
ShapeNet Part · segmentation200-epoch training maximum (Max), RSConv baselineImIoU85.47Part Segmentation · split: test · backbone=RSConv · training-duration=200 epochs
Source quote
L162: \textbf{Max {(ImIoU)}} │ 84.24 │ 84.93 │ 84.22 │ 85.47
BibTeX
@misc{zoumpekas2022effective,
  author = {Thanasis Zoumpekas and Maria Salamó and Anna Puig},
  title = {{Effective Early Stopping of Point Cloud Neural Networks}},
  year = {2022},
  eprint = {2209.15308},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.15308},
}
Figure