[KongchangAI]
· 2 min read· 1,265 words

StarPQ: A New Framework for Selectively Evaluating Split and Merged Instances

StarPQ: A New Framework for Selectively Evaluating Split and Merged Instances

StarPQ decomposes and weights matching, merge, and split errors in panoptic segmentation via a star forest, fixing PQ's insensitivity to annotation bias.

The traditional panoptic segmentation metric PQ treats all instances equally and cannot detect over-segmentation or under-segmentation errors in reference annotations caused by heuristic approximations or expert disagreement, potentially misleading model evaluation. The paper proposes StarPQ: it builds a star forest on the bipartite graph between predicted and reference instances, isolating matching patterns into clean, merge, and split star structures, and allows each failure mode to be weighted separately. Experiments show StarPQ can specifically penalize or be lenient toward particular errors and serve as a diagnostic tool revealing the prevalence of split/merge errors, offering a finer-grained perspective for instance segmentation evaluation in fields like medical imaging and autonomous driving.

In computer vision, panoptic segmentation aims to simultaneously detect and segment every instance in an image. However, instance annotation biases—whether due to heuristic approximations (such as treating connected components of a semantic map as instances) or disagreements among expert annotators—often cause instances to be incorrectly split or merged. The traditional Panoptic Quality (PQ) metric measures both segmentation and detection quality, yet treats all instances equally and cannot distinguish the impact of these biases. A recent paper titled "Star Panoptic Quality: Selectively Evaluating Split and Merged Instances" proposes a new evaluation framework, StarPQ, to address this pain point.

StarPQ paper overview

Limitations of the PQ Metric: Inability to Distinguish Split and Merge Errors

PQ (Panoptic Quality) is the most commonly used evaluation metric for panoptic segmentation tasks. It computes segmentation quality and detection quality by matching predicted instances with ground-truth instances. However, a key assumption of PQ is that the reference instances (ground truth) are accurate. In practice, reference instances often contain biases: for example, when instances are generated from semantic maps using heuristic methods, touching objects may be merged while fragmented objects may be split. Even with expert annotation, disagreements between annotators or structural delineation biases can lead to over-segmentation or under-segmentation of reference instances.

PQ is insensitive to these biases because it treats all instances equally, regardless of their size. This means that when reference instances contain split or merge errors, PQ can neither detect these errors nor distinguish valid over-segmentation (e.g., objects that genuinely should be separated) from invalid over-segmentation (e.g., erroneous splits caused by annotation errors). This limitation can make evaluation results misleading for model development.

Panoptic Quality (PQ) Metric in Detail

PQ (Panoptic Quality) is the standard evaluation metric for panoptic segmentation tasks, proposed by Kirillov et al. in 2019. It is computed as follows: first, predictions are matched to ground-truth instances using the Hungarian algorithm, with a matching condition of intersection-over-union (IoU) greater than 0.5; then the average IoU of matched pairs (segmentation quality, SQ) and the matched F1 score (detection quality, RQ) are computed; finally, PQ = SQ × RQ. The elegance of PQ lies in unifying segmentation quality and detection quality into a single metric, and its insensitivity to instance size. However, the matching process in PQ is "hard": each ground-truth instance matches at most one predicted instance and vice versa. This means that when reference instances are over-segmented (one ground-truth instance split into multiple predictions) or under-segmented (multiple ground-truth instances merged into one prediction), PQ can only reflect this indirectly through matching failures, without distinguishing error types or assessing the severity of these errors. Moreover, PQ assigns equal weight to all instances, ignoring differences in importance across instances in practical applications.

The Core of StarPQ: Star Forest and Selective Weighting

To address this deficiency, the paper proposes the StarPQ framework, whose core idea is to evaluate instance quality more finely through two steps.

First, StarPQ constructs a so-called "star forest" in the bipartite graph between predicted and reference instances. Each star structure represents a specific matching pattern: clean star, merge star, and split star. These three star structures respectively isolate different failure modes: a clean star indicates a one-to-one correspondence between prediction and reference instance; a merge star indicates multiple reference instances predicted as one instance (under-segmentation); a split star indicates one reference instance predicted as multiple instances (over-segmentation). Through this graph structure, StarPQ can clearly identify each error type.

Second, StarPQ computes the final metric by weighting each failure mode separately. This means practitioners can assign different weights to different error types based on specific application scenarios and annotation bias conditions. For example, if reference annotations are known to tend to merge instances (due to annotation bias), the penalty for merge errors can be reduced; conversely, if the goal is for the model to strictly distinguish instances, the penalty for split errors can be increased. This flexibility makes StarPQ not only an evaluation metric but also a diagnostic tool.

Bipartite Graph and Star Forest

In StarPQ, the relationship between predicted and reference instances is modeled as a bipartite graph: left-side nodes are predicted instances, right-side nodes are reference instances, and edges indicate overlap between them (typically conditioned on IoU > 0). The star forest is a subgraph of this bipartite graph in which each connected component is a star structure—i.e., a center node connected to multiple leaf nodes. Depending on the types of center and leaf nodes, stars fall into three categories: clean star (one prediction corresponds to one reference with sufficiently high IoU), merge star (one prediction corresponds to multiple references), and split star (multiple predictions correspond to one reference). This structure clearly separates matching, merge, and split errors. By counting the number and overlap degree of each star type, StarPQ can quantify the frequency and severity of each failure mode, providing a basis for subsequent weighting.

Experimental Validation: Targeted Penalization and Diagnostic Capability

The paper demonstrates the effectiveness of StarPQ through multiple experiments. Experiments show that StarPQ can achieve targeted penalization or leniency for specific failure modes. For example, on synthetic data, when reference instances contain merge biases, StarPQ can adjust weights to reflect this bias, thereby evaluating model performance more fairly. In addition, StarPQ can serve as a diagnostic tool to reveal the prevalence of split or merge errors in a dataset. By analyzing the proportions of different star types in the star forest, researchers can understand where the model performs poorly and what potential issues exist in the annotation data.

This property is critical for practical applications. In fields such as medical imaging and autonomous driving, instance segmentation accuracy is crucial, and annotation bias can severely affect model evaluation. StarPQ provides a more fine-grained evaluation approach, helping researchers and engineers understand model behavior more accurately and improve models or annotation pipelines in a targeted manner.

Outlook: Finer Evaluation Drives More Reliable Models

The proposal of StarPQ is an important supplement to the panoptic segmentation evaluation system. It is not merely a new metric but a way of thinking: by decomposing error modes and allowing flexible weighting, evaluation metrics can better adapt to the complexities of real-world scenarios. In the future, as instance segmentation application scenarios continue to expand, the demands on evaluation metrics will also grow. StarPQ is expected to become a powerful tool in the panoptic segmentation field, driving the development of more reliable and robust models.

For researchers and developers, understanding the principles and applications of StarPQ helps them be more prudent when designing experiments and interpreting results, avoiding erroneous conclusions caused by the limitations of evaluation metrics. The paper's code and implementation details deserve further attention.

One-line Summary

StarPQ decomposes and weights matching, merge, and split errors in panoptic segmentation via a star forest, addressing the traditional PQ metric's insensitivity to annotation bias.

Paragraph Summary

The traditional panoptic segmentation evaluation metric PQ (Panoptic Quality) treats all instances equally and cannot detect over-segmentation and under-segmentation errors in reference annotations caused by heuristic approximations or expert disagreement, potentially misleading model evaluation. To address this, the paper proposes the StarPQ framework: it constructs a star forest on the bipartite graph between predicted and reference instances, isolating matching patterns into three types of star structures—clean star, merge star, and split star—and allows each failure mode to be weighted separately. Experiments show that StarPQ can specifically penalize or be lenient toward particular errors and can serve as a diagnostic tool to reveal the prevalence of split/merge errors in a dataset, providing a more fine-grained perspective for instance segmentation evaluation in fields such as medical imaging and autonomous driving.

#panoptic segmentation#StarPQ#Panoptic Quality#instance segmentation evaluation#star forest#annotation bias#over-segmentation#under-segmentation
Share:

Related articles