TernScope: Model-Hardware Co-Design for Efficient Ternary Endoscopic Segmentation

Zhuoyu Wu, Wenhui Ou, Qiawei Zheng, Xuhong Qiu, Wenqi Fang, Raphaël C. -W. Phan

Monash University Malaysia · The Hong Kong University of Science and Technology · Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences · Southeast University

Published October 21, 2026 · on the feed November 2, 2026 · ▲ 3 · arXiv 2610.29617

Vision & multimodalEfficiency & inference Code arXiv ↗Hugging Face ↗

The abstract

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.

The Brief

2:00

A short podcast summary of the paper. Written and voiced by AI.

Transcript

TernScope. Model-Hardware Co-Design for Efficient Ternary Endoscopic Segmentation. By Zhuoyu Wu and five others, from Monash University Malaysia, the Hong Kong University of Science and Technology, and two other institutions. Published on the twenty-first of October.

Medical segmentation at the edge has to reconcile three demands that pull against one another: a small model, high accuracy, and fast inference. Shrink the model and accuracy is at risk. Protect the accuracy and the model may stay too large or too slow. A design has to give ground somewhere, or find a way to make the demands agree.

TernScope treats that tradeoff as a co-design problem spanning the model and the hardware. It learns a compact segmentation network whose low-bit operators also simplify how the hardware executes it, so a saving on one side becomes a saving on the other.

The network is built from split-channel large-kernel blocks, which preserve spatial context with limited computation, while branch fusion removes redundant inference paths. Ternary Progressive Quantization-aware Training, or TPQ, then adapts the fused network in a set order: from deep layers to shallow ones, through the decoder, and finally to the input and prediction layers. By the end, all twenty-five convolutions use ternary weights and eight-bit activations. That enables packed storage and computation with no multipliers.

The resulting model has zero point two four eight three million parameters and needs zero point zero nine four nine GMACs, while keeping competitive segmentation accuracy on in-domain and external datasets. On the hardware side, under the same forty-five nanometre technology, TernScope reduces compute-array area by eighty-eight point four six percent compared with the original Gemmini, a systolic-array accelerator built with eight-bit by eight-bit multipliers. Both halves of the co-design are measured, then: the model by its size, compute and accuracy, the hardware by the area it occupies.

The authors present this as a path from accurate lightweight medical segmentation to compact low-bit hardware. The two halves meet at the ternary weights. The same choice that shrinks the model is the one that lets the accelerator do without its multipliers.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.