当前位置:网站首页>应对长尾分布的目标检测 -- Balanced Group Softmax
应对长尾分布的目标检测 -- Balanced Group Softmax
2022-07-02 06:27:00 【MezereonXP】
应对长尾分布的目标检测 – Balanced Group Softmax
这次给大家介绍一篇CVPR2020的文章,题为“Overcoming Classifier Imbalance for Long-tail Object Detection with Balanced Group Softmax”,主要解决目标检测中的长尾数据分布问题,解决方案也十分简洁。
长尾分布的数据
首先,长尾分布的数据广泛存在,这里以COCO和LVIS两个数据集为例,如下图所示:
横坐标是类别的索引,纵坐标是对应类别的样本数量。
可以看到,在这两个数据集当中,存在着明显的长尾分布。
以往应对长尾分布的方法
这里给出一些相关的工作,按类别给出:
- 基于数据重采样(data re-sampling)
- 对尾部数据进行过采样:Borderline-smote: a new over-sampling method in im- balanced data sets learning
- 对头部数据进行删减:class imbalance, and cost sensitivity: why under-sampling beats over sampling
- 基于类别平衡的采样:Exploring the limits of weakly supervised pretraining.
- 代价敏感学习(cost- sensitive learning)
- 通过对loss进行调整,对不同类别给予不同的权重
这些方法通常都对超参数敏感,并且迁移到检测框架的时候表现不佳(分类任务和检测任务的不同)
Balanced Group Softmax
这里直接给出算法的具体框架:
如上图所示,在训练阶段,我们会对类别进行分组,不同组内部分别计算Softmax,然后计算出各自的交叉熵误差。
对于分组,论文给的是按0,10,100,1000,+inf作为切分点进行切分
这里我们需要为每一个组分别添加一个other类别,使得,当目标类别不在某一个组的时候,groundtruth设置为other。
最终的误差形式为:
L k = − ∑ n = 0 N ∑ i ∈ G n y i n log ( p i n ) \mathcal{L}_k=-\sum_{n=0}^{N}\sum_{i\in \mathcal{G}_n}y_i^n\log (p_i^n) Lk=−n=0∑Ni∈Gn∑yinlog(pin)
其中, N N N 是组的数量, G n \mathcal{G}_n Gn 是第 n n n 个组的类别集合, p i n p_i^n pin 是模型输出的概率, y i n y_i^n yin 是标签。
效果评估
这里给出一张全面对比的精度表
AP的下标对应着划分的组的索引,可以看到,在尾部的精度,也就是 A P 1 AP_1 AP1 和 A C C 1 ACC_1 ACC1 上都达到了SOTA的性能。
边栏推荐
- 联邦学习下的数据逆向攻击 -- GradInversion
- How to clean up logs on notebook computers to improve the response speed of web pages
- open3d环境错误汇总
- Faster-ILOD、maskrcnn_ Benchmark installation process and problems encountered
- 【AutoAugment】《AutoAugment:Learning Augmentation Policies from Data》
- 图像增强的几个方法以及Matlab代码
- 【学习笔记】Matlab自编高斯平滑器+Sobel算子求导
- How gensim freezes some word vectors for incremental training
- 利用超球嵌入来增强对抗训练
- open3d学习笔记二【文件读写】
猜你喜欢
Common CNN network innovations
Faster-ILOD、maskrcnn_benchmark训练coco数据集及问题汇总
win10+vs2017+denseflow编译
用MLP代替掉Self-Attention
MoCO ——Momentum Contrast for Unsupervised Visual Representation Learning
Eklavya -- infer the parameters of functions in binary files using neural network
Replace self attention with MLP
【DIoU】《Distance-IoU Loss:Faster and Better Learning for Bounding Box Regression》
【Paper Reading】
【Cascade FPD】《Deep Convolutional Network Cascade for Facial Point Detection》
随机推荐
Proof and understanding of pointnet principle
[CVPR‘22 Oral2] TAN: Temporal Alignment Networks for Long-term Video
Prompt 范式简述
AR系统总结收获
Summary of solving the Jetson nano installation onnx error (error: failed building wheel for onnx)
[learning notes] matlab self compiled image convolution function
Faster-ILOD、maskrcnn_benchmark安装过程及遇到问题
[binocular vision] binocular stereo matching
What if the laptop task manager is gray and unavailable
Machine learning theory learning: perceptron
【Sparse-to-Dense】《Sparse-to-Dense:Depth Prediction from Sparse Depth Samples and a Single Image》
How gensim freezes some word vectors for incremental training
[learning notes] numerical differentiation of back error propagation
MMDetection安装问题
【Mixed Pooling】《Mixed Pooling for Convolutional Neural Networks》
【Mixed Pooling】《Mixed Pooling for Convolutional Neural Networks》
TimeCLR: A self-supervised contrastive learning framework for univariate time series representation
【Batch】learning notes
The difference and understanding between generative model and discriminant model
针对语义分割的真实世界的对抗样本攻击