Bag of Tricks with Quantized Convolutional Neural Networks for image classification
State Key Laboratory of Computer Science, ISCAS(中国科学院软件研究所计算机科学国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);ByteDance Inc.(字节跳动公司);University of Macau(澳门大学)
Deep neural networks have been proven effective in a wide range of tasks. However, their high computational and memory costs make them impractical to deploy on resource-constrained devices. To address this issue, quantization schemes have been proposed to reduce the memory footprint and improve inference speed. While numerous quantization methods have been proposed, they lack systematic analysis for their effectiveness. To bridge this gap, we collect and improve existing quantization methods and propose a gold guideline for post-training quantization. We evaluate the effectiveness of our proposed method with two popular models, ResNet50 and MobileNetV2, on the ImageNet dataset. By following our guidelines, no accuracy degradation occurs even after directly quantizing the model to 8-bits without additional training. A quantization-aware training based on the guidelines can further improve the accuracy in lower-bits quantization. Moreover, we have integrated a multi-stage fine-tuning strategy that works harmoniously with existing pruning techniques to reduce costs even further. Remarkably, our results reveal that a quantized MobileNetV2 with 30\% sparsity actually surpasses the performance of the equivalent full-precision model, underscoring the effectiveness and resilience of our proposed scheme.
PP-OCRv2: Bag of Tricks for Ultra Lightweight OCR System
Baidu Inc.(百度公司)
光学字符识别(Optical Character Recognition,OCR)系统已经广泛应用于各种应用场景中。设计OCR系统仍然是一项具有挑战性的任务。在以前的工作中,我们提出了一个实用的超轻量级OCR系统(PP-OCR),以平衡的准确性和效率。为了提高PP-OCR的准确性和保持高效率,本文提出了一种更健壮的OCR系统PP-OCRv 2。我们引入了一系列技巧来训练更好的文本检测器和更好的文本识别器,其中包括协作相互学习(CML),CopyPaste,轻量级CPUNetwork(LCNet),统一深度相互学习(U-DML)和增强的CTCLoss。在实际数据上的实验表明,在相同的推理代价下,PP-OCRv 2的精度比PP-OCR高7%。它也可以与使用ResNet系列作为主干的PP-OCR服务器模型相媲美。上述所有模型都是开源的,代码可以在GitHub存储库PaddleOCR中找到,该存储库由PaddlePaddle提供支持。
Optimizing Multispectral Object Detection: A Bag of Tricks and Comprehensive Benchmarks
Beijing Forestry University(北京林业大学);Hong Kong University of Science and Technology(香港科技大学);State Key Laboratory of Multimodal Artificial Intelligence Systems (MAIS)(多模态人工智能系统国家重点实验室);National University of Singapore(新加坡国立大学);Nanyang Technological University(南洋理工大学);Sun Yat-sen University(中山大学)
Pushing the Limits of Sparsity: A Bag of Tricks for Extreme Pruning
Department of Computing Science University of Aberdeen, UK(计算科学系阿伯丁大学,英国);Department of Computing Science & Interdisciplinary Institute University of Aberdeen, UK(计算科学系与跨学科研究所阿伯丁大学,英国);Department of Computer Science University of Exeter, UK(计算机科学系埃克塞特大学,英国);Intel Labs, USA(英特尔实验室,美国);Department of Computer Science University of North Carolina at Chapel Hill, US(计算机科学系北卡罗来纳大学教堂山分校,美国);School of Computer Science and Electronic Engineering University of Surrey, UK(计算机科学与电子工程学院 Surrey大学,英国)
Deep Attention Aware Feature Learning for Person Re-Identification
Tsinghua University(清华大学);Addx Technology(Addx科技);University of Science and Technology Beijing(北京科技大学)
视觉注意力已被证明是有效的,在提高性能的人重新识别。大多数现有的方法通过学习额外的注意力图来重新加权特征图以重新识别人来应用视觉注意力。然而,这类方法不可避免地增加了模型的复杂性和推理时间。在本文中,我们建议在不改变原始结构的情况下,将注意力学习作为附加目标纳入人ReID网络,从而保持相同的推理时间和模型大小。已经考虑了两种注意力,使学习的特征图分别意识到人和相关的身体部位。在全局范围内,整体注意分支(HAB)使骨干得到的特征图集中在人身上,以减轻背景的影响。局部地,部分注意力分支(PAB)使得提取的特征被解耦成若干组并且分别负责不同的身体部位(即,关键点),从而增加对姿态变化和部分遮挡的鲁棒性。这两种注意力是通用的,可以并入现有的ReID网络。我们已经在两个典型的网络(TriNet和Bag of Tricks)上测试了它的性能,并在五个广泛使用的数据集上观察到显着的性能改善。