paper-with-me

Papers

Stable and low-precision training for large-scale vision-language models

2023-04-25 · NeurIPS 2023 11 · Mitchell Wortsman, Tim Dettmers, Luke Zettlemoyer, Ari Morcos, Ali Farhadi, Ludwig Schmidt

We introduce new methods for 1) accelerating and 2) stabilizing training for large language-vision models. 1) For acceleration, we introduce SwitchBack, a linear layer for int8 quantized training which provides a speed-up of 13-25% while matching the performance of bfloat16 training within 0.1 percentage points for the 1B parameter CLIP ViT-Huge -- the largest int8 training to date. Our main focus is int8 as GPU support for float8 is rare, though we also analyze float8 training through simulation. While SwitchBack proves effective for float8, we show that standard techniques are also successful if the network is trained and initialized so that large feature magnitudes are discouraged, which we accomplish via layer-scale initialized with zeros. 2) For stability, we analyze loss spikes and find they consistently occur 1-8 iterations after the squared gradients become under-estimated by their AdamW second moment estimator. As a result, we recommend an AdamW-Adafactor hybrid which avoids loss spikes when training a CLIP ViT-Huge model and outperforms gradient clipping at the scales we test.

📄 PDF Abstract BibTeX arXiv:2304.13013

Code (1)

mlfoundations/open_clip 공식 구현 pytorch

Tasks

GPU

Methods 이 논문이 사용한 방법론

Gradient Clipping One difficulty that arises with optimization of deep neural networks is that large parameter gradients can lead an SGD optimizer to update…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…
AdamW AdamW is a stochastic optimization method that modifies the typical implementation of weight decay in Adam, by decoupling [weight…

Similar Papers 제목 키워드 기반

92c/MFlops/s, Ultra-Large-Scale Neural-Network Training on a PIII Cluster

2019-11-12 · Douglas Aberdeen, Jonathan Baxter, Robert Edwards

Artificial neural networks with millions of adjustable parameters and a similar number of training examples are a potential solution for difficult, large-scale pattern recognition problems in areas such as speech and fac…

Face Recognition

Advancing Multimodal Large Language Models with Quantization-Aware Scale Learning for Efficient Adaptation

2024-08-07 · Jingjing Xie, Yuxin Zhang, Mingbao Lin, Liujuan Cao 외

This paper presents the first study to explore the potential of parameter quantization for multimodal large language models to alleviate the significant resource constraint encountered during vision-language instruction …

GPUQuantization

PowLU: An Activation Function for Stable Pre-Training of LLMs

2026-05-25 · Peijie Jiang, Yuqi Feng, Cunyin Peng, Qian Zhao 외 arxiv

In contemporary large language models (LLMs), the swish-gated linear unit (SwiGLU) activation function is widely adopted to regulate the information flow and introduce non-linearity. For large positive inputs, SwiGLU app…

Low Precision Neural Networks using Subband Decomposition

2017-03-24 · Sek Chai, Aswin Raghavan, David Zhang, Mohamed Amer 외

Large-scale deep neural networks (DNN) have been successfully used in a number of tasks from image recognition to natural language processing. They are trained using large training sets on large models, making them compu…

MATEX: Multi-scale Attention and Text-guided Explainability of Medical Vision-Language Models

2026-01-16 · Muhammad Imran, Chi Lee, Yugyung Lee arxiv

We introduce MATEX (Multi-scale Attention and Text-guided Explainability), a novel framework that advances interpretability in medical vision-language models by incorporating anatomically informed spatial reasoning. MATE…

Spatial Reasoning