在商用x86硬件上自监督SAR-光学编码器的量化边缘推理
Quantized Edge Inference of a Self-Supervised SAR-Optical Encoder on Commodity x86 Hardware
AI总结:
该研究针对地球观测用自监督SAR-光学编码器,在商用x86硬件上开展量化边缘推理,发现INT8量化可降低延迟与能耗且不影响准确率,帕累托最优设备随CPU性能提升从集成GPU转向CPU。
摘要:
自监督视觉Transformer越来越多地被用作地球观测的可复用编码器,但它们在现场可用硬件上的推理成本却很少被表征。我们在三个商用x86节点上部署了预训练的SAR-光学掩码自编码器编码器,这些节点涵盖从无AVX2的低功耗CPU到AVX2+VNNI参考CPU,分别在CPU(FP32、FP16、INT8)和集成GPU(若存在)上进行部署,并报告了延迟、能耗(RAPL和墙插能耗)以及线性探测准确率。量化对准确率无影响:INT8仅使微mAP变化+0.0006,处于种子波动范围内,因此精度成为纯粹的成本决策。INT8在所有节点上均降低了CPU延迟,即使在无AVX2的CPU上也降低了1.45倍,且在所有测量CPU能耗的场景中均降低了CPU能耗,而VNNI参考(1.53倍)表明在AVX2之外还有进一步的增益。帕累托最优设备从集成GPU(在最弱节点上比CPU快4.38倍)转变为随着CPU等级提升而转向CPU。
英文摘要:
Self-supervised vision transformers are increasingly used as reusable encoders for Earth observation, but their inference cost on the hardware available in the field is rarely characterized. We deploy a pretrained SAR-optical masked-autoencoder encoder on three commodity x86 nodes, from a low-power CPU without AVX2 to an AVX2+VNNI reference, at FP32, FP16 and INT8 on the CPU and, where present, the integrated GPU, and report latency, energy (RAPL and wall plug) and linear-probe accuracy. Quantization is accuracy-neutral: INT8 changes micro-mAP by only +0.0006, within the seed spread, so precision becomes a pure cost decision. INT8 lowers CPU latency on every node, by 1.45x even on the CPU without AVX2, and CPU energy wherever it is measured, and the VNNI reference (1.53x) suggests a further gain beyond AVX2. The Pareto-optimal device shifts from the integrated GPU, which is 4.38x faster than the CPU on the weakest node, to the CPU as the CPU class improves.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。