arXiv:cs.AI· Hazem Hesham Yousef Shalby, Fabrizio Pittorino, Manuel Roveri·· 16 小时前
全整数训练的深度神经网络:INT8 张量与整数运算实现高效内存训练
Memory-Efficient Integer-Only Training of Deep Neural Networks
AI 导读
研究者提出一种全整数训练算法,将权重、梯度和激活全部存储为 INT8,前向、反向、权重更新和优化器更新全部用整数运算完成,训练内存约为 FP32 基线的 4 倍缩小。
正文
Abstract:Training neural networks in reduced precision can yield significant efficiency gains, yet all existing methods that scale to standard computer vision benchmarks retain floating-point in at least one stage, typically the weight update or optimizer state. We present a training algorithm that scales to modern deep neural networks, in which every tensor (weights, gradients, and activations) is stored as INT8, and every operation (forward pass, backward pass, weight update, optimizer update) is performed in integer arithmetic. Specifically, tensors are stored as signed integer mantissas paired with explicit power-of-two exponents, on which integer-only operations are performed using five custom composable building blocks (products, sums, divide-by-constant, nonlinear functions, and weight updates). This allows complete implementation of trainable integer layers, including convolutions, batch and layer normalization, softmax, and GELU. A per-group velocity mechanism with independent exponent tracking preserves gradient precision across neurons and channels with diverse magnitudes. As every tensor fits in INT8, training memory is roughly 4x smaller than the FP32 baseline. We validate our training algorithm on CNNs (ResNet-18/34/50/101, MobileNetV2) and Vision Transformers (ViT-Ti / B), demonstrating for the first time that training neural networks with INT8 tensors and integer arithmetic can achieve competitive accuracy on CIFAR-10, CIFAR-100 and ImageNet at a reduced memory budget.
| Comments: | 19 pages |
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.16298 [cs.AI] |
| (or arXiv:2610.16298v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.16298 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Hazem Hesham Yousef Shalby [view email]
[v1]
Mon, 12 Oct 2026 07:25:58 UTC (300 KB)
来源:arXiv:cs.AI · arxiv.org