Papers
arxiv:2610.29617

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

Published on Oct 21
· Submitted by
ReaganWU
on Nov 2
Authors:
,
,
,
,
,

Abstract

TernScope co-designs a compact ternary-weight segmentation network with simplified hardware to achieve high accuracy and fast inference for edge medical imaging.

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.

Community

Paper submitter

Hi everyone! I'm the first author of TernScope. Can a tiny segmentation network use ternary weights throughout—including the input and prediction layers—and translate that into smaller hardware?

We co-design an endoscopic segmentation model and a matching accelerator:
• 0.2483M parameters and 0.0949 GMACs at 256×256.
• All 25 convolutions use ternary weights {−1, 0, +1} and 8-bit activations, trained through branch fusion and progressive QAT.
• External evaluation on ClinicDB and ColonDB without fine-tuning.
• 88.46% lower compute-array area than original INT8 Gemmini under matched 45 nm synthesis.

Code, a W2A8 checkpoint, and accelerator RTL are available:
https://github.com/ReaganWu/TernScope

Happy to discuss full-network ternary quantization, efficient medical vision, and model–hardware co-design!

This is an automated message from the Librarian Bot. I found the following papers similar to this paper.

The following papers were recommended by the Semantic Scholar API

Please give a thumbs up to this comment if you found it helpful!

If you want recommendations for any Paper on Hugging Face checkout this Space

You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2610.29617
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2610.29617 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2610.29617 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2610.29617 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.