[论文解读] Beyond Trade-off: Accelerate FCN-based Face Detector with Higher Accuracy
该论文提出S²AP,一种新颖方法,通过注意力机制联合估计最优尺度和空间位置,加速基于全卷积网络(FCN)的人脸检测器,使掩码卷积能够跳过冗余计算。该方法在FDDB、AFW和MALF基准上实现了SOTA精度的同时,将RPN推理速度提升4倍,并保持98%的召回率。
Fully convolutional neural network (FCN) has been dominating the game of face detection task for a few years with its congenital capability of sliding-window-searching with shared kernels, which boiled down all the redundant calculation, and most recent state-of-the-art methods such as Faster-RCNN, SSD, YOLO and FPN use FCN as their backbone. So here comes one question: Can we find a universal strategy to further accelerate FCN with higher accuracy, so could accelerate all the recent FCN-based methods? To analyze this, we decompose the face searching space into two orthogonal directions, `scale' and `spatial'. Only a few coordinates in the space expanded by the two base vectors indicate foreground. So if FCN could ignore most of the other points, the searching space and false alarm should be significantly boiled down. Based on this philosophy, a novel method named scale estimation and spatial attention proposal ($S^2AP$) is proposed to pay attention to some specific scales and valid locations in the image pyramid. Furthermore, we adopt a masked-convolution operation based on the attention result to accelerate FCN calculation. Experiments show that FCN-based method RPN can be accelerated by about $4 imes$ with the help of $S^2AP$ and masked-FCN and at the same time it can also achieve the state-of-the-art on FDDB, AFW and MALF face detection benchmarks as well.
研究动机与目标
- 通过减少多尺度特征图中的冗余计算,缓解基于FCN的人脸检测器在速度与精度之间的权衡问题。
- 通过识别仅与人脸检测相关的尺度和空间位置,最小化图像金字塔中的误报。
- 开发一种可泛化的轻量化注意力机制,可无缝集成至任意基于FCN的检测器中,无需架构重构。
- 通过掩码卷积实现推理加速,仅对S²AP识别出的高注意力区域进行计算。
- 证明尺度与空间注意力的联合使用可同时提升人脸检测的速度与精度。
提出的方法
- S²AP将人脸检测空间分解为正交的'尺度'与'空间'维度,聚焦于相关区域与尺度的计算。
- 轻量级FCN头部利用高层特征估计尺度范围与空间提议,计算开销可忽略不计。
- 该方法应用空间注意力抑制背景区域,同时通过尺度注意力避免处理无关的金字塔层级。
- 基于S²AP的预测结果,对FCN层应用掩码卷积,跳过低注意力区域的计算。
- 注意力机制与检测器端到端联合训练,采用可微分阈值策略实现动态提议选择。
- 在FDDB上使用Transformer模块,将预测边界框与椭圆状真实标注对齐,提升适应性。
实验结果
研究问题
- RQ1我们能否通过聚焦于相关尺度与空间位置,降低基于FCN的人脸检测器的计算成本,同时不损失精度?
- RQ2尺度与空间注意力在多大程度上能联合减少基于图像金字塔的人脸检测中的误报?
- RQ3S²AP在加速RPN的同时,能否在保持或提升检测召回率与精确率的前提下实现显著加速?
- RQ4S²AP机制能否泛化至人脸检测之外的通用目标检测任务?
- RQ5在性能与速度提升方面,尺度注意力与空间注意力各自的贡献如何?
主要发现
- S²AP在FDDB、AFW与MALF基准上,平均将RPN加速4倍,同时保持98%的召回率。
- 在FDDB上,RPN+ S²AP实现93.59%的召回率,仅含50个误报,优于先前利用尺度信息的方法。
- 在AFW上,该方法实现99.94%的AP,创下人脸检测新SOTA纪录。
- 在MALF上,该方法实现77.92%的召回率,且误报为零,展现出极高的精确率。
- 消融实验表明,尺度与空间注意力在性能与速度提升上具有协同增益。
- S²AP在通用目标检测任务中泛化良好,在VOC2007与COCO2014上均实现高召回率,且在COCO上表现更优,归因于其尺度分布更均匀。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。