paper-with-me

Papers

Large-batch Optimization for Dense Visual Predictions

2022-10-20 · Zeyue Xue, Jianming Liang, Guanglu Song, Zhuofan Zong, Liang Chen, Yu Liu, Ping Luo

Training a large-scale deep neural network in a large-scale dataset is challenging and time-consuming. The recent breakthrough of large-batch optimization is a promising way to tackle this challenge. However, although the current advanced algorithms such as LARS and LAMB succeed in classification models, the complicated pipelines of dense visual predictions such as object detection and segmentation still suffer from the heavy performance drop in the large-batch training regime. To address this challenge, we propose a simple yet effective algorithm, named Adaptive Gradient Variance Modulator (AGVM), which can train dense visual predictors with very large batch size, enabling several benefits more appealing than prior arts. Firstly, AGVM can align the gradient variances between different modules in the dense visual predictors, such as backbone, feature pyramid network (FPN), detection, and segmentation heads. We show that training with a large batch size can fail with the gradient variances misaligned among them, which is a phenomenon primarily overlooked in previous work. Secondly, AGVM is a plug-and-play module that generalizes well to many different architectures (e.g., CNNs and Transformers) and different tasks (e.g., object detection, instance segmentation, semantic segmentation, and panoptic segmentation). It is also compatible with different optimizers (e.g., SGD and AdamW). Thirdly, a theoretical analysis of AGVM is provided. Extensive experiments on the COCO and ADE20K datasets demonstrate the superiority of AGVM. For example, it can train Faster R-CNN+ResNet50 in 4 minutes without losing performance. AGVM enables training an object detector with one billion parameters in just 3.5 hours, reducing the training time by 20.9x, whilst achieving 62.2 mAP on COCO. The deliverables are released at https://github.com/Sense-X/AGVM.

📄 PDF Abstract BibTeX arXiv:2210.11078

Code (1)

sense-x/agvm 공식 구현

Tasks

Instance Segmentationobject-detectionObject DetectionPanoptic SegmentationSegmentationSemantic Segmentation

Methods 이 논문이 사용한 방법론

LARS Layer-wise Adaptive Rate Scaling, or LARS, is a large batch optimization technique. There are two notable differences between LARS and other adaptive algorithms such as…
ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…
Adam 설명 없음
LAMB LAMB is a a layerwise adaptive large batch optimization technique. It provides a strategy for adapting the learning rate in large batch settings. LAMB uses…
SGD Stochastic Gradient Descent is an iterative optimization technique that uses minibatches of data to form an expectation of the gradient, rather than the full gradient using…

Similar Papers 제목 키워드 기반

Fast Catch-Up, Late Switching: Optimal Batch Size Scheduling via Functional Scaling Laws

2026-02-15 · Jinbo Wang, Binghui Li, Zhanpeng Zhou, Mingze Wang 외 arxiv

Batch size scheduling (BSS) plays a critical role in large-scale deep learning training, influencing both optimization dynamics and computational efficiency. Yet, its theoretical foundations remain poorly understood. In …

Computational Efficiency

Geometric Structure Aided Visual Inertial Localization

2020-11-09 · Huaiyang Huang, Haoyang Ye, Jianhao Jiao, Yuxiang Sun 외

Visual Localization is an essential component in autonomous navigation. Existing approaches are either based on the visual structure from SLAM/SfM or the geometric structure from dense mapping. To take the advantages of …

Autonomous NavigationVisual Localization

Which Algorithmic Choices Matter at Which Batch Sizes? Insights From a Noisy Quadratic Model

2019-07-09 · NeurIPS 2019 12 · Guodong Zhang, Lala Li, Zachary Nado, James Martens 외

Increasing the batch size is a popular way to speed up neural network training, but beyond some critical batch size, larger batch sizes yield diminishing returns. In this work, we study how the critical batch size change…

BatchFormerV2: Exploring Sample Relationships for Dense Representation Learning

2022-04-04 · Zhi Hou, Baosheng Yu, Chaoyue Wang, Yibing Zhan 외

Attention mechanisms have been very popular in deep neural networks, where the Transformer architecture has achieved great success in not only natural language processing but also visual recognition applications. Recentl…

image-classificationImage Classificationobject-detectionObject Detection+2

Large Batch Training Does Not Need Warmup

2020-02-04 · Zhouyuan Huo, Bin Gu, Heng Huang

Training deep neural networks using a large batch size has shown promising results and benefits many real-world applications. However, the optimizer converges slowly at early epochs and there is a gap between large-batch…