arXiv 论文提出 ΣΔ-Sampler 优化器,支持二值与三值 AI 模型端侧训练
Noise-shaped Sampling and Annealing for Scalable On-the-edge Training of Binary and Ternary AI Models
arXiv 论文提出 ΣΔ-Sampler 优化器,将二值与三值神经网络的训练损失视为高阶 Ising 模型能量,用嵌入一阶 ΣΔ 噪声整形环的随机采样退火步骤完成离散权重更新。
论文把二值/三值网络训练映射为 Ising 模型,提出 ΣΔ-Sampler 优化器,并给出内存与速度的量化收益,可供端侧训练路线参考。
arXiv:2610.22621v2 Announce Type: replace Abstract: The training loss of binary and ternary neural networks, expanded as a multilinear polynomial over the discrete weights, is structurally equivalent to the energy of a hierarchical high-order Ising model. We exploit this equivalence to apply Ising solvers to discrete-weight network training, while accounting for a fundamental difference in objectives: an Ising solver seeks the ground state of a fixed energy function, whereas training seeks solutions that generalize to unseen data. Our key contribution is $\Sigma\Delta$-Sampler, an optimizer that reconciles these objectives by embedding a stochastic sampling-and-annealing step as a noisy quantizer inside a first-order $\Sigma\Delta$ noise-shaping loop. The loop pushes noise from weight quantization, high-order frustration, and mini-batch sampling out of the low-frequency adaptation band, so that discrete weight updates follow the smooth descent trajectories embedded in the rugged loss landscape. We validate the framework on a planted quadratic unconstrained binary optimization (QUBO) benchmark with a known minimizer; on CIFAR-10, where a $13$M-parameter ternary model comes within $1\%$ of full-precision accuracy; on ImageNet-1k, where a ternary ResNet-18 comes within $0.4\%$ Top-5 accuracy of a ternary baseline; on class-incremental continual learning, where prior-task accuracy is preserved; and on MatMul-free language models up to $2.7$B parameters, where it outperforms a straight-through-estimator baseline under matched continued pre-training. Compared with standard quantization-aware training, $\Sigma\Delta$-Sampler reduces the training memory footprint by over $50\%$, delivers an order-of-magnitude speed-up, and reduces weight-update memory traffic by four orders of magnitude, making it attractive for on-device training and fine-tuning of large binary and ternary models.
来源:arXiv (AI + Vision + Imaging) · arxiv.org