Slimmable ConvNeXt: 适用于高效多设备部署的宽度自适应推理
Slimmable ConvNeXt: Width-Adaptive Inference for Efficient Multi-Device Deployment
AI总结:
本文提出Slimmable ConvNeXt,通过训练包含多个嵌套子网络的共享权重集,实现宽度自适应推理,从而在不同资源约束的设备上高效部署模型。该方法利用ConvNeXt的现代设计,如LayerNorm和倒置瓶颈结构,实现了通道宽度压缩,减少了归一化开销,并提供了更简单的训练流程。
摘要:
在资源约束变化的设备上部署视觉模型,或在单个设备上由于电池状态、热 throttling 或延迟截止而变化的计算资源,通常需要训练和维护多个模型。宽度自适应推理通过训练一组共享权重,其中包含多个嵌套子网络,这些子网络具有递增的容量,从而解决这一问题。尽管之前的CNN方法需要可切换的批量归一化,而近期可扩展方法则集中在视觉Transformer上,本文提出了Slimmable ConvNeXt,证明了ConvNeXt的现代设计,特别是LayerNorm和倒置瓶颈结构,使其特别适合通道宽度压缩,消除了经典可压缩网络的归一化开销,并提供了比之前CNN和ViT方法更简单的训练流程。在ImageNet-1k上,Slimmable ConvNeXt-T在3个子网络的情况下,以4.5 GMACs达到80.8%的top-1准确率,以1.2 GMACs达到77.4%的准确率,训练了600个epoch。在同等计算量下,这超过了HydraViT的6头子网络(78.4%在4.6 GMACs)2.4个百分点,以及其3头配置(73.0%在1.3 GMACs)4.4个百分点,同时在相同GMACs下也超过了MatFormer-S(78.6%)和SortedNet-S(78.2%)。将规模扩展到Slimmable ConvNeXt-B进一步将最大准确率提高到15.35 GMACs时的82.8%。
英文摘要:
Deploying vision models across devices with varying resource constraints, or even on a single device where available compute fluctuates due to battery state, thermal throttling, or latency deadlines, typically requires training and maintaining separate models. Width-adaptive inference addresses this by training a single set of shared weights containing multiple nested subnetworks of increasing capacity, but prior CNN-based approaches required switchable batch normalization, while recent scalable methods have focused on Vision Transformers. We present Slimmable ConvNeXt, which shows that ConvNeXt's modern design, specifically LayerNorm and inverted bottlenecks, makes it particularly suited for channel-width slimming, eliminating the normalization overhead of classical slimmable networks and producing a simpler training pipeline than both prior CNN and ViT approaches. On ImageNet-1k, Slimmable ConvNeXt-T with 3 subnetworks achieves 80.8% top-1 accuracy at 4.5 GMACs and 77.4% at 1.2 GMACs, trained from scratch for 600 epochs. At comparable compute, this exceeds HydraViT's 6-head subnetwork (78.4% at 4.6 GMACs) by 2.4 percentage points and its 3-head configuration (73.0% at 1.3 GMACs) by 4.4 percentage points, while also outperforming MatFormer-S (78.6%) and SortedNet-S (78.2%) at the same GMACs. Scaling to Slimmable ConvNeXt-B further improves maximum accuracy to 82.8% at 15.35 GMACs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。