TernScope:面向高效三元内窥镜分割的模型-硬件协同设计

·

研究论文 · 2026/11/02

TernScope 通过模型-硬件协同设计,在边缘医疗分割中平衡小模型、高精度与快速推理。其分通道大核块以有限计算保留空间上下文,分支融合去除冗余推理路径。三元渐进量化感知训练(TPQ)从深层到浅层、经解码器至输入和预测层逐步适配。全部25个卷积使用三值权重和8位激活,支持打包存储与无乘法器计算。模型仅0.2483M参数和0.0949 GMACs,在域内和外部数据集上保持有竞争力的分割精度。在相同45nm工艺下,相比原始Gemmini(8位×8位乘法器的脉动阵列加速器),计算阵列面积减少88.46%。

该研究为边缘医疗分割提供了一种兼顾精度与效率的协同设计范式,通过三值量化与硬件优化显著降低计算和存储开销,对资源受限场景下的实时分割具有重要参考价值。

Edge medical segmentation must reconcile small model size, high accuracy, and fast inference. TernScope addresses this tradeoff through model--hardware co-design, learning a compact segmentation network whose low-bit operators also simplify hardware execution. Split-channel large-kernel blocks preserve spatial context with limited computation, while branch fusion removes redundant inference paths. Ternary Progressive Quantization-aware Training (TPQ) then adapts the fused network from deep to shallow layers, through the decoder, and finally to the input and prediction layers. All 25 convolutions use ternary weights and 8-bit activations, enabling packed storage and multiplier-free computation. The resulting model uses 0.2483 M parameters and 0.0949 GMACs while retaining competitive segmentation accuracy on in-domain and external datasets. Under the same 45 nm technology, TernScope reduces compute-array area by 88.46% compared with the original Gemmini, a systolic-array accelerator with 8-bit times 8-bit multipliers. These results demonstrate a path from accurate lightweight medical segmentation to compact low-bit hardware.

阅读原文

参与讨论