arXiv:2610.11748cs.AROct 2026

Manuscript Offprint

arXiv:2610.11748

DEX: Digit-Level Early Exit for Energy-Efficient MSDF Neural Network Inference

Yousef Sadegheih, Dorit Merhof, Muhammad Usman

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

U-Net inference for brain-tumor segmentation requires billions of multiply-accumulate operations, motivating hardware that can reduce computation dynamically rather than relying only on fixed precision or static model compression. Most-significant-digit-first (MSDF) arithmetic exposes the leading digits of a result during computation, enabling output-dependent decisions before the full value is generated. This paper presents an MSDF accelerator for quantized U-Net segmentation with a two-stage grouped processing element supporting signed INT8 operands and in-stream bias accumulation. Four runtime mechanisms operate directly on the output digit stream: exact early negative detection (END) in ReLU layers, exact sign-only decision making in the segmentation head, calibrated low-order-digit skipping, and calibrated pruning. The two approximate mechanisms are selected offline under an accuracy constraint, while execution requires only lightweight control and does not modify the stored weights. On a residual U-Net trained with nnU-Net for BraTS, the proposed mechanisms reduce digit cycles by 38.38% while achieving a mean Dice score of 80.58% on 73 held-out cases, compared with 81.20% for the floating-point model; the exact mechanisms alone reduce cycles by 18.79% without altering the quantized output. Synthesized in 45 nm, the processing element operates at 500 MHz, occupies 0.858 mm², and consumes 0.726 mJ per 192 × 192 patch under switching-activity-annotated power analysis. A projected eight-output accelerator with shared activation delivery achieves 16.6 ms latency and 1.67 mJ per patch.

Keywords Biomedical image segmentation, brain tumor, digit-serial arithmetic, early negative detection, early termination, energy-efficient accelerator, hardware accelerator, most-significant-digit-first arithmetic, online arithmetic, post-training quantization, U-Net.

1 Introduction

Brain-tumor delineation in multi-parametric MRI informs diagnosis, treatment planning, and follow-up, and U-Net-style encoder-decoder networks are now the prevailing approach to this task [1–3]. One inference involves billions of multiply-accumulate operations and substantial data movement, so deployment beside the scanner or on a power-limited device is usually limited by energy rather than by throughput [4,5].

Quantization and pruning reduce this cost before inference, but they are fixed in advance and cannot react to an individual output while it is being computed. A conventional multiply-accumulate unit completes every sum, even when the subsequent operation discards part of it. In a U-Net, this occurs at three points: ReLU maps every negative pre-activation to zero, requantization removes the low-order accumulator bits, and a binary segmentation decision depends only on the sign of the logit. In each case, the output can be terminated early, provided that the hardware can observe the result as it forms.

Most-significant-digit-first (MSDF), or online, arithmetic [6–8] makes the partial result visible. It consumes operands and produces result digits from the most significant end after a fixed online delay, so the leading digits of a dot product are available well before the last one. Its use in segmentation networks, however, faces three obstacles: the activations

∗^{*}Corresponding author: Muhammad Usman (e-mail: muhammad.usman@ur.de).

are signed, an early sign is meaningful only once the bias has entered the accumulated sum, and some dot products reach several thousand operands.

Our earlier FPGA design [9] introduced a merged multiply-add unit that evaluates a U-Net convolution as a single MSDF recurrence. That design improved energy efficiency, but it operated on unsigned activations, added the bias only after the digit stream had been produced, and reduced all products in one flat tree whose depth grew with the number of input channels. None of the early decisions outlined above was possible with it, and every output was generated to its last digit.

This paper presents an MSDF accelerator for quantized U-Net segmentation without these limitations. Its processing element (PE) accepts signed INT8 activations and symmetric INT8 weights, folds the bias into the operand stream, and reduces long dot products in a two-stage grouped structure whose active width adapts to each layer. Four early-termination policies monitor the leading digits of each output and end its digit stream once the remaining digits are no longer needed: exact early negative detection (END) of ReLU pre-activations, an exact sign-only head decision, calibrated pruning of near-zero outputs, and calibrated skip calculation of low-order digits.

The design is evaluated on a lightweight residual U-Net trained with nnU-Net [2] for the brain-tumor task of the Medical Segmentation Decathlon [10–12]. The network is quantized to 8 bits after training and scored on 73 evaluation cases by the Dice score for whole tumor, tumor core, and enhancing tumor.

The contributions are as follows:

  1. A grouped two-stage MSDF PE for signed INT8 convolution that carries the bias inside the digit stream and therefore supports exact decisions on partially generated outputs.

  2. Four early-termination policies that reduce digit cycles without changing the stored model; the exact policies leave the quantized output unchanged, and the calibrated policies keep the accuracy loss within a constraint enforced during offline calibration.

  3. An end-to-end evaluation on quantized U-Net segmentation in which the policies reduce digit cycles by 38.38% and PE energy by 38.43% at a mean Dice score of 80.58%.

  4. A system-level projection of an eight-output accelerator with shared activation delivery, with a latency of 16.6 ms and an energy of 1.67 mJ per 192×192192 \times 192 patch, the latter including modeled memory and I/O energy.

Sections 2–6 cover the background, the model, the PE, the network mapping, and early termination; Sections 7–10 present the methodology, the results, the system projection, and the comparison with prior hardware. Section 11 discusses the results and their limitations, and Section 12 concludes.

References (43)