TL;DR
Standard medical image segmentation losses either ignore small lesions or trigger a flood of false positives. BiCC (Bidirectional Connected-Component Loss) solves this by evaluating both missed lesions and false-positive predictions on an instance-by-instance basis. This approach gives researchers and clinicians a tunable hyperparameter to directly balance lesion-wise precision and recall during training.
What Problem Does This Paper Address?
In medical image segmentation, missing a tiny lesion can be a matter of life or death. However, standard loss functions like Dice or Cross-Entropy aggregate errors voxel-by-voxel. This means a single massive tumor influences the model's training just as much as dozens of clinically critical micro-lesions.
To fix this, recent "instance-aware" losses treat each connected component (each individual lesion) as an equally weighted term in the loss function. But there is a catch: existing methods only define these instances based on ground-truth annotations.
If a model predicts a random blob of noise where no lesion exists (a false positive), that mistake doesn't get its own instance-level penalty; it simply gets swallowed up into the background. As a result, these models suffer from "precision collapse"—they achieve high recall by over-predicting, leaving radiologists to sift through an overwhelming number of false alarms.
Methods
BiCC introduces a bidirectional formulation to handle both missed lesions (false negatives) and false alarms (false positives) equitably.
Instead of partitioning the image into regions solely based on ground-truth labels, BiCC creates two distinct Voronoi diagrams:
- Reference-derived partition: Built around ground-truth lesions to ensure small objects aren't missed.
- Prediction-derived partition: Built around the model's predicted components to isolate and penalize false positives.
Fixing the False-Positive Gradient
In regions where the model predicts a false positive, standard smoothed Dice loss suffers from a near-flat gradient, meaning the model barely learns from its mistake. BiCC replaces Dice in these ground-truth-empty cells with a novel prediction-mass score. By applying a stop-gradient operator to the normalization weights, BiCC ensures that the gradient magnitude punishing a false positive is completely independent of the component's size.
A single hyperparameter, $\alpha$, acts as a balancing knob. When $\alpha=0$, the loss behaves like standard annotation-driven instance losses. As $\alpha$ approaches 1, the loss heavily prioritizes cleaning up false positives.
Datasets
The authors validated BiCC across five distinct 3D medical imaging datasets covering multiple modalities, organs, and lesion profiles:
- AutoPET III: Whole-body tumor lesions (PET/CT)
- ISLES 2026: Stroke lesions (T1-weighted MRI)
- BraTS-METS: Brain tumor metastases (Multisequence MRI)
- LiTS: Liver tumors (Contrast-enhanced CT)
- CMB: Cerebral microbleeds from the VALDO challenge (MRI)
Key Insights and Ideas
- Predictions as Instances: The core conceptual leap is treating the model's own predictions as the basis for spatial partitioning. If the model creates a false-positive component, it must own a corresponding spatial cell and face an explicit penalty for it.
- Size-Independent Penalties: By decoupling the gradient magnitude from the volume of the false positive, a tiny speck of predicted noise hurts the model's loss score just as much as a large false positive. This prevents the network from sneaking in small, low-confidence predictions.
- Loss-Level vs. Threshold-Level Control: The authors demonstrate that adjusting $\alpha$ during training fundamentally outperforms post-hoc decision thresholding (shifting logits after the model is trained). Training with BiCC alters the model's feature representation to be inherently more precision-aware.
Key Results
- Superior Lesion-Wise F1: BiCC outperformed the popular CC-DiceCE loss in lesion-wise F1 score on 4 out of 5 datasets, and outperformed blob loss on all 5.
- Mitigating Precision Collapse: While CC-DiceCE sacrificed up to 0.363 precision to maximize recall, BiCC maintained high precision while keeping recall competitive.
- Cleaner Empty Scans: On scans containing absolutely no ground-truth lesions, BiCC drastically reduced the number of false-positive components generated compared to all baselines.
Limitations and Future Work
On the CMB (cerebral microbleed) dataset, CC-DiceCE achieved a higher mean F1 score than BiCC (though the difference was not statistically significant). The authors note that CMB contains exceptionally small, highly uniform lesions. In this specific scenario, BiCC's prediction branch can occasionally over-penalize valid candidate predictions.
Future work could explore dynamically adapting $\alpha$ during training based on the local density or uniformity of the lesions being segmented.
Summary updated