Frontiers in Electronics

Layer-wise hybrid binary–stochastic computing architecture for energy-efficient diabetes prediction on FPGA

A. Dinesh Babu, C. Gomathy

Key points

From the paper's conclusion
  • We define a layer-wise stochastic sensitivity metric that isolates the accuracy attributable to mapping each individual layer into the stochastic domain, and develop a partitioning procedure that converts the resulting profile into a hybrid binary–stochastic assignment while reporting the retained fraction of stochastic computation as an explicit hardware-cost proxy.

Abstract

Stochastic computing encodes numbers as probabilistic bit streams and reduces multiplication to a single logic gate, which makes it an appealing arithmetic substrate for always-on biomedical inference under severe energy constraints. Its accuracy is bounded by two effects usually treated as global properties of a design: the inverse square-root convergence of stream-based estimates, and the systematic bias introduced when operand streams are correlated. This article proceeds from a different observation, namely, that the accuracy cost of stochastic approximation is not distributed uniformly across the layers of a network, and that precision should be allocated where measurement shows it is required. We define a layer-wise stochastic sensitivity metric that isolates the accuracy attributable to mapping each individual layer into the stochastic domain, and develop a partitioning procedure that converts the resulting profile into a hybrid binary–stochastic assignment while reporting the retained fraction of stochastic computation as an explicit hardware-cost proxy. The methodology is demonstrated on an 8–12–8–4–1 fully connected classifier trained on the PIMA Indian Diabetes dataset under a leakage-free preprocessing protocol. Profiling reveals a strongly concentrated sensitivity distribution, the second hidden layer alone accounting for an 11.9 percentage-point accuracy loss while the output layer is statistically indistinguishable from exact arithmetic, and excluding that layer alone recovers 5.0 percentage points while retaining 58 % of all multiply–accumulate operations in stochastic form. A controlled comparison of independent and shared stochastic number generators demonstrates a correlation-induced error floor that does not diminish with stream length, the implemented bank holding a stochastic cross-correlation of approximately 0.038 independently of length; classifier AUC accordingly remains flat with the generators as implemented but rises toward the exact reference with idealised generators. All four arithmetic partitions were placed and routed for a Xilinx Zynq-7000 device with power annotated from simulated switching activity. The all-stochastic network occupies 5,320 look-up tables and 2,878 flip-flops with no DSP slices, and the selected partition reduces energy per inference by 64 % , to 2.69 μ J at a 1024-bit stream. An all-binary fixed-point baseline is faster and more energy-efficient still, which delimits the regime in which stochastic arithmetic is competitive at this scale and identifies generator cost, rather than stochastic arithmetic itself, as the quantity that must fall for the paradigm to become attractive for compact fully connected classifiers.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Layer-wise hybrid binary–stochastic computing architecture for energy-efficient diabetes prediction on FPGA — Science Skim