Neurosurgeons who implant deep brain stimulation electrodes aim at nuclei about the size of a pea, such as the subthalamic nucleus (STN), which spans 70 to 200 mm³ and varies widely from patient to patient. Most hospitals image these targets on routine scanners with 2 to 5 mm thick slices. At that thickness, each image voxel mixes the target with its neighbours, an effect called partial voluming. Neural networks can recover a 1 mm image from such scans, but they run on workstation GPUs. Anyone trying to fit them onto compact hardware, such as an FPGA in a surgical cart or a small chip in a bedside console, will cut numerical precision first, because lower-precision arithmetic and smaller on-chip memories save the most silicon area and power.
This proposal asks a specific question about that compromise. The network locates a sub-voxel boundary from small intensity differences inside mixed voxels. Our hypothesis is that this information sits in the low-order bits of the network's activations. If so, the precision needed to keep a nucleus boundary within a clinically meaningful tolerance should rise as the input scan gets thicker. The minimum silicon area of an accelerator would then be set by the scan's resolution, not by the network alone. We will measure this relationship directly. We will express it as millimetres of boundary error per square millimetre of silicon, and use it to choose where a compact accelerator should spend its area.
Core Claim
Standard hardware practice treats 8-bit arithmetic as safe. The evidence for that comes from classification, where a slightly perturbed score rarely changes the output label. An example is the implantable cardiac accelerator of Qin et al., which reaches 99.95% diagnostic accuracy with mixed 1/2/4/8-bit multipliers at 10.60 μW. Localizing the boundary of a small nucleus is a different kind of problem. Whole-structure overlap scores (Dice) hide millimetre shifts that matter clinically. Duchin et al. show that overlap between the stimulated tissue volume and a 7T STN model correlates with motor improvement (r = 0.61 to 0.81). The thalamic atlas comparison shows that atlases agree on the whole thalamus (Dice > 0.70) but disagree much more on the small motor and sensory subnuclei that decide whether a patient gets tremor relief or paresthesia.
We claim that the precision a network needs for small-nucleus boundary localization depends on the thickness of the input scan. We also claim that, after the obvious area savings from region cropping are taken, the remaining silicon cost is dominated by this precision requirement. Either outcome of the test is informative. If required bit width stays flat across slice thicknesses, compact uniform 8-bit accelerators are safe for this task and designers can say so with evidence. If it rises, any quantized deployment of tools like SynthSR on clinical scans carries a hidden boundary error, and precision should be allocated per input resolution and per region.
Research Program
Ground truth. The first component is a controlled testbed where the true boundary is known exactly. We adopt the domain-randomization generator of SynthSeg, which trains a 3D U-Net on images synthesized from label maps with random contrast and resolution. We extend its label maps with STN, substantia nigra and red nucleus labels. Two sources supply these labels: expert tracing on high-resolution research scans (the HCP-style 1.25 mm acquisitions used by Crockett et al.), and, where accessible, 7T multi-contrast data of the kind Duchin et al. used. Synthesizing scans at slice thicknesses of 1, 2, 3, 5 and 7 mm from the same label map gives every degraded input an exact boundary to compare against. Real paired scans can only approximate that.
Models. We train two networks:
- a joint super-resolution and segmentation network following SynthSR;
- a lighter variant in the style of FastSurferCNN, which uses competitive dense blocks and slice aggregation.
We then quantize both, sweeping weight and activation precision separately across integer and minifloat formats (FP8 down to 4-bit). Formats are those supported by FPnew-style multiformat units. Each format is tested both as post-training quantization and with quantization-aware training. For every combination of slice thickness and format we record:
- mean and 95th-percentile surface distance in millimetres for each nucleus;
- centroid error;
- Dice.
The hardware model. We map each network to a streaming 3D-convolution accelerator using the folding and layer-fusion search of HARFLOW3D. For an ASIC estimate, we synthesize the multiply-accumulate arrays at each precision and size the on-chip buffers with a memory compiler. The dominant memory cost of streaming 3D convolution is the plane buffer, which holds the slices a kernel needs before it can slide forward:
$$B = (k-1)\,H\,W\,C\,b,$$
where $k$ is the kernel depth, $H$ and $W$ the in-plane extent of the processed volume, $C$ the channel count and $b$ the bits per activation.
This formula separates two area savings that are easy to conflate. Cropping to a region around the deep nuclei shrinks $H W$; a 48×48 crop instead of 256×256 cuts the buffer roughly 28-fold. Precision shrinks $b$ and the multiplier area. We take the crop as given and ask how far $b$ can fall before boundary error crosses tolerance.
Locating the crop. The crop is found by a cheap, very low-precision localization pass on a downsampled whole volume. We test whether that pass can tolerate far fewer bits than the boundary pass.
Output. The product is a set of Pareto curves of boundary error against synthesized area and energy, one curve per slice thickness. We also deliver a two-tier design: low-precision localization plus a cropped boundary network whose precision is chosen per input resolution. We report the area overhead of supporting multiple precisions. FPnew reports that such support cost 9.3% of core area in Ariane, so reconfigurability is not free and must pay for itself.
Baselines
Unquantized reference. The naive point is the FP32 SynthSR-style and SynthSeg-style networks on a workstation GPU, applied to the full volume. This is what a lab would do today, and it sets the accuracy ceiling every hardware configuration is measured against. For context, FastSurfer reports an average subcortical Dice of 89.00 on the THP dataset. SynthSR reports hippocampal volume error below 3.5% even from 7 mm slices. We found no reported STN, substantia nigra or red nucleus surface-distance result on Lacuna for either method, so we measure it ourselves on identical synthetic and real test sets.
Uniform 8-bit quantization-aware training, cropped. This is the strongest existing competitor. It is a single INT8 (or FP8) network trained with quantization in the loop and applied to the same region crop. It is the configuration a competent hardware team would ship, supported by Qin et al.'s 8-bit results and by FPnew's roughly 10.5× lower energy for 8-bit fused multiply-add. It receives the same training data, the same epochs and the same hyperparameter search budget as our per-resolution designs, and is mapped through the same HARFLOW3D-style search so the area accounting is identical. We beat it if, at matched silicon area, our design reduces 95th-percentile STN surface error on 3 to 7 mm inputs by more than inter-rater variability. We also beat it if it reaches equal boundary error at smaller area. Without either of those, we have not beaten it.
Ablations. Two ablations isolate the key ingredient:
- Resolution-dependent precision: the same two-tier pipeline with one fixed precision across all slice thicknesses.
- Per-region precision allocation: the cropped network with uniform precision, versus mixed precision within the crop.
Atlas registration. We also run registration of a standard stereotactic atlas as a non-learned reference. The thalamic atlas study found that atlas-based segmentation tracked clinical outcome better than unconstrained diffusion-based clustering, so learned methods must at least match it on boundary error.
Why not just…?
Why not just run the model on a GPU in the surgical cart?
This is a real threat for intraoperative use, where a cart can hold a 234 W card. HARFLOW3D's comparison, 1.72 J per clip at 9.44 W on FPGA against 1.62 J at 234.1 W on an RTX 3090, shows equal energy, not better accuracy. Our central measurement does not depend on custom silicon, however. If thick-slice inputs need more bits, the finding constrains every quantized deployment, including TensorRT INT8 on a GPU. The custom-area analysis matters only for consoles and embedded systems where the GPU is excluded. We present it as conditional on that setting.
Why not just crop the region in software and keep full precision?
Cropping is exactly the cheap win the buffer formula predicts, and we adopt it rather than compete with it. A sparse, region-guided hardware design would mostly reproduce what a crop already does, while adding control logic of the kind Gao et al. found can consume up to 19% of chip area. That is why we dropped sparse-mask hardware from the proposal. What a crop cannot answer is how many bits the remaining computation needs. Answering that is the experiment.
Why not just use uniform 8-bit everywhere?
It may well suffice, and our main experiment is built to find out. The supporting evidence comes from classification, and no result on Lacuna measures quantized boundary error on small nuclei. If uniform 8-bit quantization-aware training stays within tolerance at 7 mm, the per-resolution design is unnecessary. We would report that as the finding.
Why not just scan everyone at 7T?
Duchin et al. note that 7T scanners are confined to academic centres. Crockett et al. show that tract reconstruction succeeds in only 7 of 10 hemispheres on 2 mm clinical scans. The clinical regime is thick-slice, and that is where the hypothesis applies.
Decisive Checks
Main test. The headline test is the slope of required bit width against slice thickness on synthetic data with exact ground truth. Required bit width is the smallest precision that keeps 95th-percentile STN surface distance within 0.5 mm of the FP32 network. A flat slope refutes the hypothesis. A rising slope supports it.
Mechanism check. We compare quantization-induced error at partial-volume boundary voxels with error at interior voxels. The hypothesis predicts error concentrated at boundaries, growing with slice thickness.
Real-scan check. On real clinical-grade scans, whether thick acquisitions or downsampled high-resolution research scans, we check that synthetic findings transfer. Boundary error is computed against expert tracings, and inter-rater Dice serves as the noise floor; Crockett et al. report above 0.6 for nucleus basalis tracts.
Hardware outcome. The hardware result counts as positive only if, at matched boundary error, the resolution-aware design's synthesized area beats the cropped uniform-8-bit baseline after its multiprecision overhead is charged.
References
- A 10.60 μW 150 GOPS Mixed-Bit-Width Sparse CNN Accelerator for Life-Threatening Ventricular Arrhythmia Detection
- Patient-specific anatomical model for deep brain stimulation based on 7 Tesla MRI
- Comparison of thalamic atlases and segmentation techniques in defining motor and sensory nuclei for deep brain stimulation targeting in essential tremor
- SynthSeg: Segmentation of brain MRI scans of any contrast and resolution without retraining
- An individualized tractography pipeline for the nucleus basalis of Meynert lateral tract
- Joint super-resolution and synthesis of 1 mm isotropic MP-RAGE volumes from clinical MRI exams with scans of different orientation, resolution and contrast
- FastSurfer - A fast and accurate deep learning based neuroimaging pipeline
- FPnew: An Open-Source Multiformat Floating-Point Unit Architecture for Energy-Proportional Transprecision Computing
- HARFLOW3D: A Latency-Oriented 3D-CNN Accelerator Toolflow for HAR on FPGA Devices
- Stacked Filters Stationary Flow For Hardware-Oriented Acceleration Of Deep Convolutional Neural Networks