[论文解读] Soft labelling for semantic segmentation: Bringing coherence to label down-sampling
本文提出了一种用于语义分割的软标签方法,通过对齐图像与标签的下采样策略,保留类别分布并减少错位伪影。通过使用可微分的、概率化的标签编码替代传统的最近邻下采样,该方法仅使用单张24GB GPU即可在较低分辨率下实现最先进性能,mIoU超越全分辨率模型,同时将计算成本降低最多达10倍。
In semantic segmentation, training data down-sampling is commonly performed due to limited resources, the need to adapt image size to the model input, or improve data augmentation. This down-sampling typically employs different strategies for the image data and the annotated labels. Such discrepancy leads to mismatches between the down-sampled color and label images. Hence, the training performance significantly decreases as the down-sampling factor increases. In this paper, we bring together the down-sampling strategies for the image data and the training labels. To that aim, we propose a novel framework for label down-sampling via soft-labeling that better conserves label information after down-sampling. Therefore, fully aligning soft-labels with image data to keep the distribution of the sampled pixels. This proposal also produces reliable annotations for under-represented semantic classes. Altogether, it allows training competitive models at lower resolutions. Experiments show that the proposal outperforms other down-sampling strategies. Moreover, state-of-the-art performance is achieved for reference benchmarks, but employing significantly less computational resources than foremost approaches. This proposal enables competitive research for semantic segmentation under resource constraints.
研究动机与目标
- 解决因图像与标签下采样不一致导致的语义分割性能下降问题。
- 通过降低GPU内存和计算需求,在资源受限条件下实现高性能训练。
- 在下采样过程中提升标签保真度,尤其针对低频语义类别。
- 开发一种统一的下采样策略,对图像和标签数据应用相同的插值方法。
- 证明软标签编码相比标准最近邻标签编码能保留更多语义信息。
提出的方法
- 用软标签编码替代传统类别标签的最近邻下采样,其中软标签编码在每个下采样区域内表示类别概率。
- 对图像和标签均使用双线性插值,确保输入与目标之间的空间对齐。
- 通过每个下采样区域内原始像素类别相对频率,将标签编码为类别上的概率分布。
- 在软标签目标上使用交叉熵损失进行模型训练,从而在反向传播中实现梯度流动。
- 将软标签处理流程集成至标准数据增强流程中,包括随机裁剪与缩放。
- 在裁剪尺寸超过图像分辨率时支持上采样,通过软标签传播保持一致性。
实验结果
研究问题
- RQ1能否对图像和标签数据应用统一的下采样策略以消除错位?
- RQ2软标签方法对所有语义类别(尤其是低频类别)的模型性能有何影响?
- RQ3在何种下采样因子以下性能会显著下降?
- RQ4软标签方法是否能在显著降低硬件需求的前提下实现最先进性能?
- RQ5该软标签策略是否在具有不同图像分辨率的多种数据集上具有泛化能力?
主要发现
- 在Mapillary验证集上,该方法仅使用单张24GB GPU即实现了54.4%的mIoU,优于使用8×32GB GPU的基线模型(53.1% mIoU)。
- 在ADE20K数据集上,该方法使用单张24GB GPU实现了48.3%的mIoU,超越使用8×32GB GPU的最先进模型(46.5% mIoU)。
- 在半分辨率Cityscapes图像上使用软标签训练的模型实现了48.3%的mIoU,优于在50×24GB GPU上训练的全分辨率最先进模型(47.7% mIoU)。
- 当下采样因子低于1/4时,性能显著下降,表明在不损失信息的前提下存在分辨率降低的硬性限制。
- 通过概率化标签编码保留类别分布,该方法显著提升了低频类别的性能。
- 该框架使模型训练在最多减少10倍GPU内存和50倍GPU数量的前提下,仍能实现与领先全分辨率基线相当的性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。