Adversarial training (AT) with samples generated by Fast Gradient Sign Method (FGSM), also known as FGSM-AT, is a computationally simple method to train robust networks. However, during its training procedure, an unstable mode of "catastrophic overfitting" has been identified in arXiv:2001.03994 [cs.LG], where the robust accuracy abruptly drops to zero within a single training step. Existing methods use gradient regularizers or random initialization tricks to attenuate this issue, whereas they either take high computational cost or lead to lower robust accuracy. In this work, we provide the first study, which thoroughly examines a collection of tricks from three perspectives: Data Initialization, Network Structure, and Optimization, to overcome the catastrophic overfitting in FGSM-AT.
Surprisingly, we find that simple tricks, i.e., a) masking partial pixels (even without randomness), b) setting a large convolution stride and smooth activation functions, or c) regularizing the weights of the first convolutional layer, can effectively tackle the overfitting issue. Extensive results on a range of network architectures validate the effectiveness of each proposed trick, and the combinations of tricks are also investigated. For example, trained with PreActResNet-18 on CIFAR-10, our method attains 49.8% accuracy against PGD-50 attacker and 46.4% accuracy against AutoAttack, demonstrating that pure FGSM-AT is capable of enabling robust learners. The code and models are publicly available at https://github.com/UCSC-VLAA/Bag-of-Tricks-for-FGSM-AT.
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提供支持。
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(澳门大学)
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大学,英国)