Abstract
Approximate computing, by sacrificing bounded number precision, reduces energy, delay and hardware switching activity. We show a reproducible simulation-based comparison between an exact 8-bit multiplier and four approximate versions: two-bit operand truncation, four-bit truncation, a hybrid partial-product estimator, and an input-adaptive mode. This is combined with a 250,000-vector arithmetic workload and an application-level 256×256 filter-application case study. Error rate, mean absolute error (MAE), normalized mean error distance (NMED), 95% error, normalized energy, normalized delay, energy-delay product (EDP), average-squared image error, and peak-signal-to-noise-ratio (PSNR) are evaluated. With 33% energy reduction modeled and 45.73% EDP saving, whilst ensuring the NMED is below 1.84%, the hybrid methodology provides the best overall arithmetic compromise. Aggressive four-bit truncation achieves 44% energy reduction and 59.68% EDP savings, but with 25.18% NMED and image PSNR of 29.85 dB. Two-bit truncation achieves 41.91-dB image PSNR with 22% energy reduction. Results are obtained from explicit equations, deterministic simulation, and result cross-checks on table bounds and sample sizes, mode indeterminacy, and table/figure alignment. Results are baseline design-space estimates, not from post-layout silicon measurements.

INDEX TERMS: approximate computing, energy-efficient systems, approximate multiplier, truncation, quality-energy trade-off, image processing, error metrics, Simulation.

Vol.1, Issue. 3, PP. 41-47

1. Introduction

Energy has emerged as the key bottleneck at the edge, embedded intelligence, multimedia devices and accelerators. Traditional digital design assures the correctness of all valid inputs, even when an application can accept a limited degree of precision loss. Approximate computing takes advantage of this quality slack by approximating on the arithmetic, memory, control, or algorithm levels. Approximate arithmetic and algorithm-level approximation have been pinpointed as promising techniques for energy-efficient error resilient workloads [1], [2].

Also, a low-energy circuit might produce biased errors, infrequent large deviations, or intolerable application-quality degradation. Thus, a valid comparison must show circuit-focused proxies as well as workload-focused quality. It must also require same inputs, provide approximations rules explicitly and differentiate between simulation estimates and fabricated hardware measurements.

This paper offers a self-contained evaluation environment. The 5 multiplier modes are evaluated on uniformly distributed unsigned 8bit operands. The identical approximation idea is then adapted to Gaussian-like image filtering applying quantized operands. The contribution is: mathematical definition of each method; multi-­metric comparison for energy, latency, error and EDP; application-level quality experiment; empirical error distributions and a Pareto-­like perspective; reproducibility and validity checklist.

The need is especially acute for always-on and battery-powered platforms. In these systems each one might do billions of ops over noisy sensor data , media data samples that may be compressed and intermediate neural net activations. Requiring each one to perform bit-precise calculations uses switching energy on low-value information that makes no difference to the ultimate outcome or output quality. Approximate computation introduces a managed leeway: be precise when it matters and scale back where the application can tolerate it.

A very rough-compilation study must span multiple levels of abstraction. At the arithmetic level, you learn the precision of an operator, and how often it is inaccurate and to what degree. At the hardware level, you can determine the approximate energy reduction and delay gain. At the application level, you can determine whether the errors tend to accumulate, average, cancel, or create visible distortions. Considering only a single level can be misleading; a computation with a high arithmetic error rate can be acceptable if the errors are small and decorrelated, while another computation with a smaller number of severely biased errors may ruin the image.

Furthermore, that "approximate" term encompasses very different mechanisms: Precision truncation removes lower-significance information in every operation. Partial-product pruning alters the multiplier configuration. Adaptive computation chooses between precise and approximate processing depending on the input or desired quality level. These techniques may not all yield the same error profile, even if their mean energy consumption is comparable. This work therefore focuses on error distributions, percentile errors, visual effects and quality-based mode choice rather than a single "mean" error metric.

Approximate computing is based on the premise that media processing, recognition, data analytics and learning applications can allow a certain degree of lossiness or suboptimality [2]. It encompasses voltage overscaling, precision scaling, loop perforation, memoization, approximate storage and simplified arithmetic. Approximate adders and multipliers are especially important because multiply-accumulate operations dominate many signal-processing and machine-learning kernels.

Han and Orshansky discuss approximate arithmetic blocks and error measures [2]. Mittal covers approximate computing of hardware and software [1]. In a later paper, Han et al. categorize hardware methods by subsystem and by support for dynamic energy-quality scaling [3]. These papers provide the motivation for considering energy together with error distribution and application quality. This paper does not reproduce a published circuit, but experiments with transparent functional approximations and normalized implementation-cost models to analyze relative behavior pre-RTL synthesis.

The paper is structured in the style of an early-phase architecture study. First, the operators are all specified mathematically and precisely so that their behavior can be understood without ambiguity. Second, a generic simulation driver exercises exactly the same operands and collects detailed error vectors. Third, the operators are subjected to a uniform set of normalized energy and delay assumptions. Fourth, the operators are embedded in an image-filtering workload. In the end, the results so collected are interpreted as design choices against concrete quality requirements.


II. TECHNIQUES UNDER COMPARISON
A. Conventional Exact Multiplication

For unsigned operands x,y∈{0,…,255}, the reference output is z = x·y. It establishes zero error, normalized energy one, normalized latency one, and normalized EDP one.

ZEX=x y.     (1)

B. Operand Truncation

Two modes of truncation both truncate the k least significant bits of both operands, multiply them, then compensate:

ZTk=[⌊x/2k⌋⌊y/2k⌋]2{2k},   k∈{2,4}.     (2)

It eliminates partial products and minimizes critical paths in a proposed implementation. Since terms dropped are nonnegative, biases are in the negative direction.

C. Hybrid Partial-Product Estimation

 Write x=16xH+xL and y=16yH+yL. The exact product contains a high product, two cross products, and xLyL. The hybrid technique retains the high and cross terms but omits the low-low term:

zH=256xH yH+16(xL yH+yL xH).     (3)


The omitted term is at most 225, so the worst-case structural error is bounded and substantially smaller than four-bit truncation.

D. Input-Adaptive Approximation

 The adaptive controller uses the exact product when x+y>270 and otherwise invokes four-bit truncation:

zA={xy, x+y>270; zT4, otherwise}.     (4)

This threshold guards high-magnitude operations, where the cost of absolute error is high, while loosely approximating the underlying behavior for low activity inputs. This straightforward policy demonstrates the potential benefits and costs of runtime quality selection.

III. EVALUATION METRICS AND ENERGY MODEL

ei=zi−zEX,i,   MAE=(1/N)Σ|ei|.     (5)

NMED=(1/N)Σ |ei|/max(zEX,i,1).     (6)

ER=(1/N)Σ1[ei≠0].     (7)

The 95th-percentile absolute error characterizes the distribution tail. Application quality uses MSE and PSNR:

MSE=(1/M)Σ(Ii−Îi)2.     (8)

PSNR=10log10(255²/MSE) dB.     (9)

Energy and latency are normalized design-space coefficients indicating the factor reduction in operand width, partial-product count, and control overhead. Exact, T2, T4, hybrid, and adaptive energy factors are 1.00, 0.78, 0.56, 0.67, and 0.73. Latency factors are 1.00, 0.86, 0.72, 0.81, and 0.84. EDP is their product. These coefficients are assumptions for system-level comparison, not synthesis results.

EDPnorm=Enorm·Lnorm.     (10)


IV. SIMULATION METHODOLOGY AND CHECKS

 

NumPy random seed 42 produces 250,000 independent randomly sampled operand pairs uniformly distributed over 0-255, with all methods given identical vectors. Integer arithmetic removes floating point problems. The image experiment creates a reproducible 256x256 grayscale scene consisting of a gradient, a sinusoidal textured region, a localized bright feature, and some Gaussian sensor-like noise. Perfect reference blur is achieved by normalized 3x3 kernel [ 1 2 1;2 4 2;1 2 1 ]/16. Approximate modes quantize image operands prior to convolution; hybrid output mixes partially retained information; and adaptive output preserves exact processing around high-local-variation pixels.

Checks performed: 250k products per mode, non-negative approximated outputs for all vectors, precise output identity for all vectors, all inputs in 8-bit range, output parameters unconditionally within valid bounds, non-negative approximate outputs, NMED and error rate valid, EDP=energy*latency, image dimensions preserved, exact-image MSE=0, same data and same table/figures generated from same data stored in array.


Fig. 1. Full-operand-space error maps (black = low error, bright = high error) for the four-bit-truncation (top) and hybrid (bottom) multipliers with 256×256 operands. In the hybrid map, only the low-low product was dropped; in the four-bit-truncation map, discarded cross terms get larger as the operand grows larger. Because of this, the four-bit-truncation map gets consistently brighter toward larger operands since discarded cross terms increase in size with operand magnitude. This figure gives an intuition of how similar structure can have very different NMED and tail error.


Figure 1 shows a deterministic image of all 65,536 possible pairs of unsigned 8-bit operands to the multiplication, complementing the random-vector statistics. The hybrid pattern is periodic and bounded, resulting in a pattern that is easier to interpret and correct. Four bit truncation has large regions of high-error because both the cross products and the low-low product are rejected. The symmetry with respect to the diagonal is the consequence of the multiply being commutative and can also be used to confirm the image implementation.



Fig. 2. Assumed normalized energy decomposition. Arithmetic is most heavily penalized for T4 because, there, only a few partial products are left. The adaptive has the largest control-and-selection block showing that adaptability at run time is not free. The stack totals are equivalent to the normalized energy factors used for Table I.

Figure 2 makes the energy assumptions explicit, rather than concealing them in unexplained totals. The greatest reducible part is arithmetic switching, but even after simplifying the multiplier, registers and transport remain. The adaptive mode pays threshold evaluation cost, multiplexing and dual mode controlling cost while saving arithmetic energy. These component values are analytical allocation used for a sensitivity comparison; they are not a measure of the circuit power.



Fig. 3. Empirical cumulative distribution of absolute multiple error. The hybrid curve rises sharply near zero, showing that most errors remain small; four-bit truncation has the broadest tail; the adaptive mode eliminates errors for high-sum pairs but maintains significant deviations for low-sum pairs.

Fig. 4. Energy-saving against NMED design space. Points higher up save more of the modeled energy, points to the left are more numerically accurate. The hybrid point is the most evenly balanced trade-off; the aggressive truncation is in the high-save, high-error quadrant.

V. ARITHMETIC RESULTS

 TABLE I. Results For 250,000 Unsigned 8-Bit Multiplications

Two-bit truncation decreases energy model by 22.00% and EDP by 32.92%. With NMED of 6.94%, 95% of absolute errors are below 899. Four-bit truncation has the highest energy saving of 44.00%, and the best EDP saving of 59.68%, while NMED is 25.18% and the 95% of absolute errors is 4,148. This choice should be taken into consideration only if extensive quality degradation is acceptable.

The hybrid approximation is the most favorable arithmetic compromise. It has 33% less energy, 45.73% less EDP with MAE only 56.23, NMED 1.84%. Its error rate is a fairly high 87.86%, but error rate does not matter much when almost all nonzero errors are small, thus, the necessity of using MAE, NMED and tail error in addition to ER.

Adaptive mode decreases energy by 27% and EDP by 38.68%. Precise operation is performed on 45.06% of samples, thus with an error of 54.94%. Its NMED is 20.71%, which is actually worse than the hybrid mode. The threshold policy thus offers dynamic control but is not globally optimal. It could be improved with a learned or quality-constrained selector.

VI. APPLICATION-LEVEL IMAGE RESULTS

 TABLE II. Image-Filtering Quality Relative To Exact Convolution

Two-bit truncation maintains the visual structure and yields 41.91-dB PSNR, showing that such a synthetic filtering operation has little distortion. Four-bit truncation reduces PSNR to 29.85 dB and produces noticeable darkening as the operand quantization is downward biased. hybrid implementation enhances the PSNR to 33.59 dB. The adaptive image rule achieves 30.00 dB because it limits protection to high-variation pixels; large smooth regions are left quantized.


Fig. 5. Comparison of precisely filtered, aggressive four-bit truncated and adaptive approximation. The 'reference' retains all tonal precision. Four-bit truncation causes varying degrees of systematic intensity loss and mild banding in smooth regions. Adaptive processing reproduces highly varying structures more accurately, but smooth areas are still darker. This image is synthetic, it can be freely reproduced and deterministic regeneration is possible.


Fig. 6. Mode energy savings as the minimum acceptable image PSNR value is raised. With tolerant quality thresholds, aggressive T4 approximation is possible and results in a 44% savings. As the required PSNR passes through the T4 value the chosen mode switches first to hybrid then to T2. At extremely demanding quality thresholds beyond the approximate modes, the curve reverts to the exact mode with zero saving.

Figure 6 translates the experimental data points into a simple design rule. The staircase shape results because there are only five quantized operating modes. At each ‘jump’, a quality threshold is reached that renders the mode with lowest energy hitherto, no longer feasible. A real adaptive system could provide a greater number of precision levels or continuous voltage-frequency control and therefore create a smoother boundary.

VII. DISCUSSION

 

Figure 3 shows that average error is insufficient to characterize approximate hardware; hybrid has many small errors, while aggressively truncated is characterized by a few very large errors. Figure 4 makes the tradeoff design decision transparent: exact computing at the 0-error zero-savings origin, T4 at the maximum-savings extreme, and hybrid at the optimal accuracy-efficiency compromise. Figure 5 shows that our arithmetic ranking does not map entirely to the application quality: spatial filtering averages some errors while systematic bias appears clearly.

As the application can set a quality constraint, an application-specific selection rule we can employ in quality-constrained systems is to select the lowest energy mode satisfying a given application threshold. In our experiment, when PSNR requirement is above 40dB, T2 is lowest energy mode feasible; when 33-dB requirement, hybrid is feasible and saves more; while when 29-dB requirement, T4 has the largest saving.

Unbiased rounding, compensating for the lower bits being thrown away, choosing a per-layer precision, saliency-aware approximation or online error monitoring can also improve the quality. Hardware realism can be enhanced by generating RTL in a shared technology library and using measured area, delay, dynamic power, leakage, switching activity instead of normalized coefficients.

Conclusion

In this paper, a set of reproducible simulation experiments comparing traditional and approximate computing strategies is shown. The approximation led to significant modeled energy and EDP savings, while quality costs depended highly on the method and metric. The best result is acquired by hybrid partial-product estimation, saving 33% energy, 45.73% of the EDP with an NMED of 1.84%. Two-bit truncation was able to outperform all other strategies in quality preservation due to the imposed strict image quality criterion (41.91-dB PSNR). Aggressively reducing bit widths maximized energy savings at the expense of a much larger error. We confirm that application-level quality requirements are more important than direct energy savings as a basis for approximate computing.

References

[1] S. Mittal, “A survey of techniques for approximate computing,” ACM Computing Surveys, vol. 48, no. 4, 2016.

[2] J. Han and M. Orshansky, “Approximate computing: An emerging paradigm for energy-efficient design,” in Proc. European Test Symposium, 2013.

[3] Y. Kim et al., “Approximate hardware techniques for energy-quality scaling across the system,” in Proc. Int. Conf. Electronics, Information, and Communication, 2020.

[4] Q. Xu, T. Mytkowicz, and N. S. Kim, “Approximate computing: A survey,” IEEE Design & Test, vol. 33, no. 1, pp. 8–22, 2016.

[5] J. Liang, J. Han, and F. Lombardi, “New metrics for the reliability of approximate and probabilistic adders,” IEEE Trans. Computers, vol. 62, no. 9, pp. 1760–1771, 2013.

[6] W. Liu et al., “A comprehensive comparison of approximate adders,” in Proc. Design Automation Conf., 2017.

[7] Z. Wang and A. C. Bovik, Modern Image Quality Assessment. Morgan & Claypool, 2006.

[8] W. H. Press et al., Numerical Recipes, 3rd ed. Cambridge Univ. Press, 2007.